[Buildroot] [PATCH 1/1] board/freescale/common/imx: use nodtb variant in uboot images for 8M

Julien Olivain juju at cotds.org
Tue Dec 17 20:26:15 UTC 2019


Hi Thomas,

I will send an updated version of the patch with more details in
the commit log.

On 2019-12-16 22:57, Thomas Petazzoni wrote:
> Hello Julien,
> 
> +Fabio in Cc.
> 
> On Mon,  2 Dec 2019 21:03:33 +0100
> Julien Olivain <juju at cotds.org> wrote:
> 
>> When using u-boot.bin, u-boot is using its builtin dtb which may not
>> be suitable for all cases. For TechNexion Pico Pi i.MX8M and
>> i.MX8MMini, this break the USB and UMS commands. Since those boards
>> does not have SD card slots, a recovery serial download is needed at
>> every update.
> 
> Could you give more details? If it doesn't use a built-in DTB, which
> DTB gets used?

Basically, without this patch, the U-Boot DTB is included twice (once in
builtin u-boot.bin image, and a second time in the boot FIT image).

> How does using the built-in DTB breaks USB and UMS ?

Since the second correct DTB is ignored, the default embedded one
is used, which is for another board (fsl-imx8mm-evk), which produce
some initialization errors on non-EVK boards.

> Thanks,
> 
> Thomas

Best regards,

Julien.


More information about the buildroot mailing list