From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Fri, 17 May 2019 09:39:31 -0300 Subject: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2 In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, May 16, 2019 at 11:29 PM Peng Fan 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