On Fri, May 17, 2019 at 6:09 PM Fabio Estevam <feste...@gmail.com> wrote: > > On Thu, May 16, 2019 at 11:29 PM Peng Fan <peng....@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) _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot