boot.txt 628 B

12345678910111213141516171819202122
  1. if test "${devtype}" = "mmc"; then
  2. if test ${devnum} -eq 1; then
  3. setenv root /dev/mmcblk0p1;
  4. else
  5. if mmc dev 1; then
  6. setenv root /dev/mmcblk1p1;
  7. mmc dev 0;
  8. else
  9. setenv root /dev/mmcblk0p1;
  10. fi;
  11. fi;
  12. else
  13. setenv root /dev/sda1;
  14. fi
  15. setenv bootargs "root=${root} rw rootwait console=tty1 console=ttyS0,115200n8 mem=384M@0M mem=512M@512M nvmem=128M@384M vmalloc=248M video=tegrafb"
  16. load ${devtype} ${devnum}:${bootpart} ${loadaddr} /boot/vmlinuz-linux-libre
  17. load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/linux-libre/tegra20-trimslice.dtb
  18. bootz ${loadaddr} - ${fdt_addr_r}