Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] configs: Update ppc machines to v5.15
@ 2021-11-03  4:56 Joel Stanley
  2021-11-03  4:56 ` [Buildroot] [PATCH 1/2] board: g3beige: Update to Linux 5.15 Joel Stanley
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Joel Stanley @ 2021-11-03  4:56 UTC (permalink / raw)
  To: buildroot; +Cc: Gerome Burlats, Romain Naour, Matt Weber, Michael Ellerman

This updates the powerpc machines to Linux v5.15. The series depends on
Michael's kernel bump patch:

 https://lore.kernel.org/all/20211101185420.2338601-1-michael@walle.cc/

I built and boot tested each machine in qemu. They all appeared to work,
except for the g3beige machine which needed some attention.

Joel Stanley (2):
  board: g3beige: Update to Linux 5.15
  configs/ppc: Move all powerpc machines to 5.15

 board/qemu/ppc-g3beige/linux.config    | 13 ++++++++-----
 board/qemu/ppc-g3beige/readme.txt      |  2 +-
 configs/qemu_ppc64_e5500_defconfig     |  4 ++--
 configs/qemu_ppc64_pseries_defconfig   |  6 +++---
 configs/qemu_ppc64le_pseries_defconfig |  6 +++---
 configs/qemu_ppc_e500mc_defconfig      |  4 ++--
 configs/qemu_ppc_g3beige_defconfig     |  6 +++---
 configs/qemu_ppc_mac99_defconfig       |  6 +++---
 configs/qemu_ppc_mpc8544ds_defconfig   |  6 +++---
 9 files changed, 28 insertions(+), 25 deletions(-)

-- 
2.33.0

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

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

* [Buildroot] [PATCH 1/2] board: g3beige: Update to Linux 5.15
  2021-11-03  4:56 [Buildroot] [PATCH 0/2] configs: Update ppc machines to v5.15 Joel Stanley
@ 2021-11-03  4:56 ` Joel Stanley
  2021-11-03  4:56 ` [Buildroot] [PATCH 2/2] configs/ppc: Move all powerpc machines to 5.15 Joel Stanley
  2021-11-03 17:44 ` [Buildroot] [PATCH 0/2] configs: Update ppc machines to v5.15 Thomas Petazzoni
  2 siblings, 0 replies; 7+ messages in thread
From: Joel Stanley @ 2021-11-03  4:56 UTC (permalink / raw)
  To: buildroot; +Cc: Gerome Burlats, Romain Naour, Matt Weber, Michael Ellerman

The BLK_DEV_IDE_PMAC driver has been removed from the kernel, so use the
libata replacement PATA_MACIO. This requires enabling ATA and BLK_DEV_SD
for the disk to show up, and changing the command line to use /dev/sda.

YENTA depends on PCCARD, so enable it.

The UART does not show up in /dev without DEVTMPFS.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 board/qemu/ppc-g3beige/linux.config | 13 ++++++++-----
 board/qemu/ppc-g3beige/readme.txt   |  2 +-
 configs/qemu_ppc_g3beige_defconfig  |  6 +++---
 3 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/board/qemu/ppc-g3beige/linux.config b/board/qemu/ppc-g3beige/linux.config
index 79945535442a..f94488424339 100644
--- a/board/qemu/ppc-g3beige/linux.config
+++ b/board/qemu/ppc-g3beige/linux.config
@@ -1,15 +1,18 @@
 CONFIG_ALTIVEC=y
 CONFIG_SYSVIPC=y
 CONFIG_HIGHMEM=y
-CONFIG_YENTA=y
 CONFIG_NET=y
 CONFIG_PACKET=y
 CONFIG_UNIX=y
 CONFIG_INET=y
-CONFIG_IDE=y
-CONFIG_BLK_DEV_IDECD=y
-CONFIG_BLK_DEV_CMD64X=y
-CONFIG_BLK_DEV_IDE_PMAC=y
+CONFIG_PCCARD=y
+CONFIG_YENTA=y
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_BLK_DEV_SR=y
+CONFIG_ATA=y
+CONFIG_PATA_MACIO=y
 CONFIG_ADB=y
 CONFIG_ADB_CUDA=y
 CONFIG_ADB_PMU=y
diff --git a/board/qemu/ppc-g3beige/readme.txt b/board/qemu/ppc-g3beige/readme.txt
index e6c9c2016e9e..e39579ade227 100644
--- a/board/qemu/ppc-g3beige/readme.txt
+++ b/board/qemu/ppc-g3beige/readme.txt
@@ -1,6 +1,6 @@
 Run the emulation with:
 
-  qemu-system-ppc -M g3beige -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "console=ttyS0 rootwait root=/dev/hda" -serial stdio -net nic,model=rtl8139 -net user # qemu_ppc_g3beige_defconfig
+  qemu-system-ppc -M g3beige -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "console=ttyS0 rootwait root=/dev/sda" -serial stdio -net nic,model=rtl8139 -net user # qemu_ppc_g3beige_defconfig
 
 The login prompt will appear in the terminal that started Qemu. The
 graphical window is the framebuffer.
