2019-04-28 23:03:02 +00:00
|
|
|
setenv bootargs init=/init.sh rw console=tty0 console=ttyS0,115200 no_console_suspend earlycon=uart,mmio32,0x01c28000 panic=10 consoleblank=0 loglevel=1 cma=256M PMOS_NO_OUTPUT_REDIRECT
|
2019-04-08 14:12:45 +00:00
|
|
|
|
|
|
|
printenv
|
|
|
|
|
|
|
|
echo Loading DTB
|
2019-08-28 21:21:47 +00:00
|
|
|
load mmc ${mmc_bootdev}:1 ${fdt_addr_r} sun50i-a64-dontbeevil-longts.dtb
|
2019-09-05 14:44:47 +00:00
|
|
|
load mmc ${mmc_bootdev}:1 ${fdt_addr_r} sun50i-a64-dontbeevil.dtb
|
2019-04-08 14:12:45 +00:00
|
|
|
|
|
|
|
echo Loading Initramfs
|
|
|
|
load mmc ${mmc_bootdev}:1 ${ramdisk_addr_r} uInitrd-postmarketos-allwinner
|
|
|
|
|
|
|
|
echo Loading Kernel
|
2019-05-27 15:28:40 +00:00
|
|
|
load mmc ${mmc_bootdev}:1 ${kernel_addr_r} vmlinuz-postmarketos-allwinner
|
2019-04-08 14:12:45 +00:00
|
|
|
|
|
|
|
echo Resizing FDT
|
|
|
|
fdt addr ${fdt_addr_r}
|
|
|
|
fdt resize
|
|
|
|
|
|
|
|
echo Booting kernel
|
|
|
|
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
|