Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

User:Pau pajuelo

2,057 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 === DM3730: Decode an AAC audio file (OK)=== EXTRA_OECONF +="--disable-examples --disable-experimental --disable-sdl --disable-cdaudio --disable-directfb \ --with-plugins=musicbrainz,wavpack,ivorbis,mpegvideoparse,'''faad2''' --disable-vdpau --disable-apexsink \ --disable-orc"Install:  faad2-2.7-r2.armv7a.rpmlibfaad2-2.7-r2.armv7a.rpmgst-plugins-bad-faad-0.10.23-r2.armv7a.rpm '''maybe there are necessary more packages, compare actual gst-bad-recipe and add 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>
'''under construction'''gst-launch --gst-debug-level=3 filesrc location=sample.aac ! faad ! volume volume=0.10 ! alsasink
IGEP Firmware Yocto uses the following Ethernet network configuration ==== DM3730: Decode an WMA audio file (IP addressesOK)====
*eth0 − 192.168.5.1*eth0:0 − assigned via dhcp. <pre>bitbake gst-ffmpeg</pre>
This Ethernet network configuration is really useful when you work using a Linux operating system like IGEP SDK Virtual Machine<pre>gst-launch -v filesrc location=sample. Because you use eth0 device to communicate easily with your board and eth0:wma ! asfdemux ! decodebin ! audioconvert ! volume volume=0 device to get Internet acces using dhcp protocol.25 ! alsasink </pre>
But some scenarios this network configuration is not useful, for example=== DM3730: 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 Decode an OGG audio file (OK)===
'''Into repositories (Make diagram onebase plugins): IGEP and Linux defualt communication. Diagram 2 IGEP and other SO alternative configuration)'''
= Backup your flash memory =''' test it and correct mistakes'''== Overview ==http://upload.wikimedia.org/wikipedia/en/0/04/Rayman_2_music_sample.ogg
This Howgst-To is meant to be a starting point for people to learn to backup and restore the flash memory from IGEP Boardslaunch -v filesrc location=sample.ogg ! oggdemux ! vorbisdec ! audioconvert ! volume volume=0.25 ! alsasink
==RequirementsBASE0033 CONNECTOR SUMMARY TABLE==
There are some requisites to follow this guide: == Configure a static IP using the same private network range ==
*IGEP Board*MicroSD card with [http://labs.isee.biz/index.php/How_to_create_a_SD-card_with_the_latest_software_image the latest IGEP Firmware Yocto]*PC*IGEP remote terminal, using [http://labs.isee.biz/index.php/Using_serial_debug_port_to_communicate a serial cable] or [http://labs.isee.biz/index.php/Using_Ethernet_to_communicate Ethernet communication]'''under construction'''
== Backup ==* Boot your IGEP Board using a microSD card* Log as a root user* Mount flash memory partition using Firmware Yocto uses the following commands:<pre>mkdir /tmp/mtdblock1mkdir /tmp/mtdblock2mount -t jffs2 /dev/mtdblock1 /tmp/mtdblock1mount -t jffs2 /dev/mtdblock2 /tmp/mtdblock2</pre>* 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>* Backup IGEP X-Loader binary:<pre>cp /media/mmcblk0p1/MLO /home/root/backup/MLO</pre>*Shutdown your systemEthernet network configuration (IP addresses)
== Restore ==*eth0 − 192.168.5.1*eth0:0 − assigned via dhcp.
* Boot your IGEP Board using the same microSD card used This Ethernet network configuration is really useful when you backup your work using a Linux operating system* 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/igepinikernel0 device to get Internet acces using dhcp protocol.tartar xvf /home/root/backup/rootfs.tar</pre>* Copy IGEP X-Loader binary to flash memory:<pre> writeloader -i /home/root/backup/MLO -o /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 restored your system image(Make diagram one: IGEP and Linux defualt communication. Boot up Diagram 2 IGEP Board using flash memory device and test the results.other SO alternative configuration)
= igep.ini parameters =
4,199
edits