diff --git a/configs/qemu_ppc_g3beige_defconfig b/configs/qemu_ppc_g3beige_defconfig
index 6e41afe8d758..824fe648aba5 100644
--- a/configs/qemu_ppc_g3beige_defconfig
+++ b/configs/qemu_ppc_g3beige_defconfig
@@ -13,13 +13,13 @@ BR2_TARGET_ROOTFS_EXT2=y
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
 
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/ppc-g3beige/linux.config"
 BR2_LINUX_KERNEL_VMLINUX=y
-- 
2.33.0

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

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

* [Buildroot] [PATCH 2/2] configs/ppc: Move all powerpc machines to 5.15
  2021-11-03  4:56 [Buildroot] [PATCH 0/2] configs: Update ppc machines to v5.15 Joel Stanley
  2021-11-03  4:56 ` [Buildroot] [PATCH 1/2] board: g3beige: Update to Linux 5.15 Joel Stanley
@ 2021-11-03  4:56 ` Joel Stanley
  2021-11-03 17:44 ` [Buildroot] [PATCH 0/2] configs: Update ppc machines to v5.15 Thomas Petazzoni
  2 siblings, 0 replies; 7+ messages in thread
From: Joel Stanley @ 2021-11-03  4:56 UTC (permalink / raw)
  To: buildroot; +Cc: Gerome Burlats, Romain Naour, Matt Weber, Michael Ellerman

Change the comment so it doesn't need to be updated when changing the
version.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 configs/qemu_ppc64_e5500_defconfig     | 4 ++--
 configs/qemu_ppc64_pseries_defconfig   | 6 +++---
 configs/qemu_ppc64le_pseries_defconfig | 6 +++---
 configs/qemu_ppc_e500mc_defconfig      | 4 ++--
 configs/qemu_ppc_mac99_defconfig       | 6 +++---
 configs/qemu_ppc_mpc8544ds_defconfig   | 6 +++---
 6 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/configs/qemu_ppc64_e5500_defconfig b/configs/qemu_ppc64_e5500_defconfig
index dace0af8eeb0..286d79a26b6d 100644
--- a/configs/qemu_ppc64_e5500_defconfig
+++ b/configs/qemu_ppc64_e5500_defconfig
@@ -10,12 +10,12 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
 
 # Linux headers same as the kernel
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
 
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15"
 BR2_LINUX_KERNEL_DEFCONFIG="corenet64_smp"
 BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc64-e5500/linux.fragment"
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
diff --git a/configs/qemu_ppc64_pseries_defconfig b/configs/qemu_ppc64_pseries_defconfig
index 4ce116e26af3..1a20e2ee0e97 100644
--- a/configs/qemu_ppc64_pseries_defconfig
+++ b/configs/qemu_ppc64_pseries_defconfig
@@ -14,13 +14,13 @@ BR2_TARGET_ROOTFS_EXT2=y
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
 
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15"
 BR2_LINUX_KERNEL_DEFCONFIG="pseries"
 BR2_LINUX_KERNEL_VMLINUX=y
 
diff --git a/configs/qemu_ppc64le_pseries_defconfig b/configs/qemu_ppc64le_pseries_defconfig
index 3be9de74a63b..46f62b83130a 100644
--- a/configs/qemu_ppc64le_pseries_defconfig
+++ b/configs/qemu_ppc64le_pseries_defconfig
@@ -14,13 +14,13 @@ BR2_TARGET_ROOTFS_EXT2=y
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
 
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15"
 BR2_LINUX_KERNEL_DEFCONFIG="pseries_le"
 BR2_LINUX_KERNEL_VMLINUX=y
 
diff --git a/configs/qemu_ppc_e500mc_defconfig b/configs/qemu_ppc_e500mc_defconfig
index 69fc8dbc06ba..1a5b1e3c2c83 100644
--- a/configs/qemu_ppc_e500mc_defconfig
+++ b/configs/qemu_ppc_e500mc_defconfig
@@ -10,12 +10,12 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
 
 # Linux headers same as the kernel
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
 
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15"
 BR2_LINUX_KERNEL_DEFCONFIG="corenet32_smp"
 BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc-e500mc/linux.fragment"
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
diff --git a/configs/qemu_ppc_mac99_defconfig b/configs/qemu_ppc_mac99_defconfig
index a1e9c1a5a635..ddeb99465abb 100644
--- a/configs/qemu_ppc_mac99_defconfig
+++ b/configs/qemu_ppc_mac99_defconfig
@@ -5,13 +5,13 @@ BR2_powerpc_7400=y
 # System
 BR2_SYSTEM_DHCP="eth0"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
 
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15"
 BR2_LINUX_KERNEL_DEFCONFIG="pmac32"
 BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc-mac99/linux.fragment"
 BR2_LINUX_KERNEL_VMLINUX=y
diff --git a/configs/qemu_ppc_mpc8544ds_defconfig b/configs/qemu_ppc_mpc8544ds_defconfig
index 55e6db5a0d17..1a72d81ed592 100644
--- a/configs/qemu_ppc_mpc8544ds_defconfig
+++ b/configs/qemu_ppc_mpc8544ds_defconfig
@@ -14,13 +14,13 @@ BR2_TARGET_ROOTFS_INITRAMFS=y
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
 
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# Linux headers same as kernel
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
 
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/ppc-mpc8544ds/linux.config"
 BR2_LINUX_KERNEL_VMLINUX=y
-- 
2.33.0

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

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

* Re: [Buildroot] [PATCH 0/2] configs: Update ppc machines to v5.15
  2021-11-03  4:56 [Buildroot] [PATCH 0/2] configs: Update ppc machines to v5.15 Joel Stanley
  2021-11-03  4:56 ` [Buildroot] [PATCH 1/2] board: g3beige: Update to Linux 5.15 Joel Stanley
  2021-11-03  4:56 ` [Buildroot] [PATCH 2/2] configs/ppc: Move all powerpc machines to 5.15 Joel Stanley
@ 2021-11-03 17:44 ` Thomas Petazzoni
  2021-11-03 20:56   ` Romain Naour
  2 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2021-11-03 17:44 UTC (permalink / raw)
  To: Joel Stanley
  Cc: Michael Ellerman, Gerome Burlats, Romain Naour, Matt Weber,
	buildroot

On Wed,  3 Nov 2021 15:26:25 +1030
Joel Stanley <joel@jms.id.au> wrote:

>   board: g3beige: Update to Linux 5.15
>   configs/ppc: Move all powerpc machines to 5.15

Both applied, 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] 7+ messages in thread

* Re: [Buildroot] [PATCH 0/2] configs: Update ppc machines to v5.15
  2021-11-03 17:44 ` [Buildroot] [PATCH 0/2] configs: Update ppc machines to v5.15 Thomas Petazzoni
