[MinnowBoard] GPIO access under UEFI

Bill Traynor btraynor at gmail.com
Fri Aug 28 15:06:46 UTC 2015


On Fri, Aug 28, 2015 at 10:36 AM, Grigory V. Korotov <grinux at mail.ru> wrote:
> Thanks for fast answer.
> I mean i need to access GPIO on UEFI source code level.

Well, googling around a bit, I can't find much on that.  Perhaps
you'll need a GPIO library or have to implement one yourself as
described in this paper:

http://ijset.com/ijset/publication/v3s5/IJSET_2014_515.pdf

You may wish to try the EDK mailing list as well, as there seems to be
some content out there regarding this:

http://feishare.com/efimail/messages/20110921-2155-Re__edk2__Accessing_the_CMOS_NVRAM_and_GPIO_pins_from_UEFI-Andrew_Fish.html


>
>
>
>
> 28.08.2015 17:27, Bill Traynor пишет:
>
>> On Fri, Aug 28, 2015 at 8:15 AM, Grigory V. Korotov <grinux at mail.ru>
>> wrote:
>>>
>>> Hi
>>> Could someone tell me how to access GPIO under UEFI?
>>> I wrote some custom code and i need to indicate entering my function by
>>> triggering gpio level.
>>
>> This page shows you how to enable/disable GPIO in the BIOS:
>> http://elinux.org/Minnowboard:MaxBios
>>
>> Following enabling GPIO have a look at this page:
>> http://wiki.minnowboard.org/Projects/AdaFruit_GPIO
>>
>> I think you'll need the mraa library to accomplish what you're after,
>> but I could be wrong.
>>
>>> Thanks.
>>>
>>> Grigory.
>>>
>>>
>>> _______________________________________________
>>> elinux-MinnowBoard mailing list
>>> elinux-MinnowBoard at lists.elinux.org
>>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
>>
>> _______________________________________________
>> elinux-MinnowBoard mailing list
>> elinux-MinnowBoard at lists.elinux.org
>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
>
>
> _______________________________________________
> elinux-MinnowBoard mailing list
> elinux-MinnowBoard at lists.elinux.org
> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard


More information about the elinux-MinnowBoard mailing list