On 2017/2/23 2:29, Alex Elder wrote:
On 02/22/2017 02:42 AM, Ard Biesheuvel wrote:
How to solve the conflicts between GPT and Bootloader is really a thorny problem for me.Can you give me some advises about this problem?
Doesn't eMMC support separate boot regions? I think the boot ROM should use the boot region, and switch the eMMC to normal mode before handing over to UEFI. This way, it can put the partition table wherever it likes to.
I haven't really with eMMC, but I wondered what the purpose of the boot regions was. If it's this, we should use it.
We should have used the boot regions,but the boot Rom was fixed to read the fastboot at the start address of User data region in Poplar board for some reasons.
No,it doesn't support separate boot regions in Poplar board. The boot ROM only can recognize the bootloader at the start address of user data region. Therefor, the first and most important thing is to solve the conflicts between GPT and Bootloader. Now,I am reading the GPT driver source code in EDKII core,and trying to find the reason why UEFI can't recognized the backup GPT Header which was located in the last LBA of the EMMC device.
That's a good idea.
Don't we have other ways to make UEFI recognize the GPT in other place? Can you give me some advises about this problem?
The backup GPT header is for recovery only. We should not rely on it for normal operation.
I agree with this completely.
I also agree with this,but to be honest, I have no idea with MS-DOS.
-Alex
.