Odroid-XU4: Initial commit (#303)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user