imx7d-pico: Set UBOOT_SUFFIX to img

Since commit 776932e187f38ca53ed57fc662461ba0da005520 ("Rework the u-boot-fslc and u-boot-imx settings logic") in [1],
we need to override the default imx-base.inc value that uses
UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}

Fixes:

|   ./tools/mkimage -n spl/u-boot-spl.cfgout -T imximage -e 0x00912000 -d spl/u-boot-spl.bin SPL >SPL.log  && cat SPL.log
| Image Type:   Freescale IMX Boot Image
| Image Ver:    2 (i.MX53/6/7 compatible)
| Mode:         DCD
| Data Size:    45056 Bytes = 44.00 KiB = 0.04 MiB
| Load Address: 00911420
| Entry Point:  00912000
| make[1]: Leaving directory '/build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/build/pico-dwarf-imx7d_defconfig'
| make: Leaving directory '/build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/git'
| /build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/temp/run.do_compile.1244816: 187: /build/tmp/work/imx7d_pico-poky-linux-gnueabi/u-boot-fslc/v2021.07+gitAUTOINC+587e796995-r0/temp/run.do_compile.1244816: Bad substitution

See [2]

[1] - 776932e187
[2] - https://github.com/Freescale/meta-freescale/pull/837#issuecomment-897974255

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
This commit is contained in:
Pierre-Jean Texier 2021-08-13 23:24:02 +02:00
parent 46c1c81316
commit 7670b84e93

View File

@ -22,6 +22,7 @@ KERNEL_DEVICETREE = " \
SPL_BINARY = "SPL"
UBOOT_BINARY = "u-boot-dtb.img"
UBOOT_SUFFIX = "img"
UBOOT_MAKE_TARGET = ""
UBOOT_CONFIG ??= "dwarf hobbit nymph pi generic"