In order to write the files on th SD card you can follow this steps: In a linux host: +--Copy the files from your linux host to the USB device--+ cp //// cp //// cp //_LS_tiny.itb /// umount /// +-------------------------------------------------------+ On the board: +--Plug the USB in the board after boot the board (no enter in the kernel)--+ NOTICE: Fixed DDR on board NOTICE: 2 GB DDR4, 32-bit, CL=11, ECC off NOTICE: BL2: v2.8(release):lf-6.1.22-2.0.0-0-g99195a23d NOTICE: BL2: Built : 06:14:17, Jun 2 2023 NOTICE: BL2: Booting BL31 NOTICE: BL31: v2.8(release):lf-6.1.22-2.0.0-0-g99195a23d NOTICE: BL31: Built : 06:14:17, Jun 2 2023 NOTICE: Welcome to ls1043ardb BL31 Phase U-Boot 2023.04+fsl+gaf7d004eaf (Jun 06 2023 - 14:59:40 +0000) SoC: LS1043AE Rev1.1 (0x87920011) Clock Configuration: CPU0(A53):1600 MHz CPU1(A53):1600 MHz CPU2(A53):1600 MHz CPU3(A53):1600 MHz Bus: 400 MHz DDR: 1600 MT/s FMAN: 500 MHz Reset Configuration Word (RCW): 00000000: 08100010 0a000000 00000000 00000000 00000010: 14550002 80004012 60040000 c1002000 00000020: 00000000 00000000 00000000 00038800 00000030: 00000000 00001100 00000096 00000001 In U-boot insert the followong commands: => usb start //this step is for inicitialie the usb module starting USB... Bus usb3@2f00000: Register 200017f NbrPorts 2 Starting the controller USB XHCI 1.00 Bus usb3@3000000: Register 200017f NbrPorts 2 Starting the controller USB XHCI 1.00 Bus usb3@3100000: Register 200017f NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus usb3@2f00000 for devices... 1 USB Device(s) found scanning bus usb3@3000000 for devices... 2 USB Device(s) found scanning bus usb3@3100000 for devices... 1 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found => fatls usb 0 // this step is for see the usb content 44952 bl2_sd.pbl 42467332 openwrt-22.03-qspi-ath10k.bin 37748740 openwrt-22.03-qspi-basic.bin 944093 fip.bin .Trash-1001/ 4 file(s), 1 dir(s) +--Install file bl2_sd.pbl on SD card--+ # To flash bl2_sd.pbl, last argument in mmc write needs => fatload usb 0 $load_addr bl2_sd.pbl // this step is for load the file from usb to load_addr bytes read in x ms (x MiB/s) => mmc write $load_addr 8 //this step write the in the MMC (SD card) # mmc write $load_addr (block address) (count or size file in hexadecimal: 44952 decimal is equal to af98 in hexadecimal) (You can find this address block on the page 181 in the Layerscape Software Development Kit User Guide, Rev. 21.08 4 section 2 (4.2 LSDK memory layout and Userland)) MMC write: dev # 0, block # 8, count ... blocks written: OK +--bl2_sd.pbl--+ +--Install file fip.bin on SD card--+ # To flash fip.bin, last argument in mmc write needs => fatload usb 0 $load_addr fip.bin // this step is for load the file from usb to load_addr bytes read in x ms (x MiB/s) => mmc write $load_addr 800 //this step write the in the MMC (SD card) # mmc write $load_addr (block address) (count or size file in hexadecimal: 44952 decimal is equal to af98 in hexadecimal) (You can find this address block on the page 181 in the Layerscape Software Development Kit User Guide, Rev. 21.08 4 section 2 (4.2 LSDK memory layout and Userland)) MMC write: dev # 0, block # 2048, count ... blocks written: OK +--fip.bin--+ +--Install file sdk_linux__LS_tiny.itb in on SD card--+ # To flash tiny linux, last argument in mmc write needs => fatload usb 0 $load_addr sdk_linux__LS_tiny.itb // this step is for load the file from usb to load_addr bytes read in x ms (x MiB/s) => mmc write $load_addr 8000 //this step write the in the MMC (SD card) # mmc write $load_addr (block address) (count or size file in hexadecimal: 44952 decimal is equal to af98 in hexadecimal) (You can find this address block on the page 181 in the Layerscape Software Development Kit User Guide, Rev. 21.08 4 section 2 (4.2 LSDK memory layout and Userland)) MMC write: dev # 0, block # 32768, count ... blocks written: OK +--sdk_linux__LS_tiny.itb--+ +---Reset the CPLD in SD---+ => cpld reset sd (This step could be diferent in NOR flash and NAND flash) +--CPLD--+ +----------------------------------+ You can find this address block on the page 181 in the Layerscape Software Development Kit User Guide, Rev. 21.08 4 section 2 (4.2 LSDK memory layout and Userland) +-----------------------------------------------------------------------------------------------------------------------+ |Firmware definition |MaxSize |Flash Offset |Absolute |Absolute |Absolute |Absolute |SD start | | | |(QSPI/XSPI/ |address |address |address |address |block no. | | | |NAND flash) |(NOR current |(NOR |(NOR |(NOR | | | | | |bank on |alternate |current bank |alternate | | | | | |LS1043ARD |bank on |on |bank on | | | | | |B, |LS1043AR |LS2088AR |LS2088AR | | | | | |LS1021ATW |DB |DB) |DB) | | | | | |R) |LS1021AT | | | | | | | | |WR) | | | | +-----------------------------------------------------------------------------------------------------------------------+ |RCW + PBI + BL2 |1MiB |0x00000000 |0x60000000 |0x6400000 |0x580000000 |0x584000000 |0x00008 | |(bl2_.pbl) | | | | | | | | +-----------------------------------------------------------------------------------------------------------------------+ |TF-A FIP image (BL31 |4MiB |0x00100000 |0x60100000 |0x64100000 |0x580100000 |0x584100000 |0x00800 | |+ TEE (BL32) + U-Boot/ | | | | | | | | |UEFI (Bl33)) (fip.bin) | | | | | | | | +-----------------------------------------------------------------------------------------------------------------------+ |Boot |1MiB |0x00500000 |0x60500000 |0x64500000 |0x58050000 |0x584500000 |0x02800 | |firmware environment | | | | | | | | +-----------------------------------------------------------------------------------------------------------------------+ |Secure boot headers |128KiB |0x00600000 |0x60600000 |0x64600000 |0x580600000 |0x584600000 |0x03000 | +-----------------------------------------------------------------------------------------------------------------------+ |DDR PHY FW or reserved |512KiB |0x00800000 |0x60800000 |0x64800000 |0x580800000 |0x584800000 |0x04000 | +-----------------------------------------------------------------------------------------------------------------------+ |Fuse provisioning header |512KiB |0x00880000 |0x60880000 |0x64880000 |0x580880000 |0x584880000 |0x04400 | +-----------------------------------------------------------------------------------------------------------------------+ |DPAA1 FMan microcode |256KiB |0x00900000 |0x60900000 |0x64900000 |0x580900000 |0x584900000 |0x04800 | +-----------------------------------------------------------------------------------------------------------------------+ |QE firmware or |256KiB |0x00940000 |0x60940000 |0x64940000 |0x580940000 |0x584940000 |0x04A00 | |DP firmware | | | | | | | | +-----------------------------------------------------------------------------------------------------------------------+ |Ethernet PHY firmware |256KiB |0x00980000 |0x60980000 |0x64980000 |0x580980000 |0x584980000 |0x04C00 | +-----------------------------------------------------------------------------------------------------------------------+ |Script for flashing image |256KiB |0x009C0000 |0x609C0000 |0x649C0000 |0x5809C0000 |0x5849C0000 |0x04E00 | +-----------------------------------------------------------------------------------------------------------------------+ |DPAA2-MC or |3MiB |0x00A00000 |0x60A00000 |0x64A00000 |0x580A00000 |0x584A00000 |0x05000 | |PFE firmware | | | | | | | | +-----------------------------------------------------------------------------------------------------------------------+ |DPAA2 DPL |1MiB |0x00D00000 |0x60D00000 |0x64D00000 |0x580D00000 |0x584D00000 |0x06800 | +-----------------------------------------------------------------------------------------------------------------------+ |DPAA2 DPC |1MiB |0x00E00000 |0x60E00000 |0x64E00000 |0x580E00000 |0x584E00000 |0x07000 | +-----------------------------------------------------------------------------------------------------------------------+ |Device tree (needed |1MiB |0x00F00000 |0x60F00000 |0x64F00000 |0x580F00000 |0x584F00000 |0x07800 | |by UEFI) | | | | | | | | +-----------------------------------------------------------------------------------------------------------------------+ |Kernel |lsdk_linux__LS_tiny.itb | | | | | | | | +-----------------------------------------------------------------------------------------------------------------------+ |Ramdis | |32MiB |0x02000000 |0x62000000 |0x66000000 |0x582000000 |0x586000000 |0x10000 | |k rfs | | | | | | | | | +-----------------------------------------------------------------------------------------------------------------------+