2012-02-14 15:55:45 +01:00
|
|
|
setenv ramdisk uInitrd;
|
|
|
|
setenv kernel uImage;
|
2012-02-14 18:40:07 +01:00
|
|
|
setenv bootargs console=tty1 console=/dev/${console} root=/dev/mmcblk0p2 rootwait rw quiet rootfstype=ext4;
|
2012-02-14 15:55:45 +01:00
|
|
|
${loadcmd} ${ramdiskaddr} ${ramdisk};
|
|
|
|
if imi ${ramdiskaddr}; then; else
|
|
|
|
setenv bootargs ${bootargs} noinitrd;
|
|
|
|
setenv ramdiskaddr "";
|
|
|
|
fi;
|
|
|
|
${loadcmd} ${kerneladdr} ${kernel}
|
|
|
|
if imi ${kerneladdr}; then
|
|
|
|
bootm ${kerneladdr} ${ramdiskaddr}
|
|
|
|
fi;
|