* [Buildroot] [PATCH] configs/snps_*: Update packages versions for Synopsys configs
@ 2021-10-18 12:32 Veronika Kremneva via buildroot
2021-10-18 19:18 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Veronika Kremneva via buildroot @ 2021-10-18 12:32 UTC (permalink / raw)
To: buildroot; +Cc: Veronika Kremneva, Alexey.Brodkin
* Bump Linux Kernel version to 5.10.69
* Bump Uboot version to 2021.04
* Specify GCC version as 11_X
Signed-off-by: Veronika Kremneva <kremneva@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
---
configs/snps_arc700_axs101_defconfig | 9 +++++----
configs/snps_archs38_axs103_defconfig | 8 +++++---
configs/snps_archs38_haps_defconfig | 7 ++++---
configs/snps_archs38_hsdk_defconfig | 7 ++++---
configs/snps_archs38_vdk_defconfig | 7 ++++---
5 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/configs/snps_arc700_axs101_defconfig b/configs/snps_arc700_axs101_defconfig
index 080250e..5004a25 100644
--- a/configs/snps_arc700_axs101_defconfig
+++ b/configs/snps_arc700_axs101_defconfig
@@ -1,6 +1,8 @@
# Architecture
BR2_arcle=y
+BR2_GCC_VERSION_11_X=y
+
# System
BR2_TARGET_GENERIC_HOSTNAME="axs101"
BR2_TARGET_GENERIC_ISSUE="Welcome to the ARC Software Development Platform"
@@ -8,13 +10,12 @@ BR2_TARGET_ROOTFS_INITRAMFS=y
BR2_SYSTEM_DHCP="eth0"
BR2_ROOTFS_POST_BUILD_SCRIPT="board/synopsys/axs10x/post-build.sh"
-# Linux headers same as kernel, a 5.6 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.69"
BR2_LINUX_KERNEL_DEFCONFIG="axs101"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
@@ -22,6 +23,6 @@ BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.05"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="axs101"
BR2_TARGET_UBOOT_NEEDS_DTC=y
diff --git a/configs/snps_archs38_axs103_defconfig b/configs/snps_archs38_axs103_defconfig
index c584780..cb89d6e 100644
--- a/configs/snps_archs38_axs103_defconfig
+++ b/configs/snps_archs38_axs103_defconfig
@@ -2,6 +2,8 @@
BR2_arcle=y
BR2_archs38=y
+BR2_GCC_VERSION_11_X=y
+
# System
BR2_TARGET_GENERIC_HOSTNAME="axs103"
BR2_TARGET_GENERIC_ISSUE="Welcome to the ARC Software Development Platform"
@@ -10,12 +12,12 @@ BR2_SYSTEM_DHCP="eth0"
BR2_ROOTFS_POST_BUILD_SCRIPT="board/synopsys/axs10x/post-build.sh"
# Linux headers same as kernel, a 5.6 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.69"
BR2_LINUX_KERNEL_DEFCONFIG="axs103_smp"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
@@ -23,6 +25,6 @@ BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.05"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="axs103"
BR2_TARGET_UBOOT_NEEDS_DTC=y
diff --git a/configs/snps_archs38_haps_defconfig b/configs/snps_archs38_haps_defconfig
index a95d760..a2a0484 100644
--- a/configs/snps_archs38_haps_defconfig
+++ b/configs/snps_archs38_haps_defconfig
@@ -2,17 +2,18 @@
BR2_arcle=y
BR2_archs38=y
+BR2_GCC_VERSION_11_X=y
+
# System
BR2_TARGET_GENERIC_HOSTNAME="zebu_hs"
BR2_TARGET_GENERIC_ISSUE="Welcome to the HAPS Development Platform"
BR2_TARGET_ROOTFS_INITRAMFS=y
-# Linux headers same as kernel, a 5.6 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.69"
BR2_LINUX_KERNEL_DEFCONFIG="haps_hs_smp"
BR2_LINUX_KERNEL_VMLINUX=y
diff --git a/configs/snps_archs38_hsdk_defconfig b/configs/snps_archs38_hsdk_defconfig
index 4a1ac3f..ca32564 100644
--- a/configs/snps_archs38_hsdk_defconfig
+++ b/configs/snps_archs38_hsdk_defconfig
@@ -1,8 +1,9 @@
BR2_arcle=y
BR2_archs38_full=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
BR2_PACKAGE_GLIBC_UTILS=y
+BR2_GCC_VERSION_11_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TARGET_OPTIMIZATION="-mfpu=fpud_all"
BR2_TARGET_GENERIC_HOSTNAME="hsdk"
@@ -12,7 +13,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/synopsys/hsdk/genimage.cfg"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.69"
BR2_LINUX_KERNEL_DEFCONFIG="hsdk"
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/synopsys/hsdk/linux.fragment"
BR2_TARGET_ROOTFS_EXT2=y
@@ -21,7 +22,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.05"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="hsdk"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_FORMAT_ELF=y
diff --git a/configs/snps_archs38_vdk_defconfig b/configs/snps_archs38_vdk_defconfig
index 8d8e9f7..c5034e1 100644
--- a/configs/snps_archs38_vdk_defconfig
+++ b/configs/snps_archs38_vdk_defconfig
@@ -2,19 +2,20 @@
BR2_arcle=y
BR2_archs38=y
+BR2_GCC_VERSION_11_X=y
+
# System
BR2_TARGET_GENERIC_HOSTNAME="archs38_vdk"
BR2_TARGET_GENERIC_ISSUE="Welcome to the HS38 VDK Software Development Platform"
BR2_ROOTFS_POST_BUILD_SCRIPT="board/synopsys/axs10x/post-build.sh"
BR2_TARGET_ROOTFS_EXT2=y
-# Linux headers same as kernel, a 5.6 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.69"
BR2_LINUX_KERNEL_DEFCONFIG="vdk_hs38_smp"
BR2_LINUX_KERNEL_VMLINUX=y
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
--
1.8.3.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] configs/snps_*: Update packages versions for Synopsys configs
2021-10-18 12:32 [Buildroot] [PATCH] configs/snps_*: Update packages versions for Synopsys configs Veronika Kremneva via buildroot
@ 2021-10-18 19:18 ` Thomas Petazzoni
2021-10-25 11:35 ` Alexey Brodkin via buildroot
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2021-10-18 19:18 UTC (permalink / raw)
To: Veronika Kremneva; +Cc: buildroot, Alexey.Brodkin
Hello Veronika,
On Mon, 18 Oct 2021 15:32:45 +0300
Veronika Kremneva via buildroot <buildroot@buildroot.org> wrote:
> * Bump Linux Kernel version to 5.10.69
> * Bump Uboot version to 2021.04
> * Specify GCC version as 11_X
Thanks for this patch. However, why are you forcing the version to gcc
11.x ? We normally want our defconfigs to use the default gcc version
that Buildroot uses, unless there is a good version not to. What is
this reason in your case ?
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] configs/snps_*: Update packages versions for Synopsys configs
2021-10-18 19:18 ` Thomas Petazzoni
@ 2021-10-25 11:35 ` Alexey Brodkin via buildroot
0 siblings, 0 replies; 3+ messages in thread
From: Alexey Brodkin via buildroot @ 2021-10-25 11:35 UTC (permalink / raw)
To: Thomas Petazzoni
Cc: buildroot@busybox.net, Veronika Kremneva,
ARC Buildroot mailing list
Hi Thomas, all,
Let me elaborate a bit on that change...
> On Mon, 18 Oct 2021 15:32:45 +0300
> Veronika Kremneva via buildroot <buildroot@buildroot.org> wrote:
>
> > * Bump Linux Kernel version to 5.10.69
> > * Bump Uboot version to 2021.04
> > * Specify GCC version as 11_X
>
> Thanks for this patch. However, why are you forcing the version to gcc
> 11.x ? We normally want our defconfigs to use the default gcc version
> that Buildroot uses, unless there is a good version not to. What is
> this reason in your case ?
In fact it's not that we want to hardcode GCC v11 for ARC boards.
Instead the point was to override "default BR2_GCC_VERSION_ARC if BR2_arc" [1]
and finally switch to vanilla GCC (as well as Binutils & GDB) for ARC processors.
I guess we need to do it in another way, basically dropping that
line from "package/gcc/Config.in.host" and then stick to whatever is
the default GCC version. Though as of today for some reason GCC v10.x is
what used by default and frankly I'd like to use GCC v11.x as that's
where all but a very few fixes are in the upstream release for ARC.
So either we need to switch to "default BR2_GCC_VERSION_11_X if BR2_arc"
or bump the "default default" to BR2_GCC_VERSION_11_X for all.
What do you think?
Now you may also ask why don't we drop all the ARC forks nonsense from
the Buildroot? And that's a good question ;)
The point is we're now actively working on support for our next gen
processors (ARCv3 ISA) and so would like to re-use existing infrastructure
but re-purposed for ARCv3. But the good news is ARCompact/ARCv2 should be
now serviced by vanilla upstream releases (with needed fixes applied
via Buildroot) finally.
[1] https://git.buildroot.net/buildroot/tree/package/gcc/Config.in.host#n5
-Alexey
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-25 11:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-18 12:32 [Buildroot] [PATCH] configs/snps_*: Update packages versions for Synopsys configs Veronika Kremneva via buildroot
2021-10-18 19:18 ` Thomas Petazzoni
2021-10-25 11:35 ` Alexey Brodkin via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox