This is an old revision of the document!


WORK IN PROGRESS

Embedded module TQMLS10xxA - YOCTO Linux BSP documentation



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 thehow 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.

1. Setup the Starterkit to boot from SD/eMMC or QSPI, please see the Starterkit dip switch page how to setup.
2. Connect the kit to the network with TFTP server supplying the binaries via ethernet on connectorETH_PRIME
3. Power up the system and interrupt the boot process in U-Boot

Hit any key to stop autoboot:  0
=>

3. Setup the ethernet interface:

Set network settings manually

Set network settings using DHCP


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 <filename> (e.g.: setenv uboot_mmc u-boot-with-spl-pbl.bin)

QSPI NOR

For U-Boot update on QSPI NOR :

=> setenv uboot_qspi <filename> (e.g.: setenv uboot_spi_file fip_uboot.bin)

Devicetree

For Device Tree update on eMMC/SD Card and QSPI NOR :

=> setenv fdt_file <filename> (e.g.: setenv fdt_file fsl-tqmls1043a-mbls10xxa.dtb)

Kernel

For Kernel update on eMMC/SD Card and QSPI NOR :

=> setenv kernel <filename> (e.g.: setenv kernel Image.gz)

Frame Manager

For Frame Manager Microcode on eMMC/SD Card and QSPI NOR :

=> setenv fmucode <filename> (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


  • Last modified: 2022/08/04 15:04