Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

User:Pau pajuelo

1,687 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
'''under construction'''0:00:00.085815634 1550 0xa137b0 WARN rmdemux rmdemux.c:1012:gst_rmdemux_chain:<rmdemux0> Bogus looking header, unprintable FOURCC
IGEP Firmware Yocto uses the following Ethernet network configuration (IP addresses)0:00:00.085907187 1550 0xa137b0 WARN rmdemux rmdemux.c:1057:gst_rmdemux_chain:<rmdemux0> Unknown object_id RaTC
*eth0 − 192.168.5.1*eth0=== DM3730:0 − assigned via dhcp. Decode an AAC audio file (OK)===
This Ethernet network configuration is really useful when you work using a Linux operating system like IGEP SDK Virtual Machine. Because you use eth0 device to communicate easily EXTRA_OECONF += "--disable-examples --disable-experimental --disable-sdl --disable-cdaudio --disable-directfb \ --with your board and eth0-plugins=musicbrainz,wavpack,ivorbis,mpegvideoparse,'''faad2''' --disable-vdpau --disable-apexsink \ --disable-orc"Install:0 device to get Internet acces using dhcp protocol.
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
(Make diagram one: IGEP and Linux defualt communicationfaad2-2. Diagram 7-r2.armv7a.rpmlibfaad2-2 IGEP and other SO alternative configuration).7-r2.armv7a.rpmgst-plugins-bad-faad-0.10.23-r2.armv7a.rpm
= Backup your flash memory =''' test it maybe there are necessary more packages, compare actual gst-bad-recipe and correct mistakesadd changes. Necessary add faad2 recipe'''== Overview ==<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>
This Howgst-To is meant to be a starting point for people to learn to backup and restore the flash memory from IGEP Boardslaunch --gst-debug-level=3 filesrc location=sample.aac ! faad ! volume volume=0.10 ! alsasink
==Requirements== DM3730: Decode an WMA audio file (OK)====
There are some requisites to follow this guide: <pre>bitbake gst-ffmpeg</pre>
*IGEP Board*MicroSD card with [http://labs.isee.biz/index.php/How_to_create_a_SD<pre>gst-launch -card_with_the_latest_software_image the latest IGEP Firmware Yocto]*PC*IGEP remote terminal, using [http://labsv filesrc location=sample.isee.biz/index.php/Using_serial_debug_port_to_communicate a serial cable] or [http://labs.isee.biz/indexwma ! asfdemux ! decodebin ! audioconvert ! volume volume=0.php25 ! alsasink </Using_Ethernet_to_communicate Ethernet communication]pre>
== Backup = DM3730: Decode an OGG audio file (OK)===
'''Into repositories (base plugins):'''
* Boot your IGEP Board using a microSD card* Log as a root user* Mount flash memory partition using the following commandshttp:<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/igepinikernelupload.wikimedia.tar /tmp/mtdblock1org/tar -cvf wikipedia/homeen/root0/backup04/rootfsRayman_2_music_sample.tar /tmp/mtdblock2</pre>*Shutdown your systemogg
gst-launch -v filesrc location=sample.ogg ! oggdemux ! vorbisdec ! audioconvert ! volume volume= Restore ==0.25 ! alsasink
=== Get IGEP X-Loader image =BASE0033 CONNECTOR SUMMARY TABLE==
First of all, you need to get == Configure 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].static IP using the same private network range ==
Once you extract MLO file copy to microSD rootfs partition inside backup folder create before.'''under construction'''
=== Restore your firmware image to flash memory ===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