All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] config/raspberrypi3: use correct CPU
@ 2017-05-01  9:11 Yann E. MORIN
  2017-05-01 22:52 ` Ricardo Martincoski
  2017-05-02 20:40 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Yann E. MORIN @ 2017-05-01  9:11 UTC (permalink / raw)
  To: buildroot

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" <yann.morin.1998@free.fr>
Cc: Martin Bark <martin@barkynet.com>
Cc: Peter Seiderer <ps.report@gmx.net>

---
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(-)

diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig
index 1b2134e0bb..f5bfebcb83 100644
--- a/configs/raspberrypi3_defconfig
+++ b/configs/raspberrypi3_defconfig
@@ -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
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] config/raspberrypi3: use correct CPU
  2017-05-01  9:11 [Buildroot] [PATCH] config/raspberrypi3: use correct CPU Yann E. MORIN
@ 2017-05-01 22:52 ` Ricardo Martincoski
  2017-05-02 20:40 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Martincoski @ 2017-05-01 22:52 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, May 01, 2017 at 06:11 AM, Yann E. MORIN wrote:

> 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" <yann.morin.1998@free.fr>

Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
[boot-tested: I can login using the HDMI console]

but see comment below...

[snip]
> +++ b/configs/raspberrypi3_defconfig
> @@ -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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] config/raspberrypi3: use correct CPU
  2017-05-01  9:11 [Buildroot] [PATCH] config/raspberrypi3: use correct CPU Yann E. MORIN
  2017-05-01 22:52 ` Ricardo Martincoski
@ 2017-05-02 20:40 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-05-02 20:40 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon,  1 May 2017 11:11:04 +0200, Yann E. MORIN wrote:
> 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" <yann.morin.1998@free.fr>
> Cc: Martin Bark <martin@barkynet.com>
> Cc: Peter Seiderer <ps.report@gmx.net>
> 
> ---
> 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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-02 20:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-01  9:11 [Buildroot] [PATCH] config/raspberrypi3: use correct CPU Yann E. MORIN
2017-05-01 22:52 ` Ricardo Martincoski
2017-05-02 20:40 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.