mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-25 05:47:00 +00:00
7fbee0c7b2
The generic bootscript is tailored around a downstream firmware and doesn't work on a firmware built from mainline components. Add a bootscript which: * sets $console since mainline u-boot doesn't do that * uses distro boot variables, so OpenWRT can be booted off any supported device when using a mainline firmware * sets missing distro boot variables for the downstream firmware Booting with a downstream firmware is unchanged. Booting with a mainline firmware now works. Signed-off-by: Andre Heider <a.heider@gmail.com> (cherry picked from commit c43b45863e38fb18a486601c1601f1485d649c0b)
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
ifeq ($(SUBTARGET),cortexa53)
|
|
|
|
define Device/globalscale_espressobin
|
|
$(call Device/Default-arm64)
|
|
DEVICE_TITLE := ESPRESSObin (Marvell Armada 3700 Community Board)
|
|
DEVICE_DTS := armada-3720-espressobin
|
|
BOOT_SCRIPT := espressobin
|
|
endef
|
|
TARGET_DEVICES += globalscale_espressobin
|
|
|
|
define Device/globalscale_espressobin-emmc
|
|
$(call Device/Default-arm64)
|
|
DEVICE_TITLE := ESPRESSObin eMMC (Marvell Armada 3700 Community Board)
|
|
DEVICE_DTS := armada-3720-espressobin-emmc
|
|
BOOT_SCRIPT := espressobin
|
|
endef
|
|
TARGET_DEVICES += globalscale_espressobin-emmc
|
|
|
|
define Device/globalscale_espressobin-v7
|
|
$(call Device/Default-arm64)
|
|
DEVICE_TITLE := ESPRESSObin V7 (Marvell Armada 3700 Community Board)
|
|
DEVICE_DTS := armada-3720-espressobin-v7
|
|
BOOT_SCRIPT := espressobin
|
|
endef
|
|
TARGET_DEVICES += globalscale_espressobin-v7
|
|
|
|
define Device/globalscale_espressobin-v7-emmc
|
|
$(call Device/Default-arm64)
|
|
DEVICE_TITLE := ESPRESSObin V7 eMMC (Marvell Armada 3700 Community Board)
|
|
DEVICE_DTS := armada-3720-espressobin-v7-emmc
|
|
BOOT_SCRIPT := espressobin
|
|
endef
|
|
TARGET_DEVICES += globalscale_espressobin-v7-emmc
|
|
|
|
define Device/marvell_armada-3720-db
|
|
$(call Device/Default-arm64)
|
|
DEVICE_TITLE := Marvell Armada 3720 Development Board DB-88F3720-DDR3
|
|
DEVICE_DTS := armada-3720-db
|
|
endef
|
|
TARGET_DEVICES += marvell_armada-3720-db
|
|
|
|
endif
|