On 24 April 2015 at 10:25, Haojian Zhuang <haojian.zhu...@linaro.org> wrote: > > 在 2015/4/24 10:03, Yao, Jiewen 写道: >> >> Hi Haojian >> Thanks for the sharing. >> >> May I know if you have validated variable set in UEFI runtime? >> I found it is marked as DXE driver instead of RUNTIME driver. But maybe I >> am wrong. >> > Yes, you'r right. I only verified it as DXE driver. I'll try to access it > for RUNTIME case. Thanks for reminder. >
Hi Jiewen & Andrew, I'm sorry that I just have time to enable the block variable driver as runtime driver. Now I find there's the issue on it. We need to enable both the block variable driver & mmc driver as runtime. The working flow is in below. 1. MMC controller is intiailized by UEFI. 2. MMC controller is initialized by linux. 3. Update variable in linux. It means MMC driver is invoked by UEFI. I think the working flow is wrong. We shouldn't do this. It seems that we have only two choices. One is to make sure the hardware controller could be only accessed by UEFI. The second one is to only implement MMC operation in UEFI. When linux wants to access MMC, it has to submit the request to UEFI. Do you think it's possible to only implement MMC operation in UEFI? Regards Haojian ------------------------------------------------------------------------------ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel