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/TMS320C6678: I cannot complete TFTP boot

Part Number: TMS320C6678

Tool/software: Linux

Hello all,

I'm facing a problem that I can't boot from TFTP server. Firstly, I use CCS5.5 (and make_bin_evmc6678le.sh), Linux 16 with several packages installed, most importantly tftpd-hpa, inetd etc.). Stock board EVMC6678. So, I have a folder /srv/tftpboot and a finished c6678_le.bin in it. My TFTP server is working (green point) and set like this:

tftpd-hpa.service - LSB: HPA's tftp server
Loaded: loaded (/etc/init.d/tftpd-hpa; bad; vendor preset: enabled)
Active: active (running) since Tue 2017-04-25 13:30:33 CEST; 1min 4s ago
Docs: man:systemd-sysv-generator(8)
Process: 1965 ExecStart=/etc/init.d/tftpd-hpa start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/tftpd-hpa.service
└─1999 /usr/sbin/in.tftpd --listen --user tftp --address 0.0.0.0:69 --secure -vvvv /srv/tftpboot

Print of tftpd-hpa config file:

# /etc/default/tftpd-hpa

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
RUN_DAEMON="yes"
TFTP_OPTIONS="--secure -vvvv"

As you can see, I preserved the defaults - IP is 0.0.0.0, port 69. I have an ARP entry added (with MAC of EVM) - but not sure whether this is necessary. EVM switches are set to (TFTP) 0010 1101 1110 1111; Ethernet is connected so it can boot properly.

I can see BOOTP requests coming to my ethernet interface in Wireshark (forever).

I should see BOOTP REPLY, shouldn't I? Or, why don't I see this? Who (which package) is responsible for creating and sending Replies to EVM? 

Why is BOOTP protocol (ports 67, 68) mixed with TFTP (tftpd.hpa, port 69)?

Let's say, I'm stuck here www.tcpipguide.com/free/t_BOOTPDetailedOperation.htm at point 2.

I've read all similar topics, the BOOT guide,... but I'm desperate.

  • I've notified the RTOS team. Their feedback will be posted directly here.

    Best Regards,
    Yordan
  • OK, I think I solved this problem. I have to say that the documentation of TFTP boot is insufficient and I recommend expanding it. Firstly, you have to install more packeges (bootp), then you have to properly set their config files to get bootp reply and then solve TFTP issues (I had TFTP Error #1)... the idea "switch the DSP to TFTP boot, install tftp-hpa and insert a bin file into a folder" is very misleading, generalising a lot.