All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] configs/spike_riscv64: remove the no longer needed kernel fragment
@ 2024-06-24 18:05 Julien Olivain
  2024-07-10 22:01 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Julien Olivain @ 2024-06-24 18:05 UTC (permalink / raw)
  To: buildroot; +Cc: Julien Olivain

Buildroot commit [1] updated riscv-isa-sim (Spike), which now includes
a NS16550 uart emulation. The Kernel config fragment was introduced to
work with older HTIF interface from Spike.

For more information about the HTIF/NS16550 in Spike, see the commit
log [2].

This commit removes this Kernel config fragment, since it is no longer
needed.

[1] https://gitlab.com/buildroot.org/buildroot/-/commit/853b7661bf5ddca5d4b81964ef1a19a133beac85
[2] https://gitlab.com/buildroot.org/buildroot/-/commit/38c581b05cd8e7967783410b36c14b9b561acd12

Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Patch tested on branch master at commit 3f464c2 with commands:

    utils/docker-run make check-package
    ...
    OK

    make spike_riscv64_defconfig
    make
    board/spike/riscv64/start.sh
    ...
    Welcome to Buildroot
    buildroot login:
---
 board/spike/riscv64/linux.fragment | 3 ---
 configs/spike_riscv64_defconfig    | 1 -
 2 files changed, 4 deletions(-)
 delete mode 100644 board/spike/riscv64/linux.fragment

diff --git a/board/spike/riscv64/linux.fragment b/board/spike/riscv64/linux.fragment
deleted file mode 100644
index b443b0ab364..00000000000
--- a/board/spike/riscv64/linux.fragment
+++ /dev/null
@@ -1,3 +0,0 @@
-CONFIG_RISCV_SBI_V01=y
-CONFIG_HVC_RISCV_SBI=y
-CONFIG_SERIAL_EARLYCON_RISCV_SBI=y
diff --git a/configs/spike_riscv64_defconfig b/configs/spike_riscv64_defconfig
index b4b3d6e3d5a..fa8cba42755 100644
--- a/configs/spike_riscv64_defconfig
+++ b/configs/spike_riscv64_defconfig
@@ -4,7 +4,6 @@ BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.26"
 BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
-BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/spike/riscv64/linux.fragment"
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
 BR2_TARGET_ROOTFS_CPIO=y
 # BR2_TARGET_ROOTFS_TAR is not set
-- 
2.45.2

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

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

* Re: [Buildroot] [PATCH 1/1] configs/spike_riscv64: remove the no longer needed kernel fragment
  2024-06-24 18:05 [Buildroot] [PATCH 1/1] configs/spike_riscv64: remove the no longer needed kernel fragment Julien Olivain
@ 2024-07-10 22:01 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-10 22:01 UTC (permalink / raw)
  To: Julien Olivain; +Cc: buildroot

On Mon, 24 Jun 2024 20:05:19 +0200
Julien Olivain <ju.o@free.fr> wrote:

> Buildroot commit [1] updated riscv-isa-sim (Spike), which now includes
> a NS16550 uart emulation. The Kernel config fragment was introduced to
> work with older HTIF interface from Spike.
> 
> For more information about the HTIF/NS16550 in Spike, see the commit
> log [2].
> 
> This commit removes this Kernel config fragment, since it is no longer
> needed.
> 
> [1] https://gitlab.com/buildroot.org/buildroot/-/commit/853b7661bf5ddca5d4b81964ef1a19a133beac85
> [2] https://gitlab.com/buildroot.org/buildroot/-/commit/38c581b05cd8e7967783410b36c14b9b561acd12
> 
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> Patch tested on branch master at commit 3f464c2 with commands:

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] 2+ messages in thread

end of thread, other threads:[~2024-07-10 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-24 18:05 [Buildroot] [PATCH 1/1] configs/spike_riscv64: remove the no longer needed kernel fragment Julien Olivain
2024-07-10 22:01 ` Thomas Petazzoni via buildroot

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.