Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
en:layerscape:tqmls10xxa:linux:yocto:how_to [2019/08/06 09:45] – liedmann | en:layerscape:tqmls10xxa:linux:yocto:how_to [2020/08/06 16:12] – changed tab template liedmann | ||
---|---|---|---|
Line 2: | Line 2: | ||
~~NOCACHE~~ | ~~NOCACHE~~ | ||
<WRAP round important> | <WRAP round important> | ||
- | <embed en: | + | <embed en: |
<label product_type> | <label product_type> | ||
<label lang> | <label lang> | ||
Line 64: | Line 64: | ||
^ 1 ^ 2 ^ 3 ^ 4 ^ 5 ^ 6 ^ 7 ^ 8 ^ 9 ^ 10 ^ 11 ^ 12 ^ | ^ 1 ^ 2 ^ 3 ^ 4 ^ 5 ^ 6 ^ 7 ^ 8 ^ 9 ^ 10 ^ 11 ^ 12 ^ | ||
| ++RGMII.3 | \\ U-Boot: FM1@DTSEC3\\ | | ++RGMII.3 | \\ U-Boot: FM1@DTSEC3\\ | ||
+ | |||
+ | ---- | ||
+ | \\ | ||
+ | ===== Updating existing firmware over ethernet ===== | ||
+ | \\ | ||
+ | To update bootloader / kernel / devicetree in a running system you have to copy the images to a tftp directory and upload them to the eMMC or SD Card.\\ | ||
+ | |||
+ | |||
+ | |||
+ | Please see [[en: | ||
+ | |||
+ | |||
+ | **1. Boot Starterkit and interrupt boot process in U-Boot**\\ | ||
+ | < | ||
+ | =></ | ||
+ | |||
+ | **3. Connect device via ethernet to the TFTP server which supplies the image**\\ | ||
+ | |||
+ | **4. Provide the correct network configuration in U-Boot: | ||
+ | <WRAP round info> | ||
+ | The manual network configuration must be done if no DHCP server is available, otherwise the configuration can be done via DHCP. | ||
+ | </ | ||
+ | |||
+ | == Manual network configuration == | ||
+ | |||
+ | * => setenv autoload no | ||
+ | * => setenv serverip < | ||
+ | * => setenv ipaddr < | ||
+ | * => setenv netmask < | ||
+ | |||
+ | == Network configuration via DHCP == | ||
+ | |||
+ | * => setenv autoload no | ||
+ | * => dhcp | ||
+ | \\ | ||
+ | **5. Set U-Boot environment variables according to the image file name stored on the tftp server: | ||
+ | |||
+ | * For U-Boot update on eMMC/SD Card : => setenv uboot_mmc < | ||
+ | * For U-Boot update on QSPI NOR : => setenv uboot_qspi < | ||
+ | |||
+ | * For Device Tree update on eMMC/SD Card and QSPI NOR : => setenv fdt_file < | ||
+ | | ||
+ | * For Kernel update on eMMC/SD Card and QSPI NOR : => setenv kernel < | ||
+ | |||
+ | \\ | ||
+ | **6. Perform Update: ** | ||
+ | | ||
+ | * U-Boot update on eMMC /SD Card : => run update_uboot_mmc | ||
+ | * U-Boot update on QSPI NOR : => run update_uboot_qspi | ||
+ | |||
+ | * Device Tree update on eMMC /SD Card : => run update_fdt_mmc | ||
+ | * Device Tree update on QSPI NOR : => run update_fdt_qspi | ||
+ | |||
+ | * Kernel update on eMMC /SD Card : => run update_kernel_mmc | ||
+ | * Kernel update on QSPI NOR : => run update_kernel_qspi | ||
+ |