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.

Boot App via TFTP on C6455

Hi, All,

We are using DSK6455 to implement a TFTP boot. Our scheme is "Secondary bootloader in flash (0xB000_0000) ===> Tertiary bootloader in DDR (0xE000_0000) ===> (Down)Load app to L2 via TFTP ===> Jump to _c_int00 in app".

Our questions are: (1) Into what format should the app be converted for downloading and what utility should we use? (2) Is there any off-the-shelf loader code/image we can use in our tertiary bootloader?

Any hint will be greatly appreciated!

Shawn

 

  • Shawn said:
    (1) Into what format should the app be converted for downloading and what utility should we use?

    Follow this User's Guide.

    Shawn said:
    (2) Is there any off-the-shelf loader code/image we can use in our tertiary bootloader?
    This is not something for which I have ever seen any collateral. TFTP boot is common on our DSP+ARM devices because the TFTP driver is built into Linux (or more specifically uBoot, I think); however, in the DSP realm this is not something with which I am familiar. I think you will have to develop this on your own unless a third party has already done so. This site might help you find something if a solution already exists.

  • Thanks a lot for your reply, Tim.

    Studied more on the issue. I think we will use Boot Table generated by hex6x.exe as download image and write our own parser/loader.

    Now we have another issue. When we call NtTftpRecv(), the TFTP client of NDK for DSK6455 v2.0, it returned TFTPERROR_SOCKET (-4). Further debugging showed socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP) returned INVALID_SOCKET (-1). Calling fdError() also returned -1 (0xFFFFFFFF).

    Please shed some light on it. Thanks in advance for your help.

    Shawn