Odroid-XU4: Initial commit (#303)

This commit is contained in:
Ryan Bray
2019-01-17 03:02:47 -07:00
committed by Pascal Vizeli
parent 07bec45d8a
commit fffa24ed1e
11 changed files with 6435 additions and 2 deletions

View File

@@ -14,6 +14,11 @@ config BR2_PACKAGE_HARDKERNEL_BOOT_ODROID_C2
help
For the Odroid-C2
config BR2_PACKAGE_HARDKERNEL_BOOT_ODROID_XU4
bool "Odroid-XU4"
help
For the Odroid-XU4
endchoice
endif

View File

@@ -4,7 +4,7 @@
#
################################################################################
HARDKERNEL_BOOT_VERSION = 205c7b3259559283161703a1a200b787c2c445a5
HARDKERNEL_BOOT_SOURCE = $(HARDKERNEL_BOOT_VERSION).tar.gz
HARDKERNEL_BOOT_SITE = https://github.com/hardkernel/u-boot/archive
HARDKERNEL_BOOT_LICENSE = GPL-2.0+
@@ -14,6 +14,8 @@ HARDKERNEL_BOOT_DEPENDENCIES = uboot
ifeq ($(BR2_PACKAGE_HARDKERNEL_BOOT_ODROID_C2),y)
HARDKERNEL_BOOT_VERSION = 205c7b3259559283161703a1a200b787c2c445a5
HARDKERNEL_BOOT_BINS += sd_fuse/bl1.bin.hardkernel \
u-boot.gxbb
define HARDKERNEL_BOOT_BUILD_CMDS
@@ -28,6 +30,15 @@ define HARDKERNEL_BOOT_BUILD_CMDS
--output $(@D)/u-boot.img
dd if=$(@D)/u-boot.img of=$(@D)/u-boot.gxbb bs=512 skip=96
endef
else ifeq ($(BR2_PACKAGE_HARDKERNEL_BOOT_ODROID_XU4),y)
HARDKERNEL_BOOT_VERSION = 88af53fbcef8386cb4d5f04c19f4b2bcb69e90ca
HARDKERNEL_BOOT_BINS += sd_fuse/bl1.bin.hardkernel \
sd_fuse/bl2.bin.hardkernel.720k_uboot \
sd_fuse/tzsw.bin.hardkernel
define HARDKERNEL_BOOT_BUILD_CMDS
endef
endif
define HARDKERNEL_BOOT_INSTALL_IMAGES_CMDS