[En-Nut-Discussion] TFTP Download to Ethernut 5

Harald Kipp harald.kipp at egnite.de
Fri Apr 20 17:57:24 CEST 2012


Hi Vegard,

On 20.04.2012 14:28, Vegard Aaker wrote:
> Thank you, but I still do not manage it.

A general manual about U-Boot is available at

http://www.denx.de/wiki/DULG/Manual

For Ethernut 5 specific settings, this page may be helpful:

http://www.ethernut.de/en/hardware/enut5/ubootenv.html

More documents are available at

http://www.ethernut.de/en/hardware/enut5/

Note, that several options are available to run Nut/OS on Ethernut 5. The main ways are:

1. You may directly load the binary via TFTP into RAM via 'run tftpbootnut'. This is the same way you know from Ethernut 3.
2. You may install the Nut/OS binary in the DataFlash via 'run tftpinstallnut' and start it via 'run flashbootnut'.
3. You may directly program the Nut/OS binary into the CPU internal flash via JTAG, replacing the samboot bootloader. For this you need to change the linker script.
4. You may directly upload and run the Nut/OS binary into the SDRAM via JTAG. This is typically used with Eclipse.

You may also replace any 'run tftpXXX' command by its sibling 'run nfsXXX', using an NFS drive instead of TFTP.

Also note, that you can set the bootcmd variable to execute any of the commands above automatically.

Please continue asking, if you cannot get it running. Gregor is currently working on a related document and your questions will probably help to improve it. Let us know the U-Boot command you tried and its related error output.

Regards,

Harald




More information about the En-Nut-Discussion mailing list