[U-Boot] Cannot boot mx6qsabred with 2019.07-rc2
Jagan Teki
jagan at amarulasolutions.com
Thu May 23 16:11:16 UTC 2019
On Fri, May 17, 2019 at 6:09 PM Fabio Estevam <festevam at gmail.com> wrote:
>
> On Thu, May 16, 2019 at 11:29 PM Peng Fan <peng.fan at nxp.com> wrote:
>
> > You could enable DEBUG in SPL, and disable SPL_SDP because of size will exceeds.
> > Then see what happends.
>
> Even without DEBUG enabled we get useful error messages:
>
> U-Boot SPL 2019.07-rc2 (May 17 2019 - 09:30:33 -0300)
> Trying to boot from MMC1
> spl: could not find mmc device 0. error: -19
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
>
> This means that
> err = uclass_get_device(UCLASS_MMC, mmc_dev, &dev); fails inside
> common/spl/spl_mmc.c
>
> Why does this happen?
>
> About the size difference:
>
> Original defconfig generates an SPL of 76800 bytes
> With CONFIG_SPL_DM=y removed the SPL size goes to 68608 bytes.
>
> > I have no idea, then. My board is REV C4, chip 1.5
>
> Mine is rev C2 with i.MX6Q rev1.2
Don't know whether this is SPL size issue or not? can you try
SPL_OF_PLATDATA and TINY* I can see the size reduced with 64512 bytes
(one build issue on fdtdec_get_int undefined)
More information about the U-Boot
mailing list