diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-12-31 18:47:16 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-12-31 18:47:25 +0100 |
commit | 3a96085b999220c4da0c5ef7d1f7ba26b9ddfb98 (patch) | |
tree | 77f1445aae2e6be5135594e95986b3278bbc061c /target/alpha | |
parent | cc28479164b8dc8afd4310716da32f16022f5974 (diff) |
dec-multia: make netboot possible, add aboot bootloader
Diffstat (limited to 'target/alpha')
-rw-r--r-- | target/alpha/Makefile | 13 | ||||
-rw-r--r-- | target/alpha/systems/dec-multia | 5 |
2 files changed, 16 insertions, 2 deletions
diff --git a/target/alpha/Makefile b/target/alpha/Makefile index 2d58e8014..5ce6bbea2 100644 --- a/target/alpha/Makefile +++ b/target/alpha/Makefile @@ -6,6 +6,9 @@ include $(ADK_TOPDIR)/mk/kernel-build.mk include $(ADK_TOPDIR)/mk/image.mk KERNEL:=$(LINUX_DIR)/vmlinux +ifeq ($(ADK_TARGET_SYSTEM_DEC_MULTIA),y) +KERNEL:=$(LINUX_DIR)/arch/alpha/boot/bootpfile +endif QEMU_ARGS:=-monitor null QEMU_ARGS+=${ADK_QEMU_ARGS} @@ -52,14 +55,22 @@ ifeq ($(ADK_TARGET_FS),nfsroot) targethelp: @echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}' @echo 'The nfs root tarball is: ${FW_DIR}/${ROOTFSUSERTARBALL}' +ifeq ($(ADK_TARGET_SYSTEM_DEC_MULTIA),y) + @echo 'To netboot the Dec multia type following in SRM console:' + @echo '>>>boot ewa0 -protocols bootp -fl "root=/dev/nfs ip=dhcp"' +endif endif # image creation and kernel install kernel-strip: +ifeq ($(ADK_TARGET_SYSTEM_DEC_MULTIA),y) + cp $(KERNEL) $(BUILD_DIR)/${TARGET_KERNEL} +else $(TARGET_CROSS)objcopy $(OSTRIP) -S $(KERNEL) $(BUILD_DIR)/$(TARGET_KERNEL) +endif kernel-install: kernel-strip - @cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/${TARGET_KERNEL} + cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/${TARGET_KERNEL} # filesystem specific targets ifeq ($(ADK_TARGET_FS),archive) diff --git a/target/alpha/systems/dec-multia b/target/alpha/systems/dec-multia index f92a55448..badef7e87 100644 --- a/target/alpha/systems/dec-multia +++ b/target/alpha/systems/dec-multia @@ -1,7 +1,10 @@ config ADK_TARGET_SYSTEM_DEC_MULTIA bool "Digital Multia" select ADK_TARGET_CPU_ALPHA_EV4 - select ADK_TARGET_KERNEL_WITH_COMPRESSION + select ADK_TARGET_WITH_SERIAL + select ADK_TARGET_WITH_NET + select ADK_TARGET_WITH_NETDEVICE + select ADK_TARGET_KERNEL_VMLINUX_BOOTP help Support for DEC Multia. See: https://en.wikipedia.org/wiki/DEC_Multia |