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