summaryrefslogtreecommitdiff
path: root/target/h8300
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-04-12 20:04:23 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-04-12 20:04:44 +0200
commit41e64bf1c41f08e44dc0eefdf4b92e81f2784433 (patch)
tree6dbf4634210c566e70dd963c12834086ade52788 /target/h8300
parent0ac53ac529705816fea69a23c8847cd4aa70e878 (diff)
h8s: minor progress, doesn't run on edosk2674 board
Diffstat (limited to 'target/h8300')
-rw-r--r--target/h8300/Makefile11
-rw-r--r--target/h8300/systems/hitachi-edosk26741
2 files changed, 12 insertions, 0 deletions
diff --git a/target/h8300/Makefile b/target/h8300/Makefile
index 48a8b1e52..df8939529 100644
--- a/target/h8300/Makefile
+++ b/target/h8300/Makefile
@@ -7,6 +7,10 @@ include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/vmlinux
OSTRIP:=-R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id
+ifeq ($(ADK_TARGET_KERNEL_UIMAGEBIN),y)
+KERNEL:=$(LINUX_DIR)/arch/h8300/boot/uImage.bin
+OSTRIP:=
+endif
ifeq ($(ADK_TARGET_KERNEL_ZIMAGE),y)
KERNEL:=$(LINUX_DIR)/arch/h8300/boot/zImage
OSTRIP:=
@@ -16,6 +20,10 @@ KERNEL:=$(LINUX_DIR)/arch/h8300/boot/vmlinux.srec
endif
# target helper text
+ifeq ($(ADK_TARGET_FS),archive)
+targethelp:
+ @echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSTARBALL)"
+endif
ifeq ($(ADK_TARGET_FS),initramfs)
targethelp:
@echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}'
@@ -57,6 +65,9 @@ kernel-install: kernel-strip
@cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/$(TARGET_KERNEL)
# filesystem specific targets
+ifeq ($(ADK_TARGET_FS),archive)
+imageinstall: $(FW_DIR)/$(ROOTFSTARBALL) targethelp
+endif
ifeq ($(ADK_TARGET_FS),initramfs)
imageinstall: kernel-install $(FW_DIR)/$(INITRAMFS) targethelp
endif
diff --git a/target/h8300/systems/hitachi-edosk2674 b/target/h8300/systems/hitachi-edosk2674
index a9a125fcc..dcd6d35df 100644
--- a/target/h8300/systems/hitachi-edosk2674
+++ b/target/h8300/systems/hitachi-edosk2674
@@ -4,6 +4,7 @@ config ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
select ADK_TARGET_PACKAGE_TXZ
select ADK_TARGET_KERNEL_WITH_COMPRESSION
select ADK_HOST_BUILD_U_BOOT_H8300
+ select ADK_TARGET_WITH_SERIAL
select ADK_TARGET_KERNEL_UIMAGEBIN
help
Hitachi EDOSK2674 H8S development board.