initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
config BR2_PACKAGE_IMX_SECO
bool "imx-seco"
depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 || \
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
help
Firmware file for the i.MX8 and i.MX8X Security Controller.
This library is provided by Freescale as-is and doesn't have
an upstream.
if BR2_PACKAGE_IMX_SECO
choice
prompt "i.MX Seco Firmware Release"
default BR2_PACKAGE_IMX_SECO_MX8QMB0 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8
default BR2_PACKAGE_IMX_SECO_MX8QXC0 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
help
Select the appropriate ahab container image to install
to match the iMX asics revision.
Note - mismatches result in a failure to boot
config BR2_PACKAGE_IMX_SECO_MX8DXLA0
bool "imx-seco-mx8dxla0"
depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8
config BR2_PACKAGE_IMX_SECO_MX8DXLA1
bool "imx-seco-mx8dxla1"
depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8
config BR2_PACKAGE_IMX_SECO_MX8QMB0
bool "imx-seco-mx8qmb0"
depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8
config BR2_PACKAGE_IMX_SECO_MX8QXB0
bool "imx-seco-mx8qxb0"
depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
config BR2_PACKAGE_IMX_SECO_MX8QXC0
bool "imx-seco-mx8qxc0"
depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
endchoice
config BR2_PACKAGE_IMX_SECO_AHAB_CONTAINER_IMAGE
string
default "mx8dxla0-ahab-container.img" if BR2_PACKAGE_IMX_SECO_MX8DXLA0
default "mx8dxla1-ahab-container.img" if BR2_PACKAGE_IMX_SECO_MX8DXLA1
default "mx8qmb0-ahab-container.img" if BR2_PACKAGE_IMX_SECO_MX8QMB0
default "mx8qxb0-ahab-container.img" if BR2_PACKAGE_IMX_SECO_MX8QXB0
default "mx8qxc0-ahab-container.img" if BR2_PACKAGE_IMX_SECO_MX8QXC0
endif
@@ -0,0 +1,4 @@
# Locally calculated
sha256 08cf25a4be6841ca7264a50b29c311b386eae1c02fced8a3b55fd04213acb4bc imx-seco-3.7.5.bin
sha256 72edc2072c86d93aa1993d15d4d19d96270af3749b0108995ad50c81d1461f52 EULA
sha256 9c16421e7c702f56756650b8ac954d34556327e598a8666e6e8f4eb3a1aa95f1 COPYING
@@ -0,0 +1,30 @@
################################################################################
#
# imx-seco
#
################################################################################
IMX_SECO_VERSION = 3.7.5
IMX_SECO_SITE = $(FREESCALE_IMX_SITE)
IMX_SECO_SOURCE = imx-seco-$(IMX_SECO_VERSION).bin
IMX_SECO_LICENSE = NXP Semiconductor Software License Agreement
IMX_SECO_LICENSE_FILES = EULA COPYING
IMX_SECO_REDISTRIBUTE = NO
define IMX_SECO_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_SECO_DL_DIR)/$(IMX_SECO_SOURCE))
endef
IMX_SECO_INSTALL_IMAGES = YES
# SECO firmware is needed when generating imx8-boot-sd.bin which
# is done in post-image script.
IMX_SECO_AHAB_CONTAINER_IMAGE = $(call qstrip,$(BR2_PACKAGE_IMX_SECO_AHAB_CONTAINER_IMAGE))
define IMX_SECO_INSTALL_IMAGES_CMDS
cp $(@D)/firmware/seco/$(IMX_SECO_AHAB_CONTAINER_IMAGE) \
$(BINARIES_DIR)/ahab-container.img
endef
$(eval $(generic-package))