summaryrefslogtreecommitdiff
path: root/target/ppc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-26 13:18:13 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-26 13:18:20 -0600
commitd3a56fd7f104865a1f05c384d398828a0f16b2b2 (patch)
tree045952960283288fa7ff983d0f591cf1a720ad0c /target/ppc
parentf2564cf95784978e249d47cf94e04813afa9c2e6 (diff)
add basic config snippets for mac mini (ppc)
Diffstat (limited to 'target/ppc')
-rw-r--r--target/ppc/Makefile8
-rw-r--r--target/ppc/kernel/apple-macmini27
-rw-r--r--target/ppc/systems/mac-mini8
3 files changed, 43 insertions, 0 deletions
diff --git a/target/ppc/Makefile b/target/ppc/Makefile
index c7999d84d..e1df1ef29 100644
--- a/target/ppc/Makefile
+++ b/target/ppc/Makefile
@@ -57,6 +57,11 @@ ifeq ($(ADK_TARGET_QEMU),y)
@echo 'qemu-system-${ADK_TARGET_CPU_ARCH} ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL)'
endif
endif
+ifeq ($(ADK_TARGET_FS),nfsroot)
+targethelp:
+ @echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}'
+ @echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSUSERTARBALL)"
+endif
# image creation and kernel install
kernel-strip:
@@ -96,3 +101,6 @@ else
imageinstall: createinitramfs targethelp
endif
endif
+ifeq ($(ADK_TARGET_FS),nfsroot)
+imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp
+endif
diff --git a/target/ppc/kernel/apple-macmini b/target/ppc/kernel/apple-macmini
new file mode 100644
index 000000000..faa2196fa
--- /dev/null
+++ b/target/ppc/kernel/apple-macmini
@@ -0,0 +1,27 @@
+CONFIG_PPC=y
+CONFIG_PPC32=y
+CONFIG_32BIT=y
+CONFIG_PPC_BOOK3S_32=y
+CONFIG_PPC_BOOK3S=y
+CONFIG_6xx=y
+CONFIG_PPC_FPU=y
+CONFIG_ALTIVEC=y
+CONFIG_GENERIC_NVRAM=y
+CONFIG_PPC_OF=y
+CONFIG_PPC_UDBG_16550=y
+CONFIG_PPC_CHRP=y
+CONFIG_PPC_PMAC=y
+CONFIG_PPC_NATIVE=y
+CONFIG_PPC_OF_BOOT_TRAMPOLINE=y
+CONFIG_MPIC=y
+CONFIG_PPC_I8259=y
+CONFIG_PPC_RTAS=y
+CONFIG_PPC_MPC106=y
+CONFIG_PPC_4K_PAGES=y
+CONFIG_MACINTOSH_DRIVERS=y
+CONFIG_ADB=y
+CONFIG_ADB_CUDA=y
+CONFIG_INPUT_ADBHID=y
+CONFIG_SERIAL_PMACZILOG=y
+CONFIG_SERIAL_PMACZILOG_TTYS=y
+CONFIG_SERIAL_PMACZILOG_CONSOLE=y
diff --git a/target/ppc/systems/mac-mini b/target/ppc/systems/mac-mini
new file mode 100644
index 000000000..452b10580
--- /dev/null
+++ b/target/ppc/systems/mac-mini
@@ -0,0 +1,8 @@
+config ADK_TARGET_SYSTEM_APPLE_MACMINI
+ bool "Apple Mac mini"
+ select ADK_ppc
+ select ADK_apple_macmini
+ select ADK_CPU_PPC
+ help
+ Support for Apple Mac mini.
+