-
Notifications
You must be signed in to change notification settings - Fork 301
Example
nxpfrankli edited this page Feb 1, 2022
·
10 revisions
uuu sdp: boot -f flash.bin uuu sdpu: delay 1000 uuu sdpu: write -f flash.bin -offset 0x57c00 uuu sdpu: jump
uuu -b emmc bootloader Write bootloader to emmc uuu -b emmc_all bootloader rootfs.sdcard Write rootfs to emmc uuu -b emmc_all bootloader rootfs.sdcard.bz2/* Decompress rootfs and write rootfs to emmc uuu -b sd bootloader Write bootloader to sd card uuu -b sd_all bootloader rootfs.sdcard Write rootfs to sd card uuu -b sd_all bootloader rootfs.sdcard.bz2/* Decompress rootfs and write rootfs to sd card uuu -b qspi qspi_bootloader write bootloader to qspi uuu -b qspi qspi_bootloader m4image write m4image to qpsi uuu -b spl bootloader Download SPL and uboot
Notes:
Some boards have many sd slot. built-in script only work uboot environment ${sd_dev} point to slot Some boards have not emmc chip, emmc build in script does not work for such boards
uuu FB: ucmd setenv fastboot_buffer ${loadaddr} uuu FB: download –f Image uuu FB: ucmd setenv fastboot_buffer ${fdt_addr} uuu FB: download –f imx8qxp_mek.dtb uuu FB: acmd booti ${loadaddr} - ${fdt_addr}
Notes: Linux/Mac user need add \ before $ to avoid shell replace environment variable.
Extended environment for fastboot
fastboot_buffer Image download address fastboot_bytes reflect previous download image byte size
Go back to Home