Re: [U-Boot] [PATCH] spl: spl_mmc: fix getting raw_sect when boot from emmc boot partition

2019-10-23 Thread Peng Fan
> Subject: Re: [PATCH] spl: spl_mmc: fix getting raw_sect when boot from > emmc boot partition > > Hi Peng, > > > On i.MX8, when booting from eMMC boot partition, the whole flash.bin > > is stored in boot partition, however SPL switches to user partition > > during the init of mmc driver: > >

Re: [U-Boot] [PATCH] spl: spl_mmc: fix getting raw_sect when boot from emmc boot partition

2019-10-23 Thread Lukasz Majewski
Hi Peng, > On i.MX8, when booting from eMMC boot partition, the whole flash.bin > is stored in boot partition, however SPL switches to user partition > during the init of mmc driver: > spl_mmc_load() -> mmc_init() > > Then it tries to load the container image in >

[U-Boot] [PATCH] spl: spl_mmc: fix getting raw_sect when boot from emmc boot partition

2019-10-22 Thread Peng Fan
On i.MX8, when booting from eMMC boot partition, the whole flash.bin is stored in boot partition, however SPL switches to user partition during the init of mmc driver: spl_mmc_load() -> mmc_init() Then it tries to load the container image in spl_mmc_get_uboot_raw_sector(), but here it reads the