Skip to contentSkip to conversation

raspberrypi3: post-image.sh update 64-bit option

PATCH New J. Tang 2 participants 2 messages Jun 30, 2018 Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore

J. Tang

author
#0 lore raw

PATCH 1/1 raspberrypi3: post-image.sh update 64-bit option

As per latest Raspberry Pi firmware documentation, the option 'arm_control' has been deprecated in favor of 'arm_64bit'.

Fixes #11111.

---
 board/raspberrypi/post-image.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/raspberrypi/post-image.sh +2 -2
index 3c6c938407..70447cd48b 100755
@@ -23,11 +23,11 @@ __EOF__
 		--aarch64)
 		# Run a 64bits kernel (armv8)
 		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"
 
 # enable 64bits support
-arm_control=0x200
+arm_64bit=1
 __EOF__
 		fi
 
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 raspberrypi3: post-image.sh update 64-bit option

Hello,

Quoted 9 lines · J. Tang

As per latest Raspberry Pi firmware documentation, the option 'arm_control' has been deprecated in favor of 'arm_64bit'.

Fixes #11111.

---
 board/raspberrypi/post-image.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com