<div dir="ltr"><div>Yea, those shell scripts have similar content to the tutorials Martin mentioned.<br><br>From what I understand, the kernel included with Linux Mint is not compiled with GPIO SYSFS enabled so there is no /sys/class/gpio to play with.<br><br></div><div>This page has some basic info on how to compile the kernel and a link to the minoboard defconfig.txt.<br><a href="http://www.elinux.org/Minnowboard:MinnowMaxLinuxKernel">http://www.elinux.org/Minnowboard:MinnowMaxLinuxKernel</a><br><br>I think this is the magic that enables GPIO SYSFS:<br><pre># Pinctrl and GPIO Support
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_GPIOLIB=y
CONFIG_GPIO_SYSFS=y</pre><br>-Peter</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 7, 2014 at 7:53 PM, John Hawley <span dir="ltr"><<a href="mailto:john.hawley@intel.com" target="_blank">john.hawley@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://github.com/MinnowBoard/minnow-max-extras/tree/master/calamari" target="_blank">https://github.com/MinnowBoard/minnow-max-extras/tree/master/calamari</a><br>
<br>
also has some basic examples of how to deal with GPIOs<br>
<br>
and<br>
<br>
<a href="http://www.elinux.org/Minnowboard:MinnowMax#Low_Speed_Expansion_.28Top.29" target="_blank">http://www.elinux.org/Minnowboard:MinnowMax#Low_Speed_Expansion_.28Top.29</a><br>
<br>
has the pinout, including the GPIO numbers<br>
<br>
- John<br>
<span class=""><br>
On 11/7/2014 7:51 PM, Peter Ogden wrote:<br>
> I asked this exact question on IRC last week.<br>
><br>
> What I was told is you need to do is compile the kernel with the GPIO<br>
> SYSFS enabled.<br>
><br>
> I'm still very new to this myself, so I haven't been able to try this<br>
> yet.  Hopefully that gives you a hit on what to search for.  I was<br>
> googling "compile linux kernel with gpio driver enabled".<br>
><br>
> -Peter<br>
><br>
> On Fri, Nov 7, 2014 at 8:12 AM, Martin Oldfield <<a href="mailto:m@mjoldfield.com">m@mjoldfield.com</a><br>
</span><span class="">> <mailto:<a href="mailto:m@mjoldfield.com">m@mjoldfield.com</a>>> wrote:<br>
><br>
>     Hi,<br>
><br>
>     I've got a MinnowBoard MAX happily running Mint, and now I'd like to<br>
>     hookup some devices to it.<br>
><br>
>     Ideally I'd like to be able to waggle some  GPIO lines, and do SPI, but<br>
>     I'm somewhat at a loss where to start, so I thought I'd ask here.<br>
><br>
>     Please, does any know if there are documents akin to these but for the<br>
>     MinnowBoard MAX anywhere:<br>
>       <a href="http://www.minnowboard.org/getting-started/" target="_blank">http://www.minnowboard.org/getting-started/</a><br>
><br>
>     Mint gives me this kernel:<br>
>       Linux version 3.13.0-24-generic (buildd@batsu) (gcc version 4.8.2<br>
>     (Ubuntu 4.8.2-19ubuntu1) ) #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014<br>
><br>
>     Do I need something newer to get GPIO & SPI support for Baytrail ?<br>
><br>
>     Thanks in advance of any help.<br>
><br>
>     Cheers,<br>
>     --<br>
>     M.<br>
><br>
><br>
>     _______________________________________________<br>
>     elinux-MinnowBoard mailing list<br>
>     <a href="mailto:elinux-MinnowBoard@lists.elinux.org">elinux-MinnowBoard@lists.elinux.org</a><br>
</span>>     <mailto:<a href="mailto:elinux-MinnowBoard@lists.elinux.org">elinux-MinnowBoard@lists.elinux.org</a>><br>
>     <a href="http://lists.elinux.org/mailman/listinfo/elinux-minnowboard" target="_blank">http://lists.elinux.org/mailman/listinfo/elinux-minnowboard</a><br>
<div class="HOEnZb"><div class="h5">><br>
><br>
><br>
><br>
> _______________________________________________<br>
> elinux-MinnowBoard mailing list<br>
> <a href="mailto:elinux-MinnowBoard@lists.elinux.org">elinux-MinnowBoard@lists.elinux.org</a><br>
> <a href="http://lists.elinux.org/mailman/listinfo/elinux-minnowboard" target="_blank">http://lists.elinux.org/mailman/listinfo/elinux-minnowboard</a><br>
><br>
_______________________________________________<br>
elinux-MinnowBoard mailing list<br>
<a href="mailto:elinux-MinnowBoard@lists.elinux.org">elinux-MinnowBoard@lists.elinux.org</a><br>
<a href="http://lists.elinux.org/mailman/listinfo/elinux-minnowboard" target="_blank">http://lists.elinux.org/mailman/listinfo/elinux-minnowboard</a><br>
</div></div></blockquote></div><br></div>