config/raspberrypi3: use correct CPU
PATCH 1/1 config/raspberrypi3: use correct CPU
We so far were using a Cortex-A7 as the CPU for the rpi3, as this was the closest we had available, in 32-bit mode, to the real CPU used in the rpi3.
But now we can also use the Cortex-A53 in 32-bit mode, so we use that, which makes for an optimised build (A53 has an improved instruction set, as compared to the A7).
Also drop the DTB overlay option, it defaults to 'y'.
---
Martin, Peter, you are the last ones to have touched this defconfig, and I lack a rpi3. Would you be kind enough to test this on your hw, please?
--- configs/raspberrypi3_defconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
configs/raspberrypi3_defconfig +1 -3
@@ -1,6 +1,5 @@ BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_EABIHF=y +BR2_cortex_a53=y BR2_ARM_FPU_NEON_VFPV4=y BR2_TOOLCHAIN_BUILDROOT_CXX=y
@@ -21,7 +20,6 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-cm3" BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS=y # Required tools to create the SD image BR2_PACKAGE_HOST_DOSFSTOOLS=y
Signature · 1 line
2.11.0
PATCH 1/1 config/raspberrypi3: use correct CPU
Hello,
Quoted 11 lines · Yann E. MORIN
We so far were using a Cortex-A7 as the CPU for the rpi3, as this was the closest we had available, in 32-bit mode, to the real CPU used in the rpi3.
But now we can also use the Cortex-A53 in 32-bit mode, so we use that, which makes for an optimised build (A53 has an improved instruction set, as compared to the A7).
Also drop the DTB overlay option, it defaults to 'y'.
Signed-off-by "Yann E. MORIN" <[email protected]>
but see comment below...
[snip]
configs/raspberrypi3_defconfig line 2
Quoted 6 lines
+++ b/configs/raspberrypi3_defconfig
configs/raspberrypi3_defconfig +1
-2@@ -1,6 +1,5 @@ BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_EABIHF=y +BR2_cortex_a53=y
This patch is very similar to:
http://patchwork.ozlabs.org/patch/751142/
I applied 751142 and 757022 to separate git trees above 289137ed61. The resulting .config are the same (except for the sha1, of course).
Regards,
Ricardo
Thomas Petazzoni
AppliedPATCH 1/1 config/raspberrypi3: use correct CPU
In reply to Yann E. MORINHello,
Quoted 14 lines · Yann E. MORIN
We so far were using a Cortex-A7 as the CPU for the rpi3, as this was the closest we had available, in 32-bit mode, to the real CPU used in the rpi3.
But now we can also use the Cortex-A53 in 32-bit mode, so we use that, which makes for an optimised build (A53 has an improved instruction set, as compared to the A7).
Also drop the DTB overlay option, it defaults to 'y'.
Signed-off-by "Yann E. MORIN" <[email protected]>Cc Martin Bark <[email protected]>Cc Peter Seiderer <[email protected]>
Quoted 6 lines
---
Martin, Peter, you are the last ones to have touched this defconfig, and I lack a rpi3. Would you be kind enough to test this on your hw, please?--- configs/raspberrypi3_defconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com