Initial Commit
- initial default booting image
This commit is contained in:
27
package/rockchip-rkbin/Config.in
Normal file
27
package/rockchip-rkbin/Config.in
Normal file
@@ -0,0 +1,27 @@
|
||||
config BR2_PACKAGE_ROCKCHIP_RKBIN
|
||||
bool "rockchip-rkbin"
|
||||
depends on BR2_arm || BR2_aarch64
|
||||
help
|
||||
This package provides Rockchip SoC binary blobs for U-Boot.
|
||||
|
||||
if BR2_PACKAGE_ROCKCHIP_RKBIN
|
||||
|
||||
config BR2_PACKAGE_ROCKCHIP_RKBIN_TPL_FILENAME
|
||||
string "Rockchip rkbin tpl file path"
|
||||
help
|
||||
Path to the tpl file inside the rkbin repository. The
|
||||
specified file will be copied and used by U-Boot as tpl.
|
||||
|
||||
config BR2_PACKAGE_ROCKCHIP_RKBIN_BL31_FILENAME
|
||||
string "Rockchip rkbin bl31 file path"
|
||||
help
|
||||
Path to the bl31 file inside the rkbin repository. The
|
||||
specified file will be copied and used by U-Boot as bl31.
|
||||
|
||||
config BR2_PACKAGE_ROCKCHIP_RKBIN_TEE_FILENAME
|
||||
string "Rockchip rkbin tee file path"
|
||||
help
|
||||
Path to the TEE file inside the rkbin repository. The
|
||||
specified file will be copied and used by U-Boot as TEE.
|
||||
|
||||
endif # BR2_PACKAGE_ROCKCHIP_RKBIN
|
||||
3
package/rockchip-rkbin/rockchip-rkbin.hash
Normal file
3
package/rockchip-rkbin/rockchip-rkbin.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 4a70cdc877600b75c0a885a8ebe1aa68f0800a0010aa580c105cbd9386140fa7 rockchip-rkbin-f43a462e7a1429a9d407ae52b4745033034a6cf9-git4.tar.gz
|
||||
sha256 d2765124a2c24d71aba3cbc6cdd6975a5a297821264eb6c26378a4c16cd16e92 LICENSE
|
||||
30
package/rockchip-rkbin/rockchip-rkbin.mk
Normal file
30
package/rockchip-rkbin/rockchip-rkbin.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# rockchip-rkbin
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ROCKCHIP_RKBIN_VERSION = f43a462e7a1429a9d407ae52b4745033034a6cf9
|
||||
ROCKCHIP_RKBIN_SITE = https://github.com/rockchip-linux/rkbin.git
|
||||
ROCKCHIP_RKBIN_SITE_METHOD = git
|
||||
ROCKCHIP_RKBIN_LICENSE = PROPRIETARY
|
||||
ROCKCHIP_RKBIN_LICENSE_FILES = LICENSE
|
||||
|
||||
ROCKCHIP_RKBIN_INSTALL_IMAGES = YES
|
||||
ROCKCHIP_RKBIN_INSTALL_TARGET = NO
|
||||
|
||||
ROCKCHIP_RKBIN_BL31_FILENAME = $(call qstrip,$(BR2_PACKAGE_ROCKCHIP_RKBIN_BL31_FILENAME))
|
||||
ROCKCHIP_RKBIN_TPL_FILENAME = $(call qstrip,$(BR2_PACKAGE_ROCKCHIP_RKBIN_TPL_FILENAME))
|
||||
ROCKCHIP_RKBIN_TEE_FILENAME = $(call qstrip,$(BR2_PACKAGE_ROCKCHIP_RKBIN_TEE_FILENAME))
|
||||
|
||||
define ROCKCHIP_RKBIN_INSTALL_IMAGES_CMDS
|
||||
$(foreach f, \
|
||||
$(ROCKCHIP_RKBIN_BL31_FILENAME) \
|
||||
$(ROCKCHIP_RKBIN_TPL_FILENAME) \
|
||||
$(ROCKCHIP_RKBIN_TEE_FILENAME) \
|
||||
, \
|
||||
$(INSTALL) -D -m 0644 -t $(BINARIES_DIR) $(@D)/$(f)
|
||||
)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user