[U-Boot] Cannot boot mx6qsabred with 2019.07-rc2

Adam Ford aford173 at gmail.com
Thu May 23 18:28:20 UTC 2019


On Thu, May 23, 2019 at 12:59 PM Fabio Estevam <festevam at gmail.com> wrote:
>
> Hi Marek,
>
> On Thu, May 23, 2019 at 2:54 PM Marek Vasut <marek.vasut at gmail.com> wrote:
>
> > Why do you need to load fitImage via SDP btw ?
>
> Let's suppose a i.MX6 board that boots from eMMC is bricked and we
> need to load a new U-Boot to repair it.
>
> imx_usb_loader is a very convenient tool to achieve this.

I have been following this thread, because I have been working through
attempting to migrate the imx6q_logic board to SPL_OF_CONTROL which
requires SPL_DM.

To working around the issue you're describing, I played with disabling
 SPL_DM_USB.  With that removed, I can still use nearly all the
benefits of SPL_DM without losing access to imx_usb_loader.
See log:

U-Boot SPL 2019.07-rc2-05214-g3c328a45af (May 23 2019 - 13:24:26 -0500)
Trying to boot from USB SDP
SDP: initialize...
SDP: handle requests...
Downloading file of size 626728 to 0x177fffc0... done
Jumping to header at 0x177fffc0
Header Tag is not an IMX image


U-Boot 2019.07-rc2-05214-g3c328a45af (May 23 2019 - 13:24:26 -0500)

CPU:   Freescale i.MX6Q rev1.5 at 792 MHz
Reset cause: POR
Model: Logic PD i.MX6QD SOM-M3 (HDMI)
DRAM:  2 GiB
NAND:  0 MiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from FAT... OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet at 2188000
Hit any key to stop autoboot:  0
i.MX6 Logic #

Having said that, I haven't posted all my updates yet, because I am
working on MMC start issues between MMC1 and MMC2.  If you'd like to
see some patches, etc. I can share them with you.

adam
>
> This method has been working well for a long time, but after DM
> transition we can no longer load and run SPL + u-boot-dtb.img via SDP.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot


More information about the U-Boot mailing list