PKGBUILDs/alarm/uboot-pine64/boot.txt

18 lines
669 B
Text
Raw Normal View History

2017-08-20 02:07:04 +00:00
# After modifying, run ./mkscr
# Set root partition to the second partition of boot device
2016-04-22 01:55:03 +00:00
part uuid ${devtype} ${devnum}:${bootpart} uuid
2017-08-20 02:07:04 +00:00
2016-04-22 01:55:03 +00:00
setenv bootargs console=${console} root=PARTUUID=${uuid} rw rootwait
if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/Image; then
2018-04-03 00:31:29 +00:00
setenv fdtfile allwinner/sun50i-a64-${board_name}.dtb
2016-04-22 01:55:03 +00:00
if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
booti ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi;
fi