[2/2] configs: Add qemu_ppc64le_pseries
diff mbox series

Message ID 20170919005538.1482-3-joel@jms.id.au
State Changes Requested
Headers show
Series
  • ppc64 little endian defconfig
Related show

Commit Message

Joel Stanley Sept. 19, 2017, 12:55 a.m. UTC
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.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 configs/qemu_ppc64le_pseries_defconfig | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 configs/qemu_ppc64le_pseries_defconfig

Comments

Arnout Vandecappelle Sept. 19, 2017, 7:25 p.m. UTC | #1
Hi Joel,

On 19-09-17 02:55, Joel Stanley wrote:
> 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.
> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>

 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

Patch
diff mbox series

diff --git a/configs/qemu_ppc64le_pseries_defconfig b/configs/qemu_ppc64le_pseries_defconfig
new file mode 100644
index 000000000000..62e729d30260
--- /dev/null
+++ b/configs/qemu_ppc64le_pseries_defconfig
@@ -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