**** BEGIN LOGGING AT Wed Jul 20 23:59:56 2005 Jul 21 00:20:31 dyoung: I need a tftp server, and I don't have an unslung slug any more :-( Jul 21 00:21:14 well, actually I do, but it's the slug I'm going to use for DebianSlug Jul 21 00:21:35 * rwhitby looks for a tftp server in openslug ... Jul 21 00:21:43 atftp is in openslug Jul 21 00:22:05 dunno if theres a daemon with that though... Jul 21 00:22:35 Hmm - not in openslug-packages ... Jul 21 00:22:35 Yeah, daemon included. Jul 21 00:23:11 Man, it's sooo long since I typed a RedBoot command line ... Jul 21 00:23:21 Me too. Jul 21 00:23:37 I'm thinking that I'm gonna slugimage the byteswapped image and upslug it. Jul 21 00:25:19 that's one thing we don't have in the master makefile - slugimage development Jul 21 00:27:09 oh, I spoke too soon - it's already there! Jul 21 00:27:40 Did I mention recently how you just build infrastructure and other people do the stuff that yo uneed? Jul 21 00:29:30 ah - that's why atftp is not in openslug-packages - it doesn't compile. Jul 21 00:38:32 hehe Jul 21 00:38:38 I added slugimage a few days ago. :-) Jul 21 00:38:40 what am I thinking - I can just use a http server instead ... Jul 21 00:39:09 * rwhitby installs thttpd on homeslug Jul 21 00:39:43 I think the Master Makefile target is setup-slugimage-development or similar. Jul 21 00:40:06 whoa - /srv <- first time I've see that. Jul 21 00:40:36 Hi odoc. Jul 21 00:44:43 hi dyound Jul 21 00:45:14 sup ? Jul 21 01:00:34 dyoung: got the installer low memory blue screen, but no response - perhaps it's cause I'm getting in through microcom on the wl500g ... Jul 21 01:11:40 (i.e. I can't hit the continue button on that screen) Jul 21 01:23:56 03rwhitby 07org.nslu2-linux.dev * r4b51f527... 10/Makefile: Added the setup-apex-developer target Jul 21 01:23:58 03rwhitby 07org.nslu2-linux.dev * ra90fbc8b... 10/Makefile: Added the build-apex target Jul 21 02:02:58 Anyone see the NSLU2 posting on the slashdot front page? http://hardware.slashdot.org/article.pl?sid=05/07/20/1845231&tid=222&tid=90&tid=193&tid=106 Jul 21 02:03:40 yep Jul 21 02:19:59 rwhitby: nice to see the slug is still out there and attracting new people. Jul 21 02:22:55 we're thinking of trying to add debianslug to our OE repo, so we can build an image and flash it with upslug Jul 21 02:27:42 what about the eth0 drivers ? aren't they big-endian? Jul 21 02:31:01 it will require a usb nic Jul 21 02:46:21 "svn: Can't connect to host 'svn.berlios.de': Connection refused" - is it me or does the host have a bad day? Jul 21 02:57:12 bad day for svn here too Jul 21 02:59:11 03rwhitby 07org.openembedded.nslu2-linux * r2cba5405... 10/conf/bitbake.conf: Added STAGING_LOADER_DIR to bitbake.conf Jul 21 02:59:13 03rwhitby 07org.openembedded.nslu2-linux * r3d6cac6f... 10/packages/apex/ (apex_1.2.19.bb nslu2/defconfig): Added the Apex bootloader (initially configured for nslu2) Jul 21 03:04:12 03rwhitby 07org.openembedded.nslu2-linux * r45523d76... 10/ (15 files in 12 dirs): Jul 21 03:04:12 propagate from branch 'org.openembedded.dev' (head 93d082d6c4a3db13947817853eef91fb326fc223) Jul 21 03:04:12 to branch 'org.openembedded.nslu2-linux' (head 3d6cac6f54eff620f4ea72c01aace1b87353dca8) Jul 21 03:22:09 Jacmet: ping Jul 21 03:24:42 rwhitby: hi Jul 21 03:25:38 Jacmet: I'd like to try and add DebianSlug to OpenEmbedded, so we can build a single image that can be flashed with UpSlug or the SerComm tool. Jul 21 03:25:50 dyoung is going to work on it too Jul 21 03:25:58 Is that something you'd be happy for us to do? Jul 21 03:26:02 rwhitby: name? well, it's just normal Debian .. Jul 21 03:26:15 dyoung: mvista? nopes - why? Jul 21 03:26:47 Jacmet: yes, it's debian, but with a slug kernel - hence DebianSlug :-) Jul 21 03:27:31 rwhitby: yes, that's fine - basically all there is to it is the timy kernel patch + byteswapping Jul 21 03:28:13 Just wondering if you had contact with mvista regarding plans for 2.6 support in IAL. Jul 21 03:28:35 yeah, we'd like to keep it up to date with the latest openslug kernel, and get slugimage to do the byteswapping when the 8MB image is built Jul 21 03:30:04 dyoung: nopes - I haven't actually spent that much time on the ethernet support - I gave it a try for a day and two and I didn't got it working - but since I already had an USB<->ethernet adapter that wasn't such a big deal Jul 21 03:30:14 rwhitby: ok Jul 21 03:31:15 Jacmet: we'll also add a nslu2-linux.org/wiki/DebianSlug/HomePage which links to your project page ... Jul 21 03:32:10 rwhitby: great Jul 21 03:32:27 it should have the same status as Unslung and OpenSlug in my book ... Jul 21 03:33:18 bbiab Jul 21 03:44:55 I'd be so happy with a DebianSlug Jul 21 03:45:12 it would replace my dual celeron 466 Debian machine :) Jul 21 03:47:01 senneth: well, performance isn't exactly comparable, but yes ;) Jul 21 03:47:15 well it's just an internet gateway Jul 21 03:47:27 it doesn't require performance :) Jul 21 03:47:50 it makes the electricity bills higher Jul 21 03:48:20 ok, then DebianSlug would fit perfectly Jul 21 03:48:41 or well, it would fit even better if we get the onboard ethernet working ;) Jul 21 03:49:14 It'll eventually happen. Jul 21 03:49:37 \o/ Jul 21 03:50:27 i wonder if this serial cable i assembled at work will work with the slug Jul 21 04:10:08 Jacmet: did your server get hammered after the /. article? Jul 21 04:10:54 rwhitby: fairly - but luckily the article linked to the linuxdevices.com article, so they had the most traffic Jul 21 04:11:22 rwhitby: unfortunately my machine was down for 13h yesterday Jul 21 04:12:15 yes, I saw you mention the bad timing by the cable company Jul 21 04:12:33 rwhitby: they were doing some electricity work yesterday, and I didn't get hold of anyone until in the evening Jul 21 04:13:28 rwhitby: it's "hosted" on a small dsl line in another country (~1100km from here) Jul 21 04:13:29 Did you submit the story to LinuxDevices, or did someone else submit it after seeing your page? i.e. did you have any forewarning it would appear? Jul 21 04:14:39 rwhitby: I posted the link on debian-embedded, and Bill Gatliff submitted the story Jul 21 04:15:28 Jacmet: I tried it myself today, but didn't get past the Low Memory page - for some reason my serial terminal couldn't cause the "Continue" button to be pushed. I think it's because I'm going through PuTTY to bash on a wl500g router, then microcom to get to the slug serial console. Jul 21 04:16:05 rwhitby: I also had some problems with minicom - cu works much better Jul 21 04:16:32 My only linux boxes with hardware ports are slugs :-) Jul 21 04:16:47 heh Jul 21 04:16:52 my development platform is linux under vmware on a windows xp laptop Jul 21 04:17:22 I wonder if the debian installer has a non-graphical option .... Jul 21 04:22:14 rwhitby: non-curses? dunno Jul 21 04:25:19 Jacmet: do you think there is a way of completing our DebianSlug process with just a single image flash? Jul 21 04:26:16 i.e. is changing the root= cmdarg the only reason for the second kernel ? Jul 21 04:28:09 rwhitby: yes, that's it - setting kernel cmdline from Redboot doesn't seem to work Jul 21 04:28:35 yeah, it doesn't work in redboot. however it does work in apex. Jul 21 04:29:42 ohh, ok Jul 21 04:30:14 so what needs to be done in this byteswapping (so I can add it to slugimage) ? Jul 21 04:30:35 is it each two bytes in a 16 bit word swapped? or 4 bytes in a 32 bit word? Jul 21 04:33:17 and was there a particular reason to choose the lart distro, or would any debian arm distro initrd do? Jul 21 04:33:43 rwhitby: 4 bytes in a 32bit word - E.G. 0x11223344 becomes 0x44332211 Jul 21 04:34:13 ok, so that's why you pad out to a multiple of 4 Jul 21 04:34:36 rwhitby: basically any arm initrd would work, but the lart is fairly similar to the nslu2 (embedded system, 32mb RAM) Jul 21 04:34:37 yes Jul 21 04:37:56 rwhitby: oh btw - remember that the debian installer requires devfs - so your kernel needs to support that Jul 21 04:47:03 there is some network-console support in the debian installer - perhaps we could use that so people don't need the serial port hack Jul 21 04:47:53 see http://wiki.debian.net/?DebianInstallerNetworkConsole Jul 21 04:48:03 yeah, that's the end-goal - a DebianSlug with no hardware mods and just requiring a usb nic Jul 21 04:49:41 whats wrong with the onboard nic? Jul 21 04:50:41 little endian only binary drivers at the moment Jul 21 04:50:56 Jacmet: I understand almost nothing on that page Jul 21 04:54:25 he meant "Only Big Endian binary drivers at the moment". Jul 21 04:54:57 LE support was introduced in the IAL 1.5. Jul 21 04:55:28 right. ignore anything I say about endianness cause it's usually wrong Jul 21 04:55:58 Jus t dont start typing in endian-wrong mode. :-) Jul 21 04:56:33 rwhitby: the debian installer page? you can preseed (preconfigure) the installer - and there's apparently a mode where it will start up a ssh server that you can connect to in order to run the installer Jul 21 04:57:10 % ls -lah /var/log/apache/peter.korsgaard.com-access.log Jul 21 04:57:11 -rw-r----- 1 root adm 65M Jul 21 13:40 /var/log/apache/peter.korsgaard.com-access.log Jul 21 04:57:13 wow ;) Jul 21 04:59:35 http://traffic.48ers.dk/webalizer/peter.korsgaard.com/ Jul 21 05:00:02 Can't be helped. you're famous now. Jul 21 05:00:40 slashdot.org :p Jul 21 05:00:53 dyoung-zzzz: yes, I just had my 15m of fame - it's all downhill from here ;) Jul 21 05:01:29 Nah, I expect that you'll be famous again once someone figures out how to make the IAL work. Jul 21 05:01:33 in le mode Jul 21 05:02:28 yeah, we've been lucky so far in nslu2-linux - all the publicity has gone to other people (like buzbee and jacmet) rather than slashdotting our site directly :-) Jul 21 05:03:19 rwhitby ;) Jul 21 05:03:40 Jacmet: I hope you don't have extra bandwidth charges on your site :-) Jul 21 05:04:00 rwhitby: no, luckily it's a flatrate connection Jul 21 05:10:02 ok, looks like I can pull bytes off in groups of 4 and use pack("N", unpack("V", $string)) in perl ... Jul 21 05:11:33 rwhitby: ok .. Jul 21 05:11:44 * Jacmet is a python guy ;) Jul 21 05:12:01 slugimage is in perl :-) Jul 21 05:13:07 I know ;) Jul 21 05:15:36 http://www.nslu2-linux.org/wiki/DebianSlug/HomePage is up - Jacmet, feel free to edit as you please. Jul 21 05:15:50 rwhitby: thanks Jul 21 05:16:02 I added it to the sidebar too Jul 21 05:16:48 DebianSlug is a wikigroup like Unslung and OpenSlug, so you can create DebianSlug/FooBar pages as you please. Jul 21 05:17:06 Intel has the eCos Access Library 2.01 epk available. Jul 21 05:17:28 rwhitby: ok Jul 21 05:18:37 the endianness is a compile time option though. Jul 21 05:19:47 dyoung-zzzz: I'm going the change the slugimage -e (ethaddr) option to -m (macaddr) and then use -e to swap endianness on the kernel and ramdisk as they are read in. Jul 21 05:19:55 rwhitby: I will update the page soon - gotta go now though Jul 21 05:20:02 afk Jul 21 05:20:04 Jacmet: no hurry Jul 21 05:21:40 dyoung-zzzz: we're changing from big to little endian, right? Jul 21 05:21:56 perhaps I should remove the payload option (since we're not using it, and use -l for little endian) Jul 21 05:25:14 Apex looks liek it can start in LE mode too. Jul 21 05:31:13 rwhitby, The primary reason for all this byteswapping is the bootloader is expecting the kernel and initrd in BE format; but if thebootloader is already in LE mode, we may be able to eliminate some of the byteswapping steps. But that is going to be for advanced users. Jul 21 05:32:20 right - either slugimage byteswaps for redboot, or doesn't byteswap for apex Jul 21 05:32:41 Right. Jul 21 05:33:27 I gotta talk with beewoolie; I'm halfway wondering if its going to be possible to make apex start in a selectable mode through the config block. Jul 21 05:33:43 if it's not now, then it will be :-) Jul 21 05:35:36 that may mean fairly siginificant change to the way config blocks are handled; since it will need to detect what mode its in. I didnt dig too deep yet. Jul 21 06:01:00 $_->{'data'} = pack("N*", unpack("V*", $_->{'data'}.pack("CCC", 0))); Jul 21 06:01:15 that's how slugimage will byteswap Jul 21 06:02:08 Want some line-noise with that? Jul 21 06:02:20 nah, its not that bad to read. Jul 21 06:04:13 do I need to get the Makefile? I'm getting: svn: Can't connect to host 'svn.berlios.de': Connection refused Jul 21 06:04:26 I meant, the NEW makefile. Jul 21 06:04:44 VoodooZ_Work: No - it is a general problem with berlios Jul 21 06:04:55 ok. thanks. Jul 21 06:07:04 ok, slugimage is byteswapping now ... Jul 21 06:07:49 03rwhitby * 10slugimage/slugimage: Added the -l option for byteswapping the kernel and ramdisk. Jul 21 06:08:08 can someone else check that out from CVS and confirm that it does the byteswapping correctly? Jul 21 06:08:31 apex is now part of the Makefile I see? Jul 21 06:10:12 yep, but it will be removed soon, cause I just added it to OpenEmbedded instead Jul 21 06:10:26 Leave it in please. Jul 21 06:10:33 I see. I guess I'm one step closer to trying it then. thanks. Jul 21 06:10:37 dyoung-zzzz: ok Jul 21 06:10:48 Because it makes testing WAY faster. Jul 21 06:11:04 dyoung-zzzz: I'll leave in the setup, but not the top-level build target. Jul 21 06:11:10 How can I tell when there's been an update to the Makefile? Jul 21 06:11:16 rwhitby, okay. Jul 21 06:11:22 VoodooZ_Work: just do make update regularly Jul 21 06:11:23 I mean, without diff'ing it of course. Jul 21 06:11:34 oh! So the Makefile is also updated? Jul 21 06:11:38 yes Jul 21 06:11:45 Ah! Good! I wasn't sure. Jul 21 06:11:48 by the update-master subtarget Jul 21 06:11:55 nice Jul 21 06:12:15 I was afraid to miss out on new features or breakage! ;) Jul 21 06:12:33 we can guarantee you will see any breakage ... Jul 21 06:12:34 Did you hear about me burning yet another I/O pin? Jul 21 06:12:38 Yeah, its a self-breaking development env. Jul 21 06:12:53 and I'm clueless so I break things easily! Jul 21 06:13:46 I've got one LED left to reroute the dead I2C pin. Hopefully I didn't kill both SCL & SDA this time! :( Jul 21 06:14:02 I'm planning on switching over to USB soon because of that. Jul 21 06:18:57 03rwhitby 07org.nslu2-linux.dev * rabe1f701... 10/Makefile: Removed build-apex target, as it is now in OpenEmbedded instead. Jul 21 06:21:29 ok, once someone else has tested slugimage (make sure you do *not* flash the output of an unproven slugimage unless you have jtag) I will tag it and update oe to use it. Then we can start byteswapping stuff in a debianslug image. Jul 21 06:22:11 * dyoung-zzzz debates tempting fate Jul 21 06:23:23 * dyoung-zzzz goes to sleep instead. Jul 21 06:27:45 awww - you could have been the second victim .... Jul 21 06:27:56 * rwhitby goes to bed too Jul 21 06:32:37 Good night rwhitby-away Jul 21 08:07:34 more bomb scares in London... just outside my window. Jul 21 08:08:11 I was just walking onto the Southbound platform at Warren Street when a train came in on the Northbound platform, there was some commotion and shouting and people started streaming through onto the southbound platform. Some people were running and one or two were hysterical and screaming. They were being looked after by other members of the public tyring to keep them calm and get them out. I... Jul 21 08:08:13 ...didn't see any smoke or visible injury. Jul 21 08:08:34 crazy... I'm going to have to walk home again probably. Jul 21 08:08:40 ho hum. Jul 21 08:09:51 copperbeech, do you live close to Warren? Jul 21 08:10:32 I work right next to Warren St. Jul 21 08:11:28 my sister is staying in Saunders hall on the corner of maple and fitzroy Jul 21 08:12:22 hmmm is that close to Warren St? Jul 21 08:12:28 Whats Saunders Hall? Jul 21 08:12:42 LSE dorm Jul 21 08:12:45 ah Jul 21 08:13:07 yea, its about 100-200m Jul 21 08:13:42 so nothing really major on the station? Jul 21 08:14:40 Appears not Jul 21 08:15:02 no - I dont think there was any damage - I didn't see any smoke or anything on the platform or any injury from where I was - mostly some pretty shocked people. Jul 21 08:15:57 thank god Jul 21 08:15:59 There is alledgely 1 injured person but it might be the person that set it off Jul 21 08:16:08 I guess this is another fact of life these days - just have to add it to the list of being knocked over crossing the road. Jul 21 08:16:38 yeah - interesting thing about this one is there must be a good chance of catching and interrogating the perpetrators ... Jul 21 08:17:11 unless they are some copy-cats and prangsters trying to add oil to the fire Jul 21 08:18:09 yeah - still rumour suggests they were of asian appearance... and the intention and effect is the same - terror Jul 21 08:18:38 two people arrested now Jul 21 08:19:07 which news feed are you watching? Jul 21 08:22:53 I am at work, so I only have n-tv (local stream) and bbc Jul 21 08:23:23 Sky News and New 24 Jul 21 08:44:44 * snadge is away: sleep.. oink time Jul 21 09:07:08 hello all. is there a way to perform trafficshaping on the nslu2? or only the complicated way discribed in the wiki? Jul 21 09:16:33 as i know trafficshaping has been enabled as a kernel module since unslung 4.x .. any clues? Jul 21 09:23:29 There is no web interface for it if that is what you're asking Jul 21 09:24:07 well, a little bit of work is no problem, but the way its discribed in the wiki is the hard (and outdated since its for 3.x) way Jul 21 09:24:48 guess i have to ipkg first the kernel-ip tables? Jul 21 09:25:08 If the module is already there then you can skip the parts relating to compiling and installing the modules Jul 21 09:25:20 I don't use it so you'll have to work out the rest yourself Jul 21 09:25:35 np thx Jul 21 09:28:32 bye Jul 21 09:49:58 * ingeba grumbles... svn still down. Jul 21 10:03:43 * senneth mumbles something about the Makefile in openslug/ Jul 21 10:04:25 * NAiL tries to discern exactly what senneth is mumbling about Jul 21 10:05:33 mmmm monotone doesn't like it anymore :( Jul 21 10:06:46 no external 3-way merge command found Jul 21 10:06:46 monotone: misuse: merge of 'Makefile' : '7ba2f0f3b811fa38edbd233f6322844d3bf6f090' -> 'e55ac201e58bb62ac096752f11e7de8ad5977784' vs 'ae98f8b964158474a452cba16a6a32ab251a20d6' failed Jul 21 10:06:50 make: *** [update-master] Error 1 Jul 21 10:12:30 install ediff (or vim?) Jul 21 10:12:56 heh Jul 21 10:41:34 how do i define the command? :) Jul 21 10:41:47 is it some envvar? Jul 21 11:07:07 <[cc]smart> To add default configfiles to packages, i should do this in a directory of the same name as the package in the packages home dir. Correct ? Jul 21 11:07:23 <[cc]smart> ie, i want to add default configfiles to cyrus-imapd Jul 21 11:08:05 <[cc]smart> so i should do this in openembedded/packages/cyrus-imapd/cyrus-imapd Jul 21 11:08:12 <[cc]smart> correct ? Jul 21 11:18:50 <[cc]smart> NAiL: ping Jul 21 11:20:21 [cc]smart: pong Jul 21 11:28:51 <[cc]smart> Hi NAiL. Are there results regarding the use/registration of system accouts ? Jul 21 11:35:13 [cc]smart: I've been mostly away due to some events in my personal life lately. I haven't had time to look at it. Jul 21 11:35:28 Temporarily, the packages in question create a user on install, IIRC Jul 21 11:35:45 I think I added that before everyone around me started breaking down Jul 21 11:38:20 I'm hoping to start catching up tonight/tomorrow Jul 21 11:49:53 most probably tomorrow, when I get my repos set up Jul 21 11:50:02 I'll end up with a few :\ Jul 21 12:27:09 Who uses AVR-GCC under linux? Jul 21 13:40:30 Who is running the MIAU bouncer change-me? Jul 21 13:44:15 03jbowler * r93 10/trunk/openslug/openembedded/packages/nis/ (pwdutils_2.6.bb ypbind-mt_1.18.bb ypserv_2.17.bb): Update path names for the moved archives to point to the 'OLD' directory. Jul 21 13:46:38 03jbowler * r94 10/releases/OpenSlug-2.3-beta/: OpenSlug-2.3-beta source release Jul 21 13:47:14 That is the official release (in the SVN archive), source tarball still to be made. Jul 21 13:47:28 Cool Jul 21 14:13:34 03jp30 * 10unslung/ (5 files in 2 dirs): more qemu stuff Jul 21 14:14:48 If you're going to install OpenSlug, installing a serial port is a necessity? Jul 21 14:15:11 no, it is not Jul 21 14:15:28 it's very nice to have one.. and it's not that hard to add Jul 21 14:15:59 Difficulty isn't an issue, finding the parts is. Jul 21 14:16:12 radio shack has the cables Jul 21 14:17:05 and if you put a 4 pin header, you can use a speaker cable out of old computers to be the connection Jul 21 14:17:45 btw, the obvious/lame question: why is it called a slug? Jul 21 14:17:49 Using a USB cable is simpler, since you only need three pins Jul 21 14:18:05 yes, Pin1 has NC Jul 21 14:18:11 dyoung, history lesson time Jul 21 14:18:40 BOfH: Any large electronics mail order company will be able to supply you the parts if you can't find the correct USB serial cable Jul 21 14:19:00 But that involves *waiting* :P Jul 21 14:19:43 yeah, i build a connector from an old siemens mobile phone cable, dunno if it works, since i forgot the that you have to solder on the board, i'll test it tommorow anyway Jul 21 14:20:04 s/the that/the pins that/ Jul 21 14:20:11 Unless you've got some magical method of instantly creating components out of thin air then whatever method will involve waiting Jul 21 14:20:11 I built one from a nokia cable Jul 21 14:20:24 I bought a LG6000 cable from radio shack, and the other parts from digi-key.com Jul 21 14:29:13 its called a slug because I once dyslexically read "unslung" (or maybe it was "NSLU2", cant remember anymore) as "unslug" or "nslug", and thought it a cool petname for the device. Jul 21 14:29:44 *there's* the history lesson for the day, boys and girls Jul 21 14:31:26 ~ubessa Jul 21 14:31:26 from memory, ubessa is a Unorthrodox But Effective Super Serial Adapter. It refers to a UBE board using a MAX232 coupled to a 74LVC244 because somebody was too lazy to get a MAX3232. Jul 21 14:31:59 lol.. I just got a MAX3232 instead :-) Jul 21 16:15:39 03jp30 * 10unslung/make/qemu-gnemul.mk: qemu-gnemul: fix a typo Jul 21 17:13:00 Anyone here? I have a really stupid question, that I'm having trouble with Jul 21 17:13:22 is it a development question or an end-user question? Jul 21 17:13:45 end-luser Jul 21 17:13:59 Meet you in #nslu2-general then Jul 21 17:21:13 victory! i have a working qemu-i386 Jul 21 17:21:28 (hosted on unslung) Jul 21 17:21:52 (working = "it will run ls") Jul 21 17:21:52 so you're emulating an i386 on Unslung? Jul 21 17:21:56 yeah Jul 21 17:22:04 can you run MAME ? Jul 21 17:22:42 (sorry, but that's always the first thing to test a new emulator isn't it :-) Jul 21 17:23:19 haven't tried anything more advanced than basic unix commands yet. it looks as though qemu exposes bugs in the unslung firmware and in gcc Jul 21 17:23:31 ...so it has been a long road to get that far Jul 21 17:24:30 jp30: do you have any candidates in mind for the Unslung release manager job? Jul 21 17:25:14 (since you and jf are now the leading Unslung developers ....) Jul 21 17:25:57 erm... no. is bob_tm interested? Jul 21 17:27:18 03jp30 * 10unslung/ (make/qemu.mk sources/qemu/no-schedule.patch): tweak gcc code to build qemu correctly Jul 21 17:41:34 ingeba-zzz (bob_tm) is happy to do some patches for new modules, but doesn't have the time to be the release manager Jul 21 17:44:16 bbl Jul 21 18:28:53 I'm thinking about picking up a slug and building my own arm linux system from scratch for it (which I already know how to do), and I'm wondering if it's possible to get into a shell on the device with more recent firmware without having to add a serial port or any other hardware mod Jul 21 18:29:07 stock firmware, that is Jul 21 18:29:16 snax: have you read about OpenSlug ? Jul 21 18:29:18 from what I've read, it was possible with older versions to get telnet Jul 21 18:29:26 yeah Jul 21 18:29:57 that will give you a standard linux kernel Jul 21 18:30:15 building the system isn't a problem Jul 21 18:30:32 I'm wondering what the best way to "hack" into the device is Jul 21 18:30:34 recent stock firmware (r29 or later) has removed telnetd, so you need either Unslung or OpenSlug to get a shell Jul 21 18:30:54 ok Jul 21 18:30:55 best way to hack in is just to install Unslung or OpenSlug. But we're biased here :-) Jul 21 18:31:14 so, it's just a firmware image? Jul 21 18:31:43 yep. and you can build your own firmware easily too ... Jul 21 18:31:59 if I can get into redboot so I can eventually dump my own kernel into flash, that would be enough Jul 21 18:32:19 mkdir -p /home/slug ; cd /home/slug ; wget www.nslu2-linux.org/Makefile ; make setup ; make openslug Jul 21 18:32:52 you can telnet into redboot if you get the timing right. I've never done it myself, but lots of people do it. Jul 21 18:33:10 telnet into redboot, hmmm Jul 21 18:33:17 Can I ask why you want to roll your own firmware? Does OpenSlug not do what you need, or is it for educational purposes (doing it yourself) ? Jul 21 18:33:28 educational Jul 21 18:34:05 I would suggest starting with building OpenSlug from scratch, and then creating your own OE distro where you can build up your own kernel and rootfs in a nice build environment. Jul 21 18:34:47 So you would have a snaxslug.conf in OpenEmbedded which used that build environment to get exactly the kernel and rootfs on the slug that you wanted. Jul 21 18:37:02 I'm running gentoo on my pc, and I've actually got the gentoo ports system, portage, to cross compile a working arm system Jul 21 18:37:21 snax: you want to talk to kolla_ then - he's getting gentoo running on the slug Jul 21 18:37:37 I snarfed a few patches from openslug to get NPE ethernet working :) Jul 21 18:39:14 does the unslung/openslug firmware runs big endian or little endian? Jul 21 18:39:20 *run Jul 21 18:40:04 big Jul 21 18:40:17 good Jul 21 18:40:42 for some reason both Debian for ARM and the pre-built Gentoo ARM stages run little endian Jul 21 18:47:01 might have some relation to x86 endianness. Not all apps handle endianness properly. Jul 21 18:47:32 Debian only supports LE. gentoo BE was incomplete/under development a while (~3 months) back. Jul 21 18:50:07 a lot of linux software does not cross compile very gracefully Jul 21 18:50:35 python and perl in particular are painful Jul 21 18:51:06 Linux-PAM cross compiles ok but then tries to link with x86 gcc and chokes Jul 21 18:53:26 if I had time, I'd go through every system gentoo ebuild and hack them up to cross compile for arm properly, but that's quite a few packages... Jul 21 18:54:55 native compiles take a LOOONG time though Jul 21 18:55:38 <[g2]> snax, it's really not that bad Jul 21 18:56:37 <[g2]> it's about 30 minutes to install the native tools and in 2/2.5 hours perl is fully built and all nearly 900 tests pass Jul 21 18:57:18 Linux-PAM is fixed on openslug. Jul 21 18:57:21 <[g2]> it's 100% test completion but something like 898 tests Jul 21 19:02:43 On openslug, how full does the internal flash have to be before the device won't boot? Jul 21 19:03:46 ipkg update will usually fill the flash if you run ipkg before booting from an external disk. Jul 21 19:04:26 If it gets to 95% don't reboot. Jul 21 19:04:29 In Unslung, we explicitly prevent users from doing that. In OpenSlug, it's caveat emptor :-) Jul 21 19:04:45 jbowler: good. so 93% is fine? Jul 21 19:05:10 Ah, well, I didn't say that, I said 95% is bad. Jul 21 19:05:13 03jp30 * 10unslung/sources/qemu/arm-timer.patch: qemu: add a non-trivial timer patch Jul 21 19:05:37 Try it, be prepared to upslug. Alternatively remove /boot/zImage* Jul 21 19:06:58 Er, isn't that the kernel? (unless I'm mistaken) Jul 21 19:07:41 Yes. It isn't used. Jul 21 19:07:53 (Unless you use APEX to boot). Jul 21 19:08:49 No, I'm on RedBoot Jul 21 19:11:05 Then you can delete it. The kernel is in the flash - the file system /boot/zImage is just a copy. Jul 21 19:13:14 /boot/zImage-2.6.11.2 can go as well? Jul 21 19:13:19 <[g2]> actually I think you'll want to remove that hoe Jul 21 19:13:22 zImage symlinks to that Jul 21 19:13:23 <[g2]> one Jul 21 19:13:35 <[g2]> pazactly Jul 21 19:18:46 is there some special driver necessary to use the rtc on the ixp425 board? Jul 21 19:20:14 snax: it's all in the OpenEmbedded repo ... Jul 21 19:20:27 look at the openslug-kernel Jul 21 19:28:09 where can I browse the repo? Jul 21 19:29:25 mkdir -p /home/slug ; cd /home/slug ; wget www.nslu2-linux.org/Makefile ; make setup ; cd openembedded Jul 21 19:29:59 or http://monotone.vanille.de/viewmtn/ Jul 21 19:34:56 or http://svn.berlios.de/wsvn/openslug/releases/OpenSlug-2.3-beta/openembedded/?rev=0&sc=0 Jul 21 19:42:26 ok, looks like it needs x1226 rtc Jul 21 19:42:34 now to figure out which patch provides that... Jul 21 19:42:48 I don't see it in stock kernel anywhere Jul 21 19:43:50 snax: really, the easiest thing to do would be to build openslug, and then you can watch what patches are applied ... Jul 21 19:44:16 all that stuff was done a long time ago here, and most people no longer remember the details .... Jul 21 19:44:31 and it's not documented anywhere, cause it's all in the build environment Jul 21 19:45:16 (I'm not trying to discourage you, I'm just giving you the path of least resistance to get the information you need) Jul 21 19:45:27 yeah Jul 21 19:48:19 <[g2]> snax which board are you building for ? Jul 21 19:50:50 I'm currently working with an IXDPG425 board Jul 21 19:50:59 reference board from intel Jul 21 19:51:39 I think it's pretty close to what's in the slug Jul 21 19:51:52 <[g2]> very close Jul 21 19:52:04 so the rtc chip should be the same, I would imagine Jul 21 19:52:06 <[g2]> is it your board ? Jul 21 19:52:12 packages/linux/openslug-kernel-2.6.11.2/x1205-rtc.c Jul 21 19:52:15 no Jul 21 19:52:20 which is why I want a slug Jul 21 19:52:31 otherwise I'd just use the board :) Jul 21 19:52:52 <[g2]> what do you want to do with it ? Jul 21 19:53:23 well, I have a nice 80 GB USB drive that isn't doing much right now Jul 21 19:53:31 so I figure a file/music server would be nice to have Jul 21 19:54:21 <[g2]> so you just want a NAS Jul 21 19:54:24 also, this is very educational Jul 21 19:54:36 <[g2]> heh Jul 21 19:55:00 <[g2]> I'm buildng boards Jul 21 19:55:20 <[g2]> it'll be a upscale unit Jul 21 19:55:50 <[g2]> not super upscale, but a nice step up Jul 21 19:56:32 <[g2]> It really depends on what you want to do and what you price sensitivity is Jul 21 20:04:15 yeah Jul 21 20:04:29 I had an idea, and in the wiki I found that someone had the same idea as me and got it to work Jul 21 20:04:45 USB soundcard/speakers + mpd Jul 21 20:04:53 <[g2]> heh :) Jul 21 20:05:05 <[g2]> it's in the openslug-packages already Jul 21 20:05:06 mpd is really nice Jul 21 20:05:58 <[g2]> haven't played with it much Jul 21 20:06:48 <[g2]> if I got a usb audio device and plugged in my BT adapter, then I could use my mobile phone to control the audio player Jul 21 20:07:18 [g2]: what's the client on the phone? Jul 21 20:07:52 <[g2]> well that might be an issue Jul 21 20:07:53 * rwhitby-away would just ssh into the slug from the Treo650 via BT and control it on the command line :-) Jul 21 20:08:28 <[g2]> August is getting close... so maybe I'll have to wait for the 770 :) Jul 21 20:10:12 x1205 is it Jul 21 20:10:27 alright... Jul 21 20:22:47 ok, patched my kernel, time to recompile... Jul 21 20:23:06 if I can get the rtc to work gentoo should be able to finish booting successfully Jul 21 20:28:32 <[g2]> snax, what's the starting address of RAM in your Redboot ? Jul 21 20:29:25 RAM: 0x00000000-0x02000000, 0x0001c238-0x01fd1000 available Jul 21 20:29:39 <[g2]> thought so :) Jul 21 20:30:24 LOADED Xicor x1205 RTC Dvr v0.9.3.3NPW Jul 21 20:30:24 Unable to handle kernel NULL pointer dereference at virtual address 0000000c Jul 21 20:30:29 delightful Jul 21 20:31:13 <[g2]> hey you executed 3 instructions Jul 21 20:31:57 <[g2]> is that after the decompressing kernel ? Jul 21 20:32:18 yeah, far after Jul 21 20:33:02 <[g2]> RAM: 0x10100000-0x20000000, 0x101156a8-0x1ffdd000 available Jul 21 20:33:37 odd Jul 21 20:34:09 <[g2]> not really.. the Expansion bus config is initially pointing low memory to flash Jul 21 20:35:04 <[g2]> and the Redboot I've got in there is pretty useless Jul 21 20:41:21 hey dyoung-web Jul 21 20:41:33 check the openslug logs for the native feed plans Jul 21 20:41:38 ugh, this is annoying Jul 21 20:42:13 <[g2]> where is the output getting to ? Jul 21 20:57:05 if I just compile in Enhanced Real Time Clock Support Jul 21 20:57:06 03jp30 * 10unslung/make/ (template-cvs.mk template.mk): foo-clean targets should remove builds/foo/.built Jul 21 20:57:43 /proc/driver/rtc seems to indicate everything is ok Jul 21 20:57:55 but if I cat /dev/rtc I get an input/output error Jul 21 20:58:10 and hwclock freezes trying to set or get the hardware time Jul 21 20:58:18 what the heck... Jul 21 20:58:26 You need the x1205 driver Jul 21 20:58:40 The standard kernel doesn't know how to talk to the RTC otherwise Jul 21 21:00:43 ok Jul 21 21:01:07 with both x1205 and enhanced rtc support compiled in, the kernel boots fine, but I have the same problem Jul 21 21:01:25 if I disable enhanced rtc support, the kernel panics after loading the x1205 driver Jul 21 21:07:43 <[g2]> did you adjust the GPIO lines ? Jul 21 21:10:26 03jp30 * 10unslung/make/sdl.mk: initial checkin - libsdl for unslung Jul 21 21:10:30 no Jul 21 21:10:52 <[g2]> they may be different that may be the same Jul 21 21:19:21 03jp30 * 10unslung/make/sdl.mk: sdl doesn't really need ice Jul 21 21:32:52 03jp30 * 10unslung/Makefile: promote sdl Jul 21 21:37:10 <[g2]> nite all Jul 21 22:22:19 03jp30 * 10unslung/ (4 files in 2 dirs): qemu tidying, sdl use Jul 21 22:55:47 Anyone here? **** ENDING LOGGING AT Thu Jul 21 23:59:57 2005