[MinnowBoard] GPIO on Windows OS

Roberts, Ryan Ryan.Roberts at cirrus.com
Mon May 18 09:11:05 UTC 2015


For Windows 8.1, my understanding is that you will need to write a driver. (KMDF or UMDF). First, you will need to add a device to the ACPI tables that declares the GPIO resources that you are using (basically a list of pin numbers), then Windows will provide these resources to your driver when it loads. You will then be able to create an IO target for the resource and send IOCTLs to the IO target. The IOCTLs will be sent (ultimately) to the Intel GPIO driver which will manipulate the hardware on your behalf.

This talks about Windows 10 a lot, but most of it is also relevant for Win 8/8.1:
https://msdn.microsoft.com/en-us/library/windows/hardware/hh439508%28v=vs.85%29.aspx

Thanks,
Ryan


From: elinux-MinnowBoard [mailto:elinux-minnowboard-bounces at lists.elinux.org] On Behalf Of Arne Gollin
Sent: 18 May 2015 09:15
To: elinux-minnowboard at lists.elinux.org
Subject: Re: [MinnowBoard] GPIO on Windows OS


There are Windows guys in here, and at least I am interested in using the gpios with windows, but I am not at that stage yet.
I would appreciate if u guys keep the mailing list/ me updated on how to use the gpios

Cheers

---------------------------------------------------

Arne Gollin

Cognitive Neuroscience & CITEC

Bielefeld University

Universitätsstrasse 25  (W3-246)
33615 Bielefeld

phone:     +49-521-106  5703
fax:              +49-521-106  5701
arne.gollin at uni-bielefeld.de<mailto:arne.gollin at uni-bielefeld.de>
www.uni-bielefeld.de/biologie/cns<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.uni-2Dbielefeld.de_biologie_cns&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=u3sKK-tthOWiAT4UOlKg0u9oKobYy1PKydmHDxKzaGY&e=>


Am 18.05.2015 4:38 vorm. schrieb <elinux-minnowboard-request at lists.elinux.org<mailto:elinux-minnowboard-request at lists.elinux.org>>:
Send elinux-MinnowBoard mailing list submissions to
        elinux-minnowboard at lists.elinux.org<mailto:elinux-minnowboard at lists.elinux.org>

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.elinux.org_mailman_listinfo_elinux-2Dminnowboard&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=FoB-DtQvf1R9tU5-_rD9z5OIkGSlvV8MdB3HJq4LDHc&e=>
or, via email, send a message with subject or body 'help' to
        elinux-minnowboard-request at lists.elinux.org<mailto:elinux-minnowboard-request at lists.elinux.org>

You can reach the person managing the list at
        elinux-minnowboard-owner at lists.elinux.org<mailto:elinux-minnowboard-owner at lists.elinux.org>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of elinux-MinnowBoard digest..."

Today's Topics:

   1. Re: GPIO on Windows OS (Wei, David)
   2. Re: Info Windows (Wei, David)
   3. Re: Silverjaw working? (Wei, David)


---------- Weitergeleitete Nachricht ----------
From: "Wei, David" <david.wei at intel.com<mailto:david.wei at intel.com>>
To: MinnowBoard Development and Community Discussion <elinux-minnowboard at lists.elinux.org<mailto:elinux-minnowboard at lists.elinux.org>>
Cc: "Rouzanov, Ivan" <ivan.rouzanov at intel.com<mailto:ivan.rouzanov at intel.com>>
Date: Mon, 18 May 2015 01:59:07 +0000
Subject: Re: [MinnowBoard] GPIO on Windows OS
Hi,

Just a kind reminder that there may be no Windows guys in this mail group.


Thanks,
David | SSG BIOS

From: elinux-MinnowBoard [mailto:elinux-minnowboard-bounces at lists.elinux.org<mailto:elinux-minnowboard-bounces at lists.elinux.org>] On Behalf Of Leigh Gawne
Sent: Wednesday, May 13, 2015 6:46 PM
To: elinux-minnowboard at lists.elinux.org<mailto:elinux-minnowboard at lists.elinux.org>
Subject: [MinnowBoard] GPIO on Windows OS

Hello everyone,

Just digging into how best to make us of the GPIOs under Windows.

My understanding is that for the upcoming Windows 10 IoT supported on the Minnowboard MAX, there is native support in the OS through the namespace “Windows.Devices.Gpio”:

