Commit 05c555c5 authored by Josua Mayer's avatar Josua Mayer Committed by H. Nikolaus Schaller

boot-gta04: set mmcargs before running bootargs.scr

Because nandargs is run earlier, if bootargs.scr doesn't overwrite the
bootargs, root and rootfstype will be polluted with nand values.
Signed-off-by: default avatarJosua Mayer <>
parent 944206d8
......@@ -164,6 +164,10 @@ do
setenv devnum ${mmc}
setenv prefix boot/
setenv distro_bootpart $p
# fix bootargs - especially root= - before launching bootargs.scr
setenv mmcroot "/dev/mmcblk${kernelmmc}p${p}"
setenv mmcrootfstype "ext4,ext3,btrfs rootwait"
run mmcargs
source ${imgtempaddr}
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