[U-Boot] Problems to build i.MX8MQ EVK board

Stefano Babic sbabic at denx.de
Thu Jan 31 13:21:45 UTC 2019


Hi Breno,

On 31/01/19 14:16, Breno Matheus Lima wrote:
> Hi Peng,
> 
> I'm trying to build imx8mq_evk_defconfig target by following the
> README file under board/freescale/imx8mq_evk/.
> 
> I'm seeing the following error with latest U-Boot:
> 
> ./tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator

I think this is due to the "==" operator that is not accepted by your
shell, if you are not using bash. There is a patch but I asked to do in
a different way.

	http://patchwork.ozlabs.org/patch/1019908/

> ./tools/imx8m_image.sh: 15: [: signed_hdmi_imx8m.bin: unexpected operator
> ./tools/imx8m_image.sh: 15: [: spl/u-boot-spl-ddr.bin: unexpected operator
> ./tools/imx8m_image.sh: 15: [: spl/u-boot-spl-ddr.bin: unexpected operator
> WARNING './spl/u-boot-spl-ddr.bin' not found, resulting binary is not-functional
> 
> Seems that imx8m_image.sh script is not generating the u-boot-spl-ddr.bin file.
> 
> Do you happen to know if I'm missing something else?
> 
> I have the following firmwares in place:
> 
> - bl31.bin
> - signed_hdmi_imx8m.bin
> - lpddr4_pmu_train_1d_dmem.bin
> - lpddr4_pmu_train_1d_imem.bin
> - lpddr4_pmu_train_2d_dmem.bin
> - lpddr4_pmu_train_2d_imem.bin
> 

Regards,
Stefano


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list