**** BEGIN LOGGING AT Mon Jun 09 02:59:56 2008 Jun 09 09:51:17 Hello there Jun 09 09:51:59 hello Jun 09 10:00:56 Need to make a patch in order to modify kernel conf... How can I do it? (or where can I read about it?) Jun 09 11:31:26 hi, any akita owners here? Jun 09 11:57:27 Hello, pplz! I need some help with booting angstrom in qemu-system-arm.. Jun 09 14:28:55 I need to create a recipe that recompiles current kernel changing some configuration Jun 09 14:28:59 How can it be done? Jun 09 14:35:58 How ca I launch from my recipe linux-rp task, for example? Jun 09 14:37:07 bitbake -c blah Jun 09 14:37:10 bitbake blah? Jun 09 14:37:19 bitbake -c clean blah Jun 09 14:37:21 I mean Jun 09 14:37:24 then Jun 09 14:37:27 bitbake blah Jun 09 14:38:11 bitbake linux-rp -c menuconfig Jun 09 14:47:42 mmm Jun 09 14:49:11 What I want is to launch my recipe "bitbake mytask" and that recipe add a patch to kernel generation Jun 09 14:49:27 I need my task to have mipv6 support Jun 09 14:49:58 but I need this task to be launched by someone else, not just me, and from a different computer Jun 09 14:50:32 Maybe I'm not explaining well... Jun 09 14:54:00 XorA: What's the difference between bitbake and bitbake -c ? Jun 09 14:54:43 bitbake recipe -c task is where you can selectively run stuff Jun 09 14:54:57 bitbake recipe -c patch only runs as far as patch for example Jun 09 14:55:05 ffc: I think you confuse task with package Jun 09 14:55:45 bitbake -c Jun 09 14:58:54 dcordes: you're right :-P Jun 09 15:01:33 ffc: to automate the kernel configuration you could for example add a patch for the .config to your recipe or fetch the entire config from somewhere Jun 09 15:02:17 the problem is that I'd like only to patch the kernel if someone launches my recipe, not always Jun 09 15:04:07 maybe something like task-console-mipv6 but as long as it doesn't work... make a working one Jun 09 15:04:44 and that task needs kernel to be modified Jun 09 15:13:50 Can somebody help me with writing recipe for fvwm2? Jun 09 15:14:54 recipe is already written mostly, but fvwm fails to compile Jun 09 15:51:06 Jay7: if you show me your recipe I can look at it :) Jun 09 15:51:22 one moment, plz :) Jun 09 15:52:31 http://pastebin.org/42592 Jun 09 15:52:38 here is recipe Jun 09 15:53:11 but fvwm fails to configure (i solve this) and compile :) Jun 09 15:55:13 Jay7: so configure works with the recipe in the pastebin but compile not? Jun 09 15:55:39 dcordes: no, I'm making patch right now Jun 09 15:55:58 Makefile patch for cross compile :) ? Jun 09 15:56:08 configure.ac :) Jun 09 15:56:44 .. and then may me makefile :) Jun 09 15:56:54 *may be :) Jun 09 15:57:04 ok Jun 09 16:14:24 dcordes: quick&dirty configure patch is ready Jun 09 16:14:39 updated recipe - http://pastebin.org/42598 Jun 09 16:16:11 patch - http://pastebin.org/42600 Jun 09 16:19:51 compile error - http://pastebin.org/42602 Jun 09 16:34:05 ahh...you likely need to find where that's getting done in configure and fix it Jun 09 16:34:20 or maybe patch the makefile after configure runs (no suggested) Jun 09 16:36:19 johnx: i can't find :) /usr/include does not exists in configure.ac, Makefile.am and Makefile.in Jun 09 16:36:26 but it exists in Makefile.. Jun 09 16:36:37 hmm Jun 09 16:36:38 may be CFLAGS? Jun 09 16:36:47 maybe Jun 09 16:37:15 can I see CLAGS before compiling? Jun 09 16:37:39 well, OE won't add -I/usr/include Jun 09 16:37:57 hm.. Jun 09 16:38:11 I don't know why it's in the Makefile but not .am or .in Jun 09 16:40:51 config.status have ansvers.. Jun 09 16:41:22 --includedir=/usr/include Jun 09 16:41:36 but how? Jun 09 16:42:30 ok, can I override it in recipe? Jun 09 16:42:33 OE_EXTRACONF or something like that? Jun 09 16:42:59 see http://wiki.navit-project.org/index.php/Navit_on_%C3%85ngstr%C3%B6m Jun 09 16:43:02 EXTRA_OECONF Jun 09 16:43:28 is it right way to set --include= there? Jun 09 16:43:31 in the navit cvs part Jun 09 16:43:39 I see no problem Jun 09 16:43:40 udovdh: 10x Jun 09 16:43:44 it is the ./configure options Jun 09 16:43:54 as far as I know Jun 09 16:44:05 and that page shows all I had to do to make navit build Jun 09 16:44:20 slowly the bugs mentioned are being fixed Jun 09 16:45:31 cc1: internal compiler error: in add_path, at c-incpath.c:362 Jun 09 16:45:34 that is a bad one Jun 09 16:45:43 and where to point --includedir? ${STAGING_INCDIR}? Jun 09 16:45:44 not a patch problem or a configure issue I guess Jun 09 16:45:55 can't help you there, sorry Jun 09 16:46:07 ok Jun 09 16:46:09 maybe check the other recipes for this Jun 09 16:46:23 grep include */* from the packages dir Jun 09 16:46:25 I look into icewm Jun 09 16:46:43 --x-includes=${STAGING_INCDIR} seems like Jun 09 17:05:31 no good.. configure called with explicit --includedir=/usr/include Jun 09 17:06:17 that might be correct...in this case includedir might be telling it where to install headers, not where to look Jun 09 17:06:26 I chech this with other packages - same behavior Jun 09 17:14:55 hehe Jun 09 17:14:58 XFT_CFLAGS='-I/usr/include -I/usr/include/freetype2' Jun 09 17:19:39 woo! Jun 09 17:19:44 did that fix it? Jun 09 17:19:47 yep Jun 09 17:20:30 grrr... Jun 09 17:20:34 next step :) Jun 09 17:21:19 freetype/config/ftheader.h: No such file or directory Jun 09 17:34:55 brr Jun 09 17:35:42 how I can start shell inside arm-chroot? Jun 09 17:36:42 I should check manually what xft-config and freetype-config returns Jun 09 18:33:28 hi, any akita owners around? Jun 09 18:35:26 we avoid akita owners :-) Jun 09 18:36:17 * johnx is here Jun 09 18:37:10 wvdschel, what's the question? Jun 09 18:39:25 aha Jun 09 18:39:27 erm Jun 09 18:39:33 well, I'm installing debian Jun 09 18:39:42 but SD write times are TERRIBLE Jun 09 18:39:52 I've tried several SD cards Jun 09 18:40:00 and the speed is the same all over Jun 09 18:40:07 you have it mounted async, right? Jun 09 18:40:20 don't know, its done with updater.sh Jun 09 18:40:32 hmm? Jun 09 18:40:39 does it mount async in angstrom by default? Jun 09 18:40:50 I think it doesn't Jun 09 18:40:54 ok Jun 09 18:41:00 just run mount Jun 09 18:41:09 tell me if it says "sync" in the line for your card Jun 09 18:41:18 angsrom mounts sd/mmc sync by default Jun 09 18:41:20 so this updater.sh script probably wont either, what options do I pass to mount. Jun 09 18:41:39 i'm not in angstrom, I'm just running an updater.sh script for flashing Jun 09 18:41:40 mount -o remount,async /media/card Jun 09 18:42:39 wvdschel: flashing is slow? Jun 09 18:42:52 Jay7, I'm flashing debian Jun 09 18:42:57 so it flashes a kernel Jun 09 18:43:03 and extracts a root tarbal Jun 09 18:43:21 you're using updater.sh to do this? Jun 09 18:43:33 to put debian on an sd card? Jun 09 18:43:40 thats just craziness Jun 09 18:44:14 wvdschel: and while running debian SD is slow on write? Jun 09 18:44:22 flash the kernel, use a PC to untar on SD card :-) Jun 09 18:44:47 don't have an sd card reader Jun 09 18:44:59 or do like I do: keep angstrom on flash as a rescue system, and just untar over the network if you need to Jun 09 18:46:27 mounted async now, lets see what it does now Jun 09 18:46:47 not much faster Jun 09 18:47:15 well, the actual hardware interface is slow Jun 09 18:47:27 async will help noticeably for long writes Jun 09 18:47:39 I'm gonna flash angstrom back and see if I can make it speed up there Jun 09 18:47:50 ok Jun 09 18:48:04 really, define slow for you? Jun 09 18:48:05 how will you make it speed up? Jun 09 18:48:12 because I think mine is worse Jun 09 18:48:32 0.5MB takes 30 seconds Jun 09 18:48:40 ok, that's slower Jun 09 18:49:05 how much slower? :P Jun 09 18:49:20 I'll dd from /dev/zero Jun 09 18:49:22 one sec Jun 09 18:50:03 i'm tarring from CF Jun 09 18:50:48 that might affect it Jun 09 18:50:59 but this much? Jun 09 18:51:05 I don't remember if SD and CF are on the same bus Jun 09 18:51:21 I honestly don't know how much of an affect it would have Jun 09 18:51:43 meh, I'm gonna flash Angstrom and try a dd from there Jun 09 18:52:41 but angstrom is so flaky :( it doesn't offer much packages, and it's wifi config stuff is terrible (I know this is GPE's fault, but it's annoying since there is no alternative) Jun 09 18:53:27 any way i can get an usb stick or external hd to work? Jun 09 18:53:42 modprobe usb-ohci Jun 09 18:53:58 "flakey" angstrom will automount it nicely :P Jun 09 18:54:20 BTW, with async I get "2MB/s" writing to sd Jun 09 18:54:38 which isn't true of course, since if I unmounted then it would take quite a long time syncing Jun 09 18:54:48 that sounds like heaven compared to this :P Jun 09 18:55:11 it won't hold up for long transfers of course Jun 09 18:55:23 async means "buffer to memory" essentially Jun 09 18:55:30 yeah I know Jun 09 18:55:51 which is just peachy with a whopping 64MB of RAM ;) Jun 09 18:56:37 grr... here is no freetype-config in $STAGING_DIR/$HOST_SYS/bin Jun 09 18:56:50 wvdschel, I'm testing with sync on Jun 09 18:58:39 it would be strange my hardware was damaged, I mean, how could that card reader get damaged to slow it down :s Jun 09 18:58:52 it's probably not :/ Jun 09 18:59:29 still waiting on that 66MB write, BTW Jun 09 18:59:46 I think you might not have actually gotten it to remount async Jun 09 19:00:00 i rebooted, and mounted it with async Jun 09 19:01:22 and if you run dd if=/dev/zero of=/media/card/test count=6400 bs=10000 Jun 09 19:01:30 what does it give you for a transfer rate? Jun 09 19:01:31 speeding up now, getting 6 to 10 MB per minute now :P Jun 09 19:01:36 can't check :P Jun 09 19:01:40 it's extracting Jun 09 19:01:44 ah Jun 09 19:02:55 johnx, I'm doing this from updater.sh, since I didn't feel like using another OS as a bootloader :P Jun 09 19:03:10 that and that would mean I had to use the angstrom kernels Jun 09 19:03:27 and the rootfs i found wasn't for angstrom kernels Jun 09 19:03:43 the debian rootfs? Jun 09 19:03:58 yes Jun 09 19:04:14 it doesn't matter what it's "for" Jun 09 19:04:16 johnx, are you running debian and angstrom on a c1000? Jun 09 19:04:17 it's just a rootfs Jun 09 19:04:20 yes Jun 09 19:04:26 yeah but you need the modules don't you? Jun 09 19:04:29 how did you install it? Jun 09 19:04:31 yeah Jun 09 19:04:46 I just used debootstrap Jun 09 19:04:59 put that onto a card using my card reader Jun 09 19:05:09 you could download a rootfs too Jun 09 19:05:12 makes no difference Jun 09 19:05:22 debootstrap? whats that? Jun 09 19:05:46 it's a debian tool for gathering a basic rootfs Jun 09 19:06:10 you can use it across architectures too, so I use it on my x86 debian box Jun 09 19:06:24 so how do I use it? Jun 09 19:06:26 then copy to akita, then chroot into that install and customize Jun 09 19:06:57 go here: http://wiki.debian.org/ArmEabiHowto Jun 09 19:07:17 use their debootstrap line on your desktop debian/ubuntu box Jun 09 19:07:27 then tar it up, copy to zaurus, and chroot into it Jun 09 19:08:08 since you're installing to sd anyways, you might as well install angstrom on the internal flash so you have a rescue system Jun 09 19:08:21 yeah would do that Jun 09 19:08:42 and what about altboot? Jun 09 19:08:45 do I need to copy over the modules for everything to work inside debian? Jun 09 19:09:02 Jay7: I'd need altboot to boot to SD, right? Jun 09 19:09:07 wvdschel, you need modules that match the kernel you want to use of course Jun 09 19:09:21 but those can be copied from the angstrom install Jun 09 19:09:27 Jay7, that's what I did for a while. Now I'm using a different kernel that actually boots from sd Jun 09 19:09:50 wvdschel, easier: there's a modules.tar.gz on a-o.org Jun 09 19:10:07 s/a-o.org/angstrom-distribution.org/ Jun 09 19:10:48 which package provides xft-config? Jun 09 19:10:55 johnx, which kernel? Jun 09 19:11:04 yonggun's I think Jun 09 19:11:13 is it better in any other aspect? Jun 09 19:11:28 it has cpufreq options...but they tend to make things kinda flakey Jun 09 19:11:52 as in unstable? Jun 09 19:12:00 surprisingly no Jun 09 19:12:00 but i could increase battery life :P hmmm :P Jun 09 19:12:12 just weird screen corruption that scares me when I underclock Jun 09 19:12:14 I'll probably switch back to a pure angstrom kernel actually Jun 09 19:12:32 that second stage debootstrap Jun 09 19:12:39 that has to be done from angstrom I suppose? Jun 09 19:12:40 run it on the device Jun 09 19:12:43 yeah Jun 09 19:12:52 or your updater.sh if you want to make your life difficult Jun 09 19:13:03 no, I don't :P thank you ;) Jun 09 19:13:22 johnx, you run from SD then Jun 09 19:13:29 yes Jun 09 19:13:31 hows performance of a system running from SD? Jun 09 19:13:33 angstrom from sd Jun 09 19:13:37 debian from usb Jun 09 19:13:53 i'm just going to put debian on one SD and angstrom on another Jun 09 19:14:16 it's fine, the zaurus just isn't a fast piece of hardware really Jun 09 19:14:23 and it's sd slot is especially slow Jun 09 19:14:42 I'm not expecting it to race, I'm just expecting it to be responsive Jun 09 19:14:50 and compile my code when I tell it to :P Jun 09 19:14:51 BTW, that sd write test is still running Jun 09 19:14:57 up to 43MB of 66MB Jun 09 19:15:01 of 66MB? Jun 09 19:15:04 aha Jun 09 19:15:09 so, yes Jun 09 19:15:09 that means it's not me :P Jun 09 19:15:17 sync vs async makes a huge difference Jun 09 19:16:27 I think that means usb is actually substantially faster O_o Jun 09 19:16:44 does the zaurus power usb sticks? Jun 09 19:17:12 some Jun 09 19:17:35 johnx: but usb takes more power afaik Jun 09 19:17:42 so not the greedy ones? Jun 09 19:17:54 wvdschel, it works with two out of 3 for me Jun 09 19:18:02 the one that doesn't was old and cheap Jun 09 19:18:11 I have 2, it'll probably work with at least one Jun 09 19:18:12 Jay7, it definitely has a big effect on battery Jun 09 19:18:23 I have 3 batteries, I'll manage :) Jun 09 19:18:53 extracted 148MB so far Jun 09 19:19:03 might just wait this out, just to see if my trick works Jun 09 19:19:43 well sync won't make a difference for writes that big Jun 09 19:19:58 I suppose not Jun 09 19:20:06 its 550MB in total I believe Jun 09 19:20:25 CF is better storage, but we don't have bluetooth/wifi :) Jun 09 19:20:38 anyway, I'll probably just end up using it to create my own, more minimal debian rootfs Jun 09 19:21:10 debootstrap is about as minimal as you get :) Jun 09 19:21:13 Jay7: yeah, couldn't we sneak in a CF card internally? where the C3xxx models have a microdrive? Jun 09 19:21:28 johnx: I'm going a little less minimal than that :P Jun 09 19:21:28 wvdschel, we're missing some chips and a socket Jun 09 19:21:39 shame Jun 09 19:21:59 does the zaurus support SDIO? Jun 09 19:22:02 easier to wire up bluetooth inside than add another CF socket Jun 09 19:22:19 but we can solder in bluetooth/wifi (USB) and free CF :) Jun 09 19:22:33 I honestly don't know the SDIO situation at this point O_o Jun 09 19:22:42 Jay7, but that leaches power again I suppose? Jun 09 19:22:52 181MB now Jun 09 19:23:11 how much space does it have left inside? Jun 09 19:23:19 wvdschel: here is solution - it can be switched on/off when needed/unneeded :) Jun 09 19:23:33 with some additional work Jun 09 19:23:40 are there any documents on how to do this? Jun 09 19:23:54 yes, one moment Jun 09 19:24:17 http://www.iral.com/~albertr/linux/zaurus/wireless/ Jun 09 19:24:24 here should be Jun 09 19:27:44 it's not responding here Jun 09 19:28:10 same here Jun 09 19:28:22 there was someone on oesf.org who did bt at least Jun 09 19:29:08 google doesn't have it in cache Jun 09 19:29:14 http://www.penguin.cz/~utx/zaurus/www.iral.com/~albertr/linux/zaurus/wireless/ Jun 09 19:29:20 here is the mirror Jun 09 19:29:22 what do you people use bluetooth for? Jun 09 19:29:48 headphones Jun 09 19:30:10 gps, keyboard or pairing to a phone are some of my future uses Jun 09 19:30:26 edge/gprs via mobile when no wifi connectivity Jun 09 19:31:44 ehhh Jun 09 19:32:02 * Jay7 found a way around xft-config.. Jun 09 19:33:26 that describes how to add both wifi and bt? Jun 09 19:33:35 yes Jun 09 19:33:36 yes, read it :P Jun 09 19:35:20 I am, I was just amazed! Jun 09 19:36:12 i use it for pairing to a phone, and just bought a keychain gps to use with it Jun 09 19:36:39 me too...if only I had the skill and confidence to pull off a hack like that... Jun 09 19:39:17 It's definitely out of my league Jun 09 19:40:07 i just use a CF BT card Jun 09 19:40:26 only time i use wifi anymore is at home to update my system Jun 09 19:40:46 its annoying though, these wifi cards (don't know about BT, since I don't use it) stick out to much Jun 09 19:40:55 they make it hard to access the keyboard Jun 09 19:41:04 might use a usb wifi dongle Jun 09 19:41:10 you get used to it... Jun 09 19:41:18 usb wifi probably won't work without a hub Jun 09 19:41:19 and free up that CF slot for storage Jun 09 19:41:24 why not? Jun 09 19:41:25 wifi is pretty power hungry Jun 09 19:41:26 power? Jun 09 19:41:36 just a 802.11b? Jun 09 19:41:45 is it that hungry? :( Jun 09 19:41:47 doesn't matter Jun 09 19:41:55 wvdschel: that's the nice thing about the CF BT card, it doesn't stick out at all Jun 09 19:42:04 a/b/g/n will all probably use about the same Jun 09 19:42:12 Sketch: Socket BT? :) Jun 09 19:42:17 CF wifi never caused problems for me typing though Jun 09 19:42:20 Jay7: yep Jun 09 19:42:32 BT uses way less power Jun 09 19:42:55 i don't think my z would last much more than 3 hours on wifi Jun 09 19:43:03 but it'll do twice that easy on BT Jun 09 19:43:37 wifi is free though Jun 09 19:43:43 using a phone is far from free! Jun 09 19:44:09 depends on the hotspot and your phone's data plan Jun 09 19:44:24 i pay $20/mo for unlimited data on my phone Jun 09 19:44:33 though in theory, i am not supposed to tether it to another device ;) Jun 09 19:45:40 Sketch, here unlimited data (over 3G) costs €50/mon Jun 09 19:45:56 which is about $400 with the current state of the dollar ;) Jun 09 19:46:02 heh Jun 09 19:46:06 no, seriously, close to $70 I suppose Jun 09 19:46:18 no unlimited gprs plans Jun 09 19:47:15 is that bbvd driver included in angstrom? Jun 09 19:47:34 wvdschel: ouch ;) Jun 09 19:47:55 wvdschel, there's a different one for 2.6: pxa Jun 09 19:48:01 anyways, off to bed Jun 09 19:48:03 'night all Jun 09 19:48:21 night Jun 09 19:50:10 and thanks for all the help Jun 09 19:50:53 sure :) Jun 09 19:50:55 * johnx sleeps **** ENDING LOGGING AT Tue Jun 10 02:59:56 2008