Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:layerscape:tqmls10xxa:linux:yocto:deployment_yocto [2020/08/06 16:11] – changed tab template liedmannen:layerscape:tqmls10xxa:linux:yocto:deployment_yocto [2022/08/04 15:02] – external edit 127.0.0.1
Line 12: Line 12:
 </embed> </embed>
 \\   \\  
 +
 +<embed en:templates:deployment_yocto_bootstrap>
 +<label lang>en</label>
 +<label mod_arch>layerscape</label>
 +<label bsp_name>linux</label>
 +<label build_system>yocto</label>
 +<label mod_name_code>tqmls10xxa</label>
 +<label bsp_image_name>tq-image-generic-tqmls10xxa-mbls10xxa</label>
 +<label mb_name_code>mbls10xxa</label>
 +<label mb_name>MBLS10xxA</label>
 +<label mod_name>TQMLS10xxA</label>
 +<label mod_name_partition>TQMLS10xxA</label>
 +<label stk_name>STKLS10xxA</label>
 +<label eth_prime></label>
 +<label uboot_default>u-boot-esdhc-2018.07-r0.bin</label>
 +<label fdt_default>fsl-tqmls1046a-mbls10xxa.dtb</label>
 +<label kernel_default>Image</label>
 +<label update_uboot_cmd>update_uboot_mmc</label>
 +<label update_dtb_cmd>update_fdt_mmc</label>
 +<label update_kernel_cmd>update_kernel_mmc</label>
 +</embed> 
 +
 +
 +===== 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<label eth_prime>ETH_PRIME</label> \\
 +3. Power up the system and interrupt the boot process in U-Boot\\
 +<code>
 +Hit any key to stop autoboot:  0
 +=>
 +</code>
 +4. Setup the ethernet interface:
 +++++ Set network settings manually |
 +
 +Provide the correct network configuration in U-Boot: 
 +<code>
 +=> setenv autoload no
 +=> setenv serverip <serverip>  (IP address of your TFTP server 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)
 +</code>
 +++++
 +
 +++++ Set network settings using DHCP |
 +If a DHCP server is available in the network, the interface can be configured by the server:
 +<code>
 +=> setenv autoload no
 +=> setenv serverip <serverip>   (IP address of your TFTP server e.g.: setenv serverip 192.168.100.110)
 +=> dhcp (get IP from server)
 +</code>
 +++++
 +\\ 
 +**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 :      <code>=> setenv uboot_mmc <filename> (e.g.: setenv uboot_mmc u-boot-with-spl-pbl.bin)</code>
 +  
 +__**QSPI NOR**__
 +
 +For U-Boot update on QSPI NOR :      <code>=> setenv uboot_qspi <filename> (e.g.: setenv uboot_spi_file fip_uboot.bin)</code>
 +
 +__**Devicetree**__
 +
 +For Device Tree update on eMMC/SD Card and QSPI NOR : <code>=> setenv fdt_file <filename> (e.g.: setenv fdt_file fsl-tqmls1043a-mbls10xxa.dtb)</code>
 +
 +__**Kernel**__
 +
 +For Kernel update on eMMC/SD Card and QSPI NOR
 + 
 +
 +<code>=> setenv kernel <filename> (e.g.: setenv kernel Image.gz)</code>
 +
 +__**Frame Manager**__
 +
 +For Frame Manager Microcode on eMMC/SD Card and QSPI NOR : <code>=> setenv fmucode <filename> (e.g.: setenv fmucode  fsl_fman_ucode_ls1043_r1.1_106_4_18.bin)</code>
 +
 +
 +\\
 +**6. Perform Update: **
 +
 +__**U-Boot**__
 +<code>
 +eMMC /SD Card :   => run update_uboot_mmc
 +QSPI NOR :        => run update_uboot_qspi
 +</code>
 +
 +__**Devicetree**__
 +<code>
 +eMMC /SD Card :   => run update_fdt_mmc
 +QSPI NOR :        => run update_fdt_qspi
 +</code>
 +
 +__**Kernel**__
 +<code>
 +eMMC /SD Card :   => run update_kernel_mmc
 +QSPI NOR :        => run update_kernel_qspi
 +</code>
 +
 +__**Frame Manager**__
 +<code>
 +eMMC /SD Card :   => run update_fmucode_mmc
 +QSPI NOR :        => run update_fmucode_qspi
 +</code>
 \\ \\
  • Last modified: 2023/11/08 13:55