**** BEGIN LOGGING AT Mon Aug 27 02:59:57 2007 Aug 27 03:17:50 JRsup1: dunno about the Makefile, but that URL is not found for me Aug 27 03:19:34 sorry..mis-transposed from my VNC window Aug 27 03:19:37 http://rafb.net/p/KrJGM547.html Aug 27 03:20:25 probably not the makefile...probably just me missing something Aug 27 03:21:03 I haven't built from the makefile in a long time Aug 27 03:21:24 you need to do what bitbake told you to do, regarding git Aug 27 03:21:57 did you do the OEAndYourDistro steps? Aug 27 03:23:22 I did some steps for my distro, but I'm not sure if that was the page I got that from. I'm trying to find that now Aug 27 03:24:51 I just followed the instructions under MasterMakefile on the Wiki in accordance with Ubuntu Aug 27 03:25:03 http://www.openembedded.org/wiki/OEandYourDistro Aug 27 03:26:08 JRsup1: can you update that MasterMakefile page with the git info then? Aug 27 03:26:38 OIC...I'm still using wiki instructions from www.nslu2-linux.org. Aug 27 03:27:07 I can give it a shot...I've never really done any wiki editing other than a couple comments on the the device side usb page Aug 27 03:29:50 I'll have to look over the old instructions and the new ones and probably make a section for Development with Ubuntu 6.10. It may take me a while to get to it though since I'm getting Married next weekend Aug 27 03:29:57 :) sry... Aug 27 03:32:57 03rwhitby * r916 10kernel/trunk/patches/ (2.6.21/defconfig 2.6.22/defconfig): Enabled support for IXDPG425 boards Aug 27 03:43:37 rwhitby: went back and followed OE instructions...same error. Do I need to restart? Aug 27 03:45:58 Eh...nevermind for now. It's sleeptime...'cause tomorrow's worktime... :( I'll have to pick this up tomorrow. Thanks for the point in the right direction! Aug 27 05:01:06 03gordon * r917 10kernel/trunk/patches/2.6.22/ (13 files): Update IXP4XX network drivers to Krzysztof's latest version from git Aug 27 16:33:07 Has the NSLU2-Linux MasterMakefile set of instructions been completely been outdated by the OpenEmbedded GettingStarted instructions? Aug 27 16:35:56 Sry, I haven't had time to work with my NSLU2 in a while so I've lost track of the current processes. Aug 27 17:14:21 JRsup1: No. Both are acceptable ways of building SlugOS (aka OpenSlug) and assocatiated packages. MasterMakefile is easier, and is encouraged. Aug 27 18:05:10 what's the easiest way to a configurable kernel build with the latest kernel being used? OE or MasterMakefile? Aug 27 18:11:46 jikes nslu2-linux.mtn.gz is big... Aug 27 18:12:21 Mastermakefile is very nice.. i used it with openmoko.. Aug 27 18:12:58 but building it took 6 hours for me.. dual core 2.8Ghz Aug 27 18:14:36 I can't seem to get the mastermake file to work for me anymore. I have followed all the prep instructions for OE and MMF and I get: http://rafb.net/p/YAIoIT65.html Aug 27 18:28:13 NOTE: package mtd-utils-native-1.0.0+git-r4: task do_fetch: failed Aug 27 18:32:21 any way to get the package manually? Aug 27 18:35:17 did you configure git? Aug 27 18:35:21 If you wish to complete the transition early, install git-core Aug 27 18:35:23 and use (as root): update-alternatives --config git Aug 27 18:36:56 Test by issuing the "git" command -- if it fires up the gitfm (the filemanager) you need to do the update-alternatives, or figure something else out so that "git" is "git", not "gitfm" Aug 27 18:53:46 got it...thanks. Yes, git was trying to launch gitfm. Aug 27 18:54:40 odd...I must have accidently updated git while I was running updates, because it was working the last time I tried this. Aug 27 19:30:17 JRsup1 wait until you start using mtn Aug 27 19:30:41 if your version is > 0.28 then you have to do a rosters regenerate on the db Aug 27 19:31:15 yeah...I've done that before. now when I set up my test system again I just get .28 to avoid the hastle Aug 27 19:34:25 hehe Aug 27 19:34:43 i wonder how often it has to do that.. Aug 27 19:34:59 set up my test system? Aug 27 19:35:02 everytime the mnt image gets updated or? Aug 27 19:35:15 the rosters to regenerate command Aug 27 19:36:40 does anyone know where the instructions are again for loading the files through redboot? I have these files now and I can't find the instructions I used to have: http://rafb.net/p/CIuJIj37.html Aug 27 19:37:09 http://www.nslu2-linux.org/wiki/Main/UpSlug Aug 27 19:38:10 that one? Aug 27 19:38:42 yes...I used to use the UpSlug method, but 1) I'm not physically where the unit is so I can't get it to upgrade mode and 2) I have used redboot to load the images but not perminantly flash them to the device to test it out Aug 27 19:39:10 I want to test the base build I just compiled before i go in and customize the kernel Aug 27 19:39:36 http://www.nslu2-linux.org/wiki/HowTo/InstallUnslungFirmware Aug 27 19:41:29 http://www.ertos.nicta.com.au/software/fass/redboot-v1_92-ixdp425-mini-howto.html Aug 27 19:41:36 this one looks promising Aug 27 19:42:45 well...it will kill my current image, but that one doesn't do what I want either...http://www.nslu2-linux.org/wiki/HowTo/RemotelyEnterUpgradeMode Aug 27 19:43:10 and http://www.nslu2-linux.org/wiki/HowTo/TestAnImageInRamUsingRedBoot Aug 27 19:45:53 ah...there we are...the second link contains instructions to use SlugImage to split the file out then I can load into RedBoot remotely and test the build Aug 27 20:10:01 (excuse the multiline...but the chan's not busy...)WOOT...it booted! It got to a command line, but I got a lot of: Aug 27 20:10:03 FATAL: Could not load /lib/modules/2.6.21/modules.dep: No such file or directory Aug 27 20:10:04 while booting Aug 27 20:14:19 but it booted so thats promising :) Aug 27 20:14:29 did you telnet into your nslu or? Aug 27 20:27:07 serial Aug 27 20:28:32 I have my system set up at home w/ serial. I've got the NSLU2 to turn on whenever power is applied to the power jack. i have a setup that allows me to turn the power on to the NSLU2 by remote. So I just turn it on then ^c into redboot Aug 27 20:35:05 JRsupl nice.. i haven't gotten that far yet.. plus i didn't feel the need to do some soldering yet Aug 27 20:35:14 maybee the usb2serial might be an option Aug 27 20:36:34 turn on the power by remote.. hehe how did you do that got un UPS attached to it or? :) Aug 27 20:56:56 X10 remote outlet thinger...home automation crap. I've got 2 modules and a serial controller. Aug 27 20:57:30 started doing the soldering a while back...I was working w/ an Engineer in a previous job...he did a lot of it, but I added that mod last night :) Aug 27 20:58:15 I've been trying to get the device-side USB going again for some time now. I just never have time to work on it, or my test system is dead... Aug 27 20:58:47 ...ok...so now I have to remember how to reconfigure the kernel..... Aug 27 21:35:59 close. make ARCH=arm menuconfig output: http://rafb.net/p/xRKKIH87.html Aug 27 21:53:43 lots off errors JRsup1 Aug 27 21:55:56 indeed Aug 27 21:56:18 unfortunately I don't know what it means Aug 27 22:00:36 JRsup1, you're missing the ncurses library Aug 27 22:02:37 if you have a fedora-style distribution, install ncurses-devel package Aug 27 22:11:45 I have ubuntu...but thanks...I'll check on this when I get home...it's the END OF THE WORKDAY!!!! WOOOOO!! Aug 27 22:13:27 :O Aug 27 22:14:01 usually if you get a lot of errors, it's one of the first errors just causing the rest of them Aug 27 22:14:31 at least this was the case.. you were lacking curses.h Aug 27 22:14:49 hope it works out! Aug 27 22:21:27 JRsup1: Google is your friend. Key in the first error you get (the one about curses.h) and enlightenment will be yours! Aug 27 22:24:06 redundancy! now with added value! :) Aug 27 22:24:35 * xkr47 thanks for chiming in with the google tip Aug 27 22:24:56 Just trying to answer the shotgun blast question in every forum it was asked... Aug 27 22:25:13 ?--) Aug 27 22:25:35 JR sent the question to both the -linux and the -developers lists, too. Aug 27 22:26:12 Sigh. Let's maximize the number of people's time we can consume with a question that was already answered by you before the mailer-daemon even got it... Aug 27 22:26:24 :-) Aug 27 22:27:21 sometimes the price of innovation and success seems high.. but the end result pays off Aug 27 22:27:28 at least I believe so :) Aug 27 22:28:12 * mwester scratches his head as he tries to figure out how blasting questions to everyone in parallel equates to innovation and success... Aug 27 22:29:02 * xkr47 suggests to ponder no more and go on saving the world :) Aug 27 22:29:17 It's my opinion that serious digging and research, interspersed with directed questions seeking direction in said research is the best way to realize learning and success... Aug 27 22:29:40 But to each his own, I suppose. Aug 27 22:30:04 I can't say I disagree with you Aug 27 22:30:40 I'm more of a "everybody needn't be good at everything" guy that thinks it's ok to be helpless in some aspects Aug 27 22:31:02 but why is curses.h needed in the first place? compiler, make tool, i can understand Aug 27 22:31:19 menuconfig is a textual gui. Aug 27 22:31:22 eno, make menuconfig --> menuconfig is a ncurses text-mode ui for configuring the kernel Aug 27 22:31:30 heh shortest answer wins :D Aug 27 22:32:00 alright Aug 27 22:32:08 that explains it Aug 27 22:32:24 one does not have to use it -- there is "make config", "make newconfig", "make xconfig" and whatnot Aug 27 22:32:34 but it's nice, I use it :) Aug 27 22:33:38 ideally ncurses-native should be a dependency of menuconfig Aug 27 22:34:33 the kernel does not do external dependency tracking Aug 27 22:34:38 it just assumes stuff is there Aug 27 22:34:50 It's not built automagically by anything; not required to build any distro. It's a utility that is built when a developer wants to tweak the defconfig with a GUI instead of by hand. Aug 27 22:34:50 there's no "autoconf" or the like Aug 27 22:35:31 that makes sense Aug 27 22:35:33 hand in hand, our answers go Aug 27 22:36:19 in soviet russia, sleep go to me Aug 27 22:36:25 so long, cu later :) Aug 28 00:38:13 sorry for creating a ruckus. The channel wasn't very active when I dropped the email and I was leaving work...I thought maybe some others who weren't in here may have had some ideas Aug 28 00:38:44 ncurses did fix the problem so thanks to xkr47 wherever you are..... Aug 28 01:20:15 JRsup1: if you have kernel changes that you want us to include in the standard distro, just let me or mwester know Aug 28 01:29:58 rwhitby: I doubt you'll need to add anything...I doubt it'll work. I'm just adding USBgadget modules Aug 28 01:30:47 JRsup1: I'm very interested in usb gadget support. How are you getting access to a device USB port though? Aug 28 01:31:01 (as opposed to the host ports that are easy to access?) Aug 28 01:31:45 soldered one in per the how to. It's not "fully" functional but I got it to work *once* in uClinux Aug 28 01:32:23 fully as in you have to manually run the module since there's no GPIO for the port Aug 28 01:32:30 interesting. got some pictures of your soldering work? Aug 28 01:33:50 not at current but I could probably post some to my webserver when my fiancee gets home and tells me where my digital cam is. Aug 28 01:34:00 she should be home in about 45 min Aug 28 01:36:57 rwhitby: would you have any idea why my boot process is looking for /lib/modules/2.6.21/..... but my directory structure is X/2.6.19/... Aug 28 01:37:06 the numbers are wrong Aug 28 01:38:28 JRsup1: we can upload the photos to http://www.nslu2-linux.org/gallery/ Aug 28 01:38:51 JRsup1: which kernel version are you running? Aug 28 01:39:08 2.6.21 Aug 28 01:39:19 and did you rebuild your rootfs for that new kernel, or at least ipkg install all the kernel modules for it? Aug 28 01:41:43 um...nope...must have missed that instruction somewhere. Don't remember doing it the last time I did this Aug 28 01:42:35 when I last did this about a year ago I just ran make and that was good.... Aug 28 01:43:22 I am cross-compiling my kernel/image on a Ubuntu 6.10 system Aug 28 01:47:54 it didn't add my usb gadget module either.... :( Aug 28 01:48:09 I'm really wishing I hadn't lost my old notes on this Aug 28 01:50:02 I'm not finding instructions on nslu2-linux.org for rebuilding the rootfs. I'd imagine the ipkg'ing would be done on the NSLU2 but I'm not sure on that one either. Aug 28 01:53:55 Hmm...in my compile environment I have 2.6.21 Aug 28 01:54:56 the master makefile builds both kernel and rootfs Aug 28 01:55:10 if you build slugos head, it will build 2.6.21.6 Aug 28 01:55:50 you can change the defconfig in packages/linux/ixp4xx-kernel/2.6.21/defconfig Aug 28 01:56:21 or you can just ipkg install the kernel modules from the slugos unstable cross feed Aug 28 01:56:47 I wonder if it's because I didn't actually flash the image I just went into redboot and loaded ramdisk.gz and vmlinuz Aug 28 01:57:36 you should flash a stable starting point, with kernel modules that match the kernel you're testing, then you can test new kernel images in redboot with that. Aug 28 01:58:15 where did the ramdisk.gz come from, such that it's contents don't match the kernel you're using it with? Aug 28 01:58:27 ok...I've got to go back to the instructions and remember the steps to do an actual flash Aug 28 01:58:40 I did a SlugImage -u -i Aug 28 01:58:57 so I thought it would match...but something's not coming up right... Aug 28 02:00:40 I followed http://www.nslu2-linux.org/wiki/HowTo/TestAnImageInRamUsingRedBoot Aug 28 02:09:56 ok, flashing a recent base image (good thing I saved that!) Aug 28 02:13:50 that was it...it wasn't loading the updated fs. The new flash has the appropriate 2.6.21 modules Aug 28 02:16:56 rwhitby: ok, so I have a running base image that's ok. I went back and ran a make menuconfig on the kernel and added the USB gadget modules. I removed the do-compile for the kernel and re-ran the make slugosbe-image. It didn't add my modules. did I miss a step? Aug 28 02:17:57 it won't add the modules to the rootfs unless you explicitly tell it to (we don't have room in the flash for the many possible kernel modules) Aug 28 02:18:08 look in tasks/task-slugos.bb Aug 28 02:23:33 so now it needs to be in defconfig (which I forgot how to add the lines here after I did a make menuconfig) *and* in the task-slugos.bb? Aug 28 02:28:00 you need to enable the module for compilation in defconfig, and you need to add the module to the rootfs image in task-slugos.bb Aug 28 02:28:19 (since we can't add *all* modules compiled into .ipks to the rootfs image) Aug 28 02:29:03 (there are 432 module ipks emitted by compiling the kernel) Aug 28 02:29:40 all of which appear in our feeds, but only a few of which are required to boot, get disk access, and get network access (so you can ipk install any other ones you need) Aug 28 02:32:55 do i have to make the kernel before I remove the do.compile stamp and rerun my make slugosbe-image? Aug 28 02:35:27 JRsup1: I'm not sure whether the compile stamps is enough, since the defconfig is copied over in the unpack stage Aug 28 02:35:48 yes...so I know I DONT want to remove the unpack stamp Aug 28 02:35:52 that's one I DO remember Aug 28 02:36:00 that overwrites my changes Aug 28 02:36:18 best to change the defconfig in the OE metadata, then completely rebuild the kernel. Or alternatively change the config in the kernel build directory (but remember to preserve those changes into the defconfig later) Aug 28 02:36:25 should i remove the rest of the stamps? and do I need to seperately make the kernel first? Aug 28 02:36:38 oh, do you have actual code changes as well as .config changes? Aug 28 02:36:57 no...just config/defconfig changes Aug 28 02:40:58 so just change the defconfig in the directory I gave you, and completely rebuild the kernel package. Aug 28 02:41:12 (i.e. bitbake -c rebuild ixp4xx-kernel) Aug 28 02:43:19 ...it did do.unpack even though I left the stamp.... Aug 28 02:43:29 well...I did the other command Aug 28 02:43:40 I haven't tried direct bitbake commands yet Aug 28 02:47:03 I don't have bitbake as a command Aug 28 02:48:59 you need to ". ./setup-env" Aug 28 02:50:23 just caught that as make slugosbe-image was running. I think I got everything back on track now Aug 28 02:55:21 how would I find out the name of the module to put in task-slugos.bb, and how do I make it re-run that part? Aug 28 02:55:59 the kernel Kconfig (or corresponding Makefile in the kernel source) will tell you the name of the module Aug 28 02:56:14 task-slugos is a package, so just bitbake -c rebuild it **** ENDING LOGGING AT Tue Aug 28 02:59:56 2007