**** BEGIN LOGGING AT Tue Oct 17 02:59:57 2006 Oct 17 10:31:27 rwhitby: hi Oct 17 10:32:00 hi jake__ Oct 17 10:33:01 rwhitby: I'm planning on some changes with gentooslug, I'm planning to get rid of using that intel's firmware, as openslug uses it, I thought I could just make a symlink in gentooslug rootfs, so I wouldn't really need to provide it.. Oct 17 10:33:08 rwhitby: the problem is that.. Oct 17 10:33:29 jake__: we will have a version of slugimage which puts the microcode in the flash Oct 17 10:33:32 rwhitby: I haven't been able to locate script which loads it up, nor the actual firmware file in openslug/slugos.. Oct 17 10:33:37 then you can distribute a rootfs anywhere Oct 17 10:33:57 (without needing a click-through) Oct 17 10:34:17 you'll only need the click-through for the original image which contains the microcode Oct 17 10:34:22 I don't need a click-through even with this method as I don't provide file, I just provide a symlink to it :) Oct 17 10:34:47 ah - but slugos also will no longer contain the file in the rootfs - it will *only* be in the flash Oct 17 10:35:02 This ofcourse brakes compatibility with standalone gentooslug.. Oct 17 10:35:20 okay.. Oct 17 10:35:58 how can it be extracted from flash to be used? I mean, gentoo propably doesn't provide a special tool needed by operation like this in it's portage.. Oct 17 10:36:24 you can use devio to extract it Oct 17 10:36:30 we will have a script in slugos Oct 17 10:36:41 (it's not there yet - do you want to write it ;-) Oct 17 10:38:16 thanks for honour.. Oct 17 10:38:29 but I think I'l pass as I got a lot of things to do with gentooslug still.. Oct 17 10:39:34 devio does belkong to gentoo's portage.. Oct 17 10:40:48 rwhitby: what are those gossips I've been hearing in here and there about new ixp4xx driver? Oct 17 10:41:44 it's in SlugOS 4 Oct 17 10:41:49 and I also been hearing about use of new kernel on openslug/slugos.. was that 2.6.19-rc? Oct 17 10:41:51 and seems to work very well Oct 17 10:42:08 is there any significant changes visible to user? Like more stability? Oct 17 10:42:09 we're usually at the bleeding edge of kernels Oct 17 10:42:25 I have a report of networking being at least 10% faster with the new driver Oct 17 10:42:38 okay.. Oct 17 10:42:40 wait a sec.. Oct 17 10:42:41 and we completely understand it, so we can fix bugs in it. Oct 17 10:42:41 phone Oct 17 10:59:48 back Oct 17 11:00:01 With slugos-3.10.. Oct 17 11:00:33 Sometimes when network use is in heavy use or I use a lot of processor power (don't know which one actually makes this happen) Oct 17 11:00:41 I lost my network connectivity.. Oct 17 11:00:54 ethernet light goes off.. Oct 17 11:01:01 and a reboot fixes things.. Oct 17 11:09:06 jake__: let's hope the new driver fixes that :-) Oct 17 13:22:30 I'm trying to build openslug, but the links given to the Intel IXP code are no longer valid... I really don't need to build ALL of openslug, I just want to be able to cross-compile an app to run it on the NSLU2. Is there an easier way to do this? Oct 17 13:27:58 <[g2]> tzanger grap the master makefile and build just the tool chain, then you can build custom kernel Oct 17 13:28:36 <[g2]> actually we should add a toolchain option to the master makefile Oct 17 13:28:49 <[g2]> make openslug-toolchain Oct 17 13:28:51 ok so grab monotone and pull the source from the repo? Oct 17 13:29:46 <[g2]> I haven't run the master makefile in like 1/2 year Oct 17 13:30:09 :-) Oct 17 13:30:41 <[g2]> actually I've got my own custom Ubuntu LiveCD that builds straight off the repos Oct 17 13:34:10 hmm, what's the make target for just the toolchain? I'm looking through the master makefile but nothing's sticking out just yet Oct 17 13:34:42 setup-slugos-%-beta-developer maybe Oct 17 13:35:41 or setup-host-ubuntu seems about as least-distro-specific as there is (I'm running Slackware on the host) Oct 17 13:36:54 tzanger: just run make openslug-3.10-beta Oct 17 13:37:15 that will build the image. there is not a separate toolchain target Oct 17 13:37:31 ok but without the Intel stuff it'll crap out at some point, correct? Oct 17 13:38:21 yep, but if you just go through the intel website you can get the correct packages Oct 17 13:38:41 you're reading the MasterMakefile wiki page, right? Oct 17 13:39:13 if it gets to the point where it craps out on the intel files, then you have your toolchain built :-) Oct 17 13:39:23 rwhitby-away: btw.. Oct 17 13:39:43 jake__: yes ... Oct 17 13:39:45 rwhitby-away: I tried to compile package spca5xx but it fails.. Oct 17 13:39:52 couple of weeks ago.. Oct 17 13:39:55 rwhitby-away: :-) Oct 17 13:39:58 spca5xx is already deprecated.. Oct 17 13:40:15 I built gspcav1 (new spca5xx) natively on slug.. Oct 17 13:40:22 and it works.. Oct 17 13:40:23 oh wait, I remember doing this a month or so ago (not with master makefile, but with src) -- I think I did get the correct intel files Oct 17 13:40:36 jake__: can you do a bb file? Oct 17 13:40:48 rwhitby-away: that was exactly my point. I can't :) Oct 17 13:40:55 rwhitby-away: I don't understand bb files :) Oct 17 13:41:11 I _really_ tried.. Oct 17 13:41:22 jake__: send your build script (or whatever commands you typed for the manual native build) to NAiL Oct 17 13:41:31 but it was no luck. Anyway, it IS possible to compile it. And it DOES work.. Oct 17 13:41:34 NOTE: build 200610170959: completed Oct 17 13:41:35 Build statistics: Oct 17 13:41:35 Attempted builds: 1 Oct 17 13:41:35 make[2]: Leaving directory `/home/andrew/slugos-3.10-beta' Oct 17 13:41:35 make[1]: Leaving directory `/home/andrew/slugos-3.10-beta' Oct 17 13:41:37 hmm Oct 17 13:41:43 he'll send back a bb file, and then you'll be able to learn from it :-) Oct 17 13:41:44 I wonder where my damn build environment is :-) Oct 17 13:41:51 well.. my build is little bit strange :) Oct 17 13:42:13 I used mastermakefile to build openslug-3.10-beta to get same kernel tree and .config :) Oct 17 13:42:21 which I then inserted to my slug.. Oct 17 13:42:43 Then I noticed that as my gentooslug uses gcc-4.1.1-r1, modules aren't compatible, so I downloaded ipk of gcc.. Oct 17 13:42:46 unpacked it.. Oct 17 13:43:14 and changed a bit the Makefile for gspcav1, so it uses gcc which I got from ipk.. Oct 17 13:43:20 then I just commanded make.. Oct 17 13:43:26 and it worked out.. Oct 17 13:43:32 Did same thing to get module for fuse.. Oct 17 13:43:49 jake__: send that description to nail (at) nslu2-linux.org Oct 17 13:43:59 okay.. Oct 17 13:44:37 I actually don't have a working slug at the moment (except my production blueslug which is my home treo bluetooth gateway) Oct 17 13:44:43 should I send him also binary of those 2 modules so he can check or is the desc. enough? Oct 17 13:44:58 binaries are no good to anyone :-) Oct 17 13:45:25 "if it can't be built automatically from the repository, then it doesn't exist" Oct 17 13:46:00 Oh shit! my pizza is burning.. Oct 17 13:46:45 huh.. saved by the bell.. it's still eatable :) Oct 17 13:46:47 I need to go to bed. it's midnight and I have a 24 hour flight to catch early tomorrow morning Oct 17 13:47:01 24 hours to the US, 48 hours there, 24 hours to get back. Oct 17 13:47:30 there we go, I think I have a cross dev environment on the way now Oct 17 13:47:45 doing it via the "AddAPackageToUnslung" Oct 17 13:48:15 I should add a slugos target to optware Oct 17 13:48:25 (to make it easy to do a single slugos application) Oct 17 13:50:15 the AddAPackage isn't too bad Oct 17 13:50:25 and straightforward Oct 17 13:50:36 svn co optware, make directories ipkg-utils and then make any small app Oct 17 13:50:50 having a buildable "hello world" app target might be the only improvement Ic ould think of Oct 17 13:52:21 just need to download 900 bazillion megs of compilers :-) Oct 17 13:52:22 tzanger: please contribute hello-world.mk :-) Oct 17 13:52:31 rwhitby: I think I just might Oct 17 13:52:45 my app is pretty straightforward (talks to a ttyUSB) and that's it Oct 17 13:52:49 GNU has a hello world package don't they? Oct 17 13:53:01 question (more general linux than anything else) -- is it possible to autorun an app when a USB device is plugged in? Oct 17 13:53:03 tzanger: have a look at puppy for a libusb example Oct 17 13:53:25 I'd imagine there'd be a hotplug incantation that'd do it but I'm unsure Oct 17 13:53:45 this just opens /dev/ttyUSB0 and talks to a standard char device Oct 17 13:53:54 libusb is a little too extravagant here :-) Oct 17 14:03:01 description delivered to nail.. Oct 17 14:41:27 well.. at least it LOOKS like it's building something... Oct 17 14:59:17 woot I have a build environment now Oct 17 15:00:13 hahaha you have quemu in this thing? Oct 17 15:17:25 tzanger, and a lot more... Oct 17 15:17:37 I even have my slugbot speak to me! :) Oct 17 15:18:19 I'm working on getting the pocketsphinx speech recognition package working too. Oct 17 15:30:37 holy shit I think that worked Oct 17 15:30:40 now to buy another slug Oct 17 15:43:03 hmm Oct 17 15:43:06 can't find a slug Oct 17 15:43:10 gotta find something else now Oct 17 15:43:25 are any of the comparable openslug-compatible units capable of powering more devices? Oct 17 15:43:29 not necessarily more ports, just more devices Oct 17 16:33:58 <[g2]> tzanger what are you looking for ? Oct 17 16:34:57 * [g2] sells a 533Mhz 3/4 port board Oct 17 16:35:02 <[g2]> PCI ports Oct 17 16:46:45 [g2]: specs? Oct 17 16:49:59 <[g2]> 533 Hhz IXP 425, 64MB RAM, 16MB flash, 3 MiniPCI, 2 Ethernet, POE, 2 Serial, JTAG, GPIO, I2C, case and PS and CF Oct 17 16:57:39 oh minipci... dammit Oct 17 16:57:46 got anything along that line with two PCI? Oct 17 16:58:17 <[g2]> tzanger you can get a mini pc with PCI for ~ $100 Oct 17 16:58:45 <[g2]> the real question is what are you going to do with it Oct 17 17:05:26 true enough Oct 17 17:09:41 shit... I need a kernel module for this USB serial port on the linksys Oct 17 17:10:03 how tricky is it to build a new kernel? Is the Intel stuff required? Oct 17 17:11:17 <[g2]> most of the usb serial adapters are already built Oct 17 17:11:25 <[g2]> just modprobe Oct 17 17:15:15 hmm I only have one module and that's the ixp400 Oct 17 17:15:35 and some net stuff in kernels/drivers Oct 17 17:15:56 'ipkg update ; ipkg list | grep usb' Oct 17 17:16:43 danke... waiting Oct 17 17:20:22 hmm Oct 17 17:20:27 I see two with modules for usb serial Oct 17 17:20:29 tried one Oct 17 17:20:30 now the other Oct 17 17:22:50 mct_u232... that's the on eI need Oct 17 17:29:01 *sigh* Oct 17 17:29:11 of course the damn serial converter I have in here isn't in an ipkg Oct 17 17:30:04 it isn't a keyspan or pl2303? Oct 17 17:30:14 it's not a pl2303 Oct 17 17:30:17 haven't tried keyspan Oct 17 17:30:26 having difficulty getting a list of usb serial modules Oct 17 17:30:37 those 2 make up 95% of the market together :) Oct 17 17:31:18 :-) Oct 17 17:31:27 well I have an actual branded Belkin one here plugged in it's not finding Oct 17 17:31:35 looking for lsusb utility in ipkg too to help me out but no luck Oct 17 17:33:29 usb-utils iirc Oct 17 17:33:45 usbutils even Oct 17 17:33:57 just found it Oct 17 17:33:58 thanks :-) Oct 17 17:36:54 Bus 003 Device 013: ID 050d:0109 Belkin Components F5U109/F5U409 PDA Adapter Oct 17 17:36:57 that's what I'm trying to drive Oct 17 17:38:33 belkin-sa Oct 17 17:38:48 tried it Oct 17 17:38:49 or rather belkin_sa.ko is what you want Oct 17 17:38:57 the module loads, but it doesn't see anything Oct 17 17:39:02 that should work according to http://sourceforge.net/mailarchive/forum.php?forum_id=5395&max_rows=25&style=nested&viewmonth=200110 Oct 17 17:39:47 hmm Oct 17 17:41:15 do I need to reboot the slug to get autodetect working with new drivers? Oct 17 17:41:37 you shouldn't need to Oct 17 17:41:54 didn't think so Oct 17 17:42:05 embedded linux isn't THAT different from regular linux :-) Oct 17 17:45:27 usb 3-1: new full speed USB device using ohci_hcd and address 2 Oct 17 17:45:30 it sees the connection Oct 17 17:45:34 but nothing claims it Oct 17 17:53:05 foudn it Oct 17 17:53:09 kernel-module-mct-u232 - 2.6.12.2-r17.4 - mct-u232 kernel module; Magic Control Technology USB-RS232 converter driver Oct 17 17:55:46 aww yeah Oct 17 17:56:01 now to see if I can get this program to automatically run when this is plugged in Oct 17 18:27:43 there we go Oct 17 23:18:30 Sigh, looks like the new ethernet driver has a hard coded MAC address. No wonder my home network was going nuts. **** ENDING LOGGING AT Wed Oct 18 02:59:56 2006