This config has options for booting in little-endian PowerPC64 systems.
It shares most options with big-endian PowerPC64 systems.

This config overrides a few config options to built-in (were modules),
for running in qemu-kvm only with a kernel (no initrd). This is just a
convenience to boot a simple guest (e.g., debootstrap --second-stage),
and first-boot it; then installing linux-image will generate an initrd.
(It is not hard to manually generate that; so it's just nice-to-have.)

Signed-off-by: Mauricio Faria de Oliveira <mauri...@linux.vnet.ibm.com>
---
 debian/config/kernelarch-powerpc/config-arch-64-le |   74 ++++++++++++++++++++
 1 files changed, 74 insertions(+), 0 deletions(-)
 create mode 100644 debian/config/kernelarch-powerpc/config-arch-64-le

diff --git a/debian/config/kernelarch-powerpc/config-arch-64-le 
b/debian/config/kernelarch-powerpc/config-arch-64-le
new file mode 100644
index 0000000..50c6979
--- /dev/null
+++ b/debian/config/kernelarch-powerpc/config-arch-64-le
@@ -0,0 +1,74 @@
+##
+## file: arch/powerpc/Kconfig
+##
+CONFIG_CRASH_DUMP=y
+CONFIG_PPC_64K_PAGES=y
+CONFIG_PPC_TRANSACTIONAL_MEM=y
+
+##
+## file: arch/powerpc/platforms/Kconfig.cputype
+##
+CONFIG_CPU_LITTLE_ENDIAN=y
+CONFIG_PPC_BOOK3S_64=y
+CONFIG_POWER7_CPU=y
+CONFIG_VSX=y
+CONFIG_NR_CPUS=2048
+
+##
+## file: arch/powerpc/platforms/powermac/Kconfig
+##
+#. This must be explicitly disabled (it's enabled by default).
+# CONFIG_PPC_PMAC is not set
+
+##
+## file: arch/powerpc/platforms/powernv/Kconfig
+##
+CONFIG_PPC_POWERNV=y
+
+##
+## file: arch/powerpc/platforms/pseries/Kconfig
+##
+CONFIG_LPARCFG=y
+CONFIG_PPC_SPLPAR=y
+CONFIG_PPC_SMLPAR=y
+CONFIG_DTL=y
+
+##
+## file: drivers/cpufreq/Kconfig
+##
+## choice: Default CPUFreq governor
+# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
+# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
+# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
+CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
+# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
+## end choice
+
+##
+## file: drivers/net/ethernet/ibm/Kconfig
+##
+#. qemu-kvm with kernel only (no initrd).
+CONFIG_IBMVETH=y
+
+##
+## file: drivers/scsi/Kconfig
+##
+#. qemu-kvm with kernel only (no initrd).
+CONFIG_BLK_DEV_SD=y
+CONFIG_SCSI_IBMVSCSI=y
+
+##
+## file: fs/ext4/Kconfig
+#. qemu-kvm with kernel only (no initrd).
+CONFIG_EXT4_FS=y
+
+##
+## file: kernel/Kconfig.hz
+##
+## choice: Timer frequency
+CONFIG_HZ_100=y
+# CONFIG_HZ_250 is not set
+# CONFIG_HZ_300 is not set
+# CONFIG_HZ_1000 is not set
+## end choice
+
-- 
1.7.1


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1400966342-19173-3-git-send-email-mauri...@linux.vnet.ibm.com

Reply via email to