Hi Holger, On Thu, Jul 30, 2015 at 11:31:38AM +0200, Holger Schurig wrote: > 2015-07-29 9:47 GMT+02:00 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>: > > + * imx6_esdhc_start_image - Load and start an image from USDHC controller > > + * @instance: The USDHC controller instance (0..4) > > + * > > + * This uses imx6_esdhc_load_image() to load an image from SPI NOR flash. > > Hmm, either it's from USDHC or from SPI-NOR :-) Right, will fix. > > > Question: does this load an image from an eMMC boot partition (e.g. > the tiny ones that some of them have?) Hm, I don't know. The partition must actively be switched. I know that the i.MX6 boot ROM actually loads the image from the boot partition configured in the eMMC. imx6_esdhc_load_image() relies on the initialization done by the boot ROM, so if the boot ROM just leaves the eMMC in the state it is before jumping to barebox then barebox should automatically load the image from the correct place. I haven't tested it though. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox