**** BEGIN LOGGING AT Sat Aug 19 02:59:56 2006 **** BEGIN LOGGING AT Sat Aug 19 09:57:03 2006 Aug 19 20:12:42 hallo Aug 19 20:13:01 quick question for openembedded gurus, if they are around Aug 19 20:13:23 I'm trying to create a custom image based on slugos-btu (or ucslugc) Aug 19 20:13:52 I've got the rootfs setup with the master makefile, but have tweaked it manually Aug 19 20:14:41 then I have built a jffs2 image using the mkfs.jffs2 executable with the correct options as specified in slugos-image.bb Aug 19 20:14:59 (i.e. --pad --eraseblock=0x20000 etc etc) Aug 19 20:15:22 I'm planning to flash this image with upslug2 Aug 19 20:16:13 However, I don't know if I need to add the header specified for mtdblock3 on this page: Aug 19 20:16:16 http://www.nslu2-linux.org/wiki/Info/BootFlash Aug 19 20:16:41 What's more, I don't have a clue how to add the header manually :) Aug 19 20:16:52 Any suggestions gratefully received Aug 19 20:23:34 blaster8: can't help you with that, but I would suggest that you peek at how the standard build does things and act the same Aug 19 20:23:48 I've tried that Aug 19 20:23:58 but I haven't looked at the logs directly Aug 19 20:24:11 I'll have a look in stamps Aug 19 20:24:50 call me chicken, but for what I plan to do I don't want to add an entire new distro to the gigantic build mechanism already in place Aug 19 20:25:25 so I have customised the ucslugc distro, created a rootfs and kernel and have copied it out of the buildroot set up by the master makefile Aug 19 20:25:48 basically taking a snapshot :) Aug 19 20:26:08 I have never build a custom ucslugc, just build the std one. Aug 19 20:26:31 then I can try cross-compiling simple programs and customising in peace without worrying about an inadvertent make distclean or a new version of monotone Aug 19 20:26:44 I want everything to run from the flash Aug 19 20:26:52 (except swap and /var on a microdrive) Aug 19 20:27:03 why would you want to make a specific one, why not log in after installing the std one and install whatever additional package you need (or is the std one without usb storage support ?) Aug 19 20:27:24 The issue is one of space, I think Aug 19 20:27:36 if you can access the microdrive you can also install additional packages afterwards I would say Aug 19 20:27:53 space can indeed be an issue if you are pushing it very to the limits Aug 19 20:27:54 but I don't want to turnup, if possible Aug 19 20:28:33 I'm impressed, with liberal use of busybox I've managed to get the image down to about 3.6MB Aug 19 20:28:33 no need for turnup, if you can log in and have usb storage you could just mount the disk and install the packages from the disk to the flash Aug 19 20:29:01 actually you could even just copy over the binaries if that would work better Aug 19 20:29:29 indeed, but why copy the binaries when you can just build and customise the root fs in the first place Aug 19 20:29:51 i'm not really sure who the ucslugc wiz is, I see very feq questions about it. I guess (not sure though) that the wiz is jbowler, but haven't seen him around recently Aug 19 20:29:55 ~seen jbowler Aug 19 20:29:59 jbowler was last seen on IRC in channel #oe, 195d 2h 27m 41s ago, saying: 'k'. Aug 19 20:30:06 eek Aug 19 20:30:10 wow, that's long ago..... Aug 19 20:30:15 that's worse than me Aug 19 20:30:25 apparently he moved on to something else Aug 19 20:30:29 apparently Aug 19 20:30:42 still ucslugc just became another variant of slugos, as I understand it Aug 19 20:30:59 my plan is to build a backup server with the slug Aug 19 20:31:12 of course you can try without the header, as long as you use upslug2 you can't damage redboot (at least as far as I know), so you can always reflash Aug 19 20:31:24 <[g2]> eFfeM ping Aug 19 20:31:39 hi [g2], long time since we talked Aug 19 20:31:39 * [g2] calls blaster8 chicken :) Aug 19 20:31:45 lol Aug 19 20:31:49 <[g2]> how goes eFfeM ? Aug 19 20:32:34 still happy hacking, actually last week I made ucslugc compiling again, but as i only have one slug which is kinda running production i could not test Aug 19 20:32:48 earlier today ported ushare so I now have a upnp server Aug 19 20:32:57 <[g2]> eFfeM I've got ixp425 boards Aug 19 20:32:59 how are things at your side? still working on the loft Aug 19 20:33:02 hey, good Aug 19 20:33:25 <[g2]> technically I've been very happy with the loft Aug 19 20:33:43 <[g2]> sales/marketing wise I've still got plenty to learn :) Aug 19 20:33:45 not much new on your website Aug 19 20:33:57 <[g2]> depends on where you look :) Aug 19 20:34:03 yeah, that is a completely different ballpark than tech stuff Aug 19 20:34:08 top level page Aug 19 20:34:39 <[g2]> back in Apr I had a tarball for the G600 Aug 19 20:34:50 pages I can browse are all from sep 2005 Aug 19 20:34:56 great Aug 19 20:35:28 do you happen to know sigma designs ? I might be able to obtain an 8634 board next month Aug 19 20:35:56 i have an 8620 one, but that runs uclinux 2.4 (no mmu there) so i was not too tempted to hack that one Aug 19 20:36:29 it's been pretty quiet here recently, it seems a lot of the old-timers are gone or less active Aug 19 20:36:46 * [g2] has a bunch of new toys Aug 19 20:37:17 <[g2]> I am doing some regression (madwifi) with the Loft though Aug 19 20:37:23 * eFfeM loves new toys Aug 19 20:37:29 <[g2]> and other fun things like GPS Aug 19 20:37:32 madwifi was not building recently Aug 19 20:37:46 <[g2]> there's an issue with 4.1.1 Aug 19 20:37:48 i've had a BT GPS receiver connected to my slug once Aug 19 20:38:11 there were 2 compiler options that were not in 4.1.1 Aug 19 20:38:13 <[g2]> it's just the last part of the install that doesn't work for the madwifi Aug 19 20:38:32 according to koen and the others in #oe I could safely take them out, so I did Aug 19 20:38:32 <[g2]> right the mapcs and ? Aug 19 20:38:35 somewhere last week Aug 19 20:38:44 <[g2]> I googled and found that Aug 19 20:38:55 -malignment-trap if I recall correctly, it is on the head Aug 19 20:38:57 <[g2]> it was a coupe weeks ago like 2 when you did it Aug 19 20:39:16 <[g2]> I didn't see the -malignment-trap Aug 19 20:39:20 <[g2]> I build with 1705 Aug 19 20:39:25 <[g2]> s/build/built/ Aug 19 20:39:26 [g2] meant: I built with 1705 Aug 19 20:40:56 <[g2]> eFfeM are you having any luck building the 2.1 NPE libs with the 4.1.1 compiler ? Aug 19 20:41:13 [g2] can I submit a patch to openntpd in the nslu2 repository Aug 19 20:41:24 couple of issues I found Aug 19 20:41:58 <[g2]> I think the development list on yahoo is a good place for that Aug 19 20:42:09 [g2]: I use the 4.1.1 compiler and the 2.1 (maybe 2.1.1) NPE I think Aug 19 20:42:17 hmm, yahoo - I'll dig out my login Aug 19 20:42:29 <[g2]> eFfeM is that with BE or LE ? Aug 19 20:42:44 be Aug 19 20:42:45 <[g2]> and with kernel version ? Aug 19 20:42:57 <[g2]> Ok I'm building LE Aug 19 20:43:12 2.6.17, I am on the head and can build a kernel without any issue Aug 19 20:43:33 briefly peeked at 2.3 but didn't have sufficient time for that Aug 19 20:43:34 <[g2]> eFfeM 2.6.17 from SVN ? Aug 19 20:43:53 <[g2]> as in nslu2-linux kernel svn Aug 19 20:44:01 i think so, I just use the master makefile, and I seem to recall that it drags the kernel from svn Aug 19 20:44:10 actually I am a noob when it comes to svn Aug 19 20:44:30 <[g2]> source control is overrated :) Aug 19 20:44:44 <[g2]> s/control/control systems/ Aug 19 20:44:44 [g2] meant: source control systems is overrated :) Aug 19 20:44:50 <[g2]> s/is/are/ Aug 19 20:44:51 [g2] meant: source control are overrated :) Aug 19 20:45:40 <[g2]> eFfeM Ok there's the eeprom issue with 2.6.17 for pulling the MACs on the loft platform Aug 19 20:46:06 <[g2]> maybe I'll try building some stuff later this weeking Aug 19 20:46:18 blaster8: just mail the patches to nslu2-developers@yahoogroups.com or drop me an email Aug 19 20:47:27 i had the impression that there were others also using the head with le (especially the debianslug people) but as I said it has been pretty quiet here recently Aug 19 20:48:07 <[g2]> eFfeM I've been running Debian on the Loft's for quite a long time now Aug 19 20:48:35 <[g2]> my website is a loft and it's been up for like 120+ days Aug 19 20:48:54 <[g2]> the slug before that was up for like 150+ before replacing it with a Loft Aug 19 20:49:33 <[g2]> and I've got one in the house that's acting as a DHCP server that's been up for ever Aug 19 20:49:43 I every once in a while manage to break things when upgrading. E.g. if busybox is upgraded sometimes ipkg gets nuts because progs are deleted that are needed for installing the new copy Aug 19 20:49:46 ipkg really sucks Aug 19 20:50:23 mine is on 24/7 but is rebooted every once in a while to move to a new kernel or to test some new stuff Aug 19 20:50:35 <[g2]> i'ts been up 87 days Aug 19 20:50:52 <[g2]> I've actually played around with booting squashfs Aug 19 20:51:29 never looked at it (actually don't know it) Aug 19 20:51:31 * eFfeM googles Aug 19 20:51:37 <[g2]> I'm tinkering with running a squashed rootfs as debian or something else with some writable overlays/mounts Aug 19 20:51:54 <[g2]> squashfs rocks, but it's RO Aug 19 20:52:00 ah, looks good Aug 19 20:52:26 would be nice for the root fs (except /var of course) Aug 19 20:52:42 and changing things (like /etc files) is of course nasty Aug 19 20:53:16 would be a nice addition Aug 19 20:53:23 hi rod Aug 19 20:55:55 rwhitby: got the following info exchange with hrw on #oe, but I'm not sure I understand. Do you? Aug 19 20:55:56 eFfeM: can you add COMPATIBLE_MACHINE to slug recipes? Aug 19 20:55:56 hrw: what exactly do you want me to add and where? I don't know COMPATIBLE_MACHINE and I am not sure which recipe you are referring to Aug 19 20:55:56 effem: i did a world simulated build and all *slug* metas/images depend on stuff defined only in slug configs Aug 19 20:55:56 effem: COMP_MACH tell bitbake to skip it - look at zaurus kernels as example Aug 19 20:56:44 eFfeM: compatible machines would be ixp4xx ? Aug 19 20:57:00 i guess so, found this while grepping: Aug 19 20:57:01 linux/unslung-kernel_2.4.22.l2.3r63.bb:COMPATIBLE_MACHINE = "nslu2" Aug 19 20:59:59 i assume we can add it to the linux/ixp4xx bb file as well, but I don't really know what I am doing, so I prefer to use caution (and/or to learn how it is done) Aug 19 21:00:39 rwhitby: the unslung bb suggests compatible machine is nslu2 Aug 19 21:01:01 yeah, for unslung it is nslu2. Aug 19 21:01:10 (Unslung doesn't use the ixp4xx kernel) Aug 19 21:01:12 another line says: linux/handhelds-sa-2.6_cvs.bb:COMPATIBLE_MACHINE = '(h3600|simpad|jornada56x)' Aug 19 21:01:30 so this also seem to refer to machine names Aug 19 21:01:34 Hmm - perhaps we can do ixp4xx|nslu2|nas100d|.... Aug 19 21:03:19 rwhitby, googled and found the following in the doc: Aug 19 21:03:19 COMPATIBLE_MACHINE[doc] = "A regular expression which matches the MACHINES support by the package/file. Failure to match will cause the file to be skipped by the parser." Aug 19 21:03:38 so your suggestion seems good Aug 19 21:04:27 found this page, which will probably greatly help me to understand things Aug 19 21:04:28 http://oz.hentges.net/openembedded/org.openembedded.dev/conf/documentation.conf Aug 19 21:06:06 might want to add COMPATIBLE_MACHINE to both meta/slugos* and linux/ixp* Aug 19 21:07:06 anyway, i'm not going to do this any more today, calling it a day. fully booked tomorrow, try to come again on monday, out of town for the rest of next week Aug 19 21:08:56 ok, we'll get it sorted out sooner or later. I expect it's not time critical. Aug 19 21:10:15 rwhitby: don't think so. Aug 19 21:10:33 btw have you looked at: http://groups.yahoo.com/group/nslu2-linux/message/14659 Aug 19 21:10:57 there is some old stuff in the 3.10 feed. suggest a full rebuild Aug 19 21:11:36 also have you considered readding ucslugc to the autobuilder (if you want to we can delay until I'm back again next weekend) Aug 19 21:12:15 cu Aug 19 23:44:51 is the a way to install all package with ipkg? Aug 19 23:45:09 there is kernel-modules .. **** ENDING LOGGING AT Sun Aug 20 02:59:56 2006