\\ ===== Updating existing firmw are over ethernet new ===== \\ A good approach to update the firmare components U-Boot,Linux kernel and devicetree in a running system is to load them from a TFTP server. Therefore a running TFTP server is required in your network environment, please see the[[en:general_information:tftp|how to setup TFTP Server]] page how to setup on your development host. After setting up the TFTP server, the binaries that should be updated must be copied into the TFTP directory of your TFTP Server. ==== Update Process ==== 1. Setup the Starterkit to boot from SD/eMMC or QSPI, please see the [[ .:..:..:mbls10xxA:dip_switches|Starterkit dip switch page]] how to setup\\ 2. Connect the kit to the network with TFTP server supplying the binaries via ethernet on connector \\ 3. Power up the system and interrupt the boot process in U-Boot\\ Hit any key to stop autoboot: 0 => 4. Setup the ethernet interface: ++++ Set network settings manually | Provide the correct network configuration in U-Boot: => setenv autoload no => setenv serverip (IP address of your TFTP server e.g.: setenv serverip 192.168.100.110) => setenv ipaddr (e.g.: setenv ipaddr 192.168.100.111) => setenv netmask (e.g.: setenv netmask 255.255.255.0) ++++ ++++ Set network settings using DHCP | If a DHCP server is available in the network, the interface can be configured by the server: => setenv autoload no => setenv serverip (IP address of your TFTP server e.g.: setenv serverip 192.168.100.110) => dhcp (get IP from server) ++++ \\ **5. Set U-Boot environment variables according to the image file name stored on the tftp server:**\\ \\ __**eMMc/SD Card**__ For U-Boot update on eMMC/SD Card : => setenv uboot_mmc (e.g.: setenv uboot_mmc u-boot-with-spl-pbl.bin) __**QSPI NOR**__ For U-Boot update on QSPI NOR : => setenv uboot_qspi (e.g.: setenv uboot_spi_file fip_uboot.bin) __**Devicetree**__ For Device Tree update on eMMC/SD Card and QSPI NOR : => setenv fdt_file (e.g.: setenv fdt_file fsl-tqmls1043a-mbls10xxa.dtb) __**Kernel**__ For Kernel update on eMMC/SD Card and QSPI NOR : => setenv kernel (e.g.: setenv kernel Image.gz) __**Frame Manager**__ For Frame Manager Microcode on eMMC/SD Card and QSPI NOR : => setenv fmucode (e.g.: setenv fmucode fsl_fman_ucode_ls1043_r1.1_106_4_18.bin) \\ **6. Perform Update: ** __**U-Boot**__ eMMC /SD Card : => run update_uboot_mmc QSPI NOR : => run update_uboot_qspi __**Devicetree**__ eMMC /SD Card : => run update_fdt_mmc QSPI NOR : => run update_fdt_qspi __**Kernel**__ eMMC /SD Card : => run update_kernel_mmc QSPI NOR : => run update_kernel_qspi __**Frame Manager**__ eMMC /SD Card : => run update_fmucode_mmc QSPI NOR : => run update_fmucode_qspi \\