Commit c99c32b3 authored by Hector Oron's avatar Hector Oron
Browse files

Add u-boot script for mx5 devices


Signed-off-by: default avatarHector Oron <hector.oron@gmail.com>
parent 886e0adf
setenv ramdisk uInitrd;
setenv kernel uImage;
setenv bootargs console=ttymxc0,115200 console=tty1 root=@ROOTPARTITION@ rootwait rw;
${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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment