Hi,
Thank you for your interest in NXP Semiconductor products,
This is a reference in our designs, sysupgrade is used when there is a current OpenWRT version, use firmware as composite firmware to flash it on NOR.
Hit any key to stop autoboot: 0
=> usb start
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
=> usb storage
Device 0: Vendor: Kingston Rev: PMAP Prod: DataTraveler SE1
Type: Removable Hard Disk
Capacity: 7441.6 MB = 7.2 GB (15240576 x 512)
=> usb dev
IDE device 0: Vendor: Kingston Rev: PMAP Prod: DataTraveler SE1
Type: Removable Hard Disk
Capacity: 7441.6 MB = 7.2 GB (15240576 x 512)
=> fatls usb 0
System Volume Information/
.Spotlight-V100/
.Trashes/
37486596 openwrt-22.03.5-layerscape-armv8_64b-fsl_ls1043a-rdb-squashfs-firmware.bin
4096 ._openwrt-22.03.5-layerscape-armv8_64b-fsl_ls1043a-rdb-squashfs-firmware.bin
176160768 openwrt-22.03.5-layerscape-armv8_64b-fsl_ls1043a-rdb-sdboot-squashfs-sdcard.img
4096 ._openwrt-22.03.5-layerscape-armv8_64b-fsl_ls1043a-rdb-sdboot-squashfs-sdcard.img
4 file(s), 3 dir(s)
=> fatload usb 0 a0000000 openwrt-22.03.5-layerscape-armv8_64b-fsl_ls1043a-rdb-squashfs-firmware.bin
37486596 bytes read in 1988 ms (18 MiB/s)
=> protect off all && erase 60000000 +4000000 && cp.b a0000000 60000000 $filesize
Un-Protect Flash Bank # 1
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ done
Erased 512 sectors
Copy to Flash... 9....8....7....6....5....4....3....2....1....done
=> boot
starting openwrt ...
## Booting kernel from Legacy Image at 81000000 ...
Image Name: ARM64 OpenWrt Linux-5.10.176
Regards
Hi,
Thank you for your interest in NXP Semiconductor products,
This is a reference in our designs, sysupgrade is used when there is a current OpenWRT version, use firmware as composite firmware to flash it on NOR.
Hit any key to stop autoboot: 0
=> usb start
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
=> usb storage
Device 0: Vendor: Kingston Rev: PMAP Prod: DataTraveler SE1
Type: Removable Hard Disk
Capacity: 7441.6 MB = 7.2 GB (15240576 x 512)
=> usb dev
IDE device 0: Vendor: Kingston Rev: PMAP Prod: DataTraveler SE1
Type: Removable Hard Disk
Capacity: 7441.6 MB = 7.2 GB (15240576 x 512)
=> fatls usb 0
System Volume Information/
.Spotlight-V100/
.Trashes/
37486596 openwrt-22.03.5-layerscape-armv8_64b-fsl_ls1043a-rdb-squashfs-firmware.bin
4096 ._openwrt-22.03.5-layerscape-armv8_64b-fsl_ls1043a-rdb-squashfs-firmware.bin
176160768 openwrt-22.03.5-layerscape-armv8_64b-fsl_ls1043a-rdb-sdboot-squashfs-sdcard.img
4096 ._openwrt-22.03.5-layerscape-armv8_64b-fsl_ls1043a-rdb-sdboot-squashfs-sdcard.img
4 file(s), 3 dir(s)
=> fatload usb 0 a0000000 openwrt-22.03.5-layerscape-armv8_64b-fsl_ls1043a-rdb-squashfs-firmware.bin
37486596 bytes read in 1988 ms (18 MiB/s)
=> protect off all && erase 60000000 +4000000 && cp.b a0000000 60000000 $filesize
Un-Protect Flash Bank # 1
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ done
Erased 512 sectors
Copy to Flash... 9....8....7....6....5....4....3....2....1....done
=> boot
starting openwrt ...
## Booting kernel from Legacy Image at 81000000 ...
Image Name: ARM64 OpenWrt Linux-5.10.176
Regards
Hi,
That binary is intended to be flashed on NOR flash, look for the openwrt-22.03.5-layerscape-armv8_64b-fsl_ls1043a-rdb-sdboot-squashfs-sdcard.img.gz file instead.
Refer to LDP users guide, for memory layout. x60_0000_0000 + x4_000_000 is NOR flash current bank, SD starts at block x8 and ends at block x20_000. I would base the process on chapter 4.7.5.4.
Instead of To program Layerscape LDP composite NOR firmware image to IFC NOR flash on LS1043ARDB, use To program Layerscape LDP composite SD firmware image to SD card on LS1043ARDB.
Those images have a composite firmware layout and size, also they depend on storage device (NOR or sd).
Thank you