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.

Linux MCSDK installation Problem

Other Parts Discussed in Thread: TMS320C6678, SYSBIOS

Hi All,

I have TMDSEVM6678L board .

I want to use this in Linux with Linux MCSDK

I have first installed CCS v 5.1 and It was installed successfully and then I tried to install Linux MCSDK  (linux-c6x-2. 0. 0. 63) but could not install it properly.

In the attach file I wrote all the steps that I performed and their result.

Kindly look into this file and guide me how to setup the Linux MCSDK properly.

with regards,

Muhammad Faisal,

University of Würzburg,

Würzburg, Germany.

4075.Linux-MCSDK_Installation.doc

  • Hi, Muhammad,

    Using CCS5.1, you need to set the target configuration GEL file to point to the one you copied to. That is 1) edit the c6678 target configuration, 2) click "Advanced" tab at the bottom of the screen, 3) click IcePick_D -> subpath_0 -> C66xx_0, 4) in the initialization script on the right, browse and select the new verson of c6678 gel file, 5) click save.

    Then try to flash the image again. The DIP switch settings are correct. The image was never flashed to NAND and hence when you try to boot from it, nothing happened.

    Rex

  • Thanks for the Reply Mr Rex,

    I could not follow your steps as you said:

    "you need to set the target configuration GEL file to point to the one you copied to. That is 1) edit the c6678 target configuration," 

    Where is this target Configuration File

    "2) click "Advanced" tab at the bottom of the screen, 3) click IcePick_D -> subpath_0 -> C66xx_0, 4) in the initialization script on the right, browse and select the new verson of c6678 gel file, 5) click save"

    I dont have this "Advanced " tab at the bottonm of the screen in CCS

    with regards,

    Muhammad Faisal

  • Hi, Muhammad,

    Firstly, you need to verify your CCS can connect to the target EVM (C6678). Please follow the steps in "Setting up CCS for the Mezzanine Emulator" as described in http://processors.wiki.ti.com/index.php/Connecting_To_An_LCEVM_with_CCS,  The 3rd bullet to select XDS 100v1 USB is not correct. It should be XDS560v2 Mezzanine. If you can launch the target and connect to the target EVM after creating the target configuration file, you will be able to program the NAND using the steps

    Rex

  • Hi Rex,

    I tried to verify that whether the CCS can connect to the target EVM(6678L) board or not and when I select  XDS560v2 Mezzanine then I was getting error but When I followed the original instruction to select XDS 100v1 USB then I think connection test ran successfull both of the output are shown in the attached file.


    with regards,

    Muhammad Faisal.

    3252.Linux-Board-Test.doc

  • Hi All,

    I am following "Linux- c6x- 2. 0- GA User Guide" to setup Linux MCSDK on my C6678L board and on the "Image Indentifier" process I am getting some errors

    can anybody look into the attached file and guide me?

    with regards,

    Muhammad Faisal

    0537.Linux-MCSDK_Installation2a.doc

  • Hi, Muhammad,

    1) Do you have a C6678L or C6678LE board? If you have a LE board, you should select XDS560v2 Mezzanine, but XDS100v1 USB for C6678L board. When configuring the target in "advance" tab , select the gel file in program_evm/gel/evmc6678l.gel.

    2) In the attachment, though the target configuration file shows you selected Blackhawk XDS560v2 Mezzanine and TMS320C6678, but below that, it says Spectrum Digital C5509A DSK board. In stead, "C66x core" should be shown there. Please check your configuration is correct.

    3)After you configuring the target without error, are you able to "launch" that target configuration file, and "connect" to core 0 of C6678? If you can not, the programming flash will not work. You need to be sure the CCS configuration is correct.

    4) If you can successfully "connect" to the core 0, you can exit out of CCS, and start programming the flash according to the steps in the User's Guide.

    5) In addition to export the DSS_SCRIPT_DIR, PROGRAM_EVM_TARGET_CONFIG_FILE also need to point to the target configuration file created in step 1 above. I don't see this exported in the attachment.

    6) the image needs to be renamed to nand.bin and located under binaries/evmc6678l directory.  If it is C6678L board, the command should be $DSS_SCRIPT_DIR/dss.sh program_evm.js evm6678l-l “eeprom51,nand". If a C6678LE, then specify evm6678-le in the command instead.

    Rex

  • Thanks for the indepth reply, I will look into the steps and will report back.

    with regards,

    Muhammad Faisal.

  • Hi Rex,

    At last I was able to boot my EVM under linux.

    Two main errors I was committing:

    1. With factory settings the Board had USB connection enable (these two yellow jumpers) but I was trying normal Serial port (ttyS0) so I changed the position of these yellow jumpers to ohter side to enable ttyS0.

    2. the image Identifier command was first given as

    $DSS_SCRIPT_DIR/dss.sh program_evm.js evm6678l-le “eeprom51,nand”   (according to the manual)   but actually It was

    $DSS_SCRIPT_DIR/dss.sh program_evm.js evm6678l “eeprom51,nand”       

    anyway thanks alot. Now I am getting ready to program the board with my application which seems very difficult (as there are alot of stuff to know. i.e CCS5, MCSDK, Linux, Sysbios).....................I Will be very happy If you can guide me to some tutorial to develop the custom application with Linux-MCSDK

    with regards,

    Muhammad Faisal.

  • Hi, Muhammad,

    I am glad to hear that you have it working now. For application development, you can start from the Software Ecosystem in linux-c6x.org by trying each feature, and also look at the linux-c6x-project/hello. Hopefully, they will give you some idea.

    Rex

  • Hi All,

    This is a very helpful post. It helped me install Linux on evm6678le. Thank you.

    Regards,
    Ajay Barboza