Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| en:general_information:tutorial:update_firmware_tftp [2017/12/18 15:47] – complemented instructions, added specific module information schmid | en:general_information:tutorial:update_firmware_tftp [2025/01/28 11:17] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Updating existing firmware over ethernet ===== | ===== Updating existing firmware over ethernet ===== | ||
| \\ | \\ | ||
| - | To update | + | This tutorial describes hoe to update the firmware files in U-Boot. |
| + | ==== Prerequisites ==== | ||
| + | * Configured TFTP Server on development host, please see [[en: | ||
| - | Please see [[en: | ||
| - | + | **1. Boot from eMMC or SD and stop autoboot in U-Boot**\\ | |
| - | 1. Boot from eMMC or SD and stop autoboot in U-Boot\\ | + | |
| < | < | ||
| =></ | =></ | ||
| - | 2. Set U-Boot variable // | + | **2. Set U-Boot variable // |
| - | < | + | < |
| ++++mmcdev| | ++++mmcdev| | ||
| <wrap info> | <wrap info> | ||
| 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 |
| - | 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 < | * => setenv serverip < | ||
| * => setenv ipaddr < | * => setenv ipaddr < | ||
| * => setenv netmask < | * => setenv netmask < | ||
| - | 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 < | => setenv uboot < | ||
| \\ | \\ | ||
| - | <wrap info> | + | <wrap info> |
| \\ | \\ | ||
| ++ | ++ | ||
| Line 46: | Line 51: | ||
| => setenv fdt_file < | => setenv fdt_file < | ||
| \\ | \\ | ||
| - | <wrap info> | + | <wrap info> |
| \\ | \\ | ||
| ++ | ++ | ||
| Line 54: | Line 59: | ||
| => setenv zimage < | => setenv zimage < | ||
| \\ | \\ | ||
| - | <wrap info> | + | <wrap info> |
| \\ | \\ | ||
| ++ | ++ | ||
| - | 6. Perform Update: | + | **6. Perform Update:** |
| * ++U-Boot update:| \\ | * ++U-Boot update:| \\ | ||
| <wrap info> | <wrap info> | ||
| => run update_uboot\\ | => run update_uboot\\ | ||
| \\ | \\ | ||
| - | <wrap info> | + | <wrap info> |
| \\ | \\ | ||
| ++ | ++ | ||
| Line 70: | Line 75: | ||
| => run update_fdt\\ | => run update_fdt\\ | ||
| \\ | \\ | ||
| - | <wrap info> | + | <wrap info> |
| \\ | \\ | ||
| ++ | ++ | ||
| Line 77: | Line 82: | ||
| => run update_kernel\\ | => run update_kernel\\ | ||
| \\ | \\ | ||
| - | <wrap info> | + | <wrap info> |
| \\ | \\ | ||
| ++ | ++ | ||