2019-09-01 04:07:54 +00:00
|
|
|
setenv bootargs init=/init.sh rw console=ttymxc0,115200 cma=256M PMOS_NO_OUTPUT_REDIRECT PMOS_FORCE_PARTITION_RESIZE
|
2019-01-10 03:48:30 +00:00
|
|
|
setenv mmcdev 0
|
|
|
|
setenv mmcpart 1
|
|
|
|
|
|
|
|
printenv
|
|
|
|
echo Loading DTB
|
2019-09-01 04:07:54 +00:00
|
|
|
ext2load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} imx8mq-librem5-devkit.dtb
|
2019-01-10 03:48:30 +00:00
|
|
|
|
|
|
|
echo Loading Initramfs
|
2021-08-17 07:03:20 +00:00
|
|
|
ext2load mmc ${mmcdev}:${mmcpart} ${ramdisk_addr_r} uInitrd
|
2019-01-10 03:48:30 +00:00
|
|
|
|
|
|
|
echo Loading Kernel
|
2021-08-17 07:03:20 +00:00
|
|
|
ext2load mmc ${mmcdev}:${mmcpart} ${kernel_addr_r} vmlinuz
|
2019-01-10 03:48:30 +00:00
|
|
|
|
|
|
|
echo Resizing FDT
|
2019-09-01 04:07:54 +00:00
|
|
|
fdt addr ${fdt_addr_r}
|
2019-01-10 03:48:30 +00:00
|
|
|
fdt resize
|
|
|
|
|
|
|
|
echo Booting kernel
|
2019-09-01 04:07:54 +00:00
|
|
|
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}
|