Skip to contentSkip to conversation

ppc64 little endian defconfig

PATCH New Joel Stanley 2 participants 4 messages Sep 19, 2017 PowerPC

lore
Share & tools
lore
#0 lore raw

cover ppc64 little endian defconfig

Hello,

This adds bumps the existing ppc64 defconfig to the latest kernel, and adds a ppc64le defconfig so we have coverage of the le toolchain in buildroot.

I did a build test and booted it in Qemu.

Cheers,

Joel

Joel Stanley (2):
configs: qemu_ppc64_pseries: Update to kernel 4.13.1
configs: Add qemu_ppc64le_pseries

 configs/qemu_ppc64_pseries_defconfig   |  6 +++---
 configs/qemu_ppc64le_pseries_defconfig | 21 +++++++++++++++++++++
 2 files changed, 24 insertions(+), 3 deletions(-)
 create mode 100644 configs/qemu_ppc64le_pseries_defconfig
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/2 configs: qemu_ppc64_pseries: Update to kernel 4.13.1

Drop the custom headers bit as it is not required.

---
 configs/qemu_ppc64_pseries_defconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
configs/qemu_ppc64_pseries_defconfig +3 -3
index 7af20e989d0c..84076314d961 100644
@@ -10,12 +10,12 @@ BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
 BR2_TARGET_ROOTFS_EXT2=y
 # BR2_TARGET_ROOTFS_TAR is not set
 
-# Linux headers same as kernel, a 4.11 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y
+# Linux headers same as kernel, a 4.13 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y
 
 # Kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.3"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13.1"
 BR2_LINUX_KERNEL_DEFCONFIG="pseries"
 BR2_LINUX_KERNEL_VMLINUX=y
Signature · 1 line
2.14.1
#2 lore raw

PATCH 2/2 configs: Add qemu_ppc64le_pseries

In reply to Joel Stanley

This is similar to the ppc64_pseries config, except we build for little endian instead of big endian.

The default architecture is set to Power8 as this was the first fully enabled LE machine.

---
 configs/qemu_ppc64le_pseries_defconfig | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 configs/qemu_ppc64le_pseries_defconfig
configs/qemu_ppc64le_pseries_defconfig new file +21 -0
new file mode 100644
index 000000000000..62e729d30260
@@ -0,0 +1,21 @@
+# Architecture
+BR2_powerpc64le=y
+BR2_powerpc_power8=y
+
+# System
+BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
+BR2_SYSTEM_DHCP="eth0"
+
+# Filesystem
+BR2_TARGET_ROOTFS_EXT2=y
+# BR2_TARGET_ROOTFS_TAR is not set
+
+# Linux headers same as kernel, a 4.13 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y
+
+# Kernel
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13.1"
+BR2_LINUX_KERNEL_DEFCONFIG="pseries_le"
+BR2_LINUX_KERNEL_VMLINUX=y
Signature · 1 line
2.14.1
#3 lore raw

PATCH 2/2 configs: Add qemu_ppc64le_pseries

Hi Joel,

Quoted 7 lines · Joel Stanley

This is similar to the ppc64_pseries config, except we build for little endian instead of big endian.

The default architecture is set to Power8 as this was the first fully enabled LE machine.

Three things are missing:

- a readme file in board/qemu/ppc64le-pseries/readme.txt;
- an update of .gitlab-ci.yml (just run 'make .gitlab-ci.yml');
- adding yourself to the DEVELOPERS file.

Care to send an updated patch with all this?

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF