Difference between revisions of "User:Pau pajuelo"

From IGEP - ISEE Wiki

Jump to: navigation, search
m (IDEs)
m (DM3730: Decode an AAC audio file (OK))
 
(232 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
+
= TODO:  =
<meta name="keywords" content="IGEP, IGEP Technology, Support, ARM, tools, development"></meta>
+
 
<meta name="description" content="Many resources and general information to start developing under IGEP Technology now."></meta>
+
Categorize new tutorials
<div align="center">
+
 
{| style="margin: 4px 0px 0px; width: 700px; background: none repeat scroll 0% 0% transparent;" class="FCK__ShowTableBorders;"
+
How to manage the kernel modules on Linux
|-
+
 
| style="border: 4px solid rgb(221, 221, 247); width: 50%; background: none repeat scroll 0% 0% rgb(255, 255, 255); color: rgb(0, 0, 0); vertical-align: top; -moz-border-radius: 10px 10px 10px 10px;" class="MainPageBG" |
+
How do I edit my kernel command line
{| style="padding: 2px; width: 100%; background: none repeat scroll 0% 0% rgb(247, 247, 255); vertical-align: top;" class="FCK__ShowTableBorders"
+
 
{| cellspacing="0" cellpadding="10" border="0" align="center"
+
== AUDIO DSP-ARM==
|-
+
 
| colspan="2" style="text-align: center;" | '''Tutorial Guides'''
+
===Included (IGEP GST DSP):===
|-
+
'''AACHEDEC -> DEC AACHE (OK)'''
| rowspan="3" style="text-align: center;" | [[Image:Igep community logo.png|100px|link=IGEP Technology Devices Guides]]
+
 
| style="text-align: left;" | '''[[IGEP Technology Devices Guides|1/3 - Getting started]]'''
+
http://download.wavetlan.com/SVV/Media/HTTP/FAAC-HE-AAC.aac
|-
+
 
| style="text-align: left;" |'''[[IGEP Technology Devices Guides|2/3 - What can I do]]'''<br>
+
gst-launch --gst-debug-level=2 filesrc location=sampleaache.m4a ! TIAuddec1 codecName=aachedec engineName=codecServer ! volume volume=0.25 ! alsasink  sync=false
|-
+
 
| style="text-align: left;" |'''[[Start developing under IGEP Technology|3/3 - Start developing]]'''<br>
+
outofthebox->ok
|-
+
 
|}
+
----
|}
+
 
|}
+
'''MP3DEC -> DEC MP3 (AUDIO ERRORS)'''
</div>
+
 
 +
- 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)'''
  
= Overview =
+
'''WMA8 -> ENC WMA8 (NOT TESTED)'''
  
This page contains many resources and general information to '''start developing under IGEP Technology'''. The next table is a quick access to the '''most rated articles''' in the IGEP Community Wiki. If you are looking for '''general information''', scroll down this page to the '''Welcome section'''.
+
'''Problems adding codecs into igep-gst-dsp'''
<br><br>
 
{|
 
| valign="top" |
 
{|cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"
 
! style="margin:0;background:#E0E0E0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;" | [[:Category:Software distributions|Distribution]]
 
! style="margin:0;background:#E0E0E0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;" | [[:Category:Development tools|IDE]]
 
! style="margin:0;background:#E0E0E0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;" | [[:Category:Peripherals|Peripherals]]
 
! style="margin:0;background:#E0E0E0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;" | [[:Category:Development|Development]]
 
|-
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#b5d8bd;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[How to create a SD-card with the latest software image|Install IGEP Firmware <br> into microSD card]]
 
* [[How to flash the latest software image|Install IGEP Firmware <br> into Flash memory]]
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#b5d8bd;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[How to install Eclipse IDE|Install Eclipse IDE ]]
 
* [[How to develop with Eclipse IDE under IGEP Technology|Develop with Eclipse IDE]]
 
* [[How to install Qt Creator|Install Qt Creator]]
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#b5d8bd;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[How to use GPIOs|GPIOs]]
 
* [[How to use RS485|RS485]]
 
* [[How to use I2C|I2C]]
 
* [[How to set up UART2 in J990|UART2 into J990]]
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#b5d8bd;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[IGEP SDK Virtual Machine|IGEP SDK VM]]
 
* [[Transfer files via SCP|Transfer files]]
 
* [[How to setup the IDC10 cable|Setup IDC10 cable]]
 
* [[Using SSH to communicate|SSH remote connection]]
 
* [[Basic Software instructions|Basic command instructions]]
 
* [[How to setup a cross compiler|Cross compilers]]
 
|-
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#fcf39d;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[How to get the Android ICS distribution|Install Android 4.0]]
 
* [[How to get the Linaro distribution|Install Linaro <br> (Ubuntu based)]]
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#fcf39d;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[How to develop with Qt under IGEP|Develop with Qt Creator]]
 
* [[Install and configure Codeblocks for IGEP devices|Install & Develop <br> with Codeblocks]]
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#fcf39d;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[How to use UARTs|UARTs]]
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#fcf39d;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[Set up a Network File System between IGEP Board and IGEP Virtual Machine|NFS remote filesystem]]
 
|-
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#f3938d;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[How to get the Poky Linux distribution|Create your custom <br> distribution]]
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#f3938d;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#f3938d;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[How to use SPI|SPI]]
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#f3938d;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[QEMU|QEMU emulator]]
 
* [[How to add new codecs to IGEP GST FRAMEWORK|Add codecs to <br> IGEP GST framework]]
 
|}
 
<br>
 
{|
 
| valign="top" |
 
{|cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffffff;border:1px solid #bcc"
 
! style="margin:0;background:#E0E0E0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;" | Information
 
! style="margin:0;background:#E0E0E0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;" | Other
 
|-
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#b5d8bd;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[Peripherals_Summary|Peripheral summary]]
 
* [[The Linux kernel|Linux Kernel]]
 
* [[Dhrystone MIPS 2.1|Dhrystone MIPS]]
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#b5d8bd;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[Disable Video ScreenSaver|Disable video screensaver]]
 
* [[IGEP module standalone|IGEP COM standalone]]
 
* [[Real Time in Embedded Linux System|Real time in a <br> Embedded Linux System]]
 
|-
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#fcf39d;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[Connectors Summary|Connector summary]]
 
* [[The IGEP X-loader|IGEP X-Loader]]
 
* [[Davinci Multimedia Application Interface|Davinci multimedia]]
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#fcf39d;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[How to forge a local file system server with IGEP0020 board|Owncloud Server filesystem]]
 
* [[How to setup Marvell bluetooth|Marvell Bluetooth]]
 
* [[How to setup Marvell 88w8686 SDIO wifi|Marvell WIFI]]
 
* [[Board validation and diagnostic tools|Board Validation]]
 
|-
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#f3938d;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
* [[IGEP Devices Power Consumption Measurements|Power consumption]]
 
* [[Mux configuration|Mux configuration]]
 
* [[GStreamer|GStreamer]]
 
| valign="top" cellpadding="2" cellspacing="5" style="vertical-align:top;background-color:#ffffff;border:1px solid #bcc"! style="margin:0;background:#f3938d;font-size:100%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;"|
 
  
|}
+
== DM3730==
  
'''More articles [[Site_Map|here]]'''
+
=== DM3730: Decode a MP3 file (OK) (ADDED TO REPOSISTORIES)===
  
= Welcome =
+
'''under contruction'''
  
First of all, welcome to the IGEP Community Wiki!
+
'''does not have an accelerated audio decoder element'''
  
This is a collaborative site for developers like you that share their knowledge of the IGEP Technology.
+
- Compiled gst-plugins-ugly using yocto tools
  
'''What are you looking for?'''
+
- rpm -igst-plugins-ugly-0.*.rpm
  
 +
- rpm -i libmad0-0.*.rpm
  
{| cellspacing="5" cellpadding="5" border="1" align="JUSTIFY" width="80%"
+
- rpm -i gst-plugins-ugly-mad-0.*.rpm
|bgcolor="#d1d7df" style="text-align: center;"|'''I have a new board. How do I start?'''
 
|Do you just have a brand new IGEPv2, a IGEP COM MODULE, IGEP BERLIN, etc.?
 
Pick the tutorial of your board in the [[IGEP Technology Devices Guides| tutorial guides]], and setup you board with the step by step procedures.
 
|-
 
|bgcolor="#d1d7df" style="text-align: center;"|'''I just want to start developing'''
 
|You are in the right place. This page will guide through the available resources and to know how start developing.
 
|-
 
|bgcolor="#d1d7df" style="text-align: center;"|'''I have a specific question'''
 
|There might already be an article about it in the IGEP Community Wiki. Use the search box or check the [[Frequently Asked Questions and Their Answers|FAQ]], the [[IGEP Technology Basic Glossary|Glossary]] and the [[Site Map]].
 
|-
 
|bgcolor="#d1d7df" style="text-align: center;"|'''I can't find what I am looking for'''
 
