mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00: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:
parent
1b42aebc3e
commit
2367a99661
@ -1,7 +1,7 @@
|
|||||||
setenv bootargs ''
|
setenv bootargs ''
|
||||||
|
|
||||||
a_script=0x10800000
|
a_script=0x10800000
|
||||||
a_uImage=0x10800000
|
a_zImage=0x10800000
|
||||||
a_fdt=0x13000000
|
a_fdt=0x13000000
|
||||||
|
|
||||||
setenv initrd_high 0xffffffff
|
setenv initrd_high 0xffffffff
|
||||||
@ -20,7 +20,7 @@ if itest.s "x" == "x${dtbname}" ; then
|
|||||||
dtbname=imx6sx-${board}-m4.dtb;
|
dtbname=imx6sx-${board}-m4.dtb;
|
||||||
fi
|
fi
|
||||||
a_script=0x80800000
|
a_script=0x80800000
|
||||||
a_uImage=0x80800000
|
a_zImage=0x80800000
|
||||||
a_fdt=0x83000000
|
a_fdt=0x83000000
|
||||||
else
|
else
|
||||||
dtbname=imx6q-${board}.dtb;
|
dtbname=imx6q-${board}.dtb;
|
||||||
@ -125,7 +125,7 @@ if itest.s "x" != "x${show_env}" ; then
|
|||||||
printenv
|
printenv
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if load ${dtype} ${disk}:${bootpart} ${a_uImage} ${bootdir}/uImage ; then
|
if load ${dtype} ${disk}:${bootpart} ${a_zImage} ${bootdir}/zImage ; then
|
||||||
bootm ${a_uImage} - ${a_fdt}
|
bootz ${a_zImage} - ${a_fdt}
|
||||||
fi
|
fi
|
||||||
echo "Error loading kernel image"
|
echo "Error loading kernel image"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user