**** BEGIN LOGGING AT Sat Aug 05 02:59:56 2006 Aug 05 03:00:11 it is controlled by env vars, and by a bunch of config files, that live in the 'openembedded' dir Aug 05 03:01:28 bb uses 'openslug/tmp' as scratch space while it works Aug 05 03:01:49 and it puts its output in 'openslug/tmp/deploy/' Aug 05 03:02:22 it keeps track of how far along it is in 'openslug/tmp/stamps/' Aug 05 03:02:44 so that if you restart it, it can pickup where it left off. Aug 05 03:03:37 after you have edited the defconfig, bb wont rebuild the kernel by default Aug 05 03:04:03 because the stamps will say it has finished the kernel. Aug 05 03:04:21 um...ok Aug 05 03:04:36 stop me now Aug 05 03:04:39 but I thought I had to edit defconfig first Aug 05 03:04:39 ask questions Aug 05 03:05:12 uh- read three lines up: 'after you have edited the defconfig' Aug 05 03:05:58 you want me to try and fill in the defconfig part some? Aug 05 03:06:03 ok, ignore me...you were probably getting to what I needed to know Aug 05 03:06:17 you want me to try and fill in the defconfig part some? Aug 05 03:06:54 Well, I'm assuming after I edit defconfig I have to edit the stamps so bb will work? Aug 05 03:07:14 you have to remove the stamps for the stages you want rerun Aug 05 03:07:43 the stamps are just empty files, the existence of their name is all that matters Aug 05 03:08:48 so should I make it once first then edit defconfig then fix stamps and make again? Aug 05 03:08:52 you remove openslug/tmp/stamps/ixp4xx-kernel-2.6.17-r2.1.do_configure and compile, iirc Aug 05 03:09:19 you will make it the first time you do 'make openslug-kernel' Aug 05 03:09:34 until you do that, there is no defconfig to edit! Aug 05 03:09:40 oh...ok Aug 05 03:10:20 you make openslug-kernel and openslug-image first Aug 05 03:10:36 then you edit the defconfig in the kernel working dir Aug 05 03:10:53 then you remove the config and compile stamps for the kernel Aug 05 03:11:09 then you run make openslug-kernel again Aug 05 03:11:24 ok Aug 05 03:11:27 now the hard part :) Aug 05 03:11:40 .... Aug 05 03:12:03 ok.... Aug 05 03:12:06 if you have built any of the gadget drivers as modules Aug 05 03:12:16 (which is recommended) Aug 05 03:12:32 then making the kernel will make the modules too Aug 05 03:12:40 but, it does not install them Aug 05 03:13:18 you have to edit the config files that tell bb what kernel modules to include into the base os Aug 05 03:13:36 that's not part of defconfig? Aug 05 03:13:47 oh no. Aug 05 03:13:50 :) Aug 05 03:14:06 ok Aug 05 03:14:15 defconfig only controls the building of the kernel itself Aug 05 03:14:23 bitbake cannot read it Aug 05 03:14:33 does not understand it Aug 05 03:15:38 bb says 'kernel here is your config, build thyself' Aug 05 03:16:04 lol Aug 05 03:16:19 then bb walks over the kernel directory and packages up any modules the kernel left behind Aug 05 03:16:42 and it places those in tmp/deploy Aug 05 03:18:11 s/deploy/deploy\/ipk/ Aug 05 03:18:22 just as a side question. Do you think if I stop the 'make monotone' process it will recover where it left off? Aug 05 03:18:28 yes Aug 05 03:18:52 maybe :) Aug 05 03:19:02 ok, I'm going to kill it to install smp or it will take all night...I've got the one 900mhz proc pegged Aug 05 03:19:02 that is the point of make Aug 05 03:19:16 you may find no difference Aug 05 03:19:31 i would download mtn- hold on Aug 05 03:20:26 don't know what that is Aug 05 03:20:37 monotone, now called mtn Aug 05 03:21:00 what version of ubuntu? dapper? Aug 05 03:21:09 or is that deb... Aug 05 03:21:15 huh... I'll check the synaptic package manager when I'm done loading smp Aug 05 03:21:21 um...6.06 Aug 05 03:21:27 I think that's dapper Aug 05 03:22:04 there is a mtn 0.27 dapper deb on the mtn website Aug 05 03:22:22 http://www.venge.net/monotone/downloads/ Aug 05 03:22:38 monotone_0.27-dapper0.1_i386.deb Aug 05 03:22:53 there is a .28 too, but i dont know if thats compatible Aug 05 03:22:58 I actually grabbed the .28 package Aug 05 03:22:59 mtn changes alot Aug 05 03:23:07 probably ok Aug 05 03:23:17 nothing before .26 works Aug 05 03:23:30 I think it is...I checked out the wiki and it says some of them are using .28 Aug 05 03:23:36 cool Aug 05 03:23:59 looks like you've got a finished binary here. use that :) Aug 05 03:24:21 you are going to beat your cpu to death building gcc anyway :) Aug 05 03:24:53 oh, oops...I guess I wasn't doing make monotone, I was running make openslug-image Aug 05 03:25:16 no biggy Aug 05 03:25:41 was I supposed to do kernel first? Aug 05 03:25:48 does not matter Aug 05 03:26:12 bb figures out that it cant build the image until after the kernel is built Aug 05 03:26:21 because the image contains kernel modules Aug 05 03:26:23 oh, I'm following the wiki instructions on the mastermakefile Aug 05 03:26:34 do I need to do that first? Aug 05 03:26:46 so it builds the kernel first, even if you dont ask Aug 05 03:26:50 :) Aug 05 03:26:56 bb is smarter than you Aug 05 03:27:02 me too Aug 05 03:27:16 hm, bb is smarter than me too :) Aug 05 03:27:24 not me is smarter than you too :) Aug 05 03:27:34 dig it? Aug 05 03:28:10 fire up the make openslug-image again. Aug 05 03:28:48 in a few hours, after it has built glibc, gcc, the kernel, etc, it will leave you some goodies Aug 05 03:29:01 in openslug/tmp/deploy/img Aug 05 03:29:46 oops- openslug/tmp/deploy/images/ Aug 05 03:29:51 ok, I'll fire it back up after I restart...I'm hoping smp works after reboot Aug 05 03:30:13 900 mhz is slow, even with 2 of them Aug 05 03:30:25 yeah...and 1 is horrible Aug 05 03:30:32 most of the compile will be single threaded Aug 05 03:30:46 yeah... Aug 05 03:31:02 i just got a really nice athlon64 for next to nothing, Aug 05 03:31:21 but the alternative is to do this @ work on my virtual server...and even though it's on a HT system it'd still slow down to a crawl. Aug 05 03:31:49 can't do that when I have to compile work apps on the same processor Aug 05 03:32:24 defer your student loans and buy a new box :) Aug 05 03:33:14 afraid I can't defer them anymore Aug 05 03:33:19 my wifes machine is a64 3000+, 512M, case from a dumpster, $300 Aug 05 03:33:25 nice Aug 05 03:34:02 when I go to upgrade next time I'm shooting for dual core 64 bit ddr2 with a nice pci-express video board Aug 05 03:34:07 a homeless man sold my boss my current work desktop Aug 05 03:34:08 it's going to be a while though Aug 05 03:34:28 i am still all agp here Aug 05 03:34:33 me too Aug 05 03:34:39 ATI 9600 Aug 05 03:34:52 my wife's is a 9600XT Aug 05 03:35:01 mine is an X850Pro Aug 05 03:35:04 yeah...I think mine's XT too Aug 05 03:35:32 bought the 9600 when HL2 came out, had a $20 rebate Aug 05 03:36:06 well, past my bedtime Aug 05 03:36:36 alright...well You've been a TON of help...I'm going to save this log. I'll probably on and off over the weekend Aug 05 03:36:50 thanks for all the help Aug 05 03:37:43 np. i dont use irc much, so shoot me a private email if you want Aug 05 03:38:14 i had to fight thru all this crap for my slug project, so i know how daunting it can be. Aug 05 03:38:26 but you'll get there, and be far more employable for it. Aug 05 03:38:30 adios Aug 05 08:21:49 hiho Aug 05 08:22:36 ehh is there any documentation out there for the svn kernelpatchset and the makefile? Aug 05 08:28:27 just use openembedded Aug 05 08:28:32 svn sucks ass Aug 05 08:29:32 oe? Aug 05 08:29:56 i just want to build a kernel for my own Aug 05 08:30:13 not a distribution Aug 05 08:30:32 so use OE to build the kernel Aug 05 08:33:42 i need monotone and all this stuff for using oe? Aug 05 08:35:15 morning Aug 05 08:35:37 morning Aug 05 08:35:40 err Aug 05 08:35:41 hey eFfeM Aug 05 08:35:45 rammy2: you'll need monotone if you want to build the head Aug 05 08:35:51 then just follow the wiki instructions Aug 05 08:35:55 hi koen Aug 05 08:36:14 the audio stuff works great with the gcc patch Aug 05 08:36:15 koen: is there somewhere a documentation for what i want to do? http://www.openembedded.org/user-manual&dpage=ch05#id896466 Aug 05 08:36:40 'bitbake virtual/kernel' Aug 05 08:36:43 or is somewhere documented, HOW oe builds a kernel? Aug 05 08:36:49 rammy2: or http://www.nslu2-linux.org/wiki/Development/MasterMakefile Aug 05 08:37:19 assuming you want to build the head and not the 3.10 version Aug 05 08:37:30 ~seen rwhitby Aug 05 08:37:40 rwhitby was last seen on IRC in channel #openslug, 2d 6h 36m 21s ago, saying: 'NeoMatrixJR1: it's not a common hardware mod - you may need to talk to the wiki page author'. Aug 05 08:39:56 eFfeM: actually i just want to build a 2.6.16er kernel for my own.. and to be hornest, i dont know what to use oe there fore Aug 05 08:40:14 but i dont know about all these patches for the nslu2 in the kernel and for the ixp400 drivers Aug 05 08:40:35 i want to make a regular "make menuconfig" like with every kernel Aug 05 08:40:47 and a "make" Aug 05 08:41:28 rammy if you want to build the 2.6.16 kernel (the 3.10 one) then grab the sources from http://www.slug-firmware.net/ and run make Aug 05 08:41:56 there is no make menuconfig, but once you downloaded the 3.10 sources you can edit the defconfig file Aug 05 08:42:17 you don't need monotone or svn for building 3.10 Aug 05 08:43:02 actually the sources are at http://sources.nslu2-linux.org/releases/ (22.5 M) Aug 05 08:43:47 thats nice! Aug 05 08:44:38 i tried to make it with these: http://svn.nslu2-linux.org/svnroot/kernel/ Aug 05 08:44:46 the kernel runs fine Aug 05 08:44:57 but the icp stuff from intel makes problems Aug 05 09:00:21 you'll need to load that from the intel web site due to licensing conditions Aug 05 09:00:37 i've never tried the svn stuff Aug 05 09:37:04 rwhitby, quick Q (as I have to leave in a few mins) Aug 05 09:37:33 yesterday I added a patch to gcc to fix usb audio playback when using gcc 4.1.1 Aug 05 09:38:00 that means we should recompile the kernel (at least the pcm module needs to be updated) Aug 05 09:38:08 how do I achieve that Aug 05 09:38:20 1. ask someone to recompile on the build system Aug 05 09:38:33 2. bump PRCONFIG (although it is for defconfig) Aug 05 09:38:39 3. bump PR Aug 05 09:38:58 in the last case (if PR is bumped) should PRCONFIG be reset to 0? Aug 05 09:39:04 appreciate your opinion on this Aug 05 09:39:31 (btw: other topic, will you be taking care of the --lca in the master makefile ?) Aug 05 09:54:43 gone for several hrs but feel free to leave a msg Aug 05 09:57:49 eFfeM-log: just bump PRCONFIG Aug 05 09:57:55 I will be taking care of --lca Aug 05 17:16:54 Hey Kinto, did you get my email? Aug 05 17:17:04 yes Aug 05 17:17:19 i cam looking for you, but you changed your name Aug 05 17:17:28 its kitno btw :) Aug 05 17:18:06 oops...sor5ry, I've registered with nickserv w/ this name and then I've been changing to match my email. Aug 05 17:18:27 the best thing i can tell you to do re: your defconfig: Aug 05 17:18:44 is to get the kernel source onto your ubuntu box Aug 05 17:18:57 and run a 'make menuconfig' Aug 05 17:19:13 this is entirely apart from the OE build env Aug 05 17:19:42 you dont actually have to build the kernel, but looking at menuconfig gives you a great deal of help Aug 05 17:19:52 sorry, lost me. re:? Aug 05 17:20:04 regarding. Aug 05 17:20:36 ok, lets back up two steps Aug 05 17:21:05 the kernel compile is controlled by a file called .config in the kernel source dir Aug 05 17:21:23 this file decides what features are turn on/off modules, etc. Aug 05 17:21:45 ok Aug 05 17:21:58 the OE build environ provides you with a 'defconfig' file, which is the same format as .config Aug 05 17:22:26 this defconfig has been tweaked to build a proper kernel for openslug Aug 05 17:23:08 so basically, one of the steps that bb performs during kernel compile is to copy the defconfig over the .config Aug 05 17:23:45 so, since .config and defconfig are basically the same, Aug 05 17:24:33 we can use the kernel's built in .config editing capabilities to figure out the changes to the defconfig. Aug 05 17:24:47 ok so far? Aug 05 17:25:27 I think so Aug 05 17:25:50 where am i loosing you? Aug 05 17:26:02 s/loos/los/ Aug 05 17:26:04 kitno455 meant: where am i losing you? Aug 05 17:26:14 so my make openslug-image completed ok finally, where's my kernel image? Aug 05 17:26:36 or kernel Aug 05 17:26:38 not image Aug 05 17:26:53 look in openslug/tmp/deploy/images Aug 05 17:27:00 what do you have? Aug 05 17:29:16 ahh...well I just got a call...I've got to head out. I'll have to catch up with this later. Sorry...thanks for the help again Aug 05 17:29:24 np Aug 05 17:29:28 adios Aug 05 18:11:22 koen did you ever get your imic working on openslug or another oe variant? Aug 05 18:12:51 never tried again Aug 05 18:13:57 ah ok, i tried my philips audio thingie and earlier today it didn't work, then I connected directly to the slug 3 minutes ago and it works, connecting again to the hub still leaves it working Aug 05 18:14:01 *very confusing* Aug 05 18:14:20 the el-cheapo c-media thingie works like a charm ... Aug 05 19:23:22 NAiL: I was wondering about the status of ticket #12 on slugos 3.10. Can you update me. I want to update the pvrusb2-mci wiki page **** ENDING LOGGING AT Sun Aug 06 02:59:57 2006