Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] configs/hifive_unleashed_defconfig: uboot needs pylibfdt
@ 2023-08-15 17:45 Romain Naour
  2023-08-15 17:46 ` [Buildroot] [PATCH 2/2] configs/hifive_unleashed_defconfig: bump to kernel 5.10.190 Romain Naour
  2023-08-26 18:05 ` [Buildroot] [PATCH 1/2] configs/hifive_unleashed_defconfig: uboot needs pylibfdt Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Romain Naour @ 2023-08-15 17:45 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour

uboot needs Python libfdt to build:

  pylibfdt does not seem to be available with python3

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/4839060137

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 configs/hifive_unleashed_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/hifive_unleashed_defconfig b/configs/hifive_unleashed_defconfig
index 80c5e48f96..37898284ac 100644
--- a/configs/hifive_unleashed_defconfig
+++ b/configs/hifive_unleashed_defconfig
@@ -48,6 +48,7 @@ BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sifive_unleashed"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_OPENSBI=y
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb"
 BR2_TARGET_UBOOT_SPL=y
-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 2/2] configs/hifive_unleashed_defconfig: bump to kernel 5.10.190
  2023-08-15 17:45 [Buildroot] [PATCH 1/2] configs/hifive_unleashed_defconfig: uboot needs pylibfdt Romain Naour
@ 2023-08-15 17:46 ` Romain Naour
  2023-08-26 18:05 ` [Buildroot] [PATCH 1/2] configs/hifive_unleashed_defconfig: uboot needs pylibfdt Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Romain Naour @ 2023-08-15 17:46 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour

We have to bump the kernel version to build with gcc >= 12 for riscv
and zicsr/zifencei extension [1] [2].

Similar to 0a4ac1e7fa715669aa2ab2a58b564fc875c07c68.

Fixes:
./arch/riscv/include/asm/vdso/gettimeofday.h: Assembler messages:
./arch/riscv/include/asm/vdso/gettimeofday.h:71: Error: unrecognized opcode `csrr a5,0xc01', extension `zicsr' required

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7486227fa47aa84b102be18fd9985f6e8e11e756
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0b077b22ea9ff698840ff9305d9382935fb41540

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 configs/hifive_unleashed_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/hifive_unleashed_defconfig b/configs/hifive_unleashed_defconfig
index 37898284ac..c9d4a31ede 100644
--- a/configs/hifive_unleashed_defconfig
+++ b/configs/hifive_unleashed_defconfig
@@ -28,7 +28,7 @@ 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.10"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.190"
 BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
 BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/sifive/hifive-unleashed/linux.config.fragment"
 BR2_LINUX_KERNEL_IMAGE=y
-- 
2.41.0

_______________________________________________
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 1/2] configs/hifive_unleashed_defconfig: uboot needs pylibfdt
  2023-08-15 17:45 [Buildroot] [PATCH 1/2] configs/hifive_unleashed_defconfig: uboot needs pylibfdt Romain Naour
  2023-08-15 17:46 ` [Buildroot] [PATCH 2/2] configs/hifive_unleashed_defconfig: bump to kernel 5.10.190 Romain Naour
@ 2023-08-26 18:05 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-08-26 18:05 UTC (permalink / raw)
  To: Romain Naour; +Cc: buildroot

On Tue, 15 Aug 2023 19:45:59 +0200
Romain Naour <romain.naour@gmail.com> wrote:

> uboot needs Python libfdt to build:
> 
>   pylibfdt does not seem to be available with python3
> 
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/4839060137
> 
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
>  configs/hifive_unleashed_defconfig | 1 +
>  1 file changed, 1 insertion(+)

Both applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
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

end of thread, other threads:[~2023-08-26 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-15 17:45 [Buildroot] [PATCH 1/2] configs/hifive_unleashed_defconfig: uboot needs pylibfdt Romain Naour
2023-08-15 17:46 ` [Buildroot] [PATCH 2/2] configs/hifive_unleashed_defconfig: bump to kernel 5.10.190 Romain Naour
2023-08-26 18:05 ` [Buildroot] [PATCH 1/2] configs/hifive_unleashed_defconfig: uboot needs pylibfdt Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox