summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-26 05:44:31 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-26 05:44:36 +0200
commita64f563f108d74772e62a4f0d4371e2f9ff9ef9f (patch)
tree77d4db8aef9e447380706f13bcad40a1bbb74dde
parent9d6f423bd25d36b5f63c2168fd64e83b8c7ebdbd (diff)
add sample for dec multia
-rw-r--r--target/alpha/Makefile8
-rw-r--r--target/alpha/kernel/dec-multia4
-rw-r--r--target/alpha/systems/dec-multia8
3 files changed, 20 insertions, 0 deletions
diff --git a/target/alpha/Makefile b/target/alpha/Makefile
index 6d6ae008c..f80cdec38 100644
--- a/target/alpha/Makefile
+++ b/target/alpha/Makefile
@@ -44,6 +44,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 nfs root tarball is: ${FW_DIR}/${ROOTFSUSERTARBALL}'
+endif
# image creation and kernel install
kernel-strip:
@@ -65,3 +70,6 @@ endif
ifeq ($(ADK_TARGET_FS),initramfspiggyback)
imageinstall: createinitramfs targethelp
endif
+ifeq ($(ADK_TARGET_FS),nfsroot)
+imageinstall: kernel-install $(FW_DIR)/$(ROOTFSUSERTARBALL) targethelp
+endif
diff --git a/target/alpha/kernel/dec-multia b/target/alpha/kernel/dec-multia
new file mode 100644
index 000000000..bf0ad14e3
--- /dev/null
+++ b/target/alpha/kernel/dec-multia
@@ -0,0 +1,4 @@
+CONFIG_ALPHA=y
+CONFIG_ALPHA_NONAME_CH=y
+CONFIG_ISA=y
+CONFIG_ISA_DMA_API=y
diff --git a/target/alpha/systems/dec-multia b/target/alpha/systems/dec-multia
new file mode 100644
index 000000000..ccaec574d
--- /dev/null
+++ b/target/alpha/systems/dec-multia
@@ -0,0 +1,8 @@
+config ADK_TARGET_SYSTEM_DEC_MULTIA
+ bool "Digital Multia"
+ select ADK_TARGET_CPU_ALPHA
+ select ADK_TARGET_KERNEL_WITH_COMPRESSION
+ help
+ Support for DEC Multia. See:
+ https://en.wikipedia.org/wiki/DEC_Multia
+