diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2021-01-25 15:53:45 +0100 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-02-04 16:33:19 -0300 |
commit | 99bd73bec2a9d84509cb012a08f9062cb65fb24e (patch) | |
tree | 6ac45d151deccee1e04cd69643924115ec502161 /conf/machine/include/imx-base.inc | |
parent | 930fcee267e4ea79bdcf38b1eed55502b83d228a (diff) | |
download | meta-freescale-99bd73bec2a9d84509cb012a08f9062cb65fb24e.tar.gz |
machines: imx-base.inc: fix failing u-boot builds
If using a fsl-xxx distro the prefered provider of U-Boot is
u-boot-imx. That U-Boot didn't make the switch to a unified dl/q/qp
binary and does not use an spl. For the imx6ulevk it does not use an
spl.
The below commits try to address that, however the change is not
limited to
- the fsl distro but rather uses use-nxp-bsp which can be used with any distro
- some machines which do not use u-boot-imx, e.g. colibri-imx6 now fail.
Fix this by moving the configuration into the affected distro in
meta-freescale-distro and the machines.
Fixes:
c9757ea3 ("imx-base.inc: Fix use-nxp-bsp after rework")
77e56f30 ("imx-base.inc: Limit use-fsl-bsp u-boot overrides to i.MX 6 and 7")
e5cd33c9 ("u-boot.imx: Add u-boot configuration for fsl")
Build tested with fsl-xwayland & use-nxp-bsp for imx6qdlsabreauto,
imx6qdlsabresd, and imx6ulevk.
Build tested with the fslc-xwayland & use-nxp-bsp for imx6qdlsabreauto,
imx6qdlsabresd, imx6ulevk, and colibri-imx6.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit b6e910abdea72f9cd6336c4eeecdf8646e3543c2)
Diffstat (limited to 'conf/machine/include/imx-base.inc')
-rw-r--r-- | conf/machine/include/imx-base.inc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index d17fee1c2..f4dd8d79a 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
@@ -371,18 +371,6 @@ SOC_DEFAULT_WKS_FILE_mxs ?= "imx-uboot-mxs-bootpart.wks.in" | |||
371 | 371 | ||
372 | WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}" | 372 | WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}" |
373 | 373 | ||
374 | # Certain machines are set to use the mainline u-boot by default | ||
375 | # to encourage syncronization with mainline. Undo that here for | ||
376 | # machines that don't work with mainline. | ||
377 | UBOOT_MAKE_TARGET_use-nxp-bsp_mx6 = "u-boot.imx" | ||
378 | UBOOT_SUFFIX_use-nxp-bsp_mx6 = "imx" | ||
379 | SPL_BINARY_use-nxp-bsp_mx6 = "" | ||
380 | WKS_FILE_use-nxp-bsp_mx6 = "imx-uboot-bootpart.wks.in" | ||
381 | UBOOT_MAKE_TARGET_use-nxp-bsp_mx7 = "u-boot.imx" | ||
382 | UBOOT_SUFFIX_use-nxp-bsp_mx7 = "imx" | ||
383 | SPL_BINARY_use-nxp-bsp_mx7 = "" | ||
384 | WKS_FILE_use-nxp-bsp_mx7 = "imx-uboot-bootpart.wks.in" | ||
385 | |||
386 | SERIAL_CONSOLES = "115200;ttymxc0" | 374 | SERIAL_CONSOLES = "115200;ttymxc0" |
387 | SERIAL_CONSOLES_mxs = "115200;ttyAMA0" | 375 | SERIAL_CONSOLES_mxs = "115200;ttyAMA0" |
388 | 376 | ||