boot.txt 764 B

1234567891011121314151617181920
  1. part uuid ${devtype} ${devnum}:${bootpart} uuid
  2. setenv bootargs console=${console} root=PARTUUID=${uuid} rw rootwait
  3. if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/vmlinuz-linux-libre; then
  4. if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/linux-libre/${fdtfile}; then
  5. if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux-libre.img; then
  6. bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
  7. else
  8. bootz ${kernel_addr_r} - ${fdt_addr_r};
  9. fi;
  10. fi;
  11. fi
  12. if load ${devtype} ${devnum}:${bootpart} 0x48000000 /boot/uImage; then
  13. if load ${devtype} ${devnum}:${bootpart} 0x43000000 /boot/script.bin; then
  14. setenv bootm_boot_mode sec;
  15. bootm 0x48000000;
  16. fi;
  17. fi