**** BEGIN LOGGING AT Wed Feb 14 02:59:57 2007 Feb 14 12:14:38 nico * r6300 /trunk/package/kernel/modules/other.mk: fix pcmcia modules load order (closes: #1355) Feb 15 01:52:40 is there a preferred gpio api? Feb 15 01:55:08 <[mbm]> for which board? Feb 15 01:55:29 ejka: user space or kernel space? Feb 15 01:55:51 kernel space Feb 15 01:56:06 ejka: search for 'arch-neutral gpio' on lkml Feb 15 01:56:14 ejka: there was a suggested api that is reasonably simple Feb 15 01:56:28 ejka: we should probably use that, if it gets merged Feb 15 01:56:35 ok. I think I've seen it already Feb 15 02:16:58 <[pjf]> nbd: willing to hear the news on this atheros.openwrt.net repo? Feb 15 02:17:40 sure Feb 15 02:18:01 <[pjf]> well, generally 3 differences from kamikaze: Feb 15 02:18:48 <[pjf]> 1. it seems to have a driver for gpio reset switch on ar531x boards Feb 15 02:20:00 <[pjf]> 2. it has some strange support for mtd on ar531x - http://atheros.openwrt.net/trac.cgi/changeset/36 (the changelog says "automatic detection of mtd partitions") Feb 15 02:21:42 <[pjf]> 3. it has a few additional "userspace" tools - namely a tool to generate the final firmware binary and some simple script to update firmware from "shell prompt" Feb 15 02:22:15 <[pjf]> some remarks - it seems that the guy has done a lot of work on his own, Feb 15 02:23:09 <[mbm]> automatically figuring out mtd partitions isn't that special; openwrt does it on a number of boards; mtd util can be used to reflash openwrt from the commandline Feb 15 02:23:11 <[pjf]> and although he has been synchronizing his repo with kamikaze, he for example has done his own patches for general ar531x support - http://atheros.openwrt.net/trac.cgi/file/trunk/target/linux/atheros-ar531x-2.6/patches/100-board.patch (notice the copyright note) Feb 15 02:23:43 <[pjf]> imho kamikaze's better ;-) Feb 15 02:24:30 * [mbm] wonders why there hasn't been a stream of atheros patches from that guy Feb 15 02:24:31 <[pjf]> [mbm]: yeah, I'm aware of that - these are just my notes after analyzing this "fork" Feb 15 02:24:40 * [pjf] wonders too Feb 15 02:27:37 <[pjf]> the gpio reset switch driver is here: http://atheros.openwrt.net/trac.cgi/file/trunk/target/linux/atheros-2.4/patches/005-reset_pin.patch Feb 15 02:28:52 <[pjf]> well, I'll try to "backport" them to kamikaze, but unfortunately I'm not sure when I'll have time to do that Feb 15 02:29:13 <[pjf]> by "them" I mean the extra features Feb 15 02:29:25 <[mbm]> creates a file somewhere in /proc called ar531x_reset_pin and then gives you a 0/1 of the status Feb 15 02:30:06 <[mbm]> think the earlier discussion was right - we need a generic gpio interface Feb 15 02:30:33 <[mbm]> diag was created for the broadcom stuff but isn't really portable Feb 15 02:31:41 <[pjf]> well, if there's going to be such a generic gpio interface, then imho this functionality can wait Feb 15 02:33:00 <[pjf]> ok, got to go, it's past 4 AM here in Poland ;-) Feb 15 02:33:25 <[pjf]> I'll keep you updated as I find/code something new **** ENDING LOGGING AT Thu Feb 15 02:59:57 2007