User Tools

Site Tools


vmware.png nfs.png tftp.png subversion.png eclipse.png logo.png tutorial.png

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:layerscape:tqmls10xxa:linux:yocto:how_to [2019/08/06 09:45]
liedmann
en:layerscape:tqmls10xxa:linux:yocto:how_to [2019/09/30 10:24] (current)
liedmann added how to update firmware over ethernet
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\\ ​ Linux: eth0 ++  |  ++RGMII.4 | \\  U-Boot: FM1@DTSEC4\\ ​ Linux: eth1 ++  |  ++SGMII.5 | \\  U-Boot: FM1@DTSEC6\\ ​ Linux: eth3 ++  ^ ^ ^ |  ++SGMII.6 | \\  U-Boot: FM1@DTSEC5\\ ​ Linux: eth2 ++  ^ ^ ^ |  ++XFI.10 | \\  U-Boot: FM1@TGEC2\\ Linux: eth5 ++  |  ++XFI.9 | \\  U-Boot: FM1@TGEC1\\ Linux: eth4 ++  |  |  ++RGMII.3 | \\  U-Boot: FM1@DTSEC3\\ ​ Linux: eth0 ++  |  ++RGMII.4 | \\  U-Boot: FM1@DTSEC4\\ ​ Linux: eth1 ++  |  ++SGMII.5 | \\  U-Boot: FM1@DTSEC6\\ ​ Linux: eth3 ++  ^ ^ ^ |  ++SGMII.6 | \\  U-Boot: FM1@DTSEC5\\ ​ Linux: eth2 ++  ^ ^ ^ |  ++XFI.10 | \\  U-Boot: FM1@TGEC2\\ Linux: eth5 ++  |  ++XFI.9 | \\  U-Boot: FM1@TGEC1\\ Linux: eth4 ++  | 
 +
 +----
 +\\
 +===== 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:​general_information:​tftp|How to setup TFTP Server]]
 +
 +
 +**1. Boot Starterkit and interrupt boot process in U-Boot**\\
 +<​code>​Hit any key to stop autoboot:
 +=></​code>​
 +
 +**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. 
 +</​WRAP>​
 +
 +== Manual network configuration ==
 +
 +  * => setenv autoload no
 +  * => setenv serverip <​serverip>​ (e.g.: setenv serverip 192.168.100.110) ​
 +  * => setenv ipaddr <​ipaddr>​ (e.g.: setenv ipaddr 192.168.100.111)
 +  * => setenv netmask <​netmask>​ (e.g.: setenv netmask 255.255.255.0)
 +
 +== 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 <​filename>​ (e.g.: setenv uboot_mmc u-boot-with-spl-pbl.bin)
 +  * For U-Boot update on QSPI NOR : => setenv uboot_qspi <​filename>​ (e.g.: setenv uboot_qspi u-boot-pbl.bin.bswap )
 + 
 +  * For Device Tree update on eMMC/SD Card and QSPI NOR : => setenv fdt_file <​filename>​ (e.g.: setenv fdt_file fsl-tqmls1043a-mbls10xxa.dtb)
 +  ​
 +  * For Kernel update on eMMC/SD Card and QSPI NOR : => setenv kernel <​filename>​ (e.g.: setenv kernel linuximage)
 +
 +\\
 +**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
 +

en/layerscape/tqmls10xxa/linux/yocto/how_to.txt · Last modified: 2019/09/30 10:24 by liedmann


Disclaimer

TQ-Systems GmbH provides the Board Support Packages (BSP) free of charge. The software included in the shipment has been configured individually for the starter kits. The software is only intended to evaluate the module. The use of the Board Support Packages (BSP) is only allowed within the scope of functionality described by TQ-Systems GmbH. TQ-Systems GmbH does not accept any liability for all further changes of the Board Support Package and for any damage resulting from its use.


Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki