diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2022-04-26 09:26:25 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2022-04-26 11:52:42 +0200 |
commit | 3a4927effd8e6c17c2fae03125e86a61b23a9c6f (patch) | |
tree | 249359847b157c537cee460ddb0b947e64d5b4d9 /recipes-bsp | |
parent | 67ed87eaf3e7d84acabcee05edf1c09fd8b9daea (diff) | |
download | meta-freescale-3a4927effd8e6c17c2fae03125e86a61b23a9c6f.tar.gz |
imx-boot: don't restrict to the nxp bsp only
Choosing if the boot container FIT image is built with imx-mkimage/
imx-boot or the U-Boot provided binman can be done with the
imx-boot-container MACHINEOVERRIDES.
Change the used overrides from *nxp-bsp to *generic-bsp.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/imx-mkimage/imx-boot_1.0.bb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb index 88689ead..4e1b860a 100644 --- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb +++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb | |||
@@ -10,8 +10,8 @@ SECTION = "BSP" | |||
10 | inherit use-imx-security-controller-firmware | 10 | inherit use-imx-security-controller-firmware |
11 | 11 | ||
12 | IMX_EXTRA_FIRMWARE = "firmware-imx-8 imx-sc-firmware imx-seco" | 12 | IMX_EXTRA_FIRMWARE = "firmware-imx-8 imx-sc-firmware imx-seco" |
13 | IMX_EXTRA_FIRMWARE:mx8m-nxp-bsp = "firmware-imx-8m" | 13 | IMX_EXTRA_FIRMWARE:mx8m-generic-bsp = "firmware-imx-8m" |
14 | IMX_EXTRA_FIRMWARE:mx8x-nxp-bsp = "imx-sc-firmware imx-seco" | 14 | IMX_EXTRA_FIRMWARE:mx8x-generic-bsp = "imx-sc-firmware imx-seco" |
15 | DEPENDS += " \ | 15 | DEPENDS += " \ |
16 | u-boot \ | 16 | u-boot \ |
17 | ${IMX_EXTRA_FIRMWARE} \ | 17 | ${IMX_EXTRA_FIRMWARE} \ |
@@ -20,7 +20,7 @@ DEPENDS += " \ | |||
20 | " | 20 | " |
21 | # xxd is a dependency of fspi_packer.sh | 21 | # xxd is a dependency of fspi_packer.sh |
22 | DEPENDS += "xxd-native" | 22 | DEPENDS += "xxd-native" |
23 | DEPENDS:append:mx8m-nxp-bsp = " u-boot-mkimage-native dtc-native" | 23 | DEPENDS:append:mx8m-generic-bsp = " u-boot-mkimage-native dtc-native" |
24 | BOOT_NAME = "imx-boot" | 24 | BOOT_NAME = "imx-boot" |
25 | PROVIDES = "${BOOT_NAME}" | 25 | PROVIDES = "${BOOT_NAME}" |
26 | 26 | ||
@@ -61,19 +61,19 @@ IMXBOOT_TARGETS ?= \ | |||
61 | 'flash_multi_cores flash_dcd', d), d)}" | 61 | 'flash_multi_cores flash_dcd', d), d)}" |
62 | 62 | ||
63 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" | 63 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" |
64 | BOOT_STAGING:mx8m-nxp-bsp = "${S}/iMX8M" | 64 | BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M" |
65 | BOOT_STAGING:mx8dx-nxp-bsp = "${S}/iMX8QX" | 65 | BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX" |
66 | 66 | ||
67 | SOC_FAMILY = "INVALID" | 67 | SOC_FAMILY = "INVALID" |
68 | SOC_FAMILY:mx8-nxp-bsp = "mx8" | 68 | SOC_FAMILY:mx8-generic-bsp = "mx8" |
69 | SOC_FAMILY:mx8m-nxp-bsp = "mx8m" | 69 | SOC_FAMILY:mx8m-generic-bsp = "mx8m" |
70 | SOC_FAMILY:mx8x-nxp-bsp = "mx8x" | 70 | SOC_FAMILY:mx8x-generic-bsp = "mx8x" |
71 | 71 | ||
72 | REV_OPTION ?= "" | 72 | REV_OPTION ?= "" |
73 | REV_OPTION:mx8qxp-nxp-bsp = \ | 73 | REV_OPTION:mx8qxp-generic-bsp = \ |
74 | "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', '', \ | 74 | "${@bb.utils.contains('MACHINE_FEATURES', 'soc-revb0', '', \ |
75 | 'REV=C0', d)}" | 75 | 'REV=C0', d)}" |
76 | REV_OPTION:mx8dx-nxp-bsp = "REV=C0" | 76 | REV_OPTION:mx8dx-generic-bsp = "REV=C0" |
77 | 77 | ||
78 | compile_mx8m() { | 78 | compile_mx8m() { |
79 | bbnote 8MQ/8MM/8MN/8MP boot binary build | 79 | bbnote 8MQ/8MM/8MN/8MP boot binary build |
@@ -202,4 +202,4 @@ addtask deploy before do_build after do_compile | |||
202 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 202 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
203 | FILES:${PN} = "/boot" | 203 | FILES:${PN} = "/boot" |
204 | 204 | ||
205 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" | 205 | COMPATIBLE_MACHINE = "(mx8-generic-bsp)" |