[Voyage-linux] GPIO on Soekris 4801-type systems
mgrollman
(spam-protected)
Thu Aug 17 00:40:57 HKT 2006
Punky,
I applied the version of Jim Cromie's patch found on the Soekris board
(at
http://lists.soekris.com/pipermail/soekris-tech/2006-June/010550.html)
but my 2.6.15-ubuntu1 voyage kernel, but the kernel would not compile
after the patch was applied. It appears the patch is geared for a
2.6.17 kernel, although there are reports it works in a 2.6.16 kernel.
At least for me, it is not working in a 2.6.15 one.
It appears that Jim's patch has entered the kernel mainline at 2.6.18rc1
and shows further work in rc2
(http://tonnikala.net/linux.php?kernel=2.6.18-rc2&class=linux26&type=full).
This is good news for the future, at least.
It is way beyond my skills to try and tweak the patch to work back
towards 2.6.15. What I am wondering is this - is it possible and/or
reasonable to take a pristine 2.6.17 kernel source, and use the latest
kernel config files from voyage to build a kernel that would work OK
with either the 2.0 or voyage-current release? Or am I going to crash
and burn badly with this approach? Is it reasonable instead to try and
build a pristine 2.6.16 or 2.6.17 stock kernel, attempt to hand migrate
the key elements of the .config file from the most recent voyage build,
and then use that kernel with the voyage-current setup?
Any advice you can offer would be a help. I know you are not into this
GPIO stuff, but I figure this is mainly a kernel and voyage kind of
question.
Cheers,
- Michael
---------------------------------------------------
Hi Michael,
I noted Jim Cromie's patch already, and will include in the next kernel
release.
Unfortunately, I am not very interested in GPIO. I won't be testing
it. But I think some other people working on it. (Solomon and Bill?)
But they are on WRAP platform.
Regards,
Punky
mgrollman wrote:
> I currently use the Voyage 2.0 on a Soekris 4801, and it works very
> well. Thanks, Voyage team! I would like to begin to use the GPIO
> inherent on the board. I have found on this list a fair amount of
> data on doing stuff with GPIO and WRAP, but not much on GPIO and
> Soekris. On the Soekris board, I was able to find information here:
> http://dev.gentoo.org/~brix/papers/net4801/net4801.html#sect-kernel
> and here: http://ryanc.org/index.php?s=51, and in other spots as
> well, but these sites tended to focus on BSD or Gentoo or on a
> generic implementation, not on what the Voyage team was up to just
> now.
>
> Couple of questions.
>
> 1. Do any of the stock (or custom) Voyage kernels have the
> appropriate patches in places for GPIO on the Soekris (Jim Cromie has
> written what seems to well known discussed
> here:http://article.gmane.org/gmane.linux.kernel/416341, but there
> appear to be several out there) ? I note on boot that my 2.6.15
> kernel says "scx200: GPIO base 0x6100" but I am not sure what if any
> GPIO driver this is, and if it is indeed fully enabled?
>
> 2. If so, which kernel(s) to choose, assuming 2.5.15 or better is
> desired?
>
> 3. If not, which is the best patch set to use and how best to apply
> it to one of the current voyage kernels? Any gotchas?
>
> 4. Are these patches needed to make use of the lmsensors module on
> the Soekris, or support here as far as voyage goes limited to WRAP
> hardware?
>
> 5. ... and what other advice can anyone offer from userland for
> combining Voyage, Soekris, and GPIO?
>
> Any advice is greatly appreciated.
>
> Cheers,
>
> - Michael
>
>
>
> _______________________________________________ Voyage-linux mailing
> list Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
--
Regards,
Punky
P U N K N ! X . c o m
Technology + Lifestyle
(http://www.punknix.com)
V O Y A G E . H K - http://www.voyage.hk
Linux - voyage-0.2 is released!
Store - Senao NMP-8602 Plus (400mW) is now in stock!
_______________________________________________
Voyage-linux mailing list
Voyage-linux at list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux
More information about the Voyage-linux
mailing list