* [Buildroot] [PATCH v2 1/1] configs/visionfive2_defconfig: bump custom kernel version to 05533e9c31
@ 2023-09-22 7:06 Maxim Kochetkov
2023-09-28 12:39 ` Peter Korsgaard
2023-09-30 10:31 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Maxim Kochetkov @ 2023-09-22 7:06 UTC (permalink / raw)
To: buildroot; +Cc: Maxim Kochetkov, francois.dugast.foss
Current kernel fails to build with GCC>=12:
AS arch/riscv/kernel/vdso/note.o
./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
./arch/riscv/include/asm/vdso/gettimeofday.h:71: Error: unrecognized opcode `csrr a5,0xc01', extension `zicsr' required
So use latest kernel from starfive repo.
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
---
v2:
Fix commit message
---
configs/visionfive2_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/visionfive2_defconfig b/configs/visionfive2_defconfig
index 5b07a8efbc..dc086953a0 100644
--- a/configs/visionfive2_defconfig
+++ b/configs/visionfive2_defconfig
@@ -6,7 +6,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/visionfive/genimage.cfg"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,linux,7b7b4eddd8d5ae55f6e0ee09b93e16e23ab4f97b)/linux-7b7b4eddd8d5ae55f6e0ee09b93e16e23ab4f97b.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,linux,05533e9c31d6f0da20efc2d436a3b0f6d516ed4b)/linux-05533e9c31d6f0da20efc2d436a3b0f6d516ed4b.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="starfive_visionfive2"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="starfive/jh7110-visionfive-v2"
--
2.40.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 v2 1/1] configs/visionfive2_defconfig: bump custom kernel version to 05533e9c31
2023-09-22 7:06 [Buildroot] [PATCH v2 1/1] configs/visionfive2_defconfig: bump custom kernel version to 05533e9c31 Maxim Kochetkov
@ 2023-09-28 12:39 ` Peter Korsgaard
2023-09-30 10:31 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-09-28 12:39 UTC (permalink / raw)
To: Maxim Kochetkov; +Cc: francois.dugast.foss, buildroot
>>>>> "Maxim" == Maxim Kochetkov <fido_max@inbox.ru> writes:
> Current kernel fails to build with GCC>=12:
> AS arch/riscv/kernel/vdso/note.o
> ./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
> ./arch/riscv/include/asm/vdso/gettimeofday.h:71: Error: unrecognized opcode `csrr a5,0xc01', extension `zicsr' required
> So use latest kernel from starfive repo.
> Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
> ---
> v2:
> Fix commit message
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
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 v2 1/1] configs/visionfive2_defconfig: bump custom kernel version to 05533e9c31
2023-09-22 7:06 [Buildroot] [PATCH v2 1/1] configs/visionfive2_defconfig: bump custom kernel version to 05533e9c31 Maxim Kochetkov
2023-09-28 12:39 ` Peter Korsgaard
@ 2023-09-30 10:31 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-09-30 10:31 UTC (permalink / raw)
To: Maxim Kochetkov; +Cc: francois.dugast.foss, buildroot
>>>>> "Maxim" == Maxim Kochetkov <fido_max@inbox.ru> writes:
> Current kernel fails to build with GCC>=12:
> AS arch/riscv/kernel/vdso/note.o
> ./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
> ./arch/riscv/include/asm/vdso/gettimeofday.h:71: Error: unrecognized opcode `csrr a5,0xc01', extension `zicsr' required
> So use latest kernel from starfive repo.
> Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
> ---
> v2:
> Fix commit message
Committed to 2023.08.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
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-09-30 10:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-22 7:06 [Buildroot] [PATCH v2 1/1] configs/visionfive2_defconfig: bump custom kernel version to 05533e9c31 Maxim Kochetkov
2023-09-28 12:39 ` Peter Korsgaard
2023-09-30 10:31 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox