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.

Running applications in DSP Linux

Hi everyone,

  Recently I was finally able to boot Linux form NAND on EVM 6678 board, at this point, I've got confused by a few questions.

First, I could only get boot messages from minicom, I did not allocate IP address for the board, so the booting was stuck at the place trying to test that IP address. I'll do that some time later, but I don't know if the Linux could still boot even without DHCP, does anybody know about this, because it will take me some time to get the router, but I'd like to move forward.

Second, So assume that my Linux is boot up, can I run some user applications in side the Linux, or actually is running on DSP? I didn't find related information on google, so I'd appreciate any information from you, thank you.

Third, I think the Linux version for C6678 is a bit old and with few updates, besides this version, is there any other Linux version for other types of DSP or DSP SoCs? Such as Keystone II.

Thank you,

Jie

  • Hi Jie,

    Jie says said:
    First, I could only get boot messages from minicom, I did not allocate IP address for the board, so the booting was stuck at the place trying to test that IP address. I'll do that some time later, but I don't know if the Linux could still boot even without DHCP, does anybody know about this, because it will take me some time to get the router, but I'd like to move forward.

    As per this document, "linux-c6x-2.0.0.63-users-guide.pdf",

    "To assign an IP address manually to eth0, user can use the ifconfig command from the serial console.

    For example to assign 158.218.100.184 to eth0, user type

    >ifconfig eth0 158.218.100.184 netmask 255.255.255.0 up"

    Jie says said:
    Second, So assume that my Linux is boot up, can I run some user applications in side the Linux, or actually is running on DSP? I didn't find related information on google, so I'd appreciate any information from you, thank you.

    Yes, you can build the user app using the GCC tool chain (code sourcery) and run it on DSP.  It is generic as if you are writing a user app on top of linux.

    Jie says said:
    Third, I think the Linux version for C6678 is a bit old and with few updates, besides this version, is there any other Linux version for other types of DSP or DSP SoCs? Such as Keystone II.

    As far as know, Keystone II devices will run linux only on ARM cores and not on DSP cores.

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Hi Shankari, thank you for your helpful information.

    Shankari G said:

    Hi Jie,

    First, I could only get boot messages from minicom, I did not allocate IP address for the board, so the booting was stuck at the place trying to test that IP address. I'll do that some time later, but I don't know if the Linux could still boot even without DHCP, does anybody know about this, because it will take me some time to get the router, but I'd like to move forward.

    As per this document, "linux-c6x-2.0.0.63-users-guide.pdf",

    "To assign an IP address manually to eth0, user can use the ifconfig command from the serial console.

    For example to assign 158.218.100.184 to eth0, user type

    >ifconfig eth0 158.218.100.184 netmask 255.255.255.0 up"

    [/quote]

    So can I boot Linux without DHCP? Because right now I don't have a router, it will take some time to get one, I'd like to move forward to do other things before getting it.

    Thanks,

    Jie

  • Hi, Jie,

    In the kbuilds/evmc6678.mk file, modify ip=dhcp in CMDLINE to static ip address (following the linux syntax for static ip configuration) and rebuild the kernel.

    Rex

  • Thank you Rex

    Jie