Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

User:Pau pajuelo

2,419 bytes added, 15:28, 5 September 2014
m
DM3730: Decode an AAC audio file (OK)
How do I edit my kernel command line
Basic Software instructions== AUDIO DSP-ARM==
Make a flash backup to a microSD and restore===Included (IGEP GST DSP):==='''AACHEDEC -> DEC AACHE (OK)'''
Change your static IP to IGEP Firmwarehttp://download.wavetlan.com/SVV/Media/HTTP/FAAC-HE-AAC.aac
gst-launch --gst-debug-level=2 filesrc location= Configure sampleaache.m4a ! TIAuddec1 codecName=aachedec engineName=codecServer ! volume volume=0.25 ! alsasink sync=false outofthebox->ok ---- '''MP3DEC -> DEC MP3 (AUDIO ERRORS)''' - Followed README file from ISEE - IGEP DSP - GST + DMAI Support Package 3.40.00 http://www.stephaniequinn.com/Music/Canon.mp3 gst-launch --gst-debug-level=2 filesrc location=Canon.mp3 ! TIAuddec1 codecName=mp3dec engineName=codecServer ! volume volume=0.25 ! alsasink sync=false '''Random fatal bit error''' '''mp3-plugin doesn't resolve the error''' ---- '''G711DEC -> DEC PCM uLAW (speech) (NOT TESTED)''' '''G711ENC -> ENC PCM uLAW (speech) (NOT TESTED)''' ===Not included (IGEP GST DSP):==='''ACCLCDEC -> DEC AACLE (NOT TESTED)''' '''AACLDDEC -> DEC AACLD (NOT TESTED)''' '''WMA9 -> DEC WMA9 (COMPILING ISSUES)''' '''ACCLCENC -> ENC AACLE (NOT TESTED)''' '''ACCHEENC -> ENC AACHE (NOT TESTED)''' '''AACLDENC -> ENC AACLD (NOT TESTED)''' '''WMA8 -> ENC WMA8 (NOT TESTED)''' '''Problems adding codecs into igep-gst-dsp''' == DM3730== === DM3730: Decode a static IP MP3 file (OK) (ADDED TO REPOSISTORIES)=== '''under contruction''' '''does not have an accelerated audio decoder element''' - Compiled gst-plugins-ugly using the same private network range yocto tools - rpm -igst-plugins-ugly-0.*.rpm - rpm -i libmad0-0.*.rpm - rpm -i gst-plugins-ugly-mad-0.*.rpm - gst-launch filesrc location=sample.mp3 ! mad ! volume volume=0.25 ! alsasink === DM3730: Decode a RA or RM audio file (ERRORS)=== gst-launch --gst-debug-level=3 filesrc location=sample.ra ! rmdemux ! volume volume=0.25 ! alsasink http://www.superluminal.com/andalib/ra/listen.ra gst-plugins-ugly-rmdemux-0.10.19-r1.armv7a.rpm libgstsdp-0.10-0-0.10.36-r3.armv7a.rpm:libgstsdp-0.10-0 libgstsdp-0.10.so.0 libgstrtsp-0.10-0-0.10.36-r3.armv7a.rpm:libgstrtsp-0.10-0 libgstrtsp-0.10.so.0 '''Error:'''  0:00:00.084839071 1550 0xa137b0 WARN rmdemux rmdemux.c:1012:gst_rmdemux_chain:<rmdemux0> Bogus looking header, unprintable FOURCC 0:00:00.085052695 1550 0xa137b0 WARN rmdemux rmdemux.c:1012:gst_rmdemux_chain:<rmdemux0> Bogus looking header, unprintable FOURCC 0:00:00.085540976 1550 0xa137b0 WARN rmdemux rmdemux.c:1057:gst_rmdemux_chain:<rmdemux0> Unknown object_id .ra4 0:00:00.085693564 1550 0xa137b0 WARN rmdemux rmdemux.c:1012:gst_rmdemux_chain:<rmdemux0> Bogus looking header, unprintable FOURCC 0:00:00.085815634 1550 0xa137b0 WARN rmdemux rmdemux.c:1012:gst_rmdemux_chain:<rmdemux0> Bogus looking header, unprintable FOURCC 0:00:00.085907187 1550 0xa137b0 WARN rmdemux rmdemux.c:1057:gst_rmdemux_chain:<rmdemux0> Unknown object_id RaTC
IGEP Firmware Yocto uses the following Ethernet network configuration === DM3730: Decode an AAC audio file (IP addressesOK)===
eth0 − 192.168.5.1EXTRA_OECONF += "--disable-examples --disable-experimental --disable-sdl --disable-cdaudio --disable-directfb \ eth0 --with-plugins=musicbrainz,wavpack,ivorbis,mpegvideoparse,'''faad2''' --disable-vdpau --disable-apexsink \ --disable-orc"Install:0 − assigned via dhcp.
IP private range 192.168.5.X is not used
= Backup your flash memory =faad2-2.7-r2.armv7a.rpm''' under contruction'''libfaad2-2.7-r2.armv7a.rpm== Overview ==gst-plugins-bad-faad-0.10.23-r2.armv7a.rpm
This How'''maybe there are necessary more packages, compare actual gst-To is meant to be a starting point for people to learn to backup bad-recipe and restore the flash memory from IGEP Boardsadd changes. Necessary add faad2 recipe'''<pre>bitbake faad2 gst-plugins-bad</pre><pre> rpm -i faad2-2.7-r2.armv7a.rpmrpm -i libfaad2-2.7-r2.armv7a.rpmrpm -i gst-plugins-bad-faad-0.10.23-r2.1.armv7a.rpm </pre>
gst-launch --gst-debug-level=3 filesrc location=Requirements=sample.aac ! faad ! volume volume=0.10 ! alsasink
There are some requisites to follow this guide==== DM3730: Decode an WMA audio file (OK)====
*IGEP Board*MicroSD card with the latest IGEP Firmware Yocto*PC*IGEP remote terminal, using a serial cable or Ethernet communication<pre>bitbake gst-ffmpeg</pre>
<pre>gst-launch -v filesrc location=sample.wma ! asfdemux ! decodebin ! audioconvert ! volume volume= Backup ==0.25 ! alsasink </pre>
=== DM3730: Decode an OGG audio file (OK)===
* Boot your IGEP Board using a microSD card* Get a remote terminal* Log as a root user* Mount flash memory partition using the following commands'''Into repositories (base plugins):<pre>mkdir /tmp/mtdblock1mkdir /tmp/mtdblock2mount -t jffs2 /dev/mtdblock1 /tmp/mtdblock1mount -t jffs2 /dev/mtdblock2 /tmp/mtdblock2</pre>* Create a backup directory and backup your flash memory:<pre>mkdir /home/root/backuptar -cvf /home/root/backup/igepinikernel.tar /tmp/mtdblock1/tar -cvf /home/root/backup/rootfs.tar /tmp/mtdblock2</pre>*Shutdown your system'''
== Restore ==http://upload.wikimedia.org/wikipedia/en/0/04/Rayman_2_music_sample.ogg
=== Get IGEP Xgst-launch -Loader image =v filesrc location=sample.ogg ! oggdemux ! vorbisdec ! audioconvert ! volume volume=0.25 ! alsasink
First of all, you need to get a IGEP X-Loader image (named by default MLO), you can download a compiled IGEP X-loader image from [http://labs.isee.biz/index.php/The_IGEP_X-loader#Pre-Compiled_Binaries this article].== BASE0033 CONNECTOR SUMMARY TABLE==
Once you extract MLO file copy to microSD rootfs partition inside backup folder create before.== Configure a static IP using the same private network range ==
=== Restore your firmware image to flash memory ==='''under construction''' IGEP Firmware Yocto uses the following Ethernet network configuration (IP addresses)
*eth0 − 192.168.5.1
*eth0:0 − assigned via dhcp.
* Boot your IGEP Board using the same microSD used This Ethernet network configuration is really useful when you backup your work using a Linux operating system* Get a remote terminal* Log as a root user* Erase flash memory using the following commands:<pre>flash-eraseall /dev/mtd0flash_eraseall /dev/mtd1flash_eraseall /dev/mtd2</pre>* Mount flash memory partition using the following commands:<pre>mkdir /tmp/mtdblock1mkdir /tmp/mtdblock2mount -t jffs2 /dev/mtdblock1 /tmp/mtdblock1mount -t jffs2 /dev/mtdblock2 /tmp/mtdblock2</pre>* Restore igeplike IGEP SDK Virtual Machine.ini, Kernel Because you use eth0 device to communicate easily with your board and rootfseth0:<pre>cd /tar xvf /home/root/backup/igepinikernel.tartar xvf /home/root/backup/rootfs0 device to get Internet acces using dhcp protocol.tar</pre>* Copy IGEP X-Loader binary to flash memory:<pre> writeloader -i /home/root/backup/MLO /dev/mtd0</pre>* Shutdown your system
=== Test results===But some scenarios this network configuration is not useful, for example: if you use a non-Linux operating system, connect to two IP private range interfaces is not simple. This How-to can be useful to
Once you shutdown your system,l extract your microSD card (Make diagram one: IGEP and bootup Linux defualt communication. Diagram 2 IGEP Board using flash memory. Your old system image should be executed.and other SO alternative configuration)
= igep.ini parameters =
4,199
edits