**** BEGIN LOGGING AT Thu Jun 05 02:59:57 2008 Jun 05 06:40:40 !logs Jun 05 06:40:41 Channel logs for #angstrom are archived at: Jun 05 06:40:43 http://hentges.net/tmp/logs/irc/%23angstrom Jun 05 06:40:44 Live-logs are available at Jun 05 06:40:45 http://hentges.net/tmp/logs/irc/livelogs/%23angstrom.livelog Jun 05 06:40:47 See ?? help-logs for usage instructions Jun 05 06:43:53 is this the right place to ask questions about compiling and running a kernel, provided with angstrom? Jun 05 06:55:24 provided anyoen is awake, i should say so Jun 05 06:55:29 *anyone Jun 05 07:01:40 look, I own a HTC Beetles device Jun 05 07:02:09 I complied a handhelds.org kernel for htcbeetles and it seems to work okay Jun 05 07:03:04 I mean when I run it with haret the screen works and it seems it boots okay till the rootfs part Jun 05 07:04:48 but when I compiled angstrom (stable) with 'bitbake virtual/kernel' and tried to boot it with haret there was nothing, just 'Go Go Go...' on the console and 'Jumping o kernel' on the device screen Jun 05 07:06:15 now I've compiled angstrom (devel) kernel and no wthe boot process looks like this: a screen slowly fades to white, then it slowly becomes black. Jun 05 07:06:36 so the questions are: 1) what should I do (in general) Jun 05 07:07:42 2) can I use hh.org kernel (it seems to be old) with your rootfs? should I copy kernel modules to angstrom rootfs? Jun 05 07:09:43 3) is there any way to look what's going on with my device if the screen doesn't work properly? I often saw kernel arguments in howto that possibly are intended to make kernel output to a serial console - how should I read that output anyway? Jun 05 07:10:02 thanks for any advices Jun 05 07:18:29 can't help, I'm still in the process of figuring out OE Jun 05 07:18:37 i'm sorry Jun 05 09:07:38 anybody?.. Jun 05 14:00:57 If the gumstix distro I'm working with says DISTRO=angstrom in the initial bitbake messages, does that mean I'm in the right place to ask questions? Jun 05 14:06:19 I don't think someone will actually answer you - noone answered my question, but I think it is the right place. :) Jun 05 14:06:43 hmmm.... so not much traffic in these groups then? Jun 05 14:07:01 that's sucks. :-( Jun 05 14:08:19 You can ask me, though my experience about this topic is really tiny Jun 05 14:08:48 I managed to compile a working kernel, but not the angstrom one ^^ Jun 05 14:09:15 but who knows? maybe I could help you. everything happens. Jun 05 14:09:45 my problem is with bitbake. Jun 05 14:10:04 and it seems really simple. Jun 05 14:10:35 I'm getting errors with regards to MD5sums. The base-passwd package is failing to pass the checksum test. Jun 05 14:10:59 it says: "NOTE: The MD5Sums did not match. Wanted: '2dd8ad238abcbab478db690085554d90' and Got: 'd41d8cd98f00b204e9800998ecf8427e'NOTE: Task failed: Checksum of 'ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.9.tar.gz' failed" Jun 05 14:11:04 sorry about the mess. Jun 05 14:11:19 did you actually try to redownload this file? Jun 05 14:11:32 now the weird thing is, if I pull from the ftp site directly and sum it it passes. Jun 05 14:11:33 yes. Jun 05 14:11:42 hm Jun 05 14:11:50 but I don't really understand where bitbake is trying to do this. Jun 05 14:12:04 then why don't you just overwrite the one that seems to be corrupted? Jun 05 14:12:57 look into your local.conf Jun 05 14:13:46 I suppose DL_DIR is a place where downloaded files are stored Jun 05 14:13:56 *sets Jun 05 14:14:02 I'm trying to find local.conf. Jun 05 14:14:03 :-) Jun 05 14:14:19 ah, it should be in conf/local.conf :) Jun 05 14:15:17 is it there? Jun 05 14:15:21 no. Jun 05 14:15:26 just a bitbake.conf Jun 05 14:15:28 hm Jun 05 14:15:46 but it has the DL_DIR var in it Jun 05 14:15:56 I'm trying to figure out what it thinks TMPDIR is. Jun 05 14:16:08 as DL_DIR=${TMPDIR}/downloads Jun 05 14:16:27 local.conf seems to be the file where most of the information about _what_ you wanna build is stored Jun 05 14:16:44 for me $TMPDIR defaults ro "tmp" Jun 05 14:16:52 relative to the OE path Jun 05 14:17:19 yes... I just looked in there and the 'downloads' subdir doesn't seem to exist. Jun 05 14:17:26 I did find a local.conf though. Jun 05 14:17:30 great Jun 05 14:17:49 gumstix/gumstix-oe/build/conf/local.conf Jun 05 14:18:02 I suppose something is... 'overwritten'... redefined there Jun 05 14:18:20 defines the distro version and type I want Jun 05 14:18:32 nothing else? Jun 05 14:18:35 angstrom-2007.1 release Jun 05 14:18:50 ENABLE_BINARY_LOCALE_GENERATION=0 Jun 05 14:18:52 that's it. Jun 05 14:19:47 I myself have a conf/local.conf file that I wrote myself. it's based on conf/local.conf Jun 05 14:19:50 heh Jun 05 14:20:03 you could try an easy long way though Jun 05 14:20:11 do you know how locate works? Jun 05 14:20:22 oh, forget it Jun 05 14:20:23 I'll have to take a closer look at it then. Jun 05 14:20:28 I'm running updatedb now. Jun 05 14:20:30 :-) Jun 05 14:20:38 ahha, thinking in the same direction :) Jun 05 14:20:56 yes... I just need to find things. Jun 05 14:21:08 you can also do find | grep if you have a small tree of files Jun 05 14:21:17 How did you learn about the bitbake build system? Quality sit down with the manual? Jun 05 14:21:31 http://www.angstrom-distribution.org/building-angstrom Jun 05 14:21:32 or did you find some good resources? Jun 05 14:21:43 ahh... Jun 05 14:21:48 it's still opened in my browser Jun 05 14:22:08 my problem is nobody wrote a distribution that supports mydevice Jun 05 14:22:08 I'm been following the gumstix stuff and it is pretty weak from what I can see. Jun 05 14:22:19 so I had to use 'pure' angstrom Jun 05 14:22:47 so you get to learn the ugly details. Jun 05 14:23:02 angstrom at least has some configuration files for a device similar to mine Jun 05 14:23:19 but not too similar, I'm afraid Jun 05 14:23:22 yep Jun 05 14:24:43 twenty minutes ago I was constantly asking myself 'why doesn't the console show up after I try to boot my kernel?' Jun 05 14:24:58 that's a fun error. Jun 05 14:25:16 did you actually see the kernel spewing messages to a vt? Jun 05 14:25:18 and I found that in one config Jun 05 14:25:23 USE_VT = 0 Jun 05 14:25:35 that was not nice... Jun 05 14:26:09 no, my screen shows me nice special effects fading to white with color lines and then fades to black Jun 05 14:26:52 and I can find no other way to listen to my kernel except vt and framebuffer Jun 05 14:27:20 do you know when it's possible to set up a serial console and how should I do that? Jun 05 14:28:12 as soon as the serial code is in the kernel it should be possible to route a VT over serial. Jun 05 14:28:45 how should I do that? Jun 05 14:28:58 http://www.packetnexus.com/kb/greyarts/docs/981579710:19835.html Jun 05 14:29:14 that is ugly though... just tells you how one person did it. Jun 05 14:29:32 http://www.vanemery.com/Linux/Serial/serial-console.html Jun 05 14:29:39 This is the better version of the document. Jun 05 14:29:40 device: HTC Beetles (HP Ipaq hw6510), host: ubuntu intrepid Jun 05 14:29:48 ok, I'll chek it out Jun 05 14:30:14 essentially you need to configure the devices to do it... Jun 05 14:30:17 mknod Jun 05 14:30:50 hm Jun 05 14:30:53 then you just need to tell a console to spawn there. Jun 05 14:31:14 the document just tells me to add console=ttyS0,... Jun 05 14:31:27 or have I missed something? Jun 05 14:31:30 see if you can follow the HOWTOs. I've only ever done it with PCs. Jun 05 14:31:58 the second link you gave just doesn't open :( Jun 05 14:32:12 you probably won't have to mknod as the devices probably already exist. Which document are you looking at. Jun 05 14:32:17 you know, I don't know how should I listen to the device Jun 05 14:32:24 I have /dev/ttyUSB0 Jun 05 14:32:48 is that the device I need to listen to? Jun 05 14:32:52 then how? Jun 05 14:33:04 That's a good question. Jun 05 14:33:17 ttyUSB0.... You could try that. Jun 05 14:33:29 dd? :) Jun 05 14:34:16 eh... try what? how actually should I 'listen to it'? Jun 05 14:34:38 try listening to /dev/ttyUSB0 with something like minicom. Jun 05 14:35:23 dd will just give you a mess of data... no flowrate/parity corrections. Jun 05 14:35:55 ok, wajig install minicom done Jun 05 14:36:33 trying to work with the menus ^^ Jun 05 14:36:55 ooh Jun 05 14:37:09 it was THAT easy?.. Jun 05 14:37:22 thanks a lot... Jun 05 14:37:27 no worries. Jun 05 14:37:55 I can figure out my 'Linux' stuff... this wacky build system stuff, I'm lost! Jun 05 14:37:56 hahaha Jun 05 14:39:22 seems like I can't fully understand you Jun 05 14:40:31 no luck with serial console btw, it shows 'CLIENT' stuff that activesync sent, nothing new appeared when I tried to run the kernel with the 'console' parameter. Jun 05 14:41:30 I wonder if the kernel on your device doesn't have support for serial early enough. Jun 05 14:41:41 but neverless thanks Jun 05 14:41:57 is it a module or actually in the kernel (the serial support that is)? Jun 05 14:42:02 it should be compiled into the kernel... what else? Jun 05 14:42:32 emm, I do understand that modules are enabled only after the rootfs stuff is done! Jun 05 14:42:42 lemme check Jun 05 14:43:52 so: http://www.vanemery.com/Linux/Serial/serial-console.html Jun 05 14:43:57 that site doesn't work for you? Jun 05 14:44:29 yep Jun 05 14:45:11 How about this one: http://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/ Jun 05 14:46:17 it loads okay Jun 05 14:46:25 sorry, I'm not so fast :) Jun 05 14:47:50 I don't use real computers for compiling stuff like that, I use qemu and/or xen. Jun 05 14:48:13 it sometimes takes time to get to the build environment Jun 05 14:49:30 Why don't you use real computers with cross compilers? Jun 05 14:49:48 1) xen is fast Jun 05 14:49:55 true... Jun 05 14:50:17 I have my own xen box too... but I keep a distcc host kicking around too. Jun 05 14:50:33 then I just farm compile jobs off onto the distcc host. Jun 05 14:52:10 2) I have a notebook and a 'server'. I don't want to compile on a notebook. And the server is for other things. but I run xen on it, so why not Jun 05 14:53:09 3) I don't want to tar zxf any prebuilt binaries to the root of ANY system I do care of :) Jun 05 14:53:31 it's needed for handhelds.org toolchain Jun 05 14:55:03 PXA serial port support, Console on PXA serial port are in the kernel Jun 05 14:58:05 does that seem enough?.. Jun 05 14:59:21 that should be enough I would think. Jun 05 15:02:36 I passed 'console=ttyS0,115200n8' to the kernel Jun 05 15:03:01 the screen went black but I saw nothing on the serial port :( Jun 05 15:03:58 nothing at all? Not even garbage? Jun 05 15:04:05 seems like /dev/ttyUSB0 disappears when I try to boot the kernel Jun 05 15:04:36 'CLIENT' garbage. it's from activesync (from wince) Jun 05 15:04:48 so /dev/ttyUSB0 is on the embedded machine? Jun 05 15:05:04 nope, on a real one Jun 05 15:05:24 okay... what is that machine running for an OS? Jun 05 15:05:27 on the embedded one there's a black screen Jun 05 15:05:32 ubuntu intrepid Jun 05 15:06:06 debian-based linux Jun 05 15:06:34 I can get to a windows host if there's any need to Jun 05 15:07:38 ubuntu should do just fine. Jun 05 15:07:51 and you are connected via a USB-serial adapter? Jun 05 15:08:05 nope, with an USB crable Jun 05 15:08:21 ubuntu machine USB -> embedded USB cradle Jun 05 15:08:36 -> device Jun 05 15:09:22 I fire up and activesync on the device sends 'CLIENT' strings to the ubuntu host, I see them in minicom Jun 05 15:10:42 activesync? Jun 05 15:10:59 I try to boot the kerel an I end up with black screen on device and nothing more in minicom Jun 05 15:11:18 just 'CLIENT' messages? Jun 05 15:11:20 activesync is a mustdie feature in windows ce Jun 05 15:11:39 What is running windows ce in the mix? Jun 05 15:11:47 was intended to syncronise stuff and provide basic NAT Jun 05 15:11:53 em... what? Jun 05 15:12:15 so the cradle is doing something with activesync? Jun 05 15:12:15 I suppose my english is not so good Jun 05 15:12:36 what is your native language? Jun 05 15:12:42 Russian Jun 05 15:13:04 we do study english at schools... and in situations like this one :) Jun 05 15:13:38 Ahhh... I see. I will try to not use contractions and strange grammar structures. Jun 05 15:13:50 thanks a lot :) Jun 05 15:14:00 np. Jun 05 15:14:25 So where is 'activesync' involved in everything? Jun 05 15:14:44 when I open connection in minicom Jun 05 15:15:00 I see ubuntu laptop USB -> ipaq device USB cradle Jun 05 15:15:01 it sends 'CLIENTCLIENTCLIENTCLIENT' to the port Jun 05 15:15:11 yep Jun 05 15:15:21 a pocket pc activesync counterpart Jun 05 15:15:37 sends strings via cable to the ubuntu host :) Jun 05 15:15:44 does the cradle do it by itself? Jun 05 15:15:50 no ipaq plugged in? Jun 05 15:16:21 or does the ipaq do activesync stuff at a firmware level? Jun 05 15:16:23 lemme check. I suppose no - I think it acts just like a bunch of wires Jun 05 15:16:45 em Jun 05 15:16:56 I think I should mention it before Jun 05 15:17:20 I try to start linux from windows on my ipaq Jun 05 15:17:36 Oh... Jun 05 15:17:49 so are you running linux on your ipaq in an emulator? Jun 05 15:17:59 O.o Jun 05 15:18:09 yes? Jun 05 15:18:10 do you know what haret is? Jun 05 15:18:15 nope Jun 05 15:18:22 no... but google will probably tell me. Jun 05 15:18:52 I can try to explain it in a simplier manner Jun 05 15:18:56 I see what it is. Jun 05 15:19:01 it is linloader for CE. Jun 05 15:19:18 it just loads the kernel image into RAM and makes the processor execute it Jun 05 15:20:12 so I run it from windows ce, but I think it gets screwed after jumping to kernel or even before Jun 05 15:20:53 *windows ce gets screwed after... Jun 05 15:21:21 Yeah... I think CE is probably fiddling with your USB / serial settings and linux can't figure it out. Jun 05 15:21:53 does it mean no serial console for me?.. Jun 05 15:22:34 probably eventually... but you need to get a better understanding of how winCE and haret are working together to configure the hardware. Jun 05 15:22:50 to sum up Jun 05 15:23:26 (1) figure out how winCE refers to the port you are trying to use. Jun 05 15:23:36 is it USB? Jun 05 15:23:40 is it serial? Jun 05 15:23:49 to see kernel messages I can use 1) vt on fb 2) probably serial console 3) probably usb networking 4) probably bluetooth networking?.. Jun 05 15:24:14 yes... Jun 05 15:24:31 at the moment nothing works :) Jun 05 15:25:08 I've never worked with WinCE devices so I can't give you much more help. You have to fiddle with that haret interface. Jun 05 15:25:23 'how winCE refers' - it should handle it like a COM port Jun 05 15:26:01 figure out what it is doing and how windows sees it. If it handles it like a COM port make sure it is the same 'COM' port that Linux is thinking about. Jun 05 15:26:14 I believe COM0 and ttyS0 are the same Jun 05 15:26:20 oh, how lucky are those, whose devices are supported or at least maintained... Jun 05 15:26:50 yeah... but you'll learn more so, in the end, you might be better off. Jun 05 15:28:36 windows ce is windows after all... it doesn't want o show me any information about the connection except it's 'USB. Jun 05 15:29:01 is there a winCE or haret IRC channel maybe? Jun 05 15:29:07 maybe Jun 05 15:29:19 thanks for the idea :) Jun 05 15:31:22 I like knowing how everything works, it's actually what I do in my desktop life - xen, qemu, crosscompilation, a bit of kernel understanding - not a full list of what I learned a bit in last four days. Jun 05 15:31:53 But what bugs me - noone gets any useful feedback from me :-) Jun 05 15:33:27 for me that's important. If I had a gui, I'd at least do something useful for everyone: some user interface proposals, little utilities, general ideas or whatsoever. But at the moment I'm useless. Jun 05 15:34:20 thanks for all your help Jun 05 15:34:31 *afk Jun 05 15:36:24 not useless... just in the process of learning. Jun 05 15:36:39 useless would be if you didn't know anything AND you weren't learning. Jun 05 15:36:46 patience is the key. Jun 05 15:42:48 hello Jun 05 15:50:45 all my life is learning - cavemen finished most of their learning when they were 6 and about a half of them even reached my age AFAIR. Jun 05 15:51:53 and they all died before they were 20, having lived through a complete life. Jun 05 15:53:58 I just want to apply myself immediately. Maybe it's normal for my age :) Yes, patience, I know. Jun 05 15:55:44 do you know what are the pros and cons of using uclibc instead of glibc? It's easy to google that uclibc is more 'stripped down', but does it really mean for an user? Jun 05 15:59:39 *what does it... Jun 05 16:00:41 save memory Jun 05 16:00:43 ? Jun 05 16:01:29 It is much smaller than the GNU C Library, but nearly all applications supported by glibc also work perfectly with uClibc. Jun 05 16:02:44 so I can choose it instead of glibc and don't worry about it at all? Why isn't that the default choice then? Jun 05 16:04:09 !logs Jun 05 16:04:11 Channel logs for #angstrom are archived at: Jun 05 16:04:12 http://hentges.net/tmp/logs/irc/%23angstrom Jun 05 16:04:13 Live-logs are available at Jun 05 16:04:13 http://hentges.net/tmp/logs/irc/livelogs/%23angstrom.livelog Jun 05 16:04:15 See ?? help-logs for usage instructions Jun 05 16:14:24 another stupid question - is there a kind of a recursive 'bitbake -c clean' or not? Jun 05 16:21:12 `rm -rf ansgstrom-tmp` ? Jun 05 16:21:46 lantern_burns, see http://www.uclibc.org/about.html Jun 05 16:21:57 ?? Jun 05 16:26:03 read a wikipedia entry about it, then this link Jun 05 16:27:11 tiny size, a bit limited in features. can't extract any more useful information from those sources Jun 05 16:27:21 *I read Jun 05 16:31:15 ehm. no other way, except removing $TMPDIR? it's kinda shocking Jun 05 16:32:03 dunno lantern_burns Jun 05 16:32:09 what do you expect else? Jun 05 16:32:14 do you wnat to keep stuff from there? Jun 05 16:32:30 I am no expert yet in bitbake/mtn/etc Jun 05 16:34:20 I expected just something like doing 'bitbake -cclean' for all the targets in the dependency tree of the specified target. Jun 05 16:38:04 dunno, maybe dig in the bitbake manual? Jun 05 16:44:50 seems there is no such stuff in bitbake Jun 05 16:47:16 recursive builds only :) Jun 05 16:48:01 isnt that called rm_all Jun 05 16:48:17 bitbake -c rm_all blah Jun 05 16:48:41 oh, not quite what you want, just wipes out ${S} Jun 05 16:51:26 lantern_burns, maybe ask in #oe? Jun 05 16:54:56 hmm Jun 05 16:55:08 is there any conky alternative that i can use on spitz? Jun 05 17:05:50 :| Jun 05 17:10:19 http://ubuntuforums.org/showthread.php?t=502789? Jun 05 17:15:16 since conky is a torsmo predecessor... I think you should try torsmo Jun 05 17:20:41 oh. maybe it's called 'successor'?.. Jun 05 17:21:35 hmm Jun 05 17:21:40 no torsmo avail Jun 05 17:21:41 boo Jun 05 17:26:35 conky is great indeed - it's a pity you can't use it :( Jun 05 17:26:50 well i could Jun 05 17:26:53 just not an ipkg Jun 05 17:27:25 conky? Jun 05 17:27:28 yeh Jun 05 17:27:33 what is it? Jun 05 17:27:42 sits on desktop Jun 05 17:27:46 customize info Jun 05 17:27:50 cpu/mem/etc.. Jun 05 17:45:50 it writes anything that you want - for me the most popular feature is self-written section with latest messages I have received with mcabber Jun 05 17:46:20 *anything you want Jun 05 17:57:38 ..? Jun 05 17:57:45 :P Jun 05 19:03:08 hmm Jun 05 19:03:16 theres no standard X mixer either Jun 05 19:03:17 lame Jun 05 19:08:24 even in packages? Jun 05 19:08:50 ? Jun 05 19:08:54 nope Jun 05 19:10:03 gpe-mixer... I suppose you're not using gpe? Jun 05 19:11:04 no Jun 05 19:11:09 however it may work.. Jun 05 19:11:11 lemme look Jun 05 19:12:04 its looking for alot of images Jun 05 19:12:05 meh Jun 05 19:12:21 it should just depend on stuff like gpe-icons or libgpewidget Jun 05 19:12:25 hmm Jun 05 19:12:38 moment Jun 05 19:12:42 but it should work :) Jun 05 19:13:39 erm Jun 05 19:14:38 I want to say it's 'bad' if you want to get rid of all gpe dependencies in your system Jun 05 19:15:51 heh gpe is gone :) **** BEGIN LOGGING AT Thu Jun 05 22:31:23 2008 **** ENDING LOGGING AT Fri Jun 06 02:59:56 2008