Hello expert.
I'm working on enabling UEFI variable service.
I'd like to call UEFI's variable service on Kernel at runtime.
I'm using Kernel based on leg-kernel 3.14.0 which is in " http://git.linaro.org/leg/acpi/leg-kernel.git"
And I enabled EFI, ACPI features.
After UEFI-Kernel booting was done, I found some interface in sysfs on Kernel shell as below.
/sys/firmware/efi # ls efivars systab vars
Referencing "http://uefidk.com/blog/accessing-uefi-variables-linux", I tried to mount using
"mount -t efivarfs none /sys/firmware/efi/efivars" command. But It didn't work showing below messages.
sys/firmware/efi/vars # mount -t efivarfs none /sys/firmware/efi/efivars Unable to handle kernel paging request at virtual address 12c00018 pgd = ffffffc07ceee000 [12c00018] *pgd=00000000fcc97003, *pmd=0000000000000000 Internal error: Oops: 96000006 [#1] PREEMPT SMP
How can I call variable service on Kernel ?
Thanks.
Your UEFI Runtime service might be broken. I wrote a wikipage explaining how to develop and debug UEFI Runtime services: http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ArmPkg/Runti...
________________________________________ From: linaro-uefi-bounces@lists.linaro.org [linaro-uefi-bounces@lists.linaro.org] On Behalf Of Youngmin Nam [youngmin.nam@samsung.com] Sent: 29 May 2014 23:55 To: linaro-uefi@lists.linaro.org Subject: [Linaro-uefi] Can I ask you about accessing UEFI variable service on Kernel at runtime?
Hello expert.
I'm working on enabling UEFI variable service.
I'd like to call UEFI's variable service on Kernel at runtime.
I'm using Kernel based on leg-kernel 3.14.0 which is in " http://git.linaro.org/leg/acpi/leg-kernel.git"
And I enabled EFI, ACPI features.
After UEFI-Kernel booting was done, I found some interface in sysfs on Kernel shell as below.
/sys/firmware/efi # ls efivars systab vars
Referencing "http://uefidk.com/blog/accessing-uefi-variables-linux", I tried to mount using
"mount -t efivarfs none /sys/firmware/efi/efivars" command. But It didn't work showing below messages.
sys/firmware/efi/vars # mount -t efivarfs none /sys/firmware/efi/efivars Unable to handle kernel paging request at virtual address 12c00018 pgd = ffffffc07ceee000 [12c00018] *pgd=00000000fcc97003, *pmd=0000000000000000 Internal error: Oops: 96000006 [#1] PREEMPT SMP
How can I call variable service on Kernel ?
Thanks.
_______________________________________________ Linaro-uefi mailing list Linaro-uefi@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-uefi
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782