c5d121654e
Tested with installing to/sysupgrading from sd and emmc on boneblack. Signed-off-by: Andre Heider <a.heider@gmail.com>
10 lines
254 B
Plaintext
10 lines
254 B
Plaintext
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}
|