Initial Commit
- initial default booting image
This commit is contained in:
55
package/qoriq-mc-binary/Config.in
Normal file
55
package/qoriq-mc-binary/Config.in
Normal file
@@ -0,0 +1,55 @@
|
||||
config BR2_PACKAGE_QORIQ_MC_BINARY
|
||||
bool "qoriq-mc-binary"
|
||||
help
|
||||
The Management Complex (MC) is a key component of the
|
||||
networking subsystem named DPAA2 (Data Path Acceleration
|
||||
Architecture, second version) in some NXP Layerscape SoCs.
|
||||
|
||||
The MC coprocessor runs a closed-source, NXP-supplied
|
||||
firmware image that simplifies and abstracts the allocation
|
||||
and configuration of the networking hardware primitives into
|
||||
DPAA2 "objects".
|
||||
|
||||
https://github.com/nxp-qoriq/qoriq-mc-binary
|
||||
|
||||
if BR2_PACKAGE_QORIQ_MC_BINARY
|
||||
choice
|
||||
prompt "QorIQ MC firmware target"
|
||||
help
|
||||
Select the target SoC for the QorIQ MC firmware.
|
||||
|
||||
config BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_LS1088A
|
||||
bool "ls1088a"
|
||||
|
||||
config BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_LS2080A
|
||||
bool "ls2080a"
|
||||
|
||||
config BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_LS2088A
|
||||
bool "ls2088a"
|
||||
|
||||
config BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_LX2160A
|
||||
bool "lx2160a"
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_QORIQ_MC_BINARY_PLATFORM
|
||||
string
|
||||
default "ls1088a" if BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_LS1088A
|
||||
default "ls2080a" if BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_LS2080A
|
||||
default "ls2088a" if BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_LS2088A
|
||||
default "lx2160a" if BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_LX2160A
|
||||
|
||||
config BR2_QORIQ_MC_BINARY_SUBDIR
|
||||
string
|
||||
default "lx216xa" if BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_LX2160A
|
||||
default BR2_QORIQ_MC_BINARY_PLATFORM
|
||||
|
||||
config BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_INSTALL_PATH
|
||||
string "Path on target to install MC firmware"
|
||||
help
|
||||
The MC firmware can optionally be deployed to the target
|
||||
filesystem at the path specified here. This is useful if
|
||||
the mcinitcmd U-Boot environment variable is configured
|
||||
to load the MC firmware from the filesystem.
|
||||
|
||||
endif
|
||||
3
package/qoriq-mc-binary/qoriq-mc-binary.hash
Normal file
3
package/qoriq-mc-binary/qoriq-mc-binary.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 912ad8effd5c7b08eb277719b1e021b8b1fe4022dc3d961b419562e1d2d7a860 qoriq-mc-binary-10.39.0.tar.gz
|
||||
sha256 7733839334c6c820f01f76bff7ee9b60411effdcee8b6017e1d5bcacbdb432f6 LICENSE
|
||||
30
package/qoriq-mc-binary/qoriq-mc-binary.mk
Normal file
30
package/qoriq-mc-binary/qoriq-mc-binary.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# qoriq-mc-binary
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QORIQ_MC_BINARY_VERSION = 10.39.0
|
||||
QORIQ_MC_BINARY_SITE = $(call github,nxp-qoriq,qoriq-mc-binary,mc_release_$(QORIQ_MC_BINARY_VERSION))
|
||||
QORIQ_MC_BINARY_LICENSE = NXP Binary EULA
|
||||
QORIQ_MC_BINARY_LICENSE_FILES = LICENSE
|
||||
QORIQ_MC_BINARY_INSTALL_IMAGES = YES
|
||||
|
||||
QORIQ_MC_BINARY_PLATFORM = $(call qstrip,$(BR2_QORIQ_MC_BINARY_PLATFORM))
|
||||
QORIQ_MC_BINARY_SUBDIR = $(call qstrip,$(BR2_QORIQ_MC_BINARY_SUBDIR))
|
||||
QORIQ_MC_BINARY_BIN = mc_$(QORIQ_MC_BINARY_PLATFORM)_$(QORIQ_MC_BINARY_VERSION).itb
|
||||
QORIQ_MC_BINARY_INSTALL_PATH = $(call qstrip,$(BR2_PACKAGE_QORIQ_MC_BINARY_TARGET_INSTALL_PATH))
|
||||
|
||||
ifeq ($(QORIQ_MC_BINARY_INSTALL_PATH),)
|
||||
QORIQ_MC_BINARY_INSTALL_TARGET = NO
|
||||
endif
|
||||
|
||||
define QORIQ_MC_BINARY_INSTALL_IMAGES_CMDS
|
||||
$(INSTALL) -D $(@D)/$(QORIQ_MC_BINARY_SUBDIR)/$(QORIQ_MC_BINARY_BIN) $(BINARIES_DIR)/mc.itb
|
||||
endef
|
||||
|
||||
define QORIQ_MC_BINARY_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D $(@D)/$(QORIQ_MC_BINARY_SUBDIR)/$(QORIQ_MC_BINARY_BIN) $(TARGET_DIR)/$(QORIQ_MC_BINARY_INSTALL_PATH)/mc.itb
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user