* [Buildroot] [PATCH 1/2] configs/pc_x86_64_{bios, efi}_defconfig: Switch to kernel 6.1.24 LTS
@ 2023-04-13 17:04 Adam Duskett
2023-04-13 17:04 ` [Buildroot] [PATCH 2/2] board/pc/linux.config: Add framebuffer and pci support Adam Duskett
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Adam Duskett @ 2023-04-13 17:04 UTC (permalink / raw)
To: buildroot; +Cc: Adam Duskett
Let's use a more modern kernel with a broader range of hardware support
for PCs.
Signed-off-by: Adam Duskett <aduskett@gmail.com>
---
configs/pc_x86_64_bios_defconfig | 6 +++---
configs/pc_x86_64_efi_defconfig | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/configs/pc_x86_64_bios_defconfig b/configs/pc_x86_64_bios_defconfig
index ec34a41667..a057ddd259 100644
--- a/configs/pc_x86_64_bios_defconfig
+++ b/configs/pc_x86_64_bios_defconfig
@@ -21,13 +21,13 @@ BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pc/genimage-bios.cfg"
-# Linux headers same as kernel, a 4.19 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
+# Linux headers same as kernel, a 6.1 LTS series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.24"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
diff --git a/configs/pc_x86_64_efi_defconfig b/configs/pc_x86_64_efi_defconfig
index da05471e28..efa603f0c0 100644
--- a/configs/pc_x86_64_efi_defconfig
+++ b/configs/pc_x86_64_efi_defconfig
@@ -22,13 +22,13 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pc/post-image-efi.sh"
-# Linux headers same as kernel, a 4.19 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
+# Linux headers same as kernel, a 6.1 LTS series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.24"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
--
2.40.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/2] board/pc/linux.config: Add framebuffer and pci support
2023-04-13 17:04 [Buildroot] [PATCH 1/2] configs/pc_x86_64_{bios, efi}_defconfig: Switch to kernel 6.1.24 LTS Adam Duskett
@ 2023-04-13 17:04 ` Adam Duskett
2023-04-14 18:31 ` Yann E. MORIN
2023-04-14 18:29 ` [Buildroot] [PATCH 1/2] configs/pc_x86_64_{bios, efi}_defconfig: Switch to kernel 6.1.24 LTS Yann E. MORIN
2023-05-21 20:14 ` Yann E. MORIN
2 siblings, 1 reply; 5+ messages in thread
From: Adam Duskett @ 2023-04-13 17:04 UTC (permalink / raw)
To: buildroot; +Cc: Adam Duskett
These small options allow the pc defconfigs to boot using default
virtual machine manager KVM options.
Let's use a more modern kernel with a broader range of hardware support
for PCs.
Signed-off-by: Adam Duskett <aduskett@gmail.com>
---
board/pc/linux.config | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/board/pc/linux.config b/board/pc/linux.config
index f86352e1ea..c26c2a9d00 100644
--- a/board/pc/linux.config
+++ b/board/pc/linux.config
@@ -15,6 +15,7 @@ CONFIG_IP_NF_FILTER=y
CONFIG_CFG80211=m
CONFIG_CFG80211_WEXT=y
CONFIG_MAC80211=m
+CONFIG_PCI=y
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_VIRTIO_BLK=y
@@ -63,7 +64,11 @@ CONFIG_DRM_I915=y
CONFIG_DRM_QXL=y
CONFIG_DRM_BOCHS=y
CONFIG_DRM_VIRTIO_GPU=y
+CONFIG_FB=y
+CONFIG_FIRMWARE_EDID=y
CONFIG_FB_VESA=y
+CONFIG_FB_EFI=y
+CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y
CONFIG_SOUND=y
CONFIG_SND=y
CONFIG_SND_HDA_INTEL=y
--
2.40.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH 1/2] configs/pc_x86_64_{bios, efi}_defconfig: Switch to kernel 6.1.24 LTS
2023-04-13 17:04 [Buildroot] [PATCH 1/2] configs/pc_x86_64_{bios, efi}_defconfig: Switch to kernel 6.1.24 LTS Adam Duskett
2023-04-13 17:04 ` [Buildroot] [PATCH 2/2] board/pc/linux.config: Add framebuffer and pci support Adam Duskett
@ 2023-04-14 18:29 ` Yann E. MORIN
2023-05-21 20:14 ` Yann E. MORIN
2 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2023-04-14 18:29 UTC (permalink / raw)
To: Adam Duskett; +Cc: buildroot
Adam, All,
On 2023-04-13 10:04 -0700, Adam Duskett spake thusly:
> Let's use a more modern kernel with a broader range of hardware support
> for PCs.
>
> Signed-off-by: Adam Duskett <aduskett@gmail.com>
I've added a little blurb about why we use 6.1 and not 6.2, and applied
to master, thanks.
Regards,
Yann E. MORIN.
> ---
> configs/pc_x86_64_bios_defconfig | 6 +++---
> configs/pc_x86_64_efi_defconfig | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/configs/pc_x86_64_bios_defconfig b/configs/pc_x86_64_bios_defconfig
> index ec34a41667..a057ddd259 100644
> --- a/configs/pc_x86_64_bios_defconfig
> +++ b/configs/pc_x86_64_bios_defconfig
> @@ -21,13 +21,13 @@ BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh"
> BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
> BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pc/genimage-bios.cfg"
>
> -# Linux headers same as kernel, a 4.19 series
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
> +# Linux headers same as kernel, a 6.1 LTS series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
>
> # Kernel
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204"
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.24"
> BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config"
> BR2_LINUX_KERNEL_INSTALL_TARGET=y
> diff --git a/configs/pc_x86_64_efi_defconfig b/configs/pc_x86_64_efi_defconfig
> index da05471e28..efa603f0c0 100644
> --- a/configs/pc_x86_64_efi_defconfig
> +++ b/configs/pc_x86_64_efi_defconfig
> @@ -22,13 +22,13 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
> BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh"
> BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pc/post-image-efi.sh"
>
> -# Linux headers same as kernel, a 4.19 series
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
> +# Linux headers same as kernel, a 6.1 LTS series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
>
> # Kernel
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204"
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.24"
> BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config"
> BR2_LINUX_KERNEL_INSTALL_TARGET=y
> --
> 2.40.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH 2/2] board/pc/linux.config: Add framebuffer and pci support
2023-04-13 17:04 ` [Buildroot] [PATCH 2/2] board/pc/linux.config: Add framebuffer and pci support Adam Duskett
@ 2023-04-14 18:31 ` Yann E. MORIN
0 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2023-04-14 18:31 UTC (permalink / raw)
To: Adam Duskett; +Cc: buildroot
Adam, All,
On 2023-04-13 10:04 -0700, Adam Duskett spake thusly:
> These small options allow the pc defconfigs to boot using default
> virtual machine manager KVM options.
These new options are not specific to running in a VM; they also apply
to running on reald hardware (and that's arguably where they are more
interesting, in fact).
> Let's use a more modern kernel with a broader range of hardware support
> for PCs.
I dropped this sentence (it was part of the previous commit!), and I
replaced it with an explanation why we choose to enable each of these
options.
> Signed-off-by: Adam Duskett <aduskett@gmail.com>
Applied to master, thanks.
> ---
> board/pc/linux.config | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/board/pc/linux.config b/board/pc/linux.config
> index f86352e1ea..c26c2a9d00 100644
> --- a/board/pc/linux.config
> +++ b/board/pc/linux.config
> @@ -15,6 +15,7 @@ CONFIG_IP_NF_FILTER=y
> CONFIG_CFG80211=m
> CONFIG_CFG80211_WEXT=y
> CONFIG_MAC80211=m
> +CONFIG_PCI=y
> CONFIG_DEVTMPFS=y
> CONFIG_DEVTMPFS_MOUNT=y
> CONFIG_VIRTIO_BLK=y
> @@ -63,7 +64,11 @@ CONFIG_DRM_I915=y
> CONFIG_DRM_QXL=y
> CONFIG_DRM_BOCHS=y
> CONFIG_DRM_VIRTIO_GPU=y
> +CONFIG_FB=y
> +CONFIG_FIRMWARE_EDID=y
> CONFIG_FB_VESA=y
> +CONFIG_FB_EFI=y
> +CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y
> CONFIG_SOUND=y
> CONFIG_SND=y
> CONFIG_SND_HDA_INTEL=y
> --
> 2.40.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH 1/2] configs/pc_x86_64_{bios, efi}_defconfig: Switch to kernel 6.1.24 LTS
2023-04-13 17:04 [Buildroot] [PATCH 1/2] configs/pc_x86_64_{bios, efi}_defconfig: Switch to kernel 6.1.24 LTS Adam Duskett
2023-04-13 17:04 ` [Buildroot] [PATCH 2/2] board/pc/linux.config: Add framebuffer and pci support Adam Duskett
2023-04-14 18:29 ` [Buildroot] [PATCH 1/2] configs/pc_x86_64_{bios, efi}_defconfig: Switch to kernel 6.1.24 LTS Yann E. MORIN
@ 2023-05-21 20:14 ` Yann E. MORIN
2 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2023-05-21 20:14 UTC (permalink / raw)
To: Adam Duskett; +Cc: buildroot
Adam, All,
+Jan-Benedict for BZ #15586
On 2023-04-13 10:04 -0700, Adam Duskett spake thusly:
> Let's use a more modern kernel with a broader range of hardware support
> for PCs.
This also probably needs BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF.
See:
https://bugs.busybox.net/show_bug.cgi?id=15586
Regards,
Yann E. MORIN.
> Signed-off-by: Adam Duskett <aduskett@gmail.com>
> ---
> configs/pc_x86_64_bios_defconfig | 6 +++---
> configs/pc_x86_64_efi_defconfig | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/configs/pc_x86_64_bios_defconfig b/configs/pc_x86_64_bios_defconfig
> index ec34a41667..a057ddd259 100644
> --- a/configs/pc_x86_64_bios_defconfig
> +++ b/configs/pc_x86_64_bios_defconfig
> @@ -21,13 +21,13 @@ BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh"
> BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
> BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pc/genimage-bios.cfg"
>
> -# Linux headers same as kernel, a 4.19 series
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
> +# Linux headers same as kernel, a 6.1 LTS series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
>
> # Kernel
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204"
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.24"
> BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config"
> BR2_LINUX_KERNEL_INSTALL_TARGET=y
> diff --git a/configs/pc_x86_64_efi_defconfig b/configs/pc_x86_64_efi_defconfig
> index da05471e28..efa603f0c0 100644
> --- a/configs/pc_x86_64_efi_defconfig
> +++ b/configs/pc_x86_64_efi_defconfig
> @@ -22,13 +22,13 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
> BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh"
> BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pc/post-image-efi.sh"
>
> -# Linux headers same as kernel, a 4.19 series
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
> +# Linux headers same as kernel, a 6.1 LTS series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
>
> # Kernel
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204"
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.24"
> BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config"
> BR2_LINUX_KERNEL_INSTALL_TARGET=y
> --
> 2.40.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-05-21 20:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-13 17:04 [Buildroot] [PATCH 1/2] configs/pc_x86_64_{bios, efi}_defconfig: Switch to kernel 6.1.24 LTS Adam Duskett
2023-04-13 17:04 ` [Buildroot] [PATCH 2/2] board/pc/linux.config: Add framebuffer and pci support Adam Duskett
2023-04-14 18:31 ` Yann E. MORIN
2023-04-14 18:29 ` [Buildroot] [PATCH 1/2] configs/pc_x86_64_{bios, efi}_defconfig: Switch to kernel 6.1.24 LTS Yann E. MORIN
2023-05-21 20:14 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox