package/freescale-imx: add BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL
This commit adds support for the i.MX8DXL SoC from NXP, by adding a new BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL and propagate its support in the affected packages. Signed-off-by: Stefan Nickl <Stefan.Nickl@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
89d39912f9
commit
beb74069ef
@ -63,6 +63,8 @@ main ()
|
||||
dd if=${BINARIES_DIR}/u-boot-hash.bin of=${BINARIES_DIR}/u-boot-atf.bin bs=1K seek=128
|
||||
if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8=y$" ${BR2_CONFIG}; then
|
||||
${HOST_DIR}/bin/mkimage_imx8 -soc QM -rev B0 -append ${BINARIES_DIR}/ahab-container.img -c -scfw ${BINARIES_DIR}/mx8qm-mek-scfw-tcm.bin -ap ${BINARIES_DIR}/u-boot-atf.bin a53 0x80000000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
|
||||
elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL=y$" ${BR2_CONFIG}; then
|
||||
${HOST_DIR}/bin/mkimage_imx8 -soc DXL -rev B0 -append ${BINARIES_DIR}/ahab-container.img -c -scfw ${BINARIES_DIR}/mx8dxl-evk-scfw-tcm.bin -ap ${BINARIES_DIR}/u-boot-atf.bin a35 0x80000000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
|
||||
else
|
||||
${HOST_DIR}/bin/mkimage_imx8 -soc QX -rev B0 -append ${BINARIES_DIR}/ahab-container.img -c -scfw ${BINARIES_DIR}/mx8qx-mek-scfw-tcm.bin -ap ${BINARIES_DIR}/u-boot-atf.bin a35 0x80000000 -out ${BINARIES_DIR}/imx8-boot-sd.bin
|
||||
fi
|
||||
|
@ -46,6 +46,8 @@ genimage_type()
|
||||
echo "genimage.cfg.template_imx8"
|
||||
elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X=y$" ${BR2_CONFIG}; then
|
||||
echo "genimage.cfg.template_imx8"
|
||||
elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL=y$" ${BR2_CONFIG}; then
|
||||
echo "genimage.cfg.template_imx8"
|
||||
elif grep -Eq "^BR2_LINUX_KERNEL_INSTALL_TARGET=y$" ${BR2_CONFIG}; then
|
||||
if grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then
|
||||
echo "genimage.cfg.template_no_boot_part_spl"
|
||||
|
@ -57,6 +57,10 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP
|
||||
|
||||
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
|
||||
bool "imx8x"
|
||||
|
||||
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL
|
||||
bool "imx8dxl"
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM
|
||||
@ -100,7 +104,8 @@ config BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM || \
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN || \
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP || \
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X || \
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL
|
||||
|
||||
source "package/freescale-imx/imx-alsa-plugins/Config.in"
|
||||
source "package/freescale-imx/imx-codec/Config.in"
|
||||
|
@ -34,6 +34,7 @@ config BR2_PACKAGE_FIRMWARE_IMX_VPU_FW_NAME
|
||||
default "imx6" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
|
||||
default "imx8" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8
|
||||
default "imx8" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
|
||||
default "imx8" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL
|
||||
|
||||
config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_HDMI_FW
|
||||
bool
|
||||
|
@ -1,7 +1,8 @@
|
||||
config BR2_PACKAGE_IMX_SC_FIRMWARE
|
||||
bool "imx-sc-firmware"
|
||||
depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 || \
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X || \
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL
|
||||
help
|
||||
System Control Unit Firmware blobs for the Freescale i.MX8
|
||||
SoCs.
|
||||
|
@ -25,6 +25,10 @@ define IMX_SC_FIRMWARE_INSTALL_IMAGES_CMDS
|
||||
cp $(@D)/mx8qx-mek-scfw-tcm.bin $(BINARIES_DIR)/mx8qx-mek-scfw-tcm.bin
|
||||
cp $(@D)/mx8qx-val-scfw-tcm.bin $(BINARIES_DIR)/mx8qx-val-scfw-tcm.bin
|
||||
endef
|
||||
else ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL),y)
|
||||
define IMX_SC_FIRMWARE_INSTALL_IMAGES_CMDS
|
||||
cp $(@D)/mx8dxl-evk-scfw-tcm.bin $(BINARIES_DIR)/
|
||||
endef
|
||||
else ifeq ($(BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8),y)
|
||||
define IMX_SC_FIRMWARE_INSTALL_IMAGES_CMDS
|
||||
cp $(@D)/mx8qm-*-scfw-tcm.bin $(BINARIES_DIR)/
|
||||
|
@ -1,7 +1,8 @@
|
||||
config BR2_PACKAGE_IMX_SECO
|
||||
bool "imx-seco"
|
||||
depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 || \
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X || \
|
||||
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL
|
||||
help
|
||||
Firmware file for the i.MX8 and i.MX8X Security Controller.
|
||||
|
||||
@ -14,6 +15,7 @@ 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
|
||||
default BR2_PACKAGE_IMX_SECO_MX8DXLB0 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL
|
||||
help
|
||||
Select the appropriate ahab container image to install
|
||||
to match the iMX asics revision.
|
||||
@ -30,7 +32,7 @@ config BR2_PACKAGE_IMX_SECO_MX8DXLA1
|
||||
|
||||
config BR2_PACKAGE_IMX_SECO_MX8DXLB0
|
||||
bool "imx-seco-mx8dxlb0"
|
||||
depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X
|
||||
depends on BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8DXL
|
||||
|
||||
config BR2_PACKAGE_IMX_SECO_MX8QMB0
|
||||
bool "imx-seco-mx8qmb0"
|
||||
|
Loading…
Reference in New Issue
Block a user