13 lines
399 B
Plaintext
Executable File
13 lines
399 B
Plaintext
Executable File
setenv ramdisk uInitrd;
|
|
setenv kernel uImage;
|
|
setenv bootargs console=tty1 console=/dev/${console} root=/dev/mmcblk0p2 rootwait rw quiet rootfstype=ext4;
|
|
${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;
|