* The 'loadimage' u-boot routine for am43x requires that the variable 'devtype' is set to the device from which to load the kernel image. * In the case of booting from the sdcard, devtype should be 'mmc'.
Signed-off-by: Jacob Stiffler <[email protected]> --- setup-uboot-env-am43x.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup-uboot-env-am43x.sh b/setup-uboot-env-am43x.sh index 282ffc1..ab65eb5 100644 --- a/setup-uboot-env-am43x.sh +++ b/setup-uboot-env-am43x.sh @@ -152,6 +152,7 @@ else do_expect "\"U-Boot#\"" "send setenv rootpath '$rootpath'" $cwd/setupBoard.minicom do_expect "\"U-Boot#\"" "send \"setenv bootfile zImage\"" $cwd/setupBoard.minicom do_expect "\"U-Boot#\"" "send \"setenv ip_method dhcp\"" $cwd/setupBoard.minicom + do_expect "\"U-Boot#\"" "send \"setenv devtype mmc\"" $cwd/setupBoard.minicom do_expect "\"U-Boot#\"" "send setenv bootcmd 'setenv autoload no; mmc rescan; run loadimage; run findfdt; run loadfdt; run netargs; bootz \${loadaddr} - \${fdtaddr}'" $cwd/setupBoard.minicom do_expect "\"U-Boot#\"" "send \"saveenv\"" $cwd/setupBoard.minicom do_expect "\"U-Boot#\"" "send \"boot\"" $cwd/setupBoard.minicom @@ -159,6 +160,7 @@ else #SD and SD boot. do_expect "\"U-Boot#\"" "send \"setenv ip_method none\"" $cwd/setupBoard.minicom do_expect "\"U-Boot#\"" "send \"setenv bootfile zImage\"" $cwd/setupBoard.minicom + do_expect "\"U-Boot#\"" "send \"setenv devtype mmc\"" $cwd/setupBoard.minicom do_expect "\"U-Boot#\"" "send setenv bootcmd 'mmc rescan; run loadimage; run findfdt; run loadfdt; run mmcargs; bootz \${loadaddr} - \${fdtaddr}'" $cwd/setupBoard.minicom do_expect "\"U-Boot#\"" "send \"saveenv\"" $cwd/setupBoard.minicom do_expect "\"U-Boot#\"" "send \"boot\"" $cwd/setupBoard.minicom -- 1.7.9.5 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