@ 2021-11-03 20:56   ` Romain Naour
  2021-11-03 21:05     ` Thomas Petazzoni
  0 siblings, 1 reply; 7+ messages in thread
From: Romain Naour @ 2021-11-03 20:56 UTC (permalink / raw)
  To: Thomas Petazzoni, Joel Stanley
  Cc: Michael Ellerman, Gerome Burlats, Matt Weber, buildroot

Hello,

Le 03/11/2021 à 18:44, Thomas Petazzoni a écrit :
> On Wed,  3 Nov 2021 15:26:25 +1030
> Joel Stanley <joel@jms.id.au> wrote:
> 
>>   board: g3beige: Update to Linux 5.15
>>   configs/ppc: Move all powerpc machines to 5.15
> 
> Both applied, thanks!

This series can't work without adding kernel 5.15 support :)
http://patchwork.ozlabs.org/project/buildroot/patch/20211101185420.2338601-1-michael@walle.cc/

Best regards,
Romain

> 
> Thomas
> 

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

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

* Re: [Buildroot] [PATCH 0/2] configs: Update ppc machines to v5.15
  2021-11-03 20:56   ` Romain Naour
@ 2021-11-03 21:05     ` Thomas Petazzoni
  2021-11-04  3:53       ` Joel Stanley
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni @ 2021-11-03 21:05 UTC (permalink / raw)
  To: Romain Naour
  Cc: Michael Ellerman, Gerome Burlats, Matt Weber, Joel Stanley,
	buildroot

On Wed, 3 Nov 2021 21:56:52 +0100
Romain Naour <romain.naour@gmail.com> wrote:

> This series can't work without adding kernel 5.15 support :)
> http://patchwork.ozlabs.org/project/buildroot/patch/20211101185420.2338601-1-michael@walle.cc/

Dammit, you're right. I'll have a look at merging those patches.

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

* Re: [Buildroot] [PATCH 0/2] configs: Update ppc machines to v5.15
  2021-11-03 21:05     ` Thomas Petazzoni
@ 2021-11-04  3:53       ` Joel Stanley
  0 siblings, 0 replies; 7+ messages in thread
From: Joel Stanley @ 2021-11-04  3:53 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: Michael Ellerman, Gerome Burlats, Romain Naour, Matt Weber,
	buildroot

On Wed, 3 Nov 2021 at 21:05, Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Wed, 3 Nov 2021 21:56:52 +0100
> Romain Naour <romain.naour@gmail.com> wrote:
>
> > This series can't work without adding kernel 5.15 support :)
> > http://patchwork.ozlabs.org/project/buildroot/patch/20211101185420.2338601-1-michael@walle.cc/
>
> Dammit, you're right. I'll have a look at merging those patches.

Thank you for your enthusiasm!
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2021-11-04  3:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-03  4:56 [Buildroot] [PATCH 0/2] configs: Update ppc machines to v5.15 Joel Stanley
2021-11-03  4:56 ` [Buildroot] [PATCH 1/2] board: g3beige: Update to Linux 5.15 Joel Stanley
2021-11-03  4:56 ` [Buildroot] [PATCH 2/2] configs/ppc: Move all powerpc machines to 5.15 Joel Stanley
2021-11-03 17:44 ` [Buildroot] [PATCH 0/2] configs: Update ppc machines to v5.15 Thomas Petazzoni
2021-11-03 20:56   ` Romain Naour
2021-11-03 21:05     ` Thomas Petazzoni
2021-11-04  3:53       ` Joel Stanley

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