mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
board/boundarydevices: update 6x_bootscript to use zImage
As suggested by Thomas: http://lists.busybox.net/pipermail/buildroot/2015-September/139884.html Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
1b42aebc3e
commit
2367a99661
@@ -1,7 +1,7 @@
|
||||
setenv bootargs ''
|
||||
|
||||
a_script=0x10800000
|
||||
a_uImage=0x10800000
|
||||
a_zImage=0x10800000
|
||||
a_fdt=0x13000000
|
||||
|
||||
setenv initrd_high 0xffffffff
|
||||
@@ -20,7 +20,7 @@ if itest.s "x" == "x${dtbname}" ; then
|
||||
dtbname=imx6sx-${board}-m4.dtb;
|
||||
fi
|
||||
a_script=0x80800000
|
||||
a_uImage=0x80800000
|
||||
a_zImage=0x80800000
|
||||
a_fdt=0x83000000
|
||||
else
|
||||
dtbname=imx6q-${board}.dtb;
|
||||
@@ -125,7 +125,7 @@ if itest.s "x" != "x${show_env}" ; then
|
||||
printenv
|
||||
fi
|
||||
|
||||
if load ${dtype} ${disk}:${bootpart} ${a_uImage} ${bootdir}/uImage ; then
|
||||
bootm ${a_uImage} - ${a_fdt}
|
||||
if load ${dtype} ${disk}:${bootpart} ${a_zImage} ${bootdir}/zImage ; then
|
||||
bootz ${a_zImage} - ${a_fdt}
|
||||
fi
|
||||
echo "Error loading kernel image"
|
||||
|
||||
Reference in New Issue
Block a user