|Please ask a question or leave your feedback in the [http://forum.isee.biz IGEP Community Forum] or the [http://webchat.freenode.net/?channels=igep IGEP Community Chat]. Check other available resources [[Resources|here]].
 
|-
 
|bgcolor="#d1d7df" style="text-align: center;"|'''I need professional support'''
 
|Do you need support with your project? Are you looking for a custom design? [http://isee.biz/support/isee-support Contact the ISEE Developing Team].
 
|}
 
  
= Introducing the developing tools for IGEP Technology =
+
- gst-launch filesrc location=sample.mp3 ! mad ! volume volume=0.25 ! alsasink
  
All IGEP Technology devices have many developing tools and resources. Here is a little introduction to this developing environment:
+
=== 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
  
== IGEP SDK Virtual Machine ==
+
http://www.superluminal.com/andalib/ra/listen.ra
  
The IGEP SDK Virtual Machine is a '''ready to use virtual machine''' that includes '''all the developer tools for IGEP Technology'''. You can '''download it for free''' from the ISEE website.
+
gst-plugins-ugly-rmdemux-0.10.19-r1.armv7a.rpm
  
===Features===
+
libgstsdp-0.10-0-0.10.36-r3.armv7a.rpm:
* Includes the official Software Development Kit (SDK) from ISEE, with:
+
libgstsdp-0.10-0
** IGEP SDK Yocto Toolchain
+
libgstsdp-0.10.so.0
** Eclipse IDE with Yocto Plug-in and Linux Tools
 
** Qt creator IDE
 
  
===Highlights===
+
libgstrtsp-0.10-0-0.10.36-r3.armv7a.rpm:
* Best choice for beginners
+
libgstrtsp-0.10-0
* All components are already installed and configured to speed up your developing process
+
libgstrtsp-0.10.so.0
* Suitable for VMware and Virtualbox. Compatible with Windows/Linux/MacOS host
 
  
===First steps===
+
'''Error:'''  
# Download the '''IGEP SDK Virtual Machine''' for free from the ISEE website
 
# Follow the steps of the IGEP SDK Virtual Machine manual
 
# Know more in the [[IGEP SDK Virtual Machine]] article
 
  
 +
0:00:00.084839071  1550  0xa137b0 WARN                rmdemux rmdemux.c:1012:gst_rmdemux_chain:<rmdemux0> Bogus looking header, unprintable FOURCC
  
== IGEP SDK Yocto Toolchain ==
+
0:00:00.085052695  1550  0xa137b0 WARN                rmdemux rmdemux.c:1012:gst_rmdemux_chain:<rmdemux0> Bogus looking header, unprintable FOURCC
  
The IGEP SDK Yocto Toolchain consists on a set of all necessary tools like a '''cross compiler''', '''embedded libraries''', etc. to compile program sources for IGEP devices from a different device, such a PC. You can '''download it for free''' from the ISEE website.
+
0:00:00.085540976  1550  0xa137b0 WARN                rmdemux rmdemux.c:1057:gst_rmdemux_chain:<rmdemux0> Unknown object_id .ra4
  
=== Features ===
+
0:00:00.085693564  1550  0xa137b0 WARN                rmdemux rmdemux.c:1012:gst_rmdemux_chain:<rmdemux0> Bogus looking header, unprintable FOURCC
* Compile your projects for IGEP Technology in your own Linux computer
 
* It can be integrated with some popular IDEs such Eclipse, QT Creator and Codeblocks
 
  
=== Highlights ===
+
0:00:00.085815634  1550  0xa137b0 WARN                rmdemux rmdemux.c:1012:gst_rmdemux_chain:<rmdemux0> Bogus looking header, unprintable FOURCC
* Easy to install
 
* Develop in your own Linux machine
 
  
=== First steps ===
+
0:00:00.085907187  1550  0xa137b0 WARN                rmdemux rmdemux.c:1057:gst_rmdemux_chain:<rmdemux0> Unknown object_id RaTC
# Download the '''IGEP SDK Yocto Toolchain''' for free from the ISEE website
 
# Download the '''Software Reference Manual'''
 
# Follow the steps of the [[How to setup a cross compiler|IGEP SDK Yocto Toolchain]] article
 
  
=== IDEs ===
+
=== DM3730: Decode an AAC audio file (OK)===
  
Interactive Development Environment ('''IDE''') is a software application that provides comprehensive facilities to computer programmers for software development. IGEP SDK Yocto Toolchain is compatible with the following IDEs:
+
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:
  
* Eclipse: multi-language software development environment comprising an IDE and an extensible plug-in system. This IDE is a Complete solution with debugging capabilities
 
# If you are using the IGEP SDK Virtual Machine visit: [[How to develop with Eclipse IDE under IGEP Technology]]
 
# If you want to install Eclipse in your computer visit: [[How to install Eclipse IDE]]
 
* QT Creator: This IDE is focused to develop graphical applications:
 
# If you are using the IGEP SDK Virtual Machine visit: [[How to develop with Qt under IGEP Technology]]
 
# If you want to install Eclipse in your computer visit: [[How to install Qt Creator]]
 
* Codeblocks: This IDE is an open source cross-platform IDE which supports multiple compilers including GCC and MSVC.
 
# Know [[Install and configure Codeblocks for IGEP devices|how to install and use Codeblocks]] in your IGEP SDK Virtual Machine (not installed by default)
 
  
=== Hardware Virtualization ===
+
faad2-2.7-r2.armv7a.rpm
 +
libfaad2-2.7-r2.armv7a.rpm
 +
gst-plugins-bad-faad-0.10.23-r2.armv7a.rpm
  
Computer hardware virtualization (or hardware virtualisation) is the virtualization of computers or operating systems. It hides the physical characteristics of a computing platform from users, instead showing another abstract computing platform. IGEP Boards are compatible with:
+
'''maybe there are necessary more packages, compare actual gst-bad-recipe and add changes. Necessary add faad2 recipe'''
* QEMU lets run Run your projects applications for IGEP Technology in your own computer
+
<pre>bitbake faad2 gst-plugins-bad</pre>
# Visit the [[QEMU]] article in the IGEP Community Wiki
+
<pre> rpm -i faad2-2.7-r2.armv7a.rpm
 +
rpm -i libfaad2-2.7-r2.armv7a.rpm
 +
rpm -i gst-plugins-bad-faad-0.10.23-r2.1.armv7a.rpm
 +
</pre>
  
== IGEP DSP Gstreamer Framework ==
+
gst-launch --gst-debug-level=3 filesrc location=sample.aac ! faad ! volume volume=0.10 ! alsasink
  
The IGEP DSP Gstreamer Framework provides '''all DSP essential packages''' and the '''gstreamer DSP plugin''' ready to use with all IGEP Technology Devices. You can '''download it for free''' from the ISEE website.
+
==== DM3730: Decode an WMA audio file (OK)====
  
=== Features ===
+
<pre>bitbake gst-ffmpeg</pre>
* Based on TI DVSDK
 
* Focus development efforts on "WOW" features of an application rather than spending time on base functionality.
 
* Enable DaVinci and OMAP devices to use existing applications built on top of GStreamer.
 
* Leverage the modular design to decrease the time required to develop new applications and enable more re-use of existing code
 
  
=== First steps ===
+
<pre>gst-launch -v filesrc location=sample.wma ! asfdemux ! decodebin ! audioconvert ! volume volume=0.25 ! alsasink  </pre>
# Download the '''IGEP DSP Gstreamer Framework''' for free from the ISEE website
 
# Visit the [[:Category:Gstreamer|Gstreamer]] category in the IGEP Community Wiki
 
  
 +
=== DM3730: Decode an OGG audio file (OK)===
  
= Introducing the IGEP Firmware =
+
'''Into repositories (base plugins):'''
  
== About the preinstalled Firmware ==
+
http://upload.wikimedia.org/wikipedia/en/0/04/Rayman_2_music_sample.ogg
  
All brand new IGEP Processor Boards '''have a preinstalled firmware''' provided and installed on it by ISEE.  
+
gst-launch -v filesrc location=sample.ogg ! oggdemux ! vorbisdec ! audioconvert ! volume volume=0.25 ! alsasink
  
By default, if you power up your board it will run the software on the flash. But '''you can prepare a MicroSD card and boot from it''' by inserting it to the MicroSD card reader of your IGEP Processor Board, as it has more priority than the flash.
+
== BASE0033 CONNECTOR SUMMARY TABLE==
  
The pre-installed software consists of:
+
== Configure a static IP using the same private network range ==
  
*[[The IGEP X-loader]]: a '''bootloader''' compatible with all IGEP Processor Boards.
+
'''under construction'''
*[[The Linux kernel|IGEP Linux Kernel]]: a '''Linux Kernel''' maintained by ISEE.
 
*[[IGEP firmware Yocto|IGEP firmware Yocto]]: the software distribution consists of a lite X Window System and GNOME Mobile based applications created with Yocto tools.
 
  
== Update the preinstalled software ==
+
IGEP Firmware Yocto uses the following Ethernet network configuration (IP addresses)
  
If you wish to update to the latest available version of the pre-installed software you need to follow these steps:
+
*eth0 − 192.168.5.1
 +
*eth0:0 − assigned via dhcp.
  
#'''Download the latest firmware''' from ISEE in a Linux PC.
+
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 with your board and eth0:0 device to get Internet acces using dhcp protocol.
#Run a script that will automatically setup and '''create a MicroSD card''' with the latest software in your host PC.
 
#Then '''boot your IGEP Processor Board''' from that MicroSD card you have just created.  
 
#Finally, you can write the updated software from the MicroSD to the '''flash memory''' on your IGEP device.
 
  
* For more information visit the [[Update the PRE-INSTALLED software image to a current release]] article.
+
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 communication. Diagram 2 IGEP and other SO alternative configuration)
  
