**** BEGIN LOGGING AT Thu Nov 14 02:59:59 2013 Nov 14 09:41:33 bluelightning: gm http://imgbin.org/index.php?page=image&id=15672 Nov 14 09:42:17 sweet & sour Nov 14 09:43:18 is zaurusd behaving correctly? Nov 14 09:43:55 and why irda on ttyS1? Is ttySA1 Nov 14 09:47:30 ant_work: if /etc/sysconfig/irda doesn't exist then that's the default in the irda-utils initscript Nov 14 09:48:45 anyway it is bizarre that the configs of zaurusd are on yoctoproject Nov 14 09:49:17 seems lacking this collie patch http://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg08440.html Nov 14 09:54:39 why bizarre? Nov 14 09:55:06 it was created & maintained by openedhand... pretty much all openedhand stuff got moved to yoctoproject.org Nov 14 09:56:15 well, seems unmaintained. I know RP has plans to extend it Nov 14 09:56:43 are you sur zaurusd doesn't predate OpenHand? Nov 14 09:57:57 I don't believe so Nov 14 09:58:19 wasn't in Familiar? Nov 14 09:58:55 no, if you recall Familiar was much more of an iPAQ distribution until some of the later versions Nov 14 09:59:15 it's unmaintained at the moment; but FWIW I'm now the maintainer for the recipe in OE-Core Nov 14 09:59:28 in 2006 it was in OE Nov 14 09:59:46 so that might give me some influence over zaurusd itself :) Nov 14 10:00:02 there was a modern fork but unsuitable iirc Nov 14 10:00:53 http://metan.lindevdoc.org/git/?p=zaurusd.git/.git;a=summary Nov 14 10:01:14 stanislav wrote Nov 14 10:01:15 RP zaurusd/switchevd: Nov 14 10:01:15 Screen rotation in X Nov 14 10:01:15 Audio plug insert/remove Nov 14 10:01:15 Some ugly hacks to control backlight Nov 14 10:01:15 Metan zaurusd: Nov 14 10:01:16 LCD on/off Nov 14 10:01:18 Backlight control Nov 14 10:01:21 Suspend/resume control Nov 14 10:01:23 Save time on power loss Nov 14 10:01:29 "They are feature incompatible." Nov 14 10:02:52 right, i remember the analysis Nov 14 10:04:08 rigth now on collie backlight doesn't resume Nov 14 10:04:40 I have to test on one other model to verify Nov 14 10:08:51 could be that the backlight device changed Nov 14 10:09:01 I'm pretty sure I had to change code for that in Opie Nov 14 10:09:57 hopefully is only userspace problem.. lumag? Nov 14 10:11:34 Didn't test it yet. Nov 14 10:11:50 Just got to work today. Nov 14 10:13:04 lumag: sorry again for the nightly "tour de force" last days;) Thenk you very much Nov 14 10:23:07 N/p, I'm mostly 'arithmic' these days. Nov 14 10:24:32 I've bought myself a gift - a 16Gb CF card. Nov 14 10:24:45 More space for OE rootfses Nov 14 10:28:18 ant_work, on sa1100 irda should not use /dev/ttyS* at all. Nov 14 10:28:30 use irda0 directly Nov 14 10:29:11 hm.. it has been so long that I don't remember anymore that ppp and serial ports... Nov 14 10:29:28 :) Nov 14 10:30:02 what creates the ir* devices? irda module or irattach? Nov 14 10:32:40 That depends. Nov 14 10:32:48 ah, ok SIr vs. FIR Nov 14 10:33:15 sa1100_ir Nov 14 10:33:18 If you have a SIR/FIR attached to serial port, you use irattach to bind dongle driver to that serial port (and thus to create irda0). Nov 14 10:33:55 If you have directly connected IrDA transceiver, you already have irda0 device and thus you use irattach only to up/down it and to control 'discoverable' properties. Nov 14 10:34:25 In theory one can control sa1100 irda transceiver even w/o irattach (using ifconfig and sysctls). Nov 14 10:34:50 But it is somewhat like reading webpages through telnet. Possible, but not user friendly. Nov 14 10:35:20 Got my kernel up and running on sa1100 Nov 14 10:36:27 Now it's time to test OE's kernel Nov 14 10:36:58 (mine has an initramfs bundled, no command line arguments required, etc - perfect for low level debugging) Nov 14 10:37:32 I had no time to strip away MD and other features... Nov 14 10:38:23 is done by adding an extra cfg fragment with the "# CONFIG_BLAH is not set" Nov 14 10:40:21 n/p Nov 14 10:40:54 I won't touch 2.6.31 for some time, so size of contemporary kexecboot doesn't matter for me. Nov 14 10:41:24 Hmm. Tosa with two cf cards working in a raid. Redundant solution. Nov 14 10:41:30 ok, fyi linux-yocto-tiny-kexecboot_3.10 for collie is today 990kb Nov 14 10:43:06 What is the space requirement? 1M? Nov 14 10:43:12 1024 Nov 14 10:43:20 so it fits Nov 14 10:43:30 Blah. klibc failed Nov 14 10:43:38 ? Nov 14 10:44:26 Concurrency issues. It uses header before header gets built Nov 14 10:45:12 hm.. strange, you should have linux-libc-headers(-dev) already staged Nov 14 10:45:19 http://pastebin.com/Lwp29L9K Nov 14 10:46:04 ah, its own header? Nov 14 10:46:07 yeah. Nov 14 10:46:21 you must have a rocket buildhost there ;) Nov 14 10:47:01 I asked colleagues to install icecc on their boxes. Nov 14 10:47:11 Thus I can steal their cpu cycles. Nov 14 10:48:42 fix by hand or disable parallel build I'd say Nov 14 10:49:04 Just executed manual do_compile and it fixed Nov 14 10:50:48 tehre is a nasty issue with klcc-cross but you shouldn't hit it Nov 14 10:51:31 it could happen if you'd build for h3600 for example... the first klcc-cross built is hardcoding sysroot paths Nov 14 10:51:44 so two builds for the same arch will fail :/ Nov 14 10:52:04 after kernel is my top priority... Nov 14 11:03:34 I remember few years ago I 'fixed' klibc/klcc by making them per-machine. Nov 14 11:03:46 per-machine packages, rather than per-arch. Nov 14 11:03:53 But I never submitted patches upstream. Nov 14 11:04:11 the problem is difefrent nowadays Nov 14 11:04:17 Got nice backtraces after removing cf card about missing sysfs files. Nov 14 11:04:42 It looks like pcmcia will also need some small 'tend' Nov 14 11:05:25 the problem we have today is the klibc headers are arch-specific but in oe the sysroot is now machine-specific Nov 14 11:05:48 about pcmcia..booting from CF I've never removed the card purposedly... Nov 14 11:08:14 I booted from cf card, but I had initramfs, so cf was not mounterd Nov 14 11:09:15 ant_work, what is the difference between core-image-basic and core-image-base? Nov 14 11:09:20 Which one should I use? Nov 14 11:10:35 good question... Nov 14 11:10:41 I buid -base normally Nov 14 11:10:53 it has most utils Nov 14 11:12:01 ok. kexecboot failed. Nov 14 11:12:12 yes Nov 14 11:12:14 It shows blueish screen and nothing else Nov 14 11:12:17 same Nov 14 11:12:31 really need to refresh the defconfig Nov 14 11:13:01 And we should switch from LZMA for collie. Nov 14 11:13:05 It is painfully slow Nov 14 11:13:18 yes, collie is very slow Nov 14 11:13:28 It is lzma. Nov 14 11:13:33 gzip is much faster I think Nov 14 11:13:34 no, copy and decompress on pxa is much quicker Nov 14 11:13:43 is just 1mb Nov 14 11:13:56 maybe som ecache is disabled on boot? Nov 14 11:14:07 no display with collie kernel Nov 14 11:14:12 and no console Nov 14 11:14:23 which one? 3.10 ? Nov 14 11:14:43 yes Nov 14 11:16:07 the 'old' linux-kexecboot could launch core-image-base built yesterday Nov 14 11:16:31 adn core-image-sato as well (a bit b0rked) Nov 14 11:16:42 pull from yesterday evening Nov 14 11:17:23 try a cold boot pls Nov 14 11:17:59 Strange. It finds sda & partitions and then hangs. Nov 14 11:18:10 hm.. maybe the CF size? Nov 14 11:18:40 It should not matter. Nov 14 11:19:52 brb Nov 14 11:22:03 ant_work, same issue: stall after sda being detected Nov 14 11:25:01 Hmm. Somehow it did not rebuild kernels. Nov 14 11:50:22 try bitbake -c cleansstate linux-yocto Nov 14 11:50:50 and rebuild Nov 14 12:12:02 yes, did that. Nov 14 12:12:16 BTW: issues I saw were related to scsi/ata, but not to pcmcia. Nov 14 12:13:04 I see logo Nov 14 12:14:19 But still no output after sda probing finished Nov 14 12:14:23 *finishes Nov 14 12:15:16 afair I've tested the common fragments for SCSI/ATA on spitz/poodle/c7x0 and all was normal Nov 14 12:15:29 but iirc I had issues with a 4GB unpartitioned card Nov 14 12:15:41 I had to make a small partition Nov 14 12:16:25 note that I've tested rather well 3.2 and just a bit 3.8 Nov 14 12:16:49 3.10 is almost untested (I was waiting for vanilla 3.12 ;) Nov 14 12:18:16 how is formatted the card? Nov 14 12:18:41 you said kexecboot had no problems identifying Nov 14 12:18:46 multiple partitions. Nov 14 12:19:19 Don't bother about that issue. It tells that some attribute groups are not enabled for scsi 'host0' object - some issues in ata/scsi core. Nov 14 12:19:38 ok, but you still don't boot... Nov 14 12:19:59 I think those are unrelated issues. Nov 14 12:20:10 see, you could build a coreimage-base and flesh yje .jffs2 on mtd Nov 14 12:20:16 argh Nov 14 12:20:27 flash the .jffs2 on mtd2 Nov 14 12:21:57 you'll see a padded image righ to the exact partition size. Rename it initrd.bin and flash it with C+D + Reset Nov 14 12:22:31 but core-image-base lack many utils Nov 14 12:23:23 I would think that is is a card problem (it is new 133x card), but 2.6.31 can read it w/o issues. Nov 14 12:23:46 interesting then :p Nov 14 12:24:17 maybe misconfigured kernel? Nov 14 12:25:04 you can do bitbake -c menuconfig an see Nov 14 12:26:37 ok. I disabled mtd and looks like it will boot Nov 14 12:26:59 ah, maybe is the jffs2 image you have on flash Nov 14 12:27:56 Maybe Nov 14 12:28:05 No. I have cramfs, not jffs2 Nov 14 12:28:21 ok, the extract that old kernel while there ;) Nov 14 12:28:43 kernel is not on cramfs, isn't it? Nov 14 12:28:46 you can mount th eSharprom Nov 14 12:28:55 yes, is enabled on purpose ;) Nov 14 12:29:46 hm, I see what you mean kernel was on mtd1 Nov 14 12:29:56 yes, I will extract it from Ospack Nov 14 12:29:57 I've mounted that cramfs anyway Nov 14 12:30:06 driver is compiled in Nov 14 12:30:23 OK. without sa1100-mtd it boots. Nov 14 12:30:41 worth further mtd debugging on your device ;) Nov 14 12:30:56 step-by-step. Nov 14 12:31:01 joking Nov 14 12:31:04 Current priority list: Nov 14 12:31:28 1) merge irq/gpio stuff to mainline Nov 14 12:31:35 2) merge clocks fixes Nov 14 12:31:42 3) finish and merge locomo cleanup Nov 14 12:32:14 I will do mtd tests somewhere inbetween. Nov 14 12:32:19 yes please do Nov 14 12:32:28 then spi/mmc Nov 14 12:32:39 Hmm. You were right voltage now = 0 Nov 14 12:32:56 But I am sure that battery is not completely dead. Nov 14 12:33:50 so 4) spi/mmc Nov 14 12:33:53 5) battery Nov 14 12:34:41 heh Nov 14 12:34:51 and shutdown... Nov 14 12:35:08 but maybe those like backlight are userspace issues Nov 14 12:36:18 Then without order: pcmcia cleanup, shutdown, clocks, audio, udc, backlight, scoop refactoring, device tree, conquer world, etc. Nov 14 12:36:56 hehe Nov 14 12:37:20 we can fix zaurusd/userland in short time Nov 14 12:37:28 kernel is much harder work Nov 14 12:38:00 now until we have SD I'd like to have an OPIE image for collie Nov 14 12:38:04 for MTD Nov 14 12:38:13 ant_work, bluelightning while digging old hh.org wiki, I had a flash idea. Do we need a wiki, describing all our handhelds-related (little) efforts, statuses, hacks, hints, etc? Nov 14 12:39:58 pls let me rule out defects on my chips, I don't think there are but you know..10yrs..used device...10Euro... Nov 14 12:40:42 ant_work, :) Nov 14 12:40:45 lumag: once you reach console use flashcp Nov 14 12:41:04 ant_work, I have console. Nov 14 12:41:18 Let's agree for me to run mtd tests somewhere next week? Nov 14 12:41:57 when you can. all what it needs is a flashcp ./initrd,bin /dev/mtd2 Nov 14 12:42:02 never successfull here Nov 14 12:42:16 add -v as well Nov 14 12:42:21 flashcp: command not found :( Nov 14 12:42:28 core-image-base Nov 14 12:42:35 Heh, will do Nov 14 12:42:51 collie login: root Nov 14 12:42:52 root@collie:~# flashcp -v /dev/mtd2 /initrd.bin Nov 14 12:42:52 This doesn't seem to be a valid MTD flash device! Nov 14 12:42:52 root@collie:~# flashcp -v /initrd.bin /dev/mtd2 Nov 14 12:42:52 Erasing blocks: 112/112 (100%) Nov 14 12:42:52 Writing data: 14336k/0k (100%)%) Nov 14 12:42:54 Verifying data: 10500k/0k (14336%)File does not seem to match flash Nov 14 12:42:56 data. First mismatch at 0x00a3e800-0x00a41000 Nov 14 12:42:58 root@collie:~# Nov 14 12:45:38 and if you do a flash_erase (or the old flash_eraseall -j /dev/mtd2) your kernel will survive to boot, once wiped outthe old cramfs/cruft Nov 14 12:46:00 I've had empty flash for long... Nov 14 12:49:40 Strnage. Now gzip is also painfully slow. Nov 14 12:50:47 only collie is slow at copy to ram/decompress imho Nov 14 13:09:57 ant_work, I found how to solve a problem with backlight. Nov 14 13:10:01 At least I hope so. Nov 14 13:10:18 Revert 5a3778e2f57e5fb1f6e060586f5850dd87b5320f Nov 14 13:10:36 Locomo does not support dev_pm_ops Nov 14 13:10:47 Would like to kick somebody Nov 14 13:12:04 So suspend/resume methods are not called at all. Nov 14 13:12:35 I will send a better patch to you. Nov 14 13:36:51 I see Nov 14 13:36:53 thx Nov 14 13:44:16 lumag: what do you think, should we remove the erase/suspend MTD patch? Nov 14 13:46:57 instead of disabling, there are fixups Nov 14 13:47:55 in cmdset_0002 Nov 14 13:51:47 ant_work, I don't know :( Nov 14 13:51:52 gtg now Nov 14 13:51:54 bye Nov 14 13:52:00 cu Nov 14 13:53:16 btw: you can check suspend/resume w/o apm Nov 14 13:53:25 echo mem > /sys/power/state Nov 14 13:53:25 :) Nov 14 18:25:56 lumag: shoul I use the @mentor email for your patches in meta-hh ? Nov 14 22:27:55 bluelightning: I have two new patches in queue on github. I hope to add a third for l-y-t-kexecboot in a while. Rebuild triggered... Nov 14 22:28:24 I have to say that those day on each pull the toolchain is rebuilt Nov 14 22:50:11 ant_home: ok Nov 14 22:50:39 ant_home: well, you could try not pulling every day... Nov 14 22:51:55 the way signatures are built up, unfortunately changing some low-level functions forces just about everything to rebuild Nov 14 23:18:21 heh | ERROR: This kernel (size=1058824 > 1048576) Nov 14 23:29:13 I could earn 8kb uncompressed if we disable /proc/sys checks Nov 14 23:29:17 Jay7: ^^ Nov 14 23:48:47 lumag: trying now to compress with xz Nov 14 23:59:57 heh *zImage │1040520│Nov 15 00:58│ Nov 15 00:00:14 (disabled nand and jedec too) Nov 15 00:05:48 hm.. still blue :/ Nov 15 00:05:56 will fix tomorrow Nov 15 00:05:57 gn **** ENDING LOGGING AT Fri Nov 15 02:59:58 2013