Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:general_information:tutorial:update_firmware_tftp [2018/05/24 09:55] – ↷ Links adapted because of a move operation liedmannen:general_information:tutorial:update_firmware_tftp [2022/08/04 15:02] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ===== Updating existing firmware over ethernet ===== ===== Updating existing firmware over ethernet =====
 \\ \\
-To update bootloader / kernel / devicetree in a running system you have to copy the images in your tftp directory and upload them to the eMMC or SD Card.\\  +This tutorial describes hoe to update the firmware files in U-Boot.
  
 +==== Prerequisites ====
  
 +  * Configured TFTP Server on development host, please see [[en:general_information:tftp|How to setup TFTP Server]]
  
-Please see [[en:general_information:tftp|How to setup TFTP Server]] 
  
- +**1. Boot from eMMC or SD and stop autoboot in U-Boot**\\
-1. Boot from eMMC or SD and stop autoboot in U-Boot\\+
 <code>Hit any key to stop autoboot:  0 <code>Hit any key to stop autoboot:  0
 =></code>\\ =></code>\\
-2. Set U-Boot variable //mmcdev//  according to the drive you want to write to+**2. Set U-Boot variable //mmcdev//  according to the drive you want to write to**
 <code>=> setenv mmcdev <Nr.></code> <code>=> setenv mmcdev <Nr.></code>
 ++++mmcdev|  ++++mmcdev| 
Line 26: Line 26:
 //mmcdev 0// = SD Card **or** eMMC //mmcdev 0// = SD Card **or** eMMC
 ++++  ++++ 
-3. Connect device via ethernet to a tftp server supplying the image\\ +**3. Connect  target device via ethernet to a tftp server supplying the frimware images**\\ 
-4. Provide the correct network configuration in U-Boot: +**4. Provide the correct network configuration in U-Boot:**  
 + 
 + 
 + 
 + 
   * => setenv autoload no   * => setenv autoload no
   * => setenv serverip <serverip> (e.g.: setenv serverip 192.168.100.110)    * => setenv serverip <serverip> (e.g.: setenv serverip 192.168.100.110) 
   * => setenv ipaddr <ipaddr> (e.g.: setenv ipaddr 192.168.100.111)   * => setenv ipaddr <ipaddr> (e.g.: setenv ipaddr 192.168.100.111)
   * => setenv netmask <netmask> (e.g.: setenv netmask 255.255.255.0)   * => setenv netmask <netmask> (e.g.: setenv netmask 255.255.255.0)
-5. Provide U-Boot the file name of the desired image on the tftp server: +**5. Provide U-Boot the file name of the desired image on the tftp server:** 
   * ++For U-Boot update:| \\   * ++For U-Boot update:| \\
 \\ \\
Line 58: Line 63:
 ++ ++
  
-6. Perform Update: +**6. Perform Update:** 
   * ++U-Boot update:| \\   * ++U-Boot update:| \\
 <wrap info>TQMa6x, TQMa6ULx, TQMa7x, TQMLS102xA:</wrap>\\ <wrap info>TQMa6x, TQMa6ULx, TQMa7x, TQMLS102xA:</wrap>\\
  • Last modified: 2022/08/04 15:04