summaryrefslogtreecommitdiff
path: root/target/ppc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-06-09 12:25:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2018-06-10 07:18:36 +0200
commit4268d0812d7c3287d39bea1e588ee5d9c45e8972 (patch)
treeaa053667a1db01295eaead91055fa8eb12ec59d0 /target/ppc
parent8ae0ee8bec214f0c5b5922000ebc07588067588b (diff)
allow apple mac mini to netboot
Diffstat (limited to 'target/ppc')
-rw-r--r--target/ppc/Makefile6
-rw-r--r--target/ppc/kernel/apple-macmini10
-rw-r--r--target/ppc/systems/apple-macmini (renamed from target/ppc/systems/mac-mini)4
3 files changed, 11 insertions, 9 deletions
diff --git a/target/ppc/Makefile b/target/ppc/Makefile
index 2eec72d23..f62b31110 100644
--- a/target/ppc/Makefile
+++ b/target/ppc/Makefile
@@ -63,6 +63,12 @@ ifeq ($(ADK_TARGET_FS),nfsroot)
targethelp:
@echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}'
@echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSUSERTARBALL)"
+ifeq ($(ADK_TARGET_SYSTEM_APPLE_MACMINI),y)
+ @echo 'Use <alt-gr>-<win>-o-f to get into OpenFirmware on bootup, then type:'
+ @echo ' 0 > boot enet:10.0.0.1,yaboot'
+ @echo 'In yaboot type:'
+ @echo ' boot: enet:'
+endif
endif
# image creation and kernel install
diff --git a/target/ppc/kernel/apple-macmini b/target/ppc/kernel/apple-macmini
index faa2196fa..f2bccd3a9 100644
--- a/target/ppc/kernel/apple-macmini
+++ b/target/ppc/kernel/apple-macmini
@@ -8,8 +8,6 @@ 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
@@ -19,9 +17,5 @@ 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
+CONFIG_CMDLINE_BOOL=y
+CONFIG_USB_OHCI_HCD_PPC_OF_BE=y
diff --git a/target/ppc/systems/mac-mini b/target/ppc/systems/apple-macmini
index 9b3e97c17..c1652ee52 100644
--- a/target/ppc/systems/mac-mini
+++ b/target/ppc/systems/apple-macmini
@@ -1,10 +1,12 @@
config ADK_TARGET_SYSTEM_APPLE_MACMINI
bool "Apple Mac mini"
- select ADK_TARGET_CPU_PPC
+ select ADK_TARGET_CPU_PPC_7400
select ADK_TARGET_WITH_PCI
select ADK_TARGET_WITH_NET
select ADK_TARGET_WITH_NETDEVICE
select ADK_TARGET_WITH_BLOCK
+ select ADK_TARGET_WITH_VGA
+ select ADK_TARGET_WITH_USB
select ADK_TARGET_KERNEL_WITH_COMPRESSION
help
Support for Apple Mac mini.