\\
\\
~~NOCACHE~~
==== Updating existing firmware over ethernet ====
\\
To update U-Boot or RCW in a running system you have to copy the images in your tftp directory and upload them to the NOR flash.\\
Please see [[en:general_information:tftp|How to setup TFTP Server]]
1. Boot from NOR flash and stop autoboot in U-Boot\\
Hit any key to stop autoboot: 0
=>\\
3. Connect device via ethernet to a tftp server supplying the image\\
4. Prepare network interface:
++++ Set network settings manually |
Provide the correct network configuration in U-Boot:
* => setenv autoload no
* => setenv serverip (e.g.: setenv serverip 192.168.100.110)
* => setenv ipaddr (e.g.: setenv ipaddr 192.168.100.111)
* => setenv netmask (e.g.: setenv netmask 255.255.255.0)
++++
++++ Set network settings using DHCP |
If a DHCP server is available in the network, the interface can be configured by the server:
* => setenv autoload no
* => setenv serverip (e.g.: setenv serverip 192.168.100.110)
* => dhcp (get IP from server)
++++
\\
5. Provide U-Boot the file name of the desired image on the tftp server:
* For U-Boot update: => setenv uboot \\
* For RCW update: => setenv fdt_file \\
\\
6. Perform Update:
* U-Boot update: => run upd_uboot\\
* RCW update: => run upd_rcw\\
----