== Create a MicroSD Card with a different software distribution ==
+
= igep.ini parameters  =
  
You can create a custom MicroSD with a different software distribution. The article [[How to boot from MicroSD Card]] will guide you in the process of creating a MicroSD. For more information go to [http://labs.isee.biz/index.php/Category:Software_distributions software distributions category]
+
The kernel command line syntax is name=value1. These next parameters are supported in igep.ini since IGEP-X_Loader 2.4.0-2:  
  
= Community and official support resources =
+
=== [kernel]  ===
  
There are many different available support resources. Visit the [[Resources]] page to find out what you are looking for.
+
{| align="JUSTIFY" cellpadding="1" border="1" style="width: 900px; height: 240px;"
 +
|-
 +
| '''Parameter Name'''
 +
| '''Description'''
 +
| '''Default value'''
 +
| '''Comments'''
 +
|-
 +
| kaddress
 +
| Kernel copy address
 +
| =0x80008000
 +
| Hex memory address
 +
|-
 +
| rdaddress
 +
| Ram Disk location address
 +
| =0x81600000
 +
| Hex memory address;<br>disabled by default
 +
|-
 +
| serial.low
 +
| Serial number (low part)
 +
| =00000001
 +
| Numeric
 +
|-
 +
| serial.high
 +
| Serial number (high part)
 +
| =00000000
 +
| Numeric
 +
|-
 +
| revision
 +
| Revision ID
 +
| =0003
 +
| Numeric
 +
|-
 +
| kImageName
 +
| Kernel, binary image name
 +
| =zImage
 +
| Kernel or binary image name
 +
|-
 +
| kRdImageName
 +
| Kernel RAM Disk Image Name
 +
| -
 +
| Ram Disk image name
 +
|-
 +
| MachineID
 +
| Machine ID (kernel ID)
 +
| ;IGEPv2<br>=2344
 +
| ;Module<br>=2717<br>;Proton<br>=3203
 +
|-
 +
| Mode
 +
| Boot Mode
 +
| ;Linux kernel<br>=kernel
 +
| ;Other image (like uboot)<br>[binary image]
 +
|}
  
{{Message/Work in progress}}
+
=== [kparams]  ===
  
[[Category:IGEP Technology Devices Guides]]
+
{| align="JUSTIFY" cellpadding="1" border="1" style="width: 900px; height: 1095px;"
 +
|-
 +
| '''Parameter Name'''
 +
| '''Description'''
 +
| '''Default value'''
 +
| '''Comments'''
 +
|-
 +
| buddy
 +
| Enable/disable expansion board support
 +
| &nbsp;;IGEPv2 Expansion Board support<br>=igep0022
 +
| &nbsp;;Berlin and Paris Expansion Board support<br>=base0010<br>New York Expansion<br>=ilms0015
 +
|-
 +
| console
 +
| Setup the kernel console parameters
 +
| =ttyO2,115200n8
 +
| -
 +
|-
 +
| earlyprintk
 +
| Enable early printk
 +
| -
 +
| -
 +
|-
 +
| mem
 +
| Setup the Board Memory Configuration
 +
| =430M
 +
| -
 +
|-
 +
| boot_delay
 +
| Setup the boot delay
 +
| =0
 +
| -
 +
|-
 +
| mpurate
 +
| Setup ARM Processor Speed
 +
| -
 +
| -
 +
|-
 +
| loglevel
 +
| Setup the loglevel
 +
| -
 +
| -
 +
|-
 +
| debug
 +
| Enable kernel debug output
 +
| -
 +
| -
 +
|-
 +
| fixrtc
 +
| Fix RTC variable
 +
| -
 +
| -
 +
|-
 +
| nocompcache
 +
| Configure nocompcache variable
 +
| =1
 +
| -
 +
|-
 +
| omapfb.mode
 +
| Configure frame bugger configuration
 +
| =dvi:hd720-16@50
 +
| &nbsp;;Other configuration<br>=dvi:1280x720MR-16@60
 +
|-
 +
| vram
 +
| Configure Video RAM assigned to every frame buffer
 +
| -
 +
| -
 +
|-
 +
| omapfb.vram
 +
| Configure Video RAM assigned to every frame buffer
 +
| -
 +
| -
 +
|-
 +
| omapfb.debug
 +
| Configure frame buffer debug output
 +
| -
 +
| -
 +
|-
 +
| omapdss.debug
 +
| Configure DSS Video debug output
 +
| -
 +
| -
 +
|-
 +
| smsc911x.mac0
 +
| Configure Board Ethernet Mac Address
 +
| =0xb2,0xb0,0x14,0xb5,0xcd,0xde
 +
| For IGEP BERLIN
 +
|-
 +
| smsc911x.mac1
 +
| Configure Board Ethernet Mac Address
 +
| =0xb2,0xb0,0x14,0xb5,0xcd,0xdf
 +
| For IGEP BERLIN (only with IGEP PROTON)
 +
|-
 +
| smsc911x.mac
 +
| Configure Board Ethernet Mac Address
 +
| =0xb2,0xb0,0x14,0xb5,0xcd,0xde
 +
| For IGEPv2, IGEP PROTON, IGEP PARIS and IGEP BERLIN
 +
|-
 +
| ubi.mtd
 +
| Fot UBI FS boot
 +
| -
 +
| -
 +
|-
 +
| root
 +
| Configure root directory for MMC, NFS or UBI
 +
| &nbsp;;For mmc memory<br>=/dev/mmcblk0p2 rw rootwait
 +
| &nbsp;;For flash memory<br>=/dev/mtdblock2
 +
|-
 +
| nfsroot
 +
| For NFS boot
 +
| -
 +
| -
 +
|-
 +
| rootfstype
 +
| For UBI FS boot
 +
| -
 +
| -
 +
|-
 +
| ip
 +
| For NFS boot
 +
| -
 +
| -
 +
|-
 +
| init
 +
| Assign init program
 +
| -
 +
| -
 +
|-
 +
| musb_hdrc.debug
 +
| USB debug
 +
| -
 +
| -
 +
|-
 +
| musb_hdrc.use_dma
 +
| USB over network
 +
| -
 +
| -
 +
|-
 +
| libertas.libertas_debug
 +
| Configure libertas debug
 +
| -
 +
| -
 +
|-
 +
| board.ei485
 +
| Enable/disable RS485
 +
| &nbsp;;Enable RS485<br>=yes
 +
| &nbsp;;Disable RS485<br>=no
 +
|-
 +
| board.modem
 +
| Enable/disable GPRS modem
 +
| &nbsp;;Enable modem (IGEPv2 Expansion)<br>=no
 +
| &nbsp;;Enable modem (IGEPv2 Expansion)<br>=yes
 +
|-
 +
| buddy.revision
 +
| Enable hardware buddy revision [A or B]  
 +
| Only for base0010<br>=A
 +
| Only for base0010<br>=B
 +
|}

Latest revision as of 15:28, 5 September 2014

TODO:

Categorize new tutorials

How to manage the kernel modules on Linux

How do I edit my kernel command line

AUDIO DSP-ARM

Included (IGEP GST DSP):

AACHEDEC -> DEC AACHE (OK)

http://download.wavetlan.com/SVV/Media/HTTP/FAAC-HE-AAC.aac

gst-launch --gst-debug-level=2 filesrc location=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 MP3 file (OK) (ADDED TO REPOSISTORIES)

under contruction

does not have an accelerated audio decoder element

- Compiled gst-plugins-ugly using 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.rpm libfaad2-2.7-r2.armv7a.rpm gst-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

bitbake faad2 gst-plugins-bad
 rpm -i faad2-2.7-r2.armv7a.rpm
rpm -i libfaad2-2.7-r2.armv7a.rpm
rpm -i gst-plugins-bad-faad-0.10.23-r2.1.armv7a.rpm
 

gst-launch --gst-debug-level=3 filesrc location=sample.aac ! faad ! volume volume=0.10 ! alsasink

DM3730: Decode an WMA audio file (OK)

bitbake gst-ffmpeg
gst-launch -v filesrc location=sample.wma ! asfdemux ! decodebin ! audioconvert ! volume volume=0.25 ! alsasink  

DM3730: Decode an OGG audio file (OK)

Into repositories (base plugins):

http://upload.wikimedia.org/wikipedia/en/0/04/Rayman_2_music_sample.ogg

gst-launch -v filesrc location=sample.ogg ! oggdemux ! vorbisdec ! audioconvert ! volume volume=0.25 ! alsasink

BASE0033 CONNECTOR SUMMARY TABLE

Configure a static IP using the same private network range

under construction

IGEP Firmware Yocto uses the following Ethernet network configuration (IP addresses)

  • eth0 − 192.168.5.1
  • eth0:0 − assigned via dhcp.

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 with your board and eth0: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 communication. Diagram 2 IGEP and other SO alternative configuration)

