aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-omap/files/boot.scr.txt
blob: a97684b0e62102028ad629fcdaba1ed45ee2c119 (plain)
1
2
3
4
5
6
7
8
9
if test -z "${devnum}"; then
	setenv devnum 0
fi

setenv bootargs console=${console} root=/dev/mmcblk${devnum}p2 rootwait

load mmc ${devnum}:1 ${loadaddr} /zImage \
&& load mmc ${devnum}:1 ${fdtaddr} /dtbs/${fdtfile} \
&& bootz ${loadaddr} - ${fdtaddr}