[U-Boot] [PATCH] imx: imx8: fix loading container image from eMMC boot partitions

Anatolij Gustschin agust at denx.de
Tue Oct 22 07:34:22 UTC 2019


Hi Peng,

On Tue, 22 Oct 2019 02:43:31 +0000
Peng Fan peng.fan at nxp.com wrote:
...
> get_boot_device_offset already switched partition, there is no need to add
> partition switch logic in get_container_size.

I'd be very happy if it did, but it didn't, at least not in current mainline
tree. I can't find eMMC hw partition switching code in u-boot-imx tree either.
I've checked in current master and in next branches:

 https://github.com/sbabic/u-boot-imx/blob/master/arch/arm/mach-imx/imx8/image.c#L123
 https://github.com/sbabic/u-boot-imx/blob/next/arch/arm/mach-imx/imx8/image.c#L123

I'll re-spin the patch to add it in spl_mmc_get_uboot_raw_sector(), this
seems to be a better place for it.

--
Anatolij


More information about the U-Boot mailing list