mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 07:46:42 +00:00
create_uboot: support for hw_usb_armory
The platform name 'hw_usb_armory' targets Genode scenarios with base-hw as kernel and the Inversepath USB-Armory as target hardware. Ref #1497
This commit is contained in:
parent
640b73f5ec
commit
0b39b22e14
@ -19,12 +19,13 @@ help:
|
|||||||
$(ECHO)
|
$(ECHO)
|
||||||
$(ECHO) " <platform> can be:"
|
$(ECHO) " <platform> can be:"
|
||||||
$(ECHO) " 'hw_wand_quad'"
|
$(ECHO) " 'hw_wand_quad'"
|
||||||
|
$(ECHO) " 'hw_usb_armory'"
|
||||||
$(ECHO)
|
$(ECHO)
|
||||||
$(ECHO) " The image will be located at:"
|
$(ECHO) " The image will be located at:"
|
||||||
$(ECHO) " $(UBOOT_BUILD_DIR)<platform>/$(shell basename $(MMC_IMG))"
|
$(ECHO) " $(UBOOT_BUILD_DIR)<platform>/$(shell basename $(MMC_IMG))"
|
||||||
$(ECHO)
|
$(ECHO)
|
||||||
|
|
||||||
PLATFORMS_ARM := hw_wand_quad
|
PLATFORMS_ARM := hw_wand_quad hw_usb_armory
|
||||||
PLATFORMS := $(PLATFORMS_ARM)
|
PLATFORMS := $(PLATFORMS_ARM)
|
||||||
|
|
||||||
# get targeted platform based on the make target
|
# get targeted platform based on the make target
|
||||||
@ -76,6 +77,13 @@ FINISH_IMAGE := \
|
|||||||
dd if=$(UBOOT_IMG) of=$(MMC_IMG) bs=1k seek=68 conv=notrunc,fsync;
|
dd if=$(UBOOT_IMG) of=$(MMC_IMG) bs=1k seek=68 conv=notrunc,fsync;
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(PLATFORM), hw_usb_armory)
|
||||||
|
UBOOT_IMG := $(UBOOT_BUILD_DIR)/u-boot.imx
|
||||||
|
UBOOT_IMGS := $(UBOOT_IMG)
|
||||||
|
UBOOT_CONF := usbarmory_config
|
||||||
|
FINISH_IMAGE := dd if=$(UBOOT_IMG) of=$(MMC_IMG) bs=512 seek=0 conv=fsync
|
||||||
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Generic rules for the creation of the image
|
# Generic rules for the creation of the image
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user