igep.ini parameters

The kernel command line syntax is name=value1. These next parameters are supported in igep.ini since IGEP-X_Loader 2.4.0-2:

[kernel]

Parameter Name Description Default value Comments
kaddress Kernel copy address =0x80008000 Hex memory address
rdaddress Ram Disk location address =0x81600000 Hex memory address;
disabled by default
serial.low Serial number (low part) =00000001 Numeric
serial.high Serial number (high part) =00000000 Numeric
revision Revision ID =0003 Numeric
kImageName Kernel, binary image name =zImage Kernel or binary image name
kRdImageName Kernel RAM Disk Image Name - Ram Disk image name
MachineID Machine ID (kernel ID)  ;IGEPv2
=2344
 ;Module
=2717
;Proton
=3203
Mode Boot Mode  ;Linux kernel
=kernel
 ;Other image (like uboot)
[binary image]

[kparams]

Parameter Name Description Default value Comments
buddy Enable/disable expansion board support  ;IGEPv2 Expansion Board support
=igep0022
 ;Berlin and Paris Expansion Board support
=base0010
New York Expansion
=ilms0015
console Setup the kernel console parameters =ttyO2,115200n8 -
earlyprintk Enable early printk - -
mem Setup the Board Memory Configuration =430M -
boot_delay Setup the boot delay =0 -
mpurate Setup ARM Processor Speed - -
loglevel Setup the loglevel - -
debug Enable kernel debug output - -
fixrtc Fix RTC variable - -
nocompcache Configure nocompcache variable =1 -
omapfb.mode Configure frame bugger configuration =dvi:hd720-16@50  ;Other configuration
=dvi:1280x720MR-16@60
vram Configure Video RAM assigned to every frame buffer - -
omapfb.vram Configure Video RAM assigned to every frame buffer - -
omapfb.debug Configure frame buffer debug output - -
omapdss.debug Configure DSS Video debug output - -
smsc911x.mac0 Configure Board Ethernet Mac Address =0xb2,0xb0,0x14,0xb5,0xcd,0xde For IGEP BERLIN
smsc911x.mac1 Configure Board Ethernet Mac Address =0xb2,0xb0,0x14,0xb5,0xcd,0xdf For IGEP BERLIN (only with IGEP PROTON)
smsc911x.mac Configure Board Ethernet Mac Address =0xb2,0xb0,0x14,0xb5,0xcd,0xde For IGEPv2, IGEP PROTON, IGEP PARIS and IGEP BERLIN
ubi.mtd Fot UBI FS boot - -
root Configure root directory for MMC, NFS or UBI  ;For mmc memory
=/dev/mmcblk0p2 rw rootwait
 ;For flash memory
=/dev/mtdblock2
nfsroot For NFS boot - -
rootfstype For UBI FS boot - -
ip For NFS boot - -
init Assign init program - -
musb_hdrc.debug USB debug - -
musb_hdrc.use_dma USB over network - -
libertas.libertas_debug Configure libertas debug - -
board.ei485 Enable/disable RS485  ;Enable RS485
=yes
 ;Disable RS485
=no
board.modem Enable/disable GPRS modem  ;Enable modem (IGEPv2 Expansion)
=no
 ;Enable modem (IGEPv2 Expansion)
=yes
buddy.revision Enable hardware buddy revision [A or B] Only for base0010
=A
Only for base0010
=B