On 13/09/2017 23:29, Stefan Agner wrote: > From: Stefan Agner <stefan.ag...@toradex.com> > > The current mechanism using SCR/GPR registers work well when > the serial downloader boot mode has been selected explicitly > (either via boot mode pins or using bmode command). However, > in case the system entered boot ROM due to unbootable primary > boot devices (e.g. empty eMMC), the SPL fails to detect that > it has been downloaded through serial loader and tries to > continue booting from eMMC: > Trying to boot from MMC1 > mmc_load_image_raw_sector: mmc block read error > SPL: failed to boot from all boot devices > ### ERROR ### Please RESET the board ### > > The only known way to reliably detect USB serial downloader > is by checking the USB PHY receiver block power state... > > Signed-off-by: Stefan Agner <stefan.ag...@toradex.com> > Acked-by: Marcel Ziswiler <marcel.ziswi...@toradex.com> > Tested-by: Fabio Estevam <fabio.este...@nxp.com> > ---
Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot