Skip to contentSkip to conversation

Make A20/A33 using NEON+VFPv4 FPU strategy

PATCH In review Giulio Benetti 3 participants 10 messages Oct 5, 2021 – Oct 12, 2021

lore
Share & tools
lore
#0 lore raw

cover Make A20/A33 using NEON+VFPv4 FPU strategy

This patchset enable on remaining A20/A33 board the NEON+VFPv4 FPU strategy as other A20 boards already do.

Giulio Benetti (4):
configs/bananapi_m1: use NEON+VFPv4 as FPU strategy configs/olimex_a20_olinuxino_lime: use NEON+VFPv4 as FPU strategy configs/olimex_a20_olinuxino_lime2: use NEON+VFPv4 as FPU strategy configs/olimex_a33_olinuxino: use NEON+VFPv4 as FPU strategy

 configs/bananapi_m1_defconfig                | 1 +
 configs/olimex_a20_olinuxino_lime2_defconfig | 1 +
 configs/olimex_a20_olinuxino_lime_defconfig  | 1 +
 configs/olimex_a33_olinuxino_defconfig       | 1 +
 4 files changed, 4 insertions(+)
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 1/4 configs/bananapi_m1: use NEON+VFPv4 as FPU strategy

Allwinner A20 supports NEON+VFPv4 so let's enable instead of the default VFPv4-D16.

---
 configs/bananapi_m1_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/bananapi_m1_defconfig +1 -0
index 23da363345..2d948ec223 100644
@@ -1,5 +1,6 @@
 BR2_arm=y
 BR2_cortex_a7=y
+BR2_ARM_FPU_NEON_VFPV4=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y
 BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M1"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 1/4
#2 lore raw

Re: [Buildroot] [PATCH 1/4] configs/bananapi_m1: use NEON+VFPv4 as FPU strategy

Hi,

Quoted 4 lines · Giulio Benetti

Allwinner A20 supports NEON+VFPv4 so let's enable instead of the default VFPv4-D16.

Signature · 5 lines
Luca
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH 2/4 configs/olimex_a20_olinuxino_lime: use NEON+VFPv4 as FPU strategy

In reply to Giulio Benetti

Allwinner A20 supports NEON+VFPv4 so let's enable instead of the default VFPv4-D16.

---
 configs/olimex_a20_olinuxino_lime_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/olimex_a20_olinuxino_lime_defconfig +1 -0
index 0eaacc9ec1..4f410cab90 100644
@@ -2,6 +2,7 @@
 BR2_arm=y
 BR2_cortex_a7=y
 BR2_ARM_EABIHF=y
+BR2_ARM_FPU_NEON_VFPV4=y
 
 # Linux headers same as kernel, a 5.10 series
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 2/4
#4 lore raw

Re: [Buildroot] [PATCH 2/4] configs/olimex_a20_olinuxino_lime: use NEON+VFPv4 as FPU strategy

Hi,

Quoted 13 lines · Giulio Benetti

Allwinner A20 supports NEON+VFPv4 so let's enable instead of the default VFPv4-D16.

---
 configs/olimex_a20_olinuxino_lime_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/olimex_a20_olinuxino_lime_defconfig +0 -0
index 0eaacc9ec1..4f410cab90 100644

configs/olimex_a20_olinuxino_lime_defconfig line 5

Quoted 4 lines
configs/olimex_a20_olinuxino_lime_defconfig +1 -0
@@ -2,6 +2,7 @@
 BR2_arm=y
 BR2_cortex_a7=y
 BR2_ARM_EABIHF=y
+BR2_ARM_FPU_NEON_VFPV4=y

But I think the 'BR2_ARM_EABIHF=y' line is not needed, it should be selected automatically for Cortex-A7. Not related to this patch ovbviously, but maybe you can send a separate patch. The same applies to the lime2 patch.

Signature · 5 lines
Luca
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

PATCH 3/4 configs/olimex_a20_olinuxino_lime2: use NEON+VFPv4 as FPU strategy

In reply to Giulio Benetti

Allwinner A20 supports NEON+VFPv4 so let's enable instead of the default VFPv4-D16.

---
 configs/olimex_a20_olinuxino_lime2_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/olimex_a20_olinuxino_lime2_defconfig +1 -0
index dca6123c18..84f2661184 100644
@@ -2,6 +2,7 @@
 BR2_arm=y
 BR2_cortex_a7=y
 BR2_ARM_EABIHF=y
+BR2_ARM_FPU_NEON_VFPV4=y
 
 # Linux headers same as kernel, a 5.10 series
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 3/4
#6 lore raw

Re: [Buildroot] [PATCH 3/4] configs/olimex_a20_olinuxino_lime2: use NEON+VFPv4 as FPU strategy

Quoted 4 lines · Giulio Benetti

Allwinner A20 supports NEON+VFPv4 so let's enable instead of the default VFPv4-D16.

Signature · 5 lines
Luca
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#7 lore raw

PATCH 4/4 configs/olimex_a33_olinuxino: use NEON+VFPv4 as FPU strategy

In reply to Giulio Benetti

Allwinner A33 supports NEON+VFPv4 so let's enable instead of the default VFPv4-D16.

---
 configs/olimex_a33_olinuxino_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/olimex_a33_olinuxino_defconfig +1 -0
index 7c691ab20d..6262b30d26 100644
@@ -1,6 +1,7 @@
 # Architecture
 BR2_arm=y
 BR2_cortex_a7=y
+BR2_ARM_FPU_NEON_VFPV4=y
 
 # Linux headers same as kernel, a 5.0 series
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v1 4/4
#8 lore raw

Re: [Buildroot] [PATCH 4/4] configs/olimex_a33_olinuxino: use NEON+VFPv4 as FPU strategy

Quoted 4 lines · Giulio Benetti

Allwinner A33 supports NEON+VFPv4 so let's enable instead of the default VFPv4-D16.

Signature · 5 lines
Luca
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#9 lore raw
In reply to Giulio Benetti
Quoted 8 lines · Giulio Benetti

This patchset enable on remaining A20/A33 board the NEON+VFPv4 FPU strategy as other A20 boards already do.

Giulio Benetti (4):
configs/bananapi_m1: use NEON+VFPv4 as FPU strategy configs/olimex_a20_olinuxino_lime: use NEON+VFPv4 as FPU strategy configs/olimex_a20_olinuxino_lime2: use NEON+VFPv4 as FPU strategy configs/olimex_a33_olinuxino: use NEON+VFPv4 as FPU strategy

Series applied to master, thanks.

Regards,
Arnout

Quoted 7 lines
  configs/bananapi_m1_defconfig                | 1 +
  configs/olimex_a20_olinuxino_lime2_defconfig | 1 +
  configs/olimex_a20_olinuxino_lime_defconfig  | 1 +
  configs/olimex_a33_olinuxino_defconfig       | 1 +
  4 files changed, 4 insertions(+)

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot