generic-arm64.bootscript 330 B

12345678910111213141516
  1. setenv bootargs "root=PARTUUID=@ROOT@-02 rw rootwait"
  2. if test -n "${console}"; then
  3. setenv bootargs "${bootargs} ${console}"
  4. fi
  5. if mmc dev 0; then
  6. setenv mmcdev 0
  7. elif mmc dev 1; then
  8. setenv mmcdev 1
  9. fi
  10. load mmc ${mmcdev}:1 ${fdt_addr} @DTB@.dtb
  11. load mmc ${mmcdev}:1 ${kernel_addr} Image
  12. booti ${kernel_addr} - ${fdt_addr}