在 2015年7月13日,19:01,Leif Lindholm leif.lindholm@linaro.org 写道:
Hi Haojian,
On Mon, Jul 13, 2015 at 10:15:09AM +0000, Haojian Zhuang wrote:
There's still something odd... I set a timeout of 3s in grub config and it takes closer to 10s in reality.
Actually it's 30 seconds if you set a timeout of 3s in grub config on hikey. I don't know whether there's the same issue on other ARM platforms.
I have seen this on some other platforms.
After debugging, I found the root cause. Now all ARM platforms set 10ms as timer periods. In grub, it tries to set 1 ms timer notifier. So here's the conflict. Timer notify will only be triggered when timer interrupt occurs. Even grub hope a timer event after 1ms, UEFI will provide the event notification after 10ms. The only way is to fix gEmbeddedTokenSpaceGuid.PcdTimerPeriod in UEFI.
It's not the timer period that is the problem. The timer period is mandated by the UEFI specification. But there may be a mismatch between the timer frequency and the frequency UEFI thinks the timer is running at.
I fix it in hikey UEFI now.
This sounds like a generic bug. Could you send an email to edk2-devel@lists.sourceforge.net, with Olivier.Martin@arm.com on cc?
Sure. I'll send the patch to fix it.
Regards
Haojian
Regards,
Leif _______________________________________________ Linaro-uefi mailing list Linaro-uefi@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-uefi