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 [2017/12/18 16:47] – complemented instructions, added specific module information schmiden: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 <x></code>+<code>=> setenv mmcdev <Nr.></code>
 ++++mmcdev|  ++++mmcdev| 
 <wrap info>TQMa6x, TQMa6ULx, TQMa7x:</wrap>\\ <wrap info>TQMa6x, TQMa6ULx, TQMa7x:</wrap>\\
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 38: Line 43:
 => setenv uboot <filename>\\ => setenv uboot <filename>\\
 \\ \\
-<wrap info>TQMa335x: please see [[en:arm:tqma335x:linux:deployment#Updating the firmware|Updating the firmware]]</wrap>\\+<wrap info>TQMa335x: please see [[en:arm:tqma335x:linux:ptxdist:deployment#Updating the firmware|Updating the firmware]]</wrap>\\
 \\ \\
 ++ ++
Line 46: Line 51:
 => setenv fdt_file <filename>\\ => setenv fdt_file <filename>\\
 \\ \\
-<wrap info>TQMa335x: please see [[en:arm:tqma335x:linux:deployment#Updating the firmware|Updating the firmware]]</wrap>\\+<wrap info>TQMa335x: please see [[en:arm:tqma335x:linux:ptxdist:deployment#Updating the firmware|Updating the firmware]]</wrap>\\
 \\ \\
 ++ ++
Line 54: Line 59:
 => setenv zimage <filename>\\ => setenv zimage <filename>\\
 \\ \\
-<wrap info>TQMa335x: please see [[en:arm:tqma335x:linux:deployment#Updating the firmware|Updating the firmware]]</wrap>\\+<wrap info>TQMa335x: please see [[en:arm:tqma335x:linux:ptxdist:deployment#Updating the firmware|Updating the firmware]]</wrap>\\
 \\ \\
 ++ ++
  
-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>\\
 => run update_uboot\\ => run update_uboot\\
 \\ \\
-<wrap info>TQMa335x: please see [[en:arm:tqma335x:linux:deployment#Updating the firmware|Updating the firmware]]</wrap>\\+<wrap info>TQMa335x: please see [[en:arm:tqma335x:linux:ptxdist:deployment#Updating the firmware|Updating the firmware]]</wrap>\\
 \\ \\
 ++ ++
Line 70: Line 75:
 => run update_fdt\\ => run update_fdt\\
 \\ \\
-<wrap info>TQMa335x: please see [[en:arm:tqma335x:linux:deployment#Updating the firmware|Updating the firmware]]</wrap>\\+<wrap info>TQMa335x: please see [[en:arm:tqma335x:linux:ptxdist:deployment#Updating the firmware|Updating the firmware]]</wrap>\\
 \\ \\
 ++ ++
Line 77: Line 82:
 => run update_kernel\\ => run update_kernel\\
 \\ \\
-<wrap info>TQMa335x: please see [[en:arm:tqma335x:linux:deployment#Updating the firmware|Updating the firmware]]</wrap>\\+<wrap info>TQMa335x: please see [[en:arm:tqma335x:linux:ptxdist:deployment#Updating the firmware|Updating the firmware]]</wrap>\\
 \\ \\
 ++ ++
  • Last modified: 2022/08/04 15:04