Hi,
We have a need to load emmc uboot from another uboot. For testing loaded 1st uboot form PC via USB. When trying to read uboot.imx from emmc, it does not match with uboot file which was flashed. Basically I want to jump from one uboot to another. Is there any emmc driver files which I can refer for im53?
Solved! Go to Solution.
After initializing mmc.
mmc_select_hwpart(dev, part);
mmc->block_dev.block_read(dev, blk_start, blk_count, buf);
After initializing mmc.
mmc_select_hwpart(dev, part);
mmc->block_dev.block_read(dev, blk_start, blk_count, buf);
to give you a background here :
Our customer custom device based on i.Mx53 boot directly from an eMMC chip from Micron (N2M400FDB311A3C). It is version 4.41. The eMMC chip has gone end of life and newer versions while they should be backwards compatible do not work because of an issue with the i.MX53 boot ROM. Here is the response our customer received from NXP
NXP Response - July 2017: This is a limitation for this old i.MX part. The i.MX53 supports eMMC 4.5 but not at the booting. Unfortunately, the ROM cannot be updated with a newer version and this reduces the option to boot from external memory. If customers use SPI for instance just for the booting, they can continue using eMMC after it boots.
Customer did some last buy, but they are running out of N2M400FDB311A3C, Hence requested for alternate solution.
Hence as a solution we had targeted to boot from I2C EEPROM (M24M02) first from BOOT ROM, and then switch to eMMC uboot again and then boot Linux from eMMC.
We have 2 issues if I set priority than:
--
Thanks
Ashish Agarwal