boot.script 406 B

1234567891011121314
  1. setenv ramdisk uInitrd;
  2. setenv kernel uImage;
  3. setenv bootargs console=tty1 console=/dev/${console} root=/dev/mmcblk0p2 rootwait rw quiet rootfstype=ext4;
  4. ${loadcmd} ${ramdiskaddr} ${ramdisk};
  5. if imi ${ramdiskaddr}; then; else
  6. setenv bootargs ${bootargs} noinitrd;
  7. setenv ramdiskaddr "";
  8. fi;
  9. ${loadcmd} ${kerneladdr} ${kernel}
  10. if imi ${kerneladdr}; then
  11. bootm ${kerneladdr} ${ramdiskaddr}
  12. fi;