mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
board/raspberrypi: update firmware option to use 64-bit mode
As per latest Raspberry Pi firmware documentation, the option 'arm_control' has been deprecated in favor of 'arm_64bit'. Fixes https://bugs.busybox.net/show_bug.cgi?id=11111. Signed-off-by: Jason Tang <tang@jtang.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
f50578ab98
commit
722c11ce7b
@ -23,11 +23,11 @@ __EOF__
|
|||||||
--aarch64)
|
--aarch64)
|
||||||
# Run a 64bits kernel (armv8)
|
# Run a 64bits kernel (armv8)
|
||||||
sed -e '/^kernel=/s,=.*,=Image,' -i "${BINARIES_DIR}/rpi-firmware/config.txt"
|
sed -e '/^kernel=/s,=.*,=Image,' -i "${BINARIES_DIR}/rpi-firmware/config.txt"
|
||||||
if ! grep -qE '^arm_control=0x200' "${BINARIES_DIR}/rpi-firmware/config.txt"; then
|
if ! grep -qE '^arm_64bit=1' "${BINARIES_DIR}/rpi-firmware/config.txt"; then
|
||||||
cat << __EOF__ >> "${BINARIES_DIR}/rpi-firmware/config.txt"
|
cat << __EOF__ >> "${BINARIES_DIR}/rpi-firmware/config.txt"
|
||||||
|
|
||||||
# enable 64bits support
|
# enable 64bits support
|
||||||
arm_control=0x200
|
arm_64bit=1
|
||||||
__EOF__
|
__EOF__
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user