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

boot-gta04: set distro-boot variables for boot device

distro-boot would set a few variables explaining what device was
selected to boot from. This is a bare minimum, just enough to boot
Debian.

devtype: boot device, e.g. mmc
devnum: number of boot device, e.g. 0,1,2,...
distro_bootpart: selected partition number
prefix: base path where bootable files were found
Signed-off-by: default avatarJosua Mayer <josua.mayer97@gmail.com>
parent d0102e09
......@@ -159,6 +159,11 @@ do
then
setenv PARTITION $p
setenv PARTITIONTYPE EXT
# set distro-boot expected dynamic variables
setenv devtype mmc
setenv devnum ${mmc}
setenv prefix boot/
setenv distro_bootpart $p
source ${imgtempaddr}
DONE=1
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