https://ms-iot.github.io/content/win10/samples/PinMappingsMBM.htm<https://urldefense.proofpoint.com/v2/url?u=https-3A__ms-2Diot.github.io_content_win10_samples_PinMappingsMBM.htm&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=_TfcRg1U7o9Xr-pjGvMzdWYAUdqqFd0RR4YBWp4H4ZQ&e=>

From what I can see there is no such existing support in Windows 8.1, and I will have to do a little driver development built on top of the Intel embedded drivers (https://embedded.communities.intel.com/thread/7669<https://urldefense.proofpoint.com/v2/url?u=https-3A__embedded.communities.intel.com_thread_7669&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=vMM-8YO5McbocaFJYp-NFZRFLfr_pXe2L1V5SO2LBLI&e=>). Not an issue, but if there is anything out there that exists which means I don’t have to reinvent the wheel at this stage then that would be great.

Thanks,

Leigh


---------- Weitergeleitete Nachricht ----------
From: "Wei, David" <david.wei at intel.com<mailto:david.wei at intel.com>>
To: MinnowBoard Development and Community Discussion <elinux-minnowboard at lists.elinux.org<mailto:elinux-minnowboard at lists.elinux.org>>
Cc:
Date: Mon, 18 May 2015 02:09:46 +0000
Subject: Re: [MinnowBoard] Info Windows
MinnowBoard Max has been verified with booting Windows 8.1 and Windows 10.
You could get free Windows 10 from http://windows.microsoft.com/en-us/windows/preview-iso<https://urldefense.proofpoint.com/v2/url?u=http-3A__windows.microsoft.com_en-2Dus_windows_preview-2Diso&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=h0cbs_d8xaJhfmPH_Qf8Su_hWc7uQPRjrZ8Fr7vpBMM&e=>

(1) Just unzip the ISO image into the root directory of a USB harddisk.
(2)Then connect the USB harddisk to your MinnowBoard Max.  And connect a USB keyboard to your MinnowBoard Max.
(3) power on the MinnowBoard Max and Keep pressing "F2" key of your keyboard to enter BIOS Setup.
(4) Enter the "Boot Manager" page and select the USB harddisk to boot.
(5) Windows installation will begin.

Thanks,
David | SSG BIOS


-----Original Message-----
From: elinux-MinnowBoard [mailto:elinux-minnowboard-bounces at lists.elinux.org<mailto:elinux-minnowboard-bounces at lists.elinux.org>] On Behalf Of stefano.castelli at unipd.it<mailto:stefano.castelli at unipd.it>
Sent: Wednesday, May 13, 2015 9:50 PM
To: elinux-minnowboard at lists.elinux.org<mailto:elinux-minnowboard at lists.elinux.org>
Subject: [MinnowBoard] Info Windows

Good morning,
we are from NEOS, an Italian society operating in the environmental field.
We would be interested in buying minnowboard max This is just to enquire some information:

Would it be possible to install Windows on minnowboard max.?

If so:
-Which version?
-Where could we find it?
-How much does it cost?
-Do installation tutorials exist?

If no, would it be possible to use Windows through an emulator?

best regards

Stefano

_______________________________________________
elinux-MinnowBoard mailing list
elinux-MinnowBoard at lists.elinux.org<mailto:elinux-MinnowBoard at lists.elinux.org>
http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.elinux.org_mailman_listinfo_elinux-2Dminnowboard&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=FoB-DtQvf1R9tU5-_rD9z5OIkGSlvV8MdB3HJq4LDHc&e=>



---------- Weitergeleitete Nachricht ----------
From: "Wei, David" <david.wei at intel.com<mailto:david.wei at intel.com>>
To: MinnowBoard Development and Community Discussion <elinux-minnowboard at lists.elinux.org<mailto:elinux-minnowboard at lists.elinux.org>>
Cc:
Date: Mon, 18 May 2015 02:38:13 +0000
Subject: Re: [MinnowBoard] Silverjaw working?
Could you attach your mSATA to platform and boot into UEFI Shell? Then tell us if any devices are listed by UEFI Shell?

How to boot to UEFI Shell

(1)    Power on the board and keep pressing “F2” key on your keyboard, which will allow you to enter BIOS Setup.

(2)    Enter  “Boot Manager” of BIOS Setup, and then select UEFI Shell to boot.

Thanks,
David | SSG BIOS

From: elinux-MinnowBoard [mailto:elinux-minnowboard-bounces at lists.elinux.org<mailto:elinux-minnowboard-bounces at lists.elinux.org>] On Behalf Of Jeremy Hoel
Sent: Friday, May 15, 2015 1:44 PM
To: MinnowBoard Development and Community Discussion
Subject: Re: [MinnowBoard] Silverjaw working?

Sorry, I was out of town for a bit.

With no other devices attached, when I boot I see:

UEFI Interactive Shell
EDK II
EUFI v2.40 (EDK II, 0x00010000)
Error. No mapping gound
Press ESC to skip....

I get that with two different, known working mSata drives.

I get the same thing with no drive installed.

On Thu, May 7, 2015 at 11:30 AM, Bill Traynor <btraynor at gmail.com<mailto:btraynor at gmail.com>> wrote:
Hi Jeremy,

When the mSATA drive and mPCIe wireless card are plugged into the
Silverjaw and you power up the Max what happens?  Does the Max default
to the UEFI shell?  If it does, what is displayed?

On Thu, May 7, 2015 at 1:13 PM, nb <nb at dagami.org<mailto:nb at dagami.org>> wrote:
> Hi Jeremy,
>
> I’ve had sometimes non detected disks.
> Everytime it was a power supply issue.
> Hope this helps
>
> nb
>
>
>> Le 7 mai 2015 à 18:27, Jeremy Hoel <jthoel at gmail.com<mailto:jthoel at gmail.com>> a écrit :
>>
>> So i tested the mSata in another laptop and it worked, and i grabbed that mSata (that was in the laptop and working) and tested it in the silverjaw and it still wasn't detected by the firmware as a boot option, no in the OS when live booed.  Is there something in the efi firmware settings that I should make sure ie enabled?
>>
>> I'll give Mint a try and see if that finds the drive.
>>
>> On Thu, May 7, 2015 at 6:02 AM, Bill Traynor <btraynor at gmail.com<mailto:btraynor at gmail.com>> wrote:
>> Worked perfectly for me as well.  I have an Adata 120GB drive.
>> Installed Debian straight to it.
>>
>> On Thu, May 7, 2015 at 7:57 AM, Scott Guthrie <scottgu3 at gmail.com<mailto:scottgu3 at gmail.com>> wrote:
>> > Sounds like your best bet.  My crucial M550 worked perfectly, but I'm also
>> > running Linux Mint 17.1 Rebecca (XFCE).
>> >
>> > Scott
>> >
>> > On Thu, May 7, 2015 at 1:18 AM, Jeremy Hoel <jthoel at gmail.com<mailto:jthoel at gmail.com>> wrote:
>> >>
>> >> Ok, well after talking with John, I upgraded my firmware from .73 to .79.
>> >> I still can't see the msata, but i can see the wireless, so I'm going to try
>> >> and find another msata to use to test.
>> >>
>> >>
>> >> On Wed, May 6, 2015 at 9:58 PM, Jeremy Hoel <jthoel at gmail.com<mailto:jthoel at gmail.com>> wrote:
>> >>>
>> >>> well unless the board is labeled wrong, it's in the msata slot.  look at
>> >>> it when it's attached, i's the slot on the left.
>> >>>
>> >>> On Wed, May 6, 2015 at 9:56 PM, Kevron Rees <tripzero.kev at gmail.com<mailto:tripzero.kev at gmail.com>>
>> >>> wrote:
>> >>>>
>> >>>> Make sure the msata is in the msata slot not the mpcie...
>> >>>>
>> >>>> On May 6, 2015 8:50 PM, "Jeremy Hoel" <jthoel at gmail.com<mailto:jthoel at gmail.com>> wrote:
>> >>>>>
>> >>>>> So, I got my silverjaw and my nice new 3amp PS showed up today, so I
>> >>>>> wanted to give it a go this evening.  I've got a Samsung mSata 256GB
>> >>>>> installed (MZ-MPC256D) but it seems like the CentOS installed doesn't see
>> >>>>> it.
>> >>>>>
>> >>>>> Are their any particular firmware settings that need to be installed
>> >>>>> for an OS to see the card?  I measured 3.3 and 5v at the test points to the
>> >>>>> ground post, but no lights come on when the MBM is powered.  Is there a
>> >>>>> power LED?
>> >>>>>
>> >>>>> Also, when testing with my xbmc ubuntu install (3.14.13 kernel) it
>> >>>>> doesn't see anything in dmesg for sda or msata.
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> _______________________________________________
>> >>>>> elinux-MinnowBoard mailing list
>> >>>>> elinux-MinnowBoard at lists.elinux.org<mailto:elinux-MinnowBoard at lists.elinux.org>
>> >>>>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.elinux.org_mailman_listinfo_elinux-2Dminnowboard&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=FoB-DtQvf1R9tU5-_rD9z5OIkGSlvV8MdB3HJq4LDHc&e=>
>> >>>>>
>> >>>>
>> >>>> _______________________________________________
>> >>>> elinux-MinnowBoard mailing list
>> >>>> elinux-MinnowBoard at lists.elinux.org<mailto:elinux-MinnowBoard at lists.elinux.org>
>> >>>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.elinux.org_mailman_listinfo_elinux-2Dminnowboard&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=FoB-DtQvf1R9tU5-_rD9z5OIkGSlvV8MdB3HJq4LDHc&e=>
>> >>>>
>> >>>
>> >>
>> >>
>> >> _______________________________________________
>> >> elinux-MinnowBoard mailing list
>> >> elinux-MinnowBoard at lists.elinux.org<mailto:elinux-MinnowBoard at lists.elinux.org>
>> >> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.elinux.org_mailman_listinfo_elinux-2Dminnowboard&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=FoB-DtQvf1R9tU5-_rD9z5OIkGSlvV8MdB3HJq4LDHc&e=>
>> >>
>> >
>> >
>> > _______________________________________________
>> > elinux-MinnowBoard mailing list
>> > elinux-MinnowBoard at lists.elinux.org<mailto:elinux-MinnowBoard at lists.elinux.org>
>> > http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.elinux.org_mailman_listinfo_elinux-2Dminnowboard&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=FoB-DtQvf1R9tU5-_rD9z5OIkGSlvV8MdB3HJq4LDHc&e=>
>> >
>> _______________________________________________
>> elinux-MinnowBoard mailing list
>> elinux-MinnowBoard at lists.elinux.org<mailto:elinux-MinnowBoard at lists.elinux.org>
>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.elinux.org_mailman_listinfo_elinux-2Dminnowboard&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=FoB-DtQvf1R9tU5-_rD9z5OIkGSlvV8MdB3HJq4LDHc&e=>
>>
>> _______________________________________________
>> elinux-MinnowBoard mailing list
>> elinux-MinnowBoard at lists.elinux.org<mailto:elinux-MinnowBoard at lists.elinux.org>
>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.elinux.org_mailman_listinfo_elinux-2Dminnowboard&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=FoB-DtQvf1R9tU5-_rD9z5OIkGSlvV8MdB3HJq4LDHc&e=>
>
> _______________________________________________
> elinux-MinnowBoard mailing list
> elinux-MinnowBoard at lists.elinux.org<mailto:elinux-MinnowBoard at lists.elinux.org>
> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.elinux.org_mailman_listinfo_elinux-2Dminnowboard&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=FoB-DtQvf1R9tU5-_rD9z5OIkGSlvV8MdB3HJq4LDHc&e=>
_______________________________________________
elinux-MinnowBoard mailing list
elinux-MinnowBoard at lists.elinux.org<mailto:elinux-MinnowBoard at lists.elinux.org>
http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.elinux.org_mailman_listinfo_elinux-2Dminnowboard&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=FoB-DtQvf1R9tU5-_rD9z5OIkGSlvV8MdB3HJq4LDHc&e=>


_______________________________________________
elinux-MinnowBoard mailing list
elinux-MinnowBoard at lists.elinux.org<mailto:elinux-MinnowBoard at lists.elinux.org>
http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.elinux.org_mailman_listinfo_elinux-2Dminnowboard&d=AwMFaQ&c=O3LcjD-V2Iepl5V0N1424A&r=peQM3iMtv_Pd8h2uWcGA2e9bi9aRlEzANQCHr5BWbZw&m=Z_tvByoT2QZ2E423PUpp5mpPJFoL5vwPlkehwMEx0uM&s=FoB-DtQvf1R9tU5-_rD9z5OIkGSlvV8MdB3HJq4LDHc&e=>

This message and any attachments may contain privileged and confidential information that is intended solely for the person(s) to whom it is addressed. If you are not an intended recipient you must not: read; copy; distribute; discuss; take any action in or make any reliance upon the contents of this message; nor open or read any attachment. If you have received this message in error, please notify us as soon as possible on the following telephone number and destroy this message including any attachments. Thank you. Cirrus Logic International (UK) Ltd and Cirrus Logic International Semiconductor Ltd are companies registered in Scotland, with registered numbers SC089839 and SC495735 respectively.  Our registered office is at Westfield House, 26 Westfield Road, Edinburgh, EH11 2QB, UK. Tel: +44 (0)131 272 7000. cirrus.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20150518/9d12e1ca/attachment-0001.html>


More information about the elinux-MinnowBoard mailing list