
Dear John,
in message C7FFFEA58B43D311920D0004ACE5333F10E4F500@amer25.avnet.com you wrote:
understanding of U-boot: In our firmware, Ethernet is enabled at start-up, and we always answer pings. (And you do not need interrupts to do that -- our firmware runs polled and handles pings just fine.) I am in the habit of thinking that if a node
Thaty means you have to implement some kind of multitasking. or how do you poll the network interface while another command is running?
doesn't answer a ping, it is inoperable. Also, we run a TFTP
That is not true.
server on the board, with a client on the PC. This way, the PC
That is pretty non-standard. The typical way to bootstrap systems from a boot server is that the boting system will use TFTP / BOOTP / DHCP as a _client_.
- Pings are not answered.
Because U-Boot is single-tasking.
- Ethernet is brought up only when one runs tftpboot et al.
Because there is no use in wasting time to bring up interfaces which are not used. U-Boot is intended to allow for fast booting.
- There appears to be no way to use TFTP to copy data from the board to the PC.
Please feel free to add a TFTP upload command.
These are U-boot design decisions; my error was in expecting something else.
Indeed.
Best regards,
Wolfgang Denk