This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm8168 general doubts

Dear sir,

1)When i was installing the Codesourcery ,it was asking me to do these two lines

rm /bin/sh

ln -s /bin/bash /bin/sh

why it was asking like this...?

2)In the last thread,i was asking that  .........is there any standard demos..like in the form of files/images/example code, so that i can take that in the sd card and just run the demos.But u have given me the path "ti-ezsdk_dm816x-evm_5_05_02_00/board-support/prebuilt-images/"  ,here i dont find any standard demo examples.

where i ll get standard example code so that i can run directly by putting onto the sdcard and run there only...?

the thread is: 

thank you.

  • Mohammad,

    MOHAMMAD NASEER M N said:

    1)When i was installing the Codesourcery ,it was asking me to do these two lines

    rm /bin/sh

    ln -s /bin/bash /bin/sh

    why it was asking like this...?

    By default on Ubuntu systems, /bin/sh is linked to /bin/dash and that causes problems with certain versions of the toolchain and some SDK build scripts. When you run the above commands, you switch to using bash.


    See also the below wiki page:

    MOHAMMAD NASEER M N said:
    2)In the last thread,i was asking that  .........is there any standard demos..like in the form of files/images/example code, so that i can take that in the sd card and just run the demos.But u have given me the path "ti-ezsdk_dm816x-evm_5_05_02_00/board-support/prebuilt-images/"  ,here i dont find any standard demo examples.

    The demo examples are located at:

    ti-ezsdk_dm816x-evm_5_05_02_00/example-applications/

    These demos are available in the SD card by default if creating it with the TI script. Which kind of demo you are more interested, as there are lot of demos.

    Regards,
    Pavel

  • I would also again note that you should check the below document for the demos/examples:

    DM816x_EZ_Software_Developers_Guide.pdf
    3 Running the pre-installed applications on the target file system

    The Example Applications directory (ti-ezsdk_dm816x-evm_5_05_02_00/example-applications/) contains different demonstration applications and examples that can be used as starting points for application development. Over time, more examples will be added to this directory.

    All TI Demos and Sample Applications are typically under /usr/share/ti. Some applications such as prcm_config_app are present in /usr/bin so that they are in your PATH by default and can be run at boot.

    See also:
    processors.wiki.ti.com/.../EZ_SDK_FAQ
  • Hi Pavel,
    1)These demos are available in the SD card by default if creating it with the TI script. Which kind of demo you are more interested, as there are lot of demos.
    --->>>i want to do some demos mainly like image processing and audio processing,others if you have please share with me..

    But in "ti-ezsdk_dm816x-evm_5_05_02_00/example-applications/",i cant find my specific demos,will you please tell me clearly which are the codes for dm8169 kit in that location and where i can find my desired one like image n audio processing.

    2)I got the idea that in ezsdk_dm816x-evm_5_05_02_00,is having examples for these kits,but still i have doubt that where this codesourery helps and why it needs....

    3)when i open the sd card got from texas and in ROOTFS partition,i hv seen 10 to 14 foldr ,may i know ,
    when i ll get those folder,after what installation i ll get those folders in rootsfs partition and what is the need of those folder?

    I have installed codesourcery and (5.05.02.00) EZSDK in my laptop.

    thank you.
  • MOHAMMAD NASEER M N said:
    --->>>i want to do some demos mainly like image processing and audio processing,others if you have please share with me..

    Regarding image processing demos/examples, we have something that might be in help in the Codec Engine folder

    /usr/share/ti/ti-codec-engine-examples, check image1_copy and image_copy


    Regarding image processing, you can also use C6Accel and/or IMGLIB, but no demos are available in the EZSDK. See also the below e2e thread:

    Regarding audio processing, you can check the below demos/examples:

    ti-ezsdk_dm816x-evm_5_05_02_00/example-applications/linux-driver-examples-psp04.04.00.01/audio

    /usr/share/ti/rpe/

    /usr/share/ti/ti-codec-engine-examples/

    /usr/share/ti/ti-omtb/

    /usr/share/ti/ti-omx/

    See also the below wiki pages regarding audio processing:

    I will check regarding your other questions and come back to you soon.

    BR
    Pavel

  • MOHAMMAD NASEER M N said:
    2)I got the idea that in ezsdk_dm816x-evm_5_05_02_00,is having examples for these kits,but still i have doubt that where this codesourery helps and why it needs....

    CodeSourcery is toolchain (compiler, linker, debugger, etc). You need to have a toolchain to be able to create your own applications and to build your own u-boot and linux kernel.

    A toolchain is the set of tools that compiles source code into executables that can run on your target device, and includes a compiler, a linker, and run-time libraries.

    See the below wiki pages for more info:

    MOHAMMAD NASEER M N said:
    3)when i open the sd card got from texas and in ROOTFS partition,i hv seen 10 to 14 foldr ,may i know ,
    when i ll get those folder,after what installation i ll get those folders in rootsfs partition and what is the need of those folder?

    Root filesystem: This contains the libraries and programs that are run once the kernel has completed its initialization.

    The EZSDK rootfs (filesystem) contain not just base linux software but libraries, demo applications. This is the filesystem which is used to create and SD Card image or when you choose to setup NFS. This filesystem has been designed to support out of the box demos and for software development.

    The EZSDK filesystem follows Linux conventions and puts all pre-built kernel objects in /lib. So, on the target you would find kernel objects such as syslink.ko and video drivers such as ti81xxfb.ko and vpss.ko.

    /etc/init.d has two initscripts that will take care of loading firmware and bringing up syslink and video drivers at boot time - load-hdvicp2-firmware.sh and load-hdvpss-firmware.sh. Again these follow linux conventions and are softlinked as RC scripts in /etc/rc3.d and /etc/rc5.d. These can be used as the basis for any initialization sequence you would like to have in your product.

    Tip! If you rename any initscript in /etc/rc3.d and /etc/rc5.d to start with the letter 'K', then linux will not run them. This is useful sometimes when debugging.

    BR
    Pavel