**** BEGIN LOGGING AT Tue Jan 05 02:59:56 2010 Jan 05 03:01:36 max_posedon: so ubi is using 2k blocks, is that what gta02 nand supports? Jan 05 03:01:49 also, is oob custom? Jan 05 03:02:15 tmzt, I think I use 512b on sheevaplug Jan 05 03:02:21 but its doesn't work on neo Jan 05 03:02:32 so, its hardware limitation I think to use 2j Jan 05 03:02:33 2k Jan 05 03:03:30 and if ubifs works, next improvment step will be use squashfs) Jan 05 03:03:48 yes Jan 05 03:03:59 2k is what we have to use on msm Jan 05 03:04:13 I think somebody with vogue can try it and see if it boots faster Jan 05 03:04:30 the total debug settings and patches for 2k? Jan 05 03:04:45 was the underlying mtd driver set up for it already? Jan 05 03:04:50 (2k oob) Jan 05 03:07:31 max_posedon: It just toggles few lines in kernel - reread all written data, and if it fails.... return EIO :) Mb we can disable this one also in distibutions? Jan 05 03:07:56 gena2x, don't ask me, ask others Jan 05 03:08:14 but I'm not sure that its so bad, this is how bad blocks detecting works Jan 05 03:08:28 also, I'm not sure that ubi works on top of mtd layer Jan 05 03:08:37 not directly on nand driver Jan 05 03:08:42 reread written data? Jan 05 03:08:53 mtd is nand, mtdblock is the block layer Jan 05 03:09:05 ubi is unsorted block interface or something Jan 05 03:09:20 max_posedon: just in case you working in that area. Jan 05 03:09:36 max_posedon: bad block detection hmm... Jan 05 03:09:48 gena2x, I working only on ubifs freankly speaking) (at least right now) Jan 05 03:10:03 5am, I didn't sleep, so, I'll forgot all what you say) Jan 05 03:10:24 max_posedon: same here, you know. Jan 05 03:10:51 if it doesn't use mtd at all where do you make it work with 2k blocks? Jan 05 03:10:56 that's what I wonder Jan 05 03:11:03 tmzt: yes. Jan 05 03:11:10 gena2x: reread. Jan 05 03:11:11 I mean use mtd's oobsize and other settings Jan 05 03:11:34 tmzt, I just use ubi.mtd=6,2048 in kernel params Jan 05 03:11:48 I'm not sure that it means, I don't understand all background Jan 05 03:12:12 This adds an extra check when data is written to the flash. The Jan 05 03:12:15 NAND flash device internally checks only bits transitioning Jan 05 03:12:17 from 1 to 0. There is a rare possibility that even though the Jan 05 03:12:20 device thinks the write was successful, a bit could have been Jan 05 03:12:22 flipped accidentally due to device wear or something else. Jan 05 03:13:01 6 is the mtd device then? Jan 05 03:13:09 tmzt: i think ubi works on top of MTD layer. And 6,2048 means 6th mtd partition, 2048 block size. Jan 05 03:13:39 right Jan 05 03:13:40 ok Jan 05 03:13:42 PaulFertser: mb disable this? Jan 05 03:14:00 but the question is more if the mtd paramters are used Jan 05 03:14:09 gena2x: mb Jan 05 03:14:11 :) Jan 05 03:14:13 PaulFertser: 'extra check' :) Jan 05 03:14:17 and why does it need ,2048 shouldn't it get the caps from mtd? Jan 05 03:14:33 reads are much faster then writes Jan 05 03:14:47 tmzt: ubiformat /dev/mtd6 -s 2048 -O 2048 ; ubimkvol /dev/ubi0 -N rootfs -m Jan 05 03:14:54 it's crazy because google didn't fully write mtd for msm_nand, they put important parts in yaffs2 directly Jan 05 03:14:57 max_posedon: 2 Mb/s? Jan 05 03:14:58 ubifs write data only by big data Jan 05 03:15:13 I don't think that reread can kill it Jan 05 03:15:18 gena2x, I don't know Jan 05 03:15:19 max_posedon: do you think this is so fast? Jan 05 03:15:25 max_posedon: dd Jan 05 03:15:29 so switching fs means extracting that stuff Jan 05 03:15:32 max_posedon: dd told us. Jan 05 03:15:41 and moving it to mtd where it belongs Jan 05 03:15:45 fsck, my new kernel doesn't boot, unknown block Jan 05 03:15:59 rootdelay? Jan 05 03:16:37 tmzt: i think ,2048 is unnecessary Jan 05 03:17:00 PaulFertser, I think its really necesserry, Jan 05 03:17:07 max_posedon:no, really 6mb/s Jan 05 03:17:09 at least I had problems with mount Jan 05 03:17:27 gena2x, you have ubifs on neo with .32 kernel? Jan 05 03:17:35 e.g. where are you doing such tests) Jan 05 03:17:47 kernel can do upto 30Mb cache remember it Jan 05 03:17:48 gena2x: not yet. Just dd if=/dev/mtd6 bs=256k of=/dev/null Jan 05 03:18:00 ah, its about seq read Jan 05 03:18:56 Now i wonder very much why distributions on flash are working in same speed to one on SD Jan 05 03:19:13 SD is 2.6M/b, flash is 6MB/s Jan 05 03:19:20 Should be twice faster Jan 05 03:19:24 strange Jan 05 03:19:29 jffs2 is sync Jan 05 03:19:40 on writes i guess? Jan 05 03:19:48 it means when you write 10b, you write 2k Jan 05 03:20:00 and if you do sequence writes of 10b files Jan 05 03:20:01 that's true of nand Jan 05 03:20:10 max_posedon: but reads is 99% of bootup? Jan 05 03:20:24 gena2x, I think yes Jan 05 03:20:53 max_posedon: hm... mb we have sync syslogd? Jan 05 03:21:06 syslog log to tmpfs Jan 05 03:21:28 max_posedon: really? /var/log on tmpfs? Jan 05 03:21:54 max_posedon: I don't believe Jan 05 03:22:03 max_posedon: in shr? Jan 05 03:22:56 max_posedon: tmzt: the second parameter is "Optional \"vid_hdr_offs\" parameter specifies UBI VID header position and data starting position to be used by UBI." Jan 05 03:26:17 hmm Jan 05 03:27:10 rootdelay=10 helps Jan 05 03:27:20 so, I have fully working default shr Jan 05 03:27:31 fast enough booting on ubifs Jan 05 03:28:02 PaulFertser, http://pastebin.ca/1738321 Jan 05 03:28:11 my patch to shr! kernel Jan 05 03:28:17 tmzt: according to the comment in the source it should align to the first page boundary by default, no idea why it doesn't work without explicit specification, probably some bug. Jan 05 03:28:50 PaulFertser, are you ready commit it? or you want me to do few more plays/games Jan 05 03:29:13 max_posedon: i want to sleep again right atm, let's commit it tomorrow. Jan 05 03:29:28 ok, I'll remind all when I woke up Jan 05 03:29:41 PaulFertser: so, why not disable what verify? Jan 05 03:29:45 JaMa, http://pastebin.ca/1738321 Jan 05 03:29:55 but lets now do some speed tests) Jan 05 03:30:19 max_posedon: it's also of limited use anyway because not all SHR users are able to do your boot-from-SD/format manually/etc trick instead of flashing. Jan 05 03:30:45 gena2x: i will if it's not present in defconfigs of other widely used devices. Jan 05 03:30:54 * PaulFertser goes to sleep Jan 05 03:30:59 PaulFertser, may be I'll find time to test ubinize Jan 05 03:31:05 may be somebody else do it Jan 05 03:31:07 PaulFertser: :) Jan 05 03:31:13 max_posedon: results of speed tests are of more interest imho Jan 05 03:31:19 PaulFertser: i thought - how to check it :)) Jan 05 03:31:25 but people will have working ubi in kernel its nice Jan 05 03:31:36 PaulFertser: and what is source of all options of that sort :) Jan 05 03:32:08 gena2x: heh :) Jan 05 03:32:40 max_posedon: pleas, publish result of your speed measurement... Jan 05 03:32:55 installing coreutils(dd) now Jan 05 03:33:09 max_posedon: I wanted to do similar quest with ubifs in my own. Jan 05 03:33:49 max_posedon: So, very interesting to read. Jan 05 03:34:55 ok, what tests you want? Jan 05 03:35:21 I guess is up to you :) Jan 05 03:35:39 I planned bonnie++, but really unsure it is best testsuite. Jan 05 03:35:39 so, plz wait) Jan 05 03:37:07 gena2x, shr haven't bonnie++,) Jan 05 03:37:25 max_posedon: i guess shr have to testsuite at all Jan 05 03:37:44 max_posedon: what's why i am using debian. Jan 05 03:38:10 max_posedon: everything is included to it :) Jan 05 03:38:25 thats why I'm working on gentoo) Jan 05 03:39:00 oh, update-alternatives.. Jan 05 03:39:01 hm.. on freerunner? Jan 05 03:39:24 With native compilation? Jan 05 03:39:26 gena2x, yep, not all done, but will be some day Jan 05 03:39:41 I prefer native on sheevaplug, or cross Jan 05 03:40:00 Ohhh. now i got idea with sheevaplug......... Jan 05 03:40:44 sheevaplug is awesome) and its really good for testing any embedded stuff Jan 05 03:40:54 I already test on it btrfs and ubifs) Jan 05 03:41:01 where did you get it? Jan 05 03:41:12 bought online Jan 05 03:41:30 max_posedon: in russian shop? Jan 05 03:41:43 nope, in some USA's Jan 05 03:42:08 Such things not so easy to buy here... Jan 05 03:42:12 with 3days delivery, but final price was 2 times bigger Jan 05 03:42:17 here, where? Jan 05 03:42:24 max_posedon: in spb. Jan 05 03:42:37 just by it by mail) Jan 05 03:43:06 max_posedon: with price x2... Jan 05 03:43:27 I was payed x2 because of belarussian laws Jan 05 03:43:48 max_posedon: we have very similar taxes i guess. Jan 05 03:44:03 nope Jan 05 03:44:20 max_posedon: ??? Jan 05 03:44:23 http://max-posedon.livejournal.com/18230.html more info here (in russian) Jan 05 03:44:41 our minimal taxfree mail price 10 eur Jan 05 03:44:52 your about 500 eur Jan 05 03:45:01 so, you will pay only for delivery Jan 05 03:45:23 I payed for (device+deliver)*1.3(30% taxes) Jan 05 03:45:46 + some crazy payments just for entering to airport mail office Jan 05 03:48:15 how does btrfs work on arm? Jan 05 03:48:18 http://pastebin.ca/1738336 Jan 05 03:48:25 tmzt, works nice) Jan 05 03:48:42 1st test at link, if somebody have jffs2 and can compare will be nice Jan 05 03:49:37 http://pastebin.ca/1738338 Jan 05 03:49:46 max_posedon: Funny :) selling tickets to custom :) Jan 05 03:53:12 so, I don't know which tests I should do to compare with jffs2 Jan 05 03:53:29 Just do bonnie++ Jan 05 03:53:45 I have results for sd card I think Jan 05 03:54:16 yes, with ext2 Jan 05 03:54:22 I haven't bonnie++ on shr Jan 05 03:54:36 just compile it... Jan 05 03:55:26 I disagree, not today Jan 05 03:55:31 ) Jan 05 03:56:11 ok, ok. finally, I can go throught that quest too for xp :) Jan 05 03:57:20 I just see more interesting test Jan 05 03:57:26 lest compare result) Jan 05 03:57:29 which one? Jan 05 03:57:55 max_posedon: bonnie have simple makefile Jan 05 03:58:05 max_posedon: so it's easy to compile Jan 05 03:58:15 ah its wrong, I need reboot Jan 05 03:58:29 I just want test time between framework started, and gsm connected Jan 05 03:59:03 I'll test time since poweron to gsm connected (sim pin disabled) Jan 05 03:59:31 max_posedon: not so bad. 'use case test' Jan 05 04:00:28 I have loglevel=8, but anyway) Jan 05 04:01:21 75sec to X Jan 05 04:01:53 105 sec to enlightment Jan 05 04:02:27 hm. how to you wish to calculate jffs2 timings? Jan 05 04:02:36 nohow) Jan 05 04:03:04 180 sec to gsm connected Jan 05 04:03:18 not awesome, not so bad Jan 05 04:03:19 ) Jan 05 04:03:30 max_posedon: that's why i measure ext2 before going with my experiment ;) Jan 05 04:04:00 max_posedon: In fact i wanted a bit different thing - best fs for sd. Jan 05 04:04:24 gena2x, I think it will be btrfs without compression for now Jan 05 04:04:29 for really big sds Jan 05 04:04:36 (like 8G+) Jan 05 04:04:51 max_posedon: btrfs? on flash? why? Jan 05 04:05:03 not fastest, but optimized for ssd and for reliablity Jan 05 04:05:04 max_posedon: i thought about some kind of logfs Jan 05 04:06:12 gena2x, have you your frameworkd.log near you? (nice if you have sim pin disabled) Jan 05 04:06:51 90sec between framework starts and gsm connected Jan 05 04:06:59 max_posedon: which framework, fso2 (vala stuff)? Jan 05 04:07:01 I really like thats results Jan 05 04:07:12 max_posedon: I have one from debian only Jan 05 04:07:30 tmzt, shr-unstable I don't know Jan 05 04:07:38 some fso2 framework mix) Jan 05 04:08:22 how fast does it usually start up? Jan 05 04:08:28 max_posedon: think btrfs is too heavy. guess all that feature not needed in fr. Jan 05 04:08:48 tmzt, longer, but... I don't know Jan 05 04:09:21 may be I just want ubifs to be really faster) Jan 05 04:09:30 max_posedon: btw it's usual optimiation problem - you do something, think it became better, but measurement with real clock 50% of time shows it is now :) Jan 05 04:09:56 max_posedon: I fall in that pit several times Jan 05 04:10:43 max_posedon: that's why unbiased bonnie is needed :) Jan 05 04:11:01 ok) Jan 05 04:11:11 but now I must sleep Jan 05 04:11:15 at least 4h Jan 05 04:11:19 me2 Jan 05 05:40:49 hi, failed to apply patch to local tar.bz2 file using bitbake file, any clue ? **** ENDING LOGGING AT Tue Jan 05 05:57:21 2010 **** BEGIN LOGGING AT Tue Jan 05 05:58:14 2010 Jan 05 06:53:24 morning Jan 05 06:53:47 satish: can you paste the .bb, the .patch and the link to the source somewhere? Jan 05 06:53:52 satish: probably path problems Jan 05 06:53:57 satish: also, the error log would be interesting Jan 05 08:49:40 max_posedon, PaulFertser, UBI-fans: http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=590b54897fcca0e8568cdc2acd50cf74002b50fb Jan 05 08:50:32 thanks!) Jan 05 08:50:45 JaMa, its really works here, I'm happy Jan 05 08:54:52 anyone know why /sys/devices/system/timer/timer0/dyn_tick doesn't exist on SHR? trying to squeeze out some more battery life by experimenting with the stuff in http://markmail.org/message/nuoduc23qlty2slk Jan 05 08:56:36 max_posedon: btw do you have any idea if there is some "filesystem created timestamp" in ubifs header? Jan 05 08:58:38 max_posedon: just because while creating ubifs which is later ubinized and ubifs after that with OE, ubifs are a bit different in first few bytes.. Jan 05 08:58:38 at least I saw some header during mount Jan 05 09:00:01 max_posedon: I'm going to remove standalone ubifs from IMAGE_FSTYPES for om-gta02 because its generated because of "ubi" which is ubinized Jan 05 09:00:28 I'm ok with it Jan 05 09:00:40 but I'm not sure, that images works at all Jan 05 09:01:06 I'm not sure that ubinize and kernel have same opinions about ubifs Jan 05 09:01:17 max_posedon: here is that header difference http://www.mail-archive.com/shr-user@lists.shr-project.org/msg02410.html Jan 05 09:02:14 problem that I face similar problems also on sheevaplug with .32 Jan 05 09:04:32 max_posedon: you can also check there that error you said yesterday was almost imposible, this was from mkvol.. but the same I got with ubiformat while reseting that err. count Jan 05 09:05:29 but with "kernel BUG at mm/slab.c:3002!" its not sure where the real error was created.. Jan 05 09:07:48 [459531.915000] Internal error: Oops: 817 [#1] PREEMPT <- Jan 05 09:07:58 I think disabling BGT fixes such errors Jan 05 09:08:24 and yes, exactly same backtrace was on sheevaplug) Jan 05 09:08:40 but isnt BGT for "more cleaver logic to lower wearing"? Jan 05 09:09:01 bgt just background thread as I understand, I'm not sure now Jan 05 09:09:30 http://www.anandtech.com/storage/showdoc.aspx?i=3631 Jan 05 09:09:31 but this is what I touched, bgt and just debug info Jan 05 09:10:52 max_posedon: from this article I got idea that there is lots of logic needed to check nand usage ie in page 4 about cleaning lady iirc Jan 05 09:11:36 PaulFertser: to pick up last night's discussion ... one problem with exposing internal NAND would be that you could read what their secret algorithms are doing. now, any self-respecting reverse engineer would laugh at this, but then their lawyers may now. (and sometimes, the lawyers have good arguments, such as the fine distinction between something being accessible and something being made accessible.) Jan 05 09:13:53 JaMa, btw, can you add bonie++ in feeds?) Jan 05 09:15:23 JaMa, this is big problem for SSD, but not for ubifs Jan 05 09:15:44 SSD/mmc/etc, have problems with info about their content Jan 05 09:16:19 and isn't it handled in ubifs in that BGT ? Jan 05 09:16:33 nope Jan 05 09:16:51 BGT just option of implementation Jan 05 09:16:56 (as I understand) Jan 05 09:17:56 anyway, ubifs doing write/read in optimized way, just because it knows their backend Jan 05 09:18:58 hmm from Kconfig "The thread may be also be enabled/disabled via UBI sysfs." Jan 05 09:19:23 of course we can continue working on config, but *now* we have defenetly working kernel Jan 05 09:19:43 so, we can enable/disable on-by-one to test where is all fails Jan 05 09:20:45 but I think thereis one more interesting step, pooting rootfs to squashfs Jan 05 09:21:34 As I wrote before on ML.. it works for me only partially.. it haven't survived few subsequent mounts for me :/ Jan 05 09:21:52 but maybe other users like you will have more luck :) Jan 05 09:23:02 you can try our current kernel + with creating ubi manually Jan 05 09:23:17 may be it was smth wrong not with luck, but with kernel) Jan 05 09:23:31 max_posedon: I tried many times in last few moths :) trust me .. Jan 05 09:23:56 max_posedon: I'm testing it from time to time with every kernel bump I do in OE repo.. Jan 05 09:24:10 but you never know, does kernel correct or not, but now can be sure) Jan 05 09:24:22 max_posedon: flashin ubinized as well as created on neo.. Jan 05 09:24:43 I just doesn't understand how jffs2 can work, and ubifs doesn't Jan 05 09:25:03 of course if jffs2 doesn't work for you, its another story) Jan 05 09:25:29 and worse is that even if it works and I can mount it.. then it fail after reboot (same kernel, same nand etc.) Jan 05 09:25:46 thats why I always just try and then forgot for at least a week :) Jan 05 09:26:07 ok, but for me, I did few reboots now Jan 05 09:26:18 works reliable Jan 05 09:26:56 now with your success test and someone (maybe ist also you) success story on SHR ML.. it make me to push updated ubinize params to OE (which I had locally for some time and wasn't sure if it makes things better or worse :) Jan 05 09:27:12 max_posedon: still on that 2.6.29-rc3 without drm right? Jan 05 09:27:21 max_posedon: can you try with 2.6.32? Jan 05 09:27:26 default shr-U, I think it means yes Jan 05 09:27:34 JaMa, yes, but at evening Jan 05 09:27:55 max_posedon: btw bonnie++ added to feeds.. I'll start build on buildhost.. Jan 05 09:28:03 and now back to daywork.. Jan 05 09:28:20 max_posedon: thanks for testing and results.. I really apreciate that Jan 05 09:28:52 max_posedon: first good results and good info after long time (before that only questions :)) Jan 05 09:32:52 is there any known issue with 2.6.31 and the SD card? It doesn't look like it can see my card using this kernel Jan 05 09:33:41 rebelThor: I was booting from SD card with 2.6.31 built from OE Jan 05 09:34:14 JaMa: I don't have the folders inside /media, maybe it's a different issue then Jan 05 09:34:19 perhaps the automounter or something Jan 05 09:34:31 I'm not using automounter.. Jan 05 09:34:54 shouldn't I have some mmc* devices in /dev? they're not there Jan 05 09:34:55 rebelThor, I think you should check, which fs supported Jan 05 09:35:00 and which modules you have Jan 05 09:35:20 but I had same problems with .31 some_gta_defconfig Jan 05 09:35:41 and maybe its not enabled in .31 config.. its building much less modules/features than what old defconfig-packaging did Jan 05 09:36:45 i just got one from the mrmoku folder , maybe it doesn't contain everythign it should.. it's way faster though Jan 05 09:36:55 rebelThor: or /dev/block if using mdev Jan 05 09:37:27 faster because less is built in? Jan 05 09:38:11 tmzt: i have some mtdblock[1-6] in /dev/block, you think these are my sd partitions? :) Jan 05 09:38:52 no Jan 05 09:38:58 mtd is flash not sd Jan 05 09:39:21 right.. then it's not there :) maybe I can find a 2.6.32 image I can flash :P Jan 05 09:40:04 rebelThor: yes thats OE built.. the same version I have.. Jan 05 09:40:31 JaMa|Wrk: so you're saying I should be able to see the sd? that's odd Jan 05 09:40:37 tmzt: faster because it has Weiss's DRM patches.. Jan 05 09:40:53 rebelThor: I'm saying that I was able to boot from sd with that :) Jan 05 09:41:20 rebelThor: and yes.. I could see sd after that too (as mmcblk0p1 etc) Jan 05 09:41:44 good Jan 05 09:41:59 add rootdelay=1 at least Jan 05 09:42:32 i'm getting some "cannot load /lib/modules/2.6.31 ..." errors when booting via uboot Jan 05 09:42:42 what am I missing? Jan 05 09:44:35 rebelThor: have you downloaded and unpacked modules tarball? Jan 05 09:44:45 nope, I didn't know I have to :D Jan 05 09:45:22 then you're missing all modules :) Jan 05 09:46:42 i even got a nice WSOD :)) just installed the modules, hopefully it'll work now, as it's too damn fast to give up on Jan 05 09:47:38 rebelThor: you got a nice WSOD every time phone tryies to suspend.. Jan 05 09:47:53 rebelThor: thats unwelcome sideeffect of DRM patches making it way faster.. Jan 05 09:48:15 interesting.. Jan 05 09:48:29 hmm, suspended, though it doesn't even want to come back from suspend at all Jan 05 09:48:50 rebelThor: you can reboot it over ssh in most cases.. Jan 05 09:49:06 DRM typically slows things down a little, apart from the possibility of the waitqueue stuff (maybe makes a big difference- not sure: my FR is nice and fast with FIFO+waitq, but I haven't tried FIFO-only for long enough to judge) Jan 05 09:49:52 it feels faster to me.. I haven't tried some objective benchmark Jan 05 09:50:53 it's kind of bad that suspend doesn't work at all atm :( Jan 05 09:51:58 rebelThor: yes :/ that's why I'm using 2.6.32 only with neo connected to pc (its most of the time) and I'm switching back to 2.6.29-rc3 when going out with phone.. Jan 05 09:52:04 rebelThor: are you using 2.6.29+drm or 2.6.3{1,2}? Jan 05 09:52:21 Weiss: 2.6.31 atm, didn't find any image for 2.6.32 to test Jan 05 09:52:53 rebelThor: I'm adding it to shr buildhost atm Jan 05 09:53:15 Weiss: is 2.6.29+drm as fast as 2.6.31? :) i'm willing to give it a try Jan 05 09:53:25 rebelThor: but you can build it from OE .. its there from the day larsc announced it for experimental freaks :) Jan 05 09:53:47 if it fails on *suspend* (not resume) with 2.6.3x, try enabling MMC_UNSAFE_RESUME_or_whatever_it_was Jan 05 09:54:04 2.6.29 should be as fast as .31 as far as graphics is concerned.. Jan 05 09:54:05 JaMa|Wrk: i gave up on building stuff myself due to time constraints and other factors :) I just dont have the time to wait for it Jan 05 09:54:32 Weiss: .31 just feels faster in everything, booting up, launching apps, etc Jan 05 09:55:26 cool :D Jan 05 10:00:05 weird, FAT: codepage cp437 not found when trying to mount a vfat on 2.6.31 Jan 05 10:00:38 missing cp437 in config i guess.. Jan 05 10:01:11 kernel config, right Jan 05 10:01:13 ? Jan 05 10:01:36 yes Jan 05 10:02:03 well then, back to .29 for me :) Jan 05 10:05:00 wpwrak: (secret algorithms) eww :/ Jan 05 10:05:17 PaulFertser: i can make Qi turn on the LED during resume even before RAM is working, right? Jan 05 10:06:58 lindi-: yes, you can :) Jan 05 10:10:17 PaulFertser: how about going to suspend with watchdog running? Jan 05 10:10:29 PaulFertser: and having Qi wake up every 40 seconds to ACK the watchdog? Jan 05 10:10:39 mrmoku|away: ping Jan 05 10:11:45 lindi-: how do you distinguish between user-set RTC alarm and an RTC alarm set by Qi to wake up itself? Jan 05 10:15:10 lindi-: and do i understand it right that you want to increase reliability by using watchdog but you want to save power by quickly suspending again, without going through full kernel suspend/resume? Jan 05 10:15:47 PaulFertser: yes Jan 05 10:16:45 PaulFertser: but having to add RTC and watchdog drivers to steppingstone code does not sound fun Jan 05 10:16:56 lindi-: exactly Jan 05 10:17:25 PaulFertser: any other ideas? Jan 05 10:21:30 lindi-: To me it seems that core FR is already stable enough. Probably the kernel problems will be solved by upgrade to new mainline release. If i had an energy i'd spent it on finally upstreaming all the stuff and switching to recent kernels. Also i'd migrate to the fso2 as much as i could and extended fso.el to use opimd. Jan 05 10:25:21 PaulFertser: i think a silent crash every two months is still too much. it's a different thing if it crashes when the user is using it and knows he need to reboot it Jan 05 10:25:31 s/need/needs/ Jan 05 10:26:04 PaulFertser: i still don't know if it crashes during suspend, resume or somewhere in the middle :P Jan 05 10:28:33 lindi-: what is the maximum time hardware watchdog can be configured for? Jan 05 10:29:26 did someone build Qi with latest toolchain used in SHR? Jan 05 10:29:28 PaulFertser: 42 seconds i think Jan 05 10:29:53 http://pastebin.ca/1738603 Jan 05 10:29:55 PaulFertser: bit too short for doing full suspend/resume Jan 05 10:30:30 JaMa|Wrk: i think it's the same problem that was reported recently on ML (about debian armel native compilation). Jan 05 10:30:31 PaulFertser: maybe i need an external watchdog that will start to beep if it is not ACKed :) Jan 05 10:30:47 JaMa|Wrk: i'll check/apply his fix today. Jan 05 10:31:15 PaulFertser: can serial console wake the system up? Jan 05 10:32:02 lindi-: no idea, i need to check the manual to answer that. Jan 05 10:35:07 PaulFertser: however it needs extra hardware so it is not very practical Jan 05 10:37:10 VDVsx: hi Jan 05 10:37:31 VDVsx: are you the remoko author? Jan 05 10:38:08 PaulFertser: argh, i don't like trac at all, it only says "2 weeks ago" and not exact date of a bug comment Jan 05 10:38:22 lindi-: i do not like trac too :| Jan 05 10:38:37 lindi-: there's some way to get a date from it, it's encoded in the hyperlink or something. Jan 05 10:38:43 PaulFertser, yes, but I've the project in standbye, don't have time to improve it atm :( Jan 05 10:38:57 VDVsx: can you at least update us on the current status? Jan 05 10:39:09 It's not obvious from the commit log. Jan 05 10:39:12 lindi-: (console) unfortunately not, because the clock is stopped. you could run rx to an eint-capable pin but you'd still lose the first character(s) Jan 05 10:39:57 PaulFertser, my last commits were to support bluez4 thus SHR, nothing new there Jan 05 10:40:21 VDVsx: yes, but does the latest version work with bluez4? Jan 05 10:40:35 PaulFertser, yes Jan 05 10:40:54 last svn version Jan 05 10:42:46 VDVsx: ok, thanks a lot! Jan 05 10:44:06 PaulFertser: great! let me know if that patch works I'll apply it to OE.. Jan 05 10:46:21 mickey|zzZZzz: ping, seems like fsotdld is missing in sane-srcrevs-fso.inc, which revision should be used? ${FSO_CORNUCOPIA_SRCREV} there is too old because there is no code in fsotdld and latest revision fails to compile here :/ Jan 05 10:46:43 mickey|zzZZzz: with this http://pastebin.ca/1738619 Jan 05 10:47:36 JaMa|Wrk: let me do the right thing and fix it in the repo please ;) Jan 05 10:50:20 PaulFertser: even better.. but still ping me to bump revision :) Jan 05 10:50:40 JaMa|Wrk: please bump the remoko version to r148 Jan 05 10:50:45 Counts? Jan 05 10:50:46 ;) Jan 05 10:50:57 yes.. i guess when its from you :) Jan 05 10:51:12 but I already did that when you said it first in #openmoko :) Jan 05 10:51:16 just not pushed Jan 05 10:51:21 because of lunch.. Jan 05 10:51:29 JaMa|Wrk: enjoy your meal ;) Jan 05 11:05:42 JaMa|Wrk: try building vala 0.7.9.3 and then fsotdld Jan 05 11:10:37 hmm is yesterdays unstable image recommended? Jan 05 11:14:31 \o/ finally found the resizing bug in my notes application :D Jan 05 11:19:29 * PaulFertser wished to know why the hell Andy used ulong/ushort/uint and u_int32_t etc when he should have used C99-compatibles uint32_t etc... Jan 05 11:19:35 wpwrak: do you know? Jan 05 11:20:12 PaulFertser: i often ask myself that question, with a lot of code from all kind of people ... Jan 05 11:21:43 PaulFertser: another favourite of mine are those libraries that blissfully rename all basic types Jan 05 11:21:59 wpwrak: especially ulong and friends is what looks strange, they shouldn't be used even if there's no C99 support, it just doesn't make sense. If you need unsigned long, write unsigned long. If you want some particular size, name it appropriately... Jan 05 11:22:23 wpwrak: heh, he also used u32 :) Jan 05 11:22:29 PaulFertser: and let's not forget the well-meant foo_t types that mimick the ANSI C type naming style but completely overlook the fact that these names are reserved by that very same standard Jan 05 11:22:45 PaulFertser: (u32) there's at least in good company :) Jan 05 11:22:51 :D Jan 05 11:22:54 s/there's/there he is/ Jan 05 11:25:42 mickey|zzZZzz: it was after upgrading vala-native Jan 05 11:27:19 perhaps it wasn't rebuilt Jan 05 11:27:29 fsotdld compiles fine with vala >= 0.7.9.1 here Jan 05 11:27:44 hm. Jan 05 11:28:09 mickey|zzZZzz: which revision of fsotdld? Jan 05 11:28:12 HEAD Jan 05 11:28:41 when running from uSD /dev/mmcblk0 is a must have in /etc/udev/mount.blacklist Jan 05 11:28:58 mickey|zzZZzz: it was rebuild, because when I built shr-image (with vala upgrade) it failed because of that missing rev in srcrevs Jan 05 11:29:13 mickey|zzZZzz: then I tried with FSO_CORNUCOPIA_SRCREV and last with HEAD Jan 05 11:29:30 but I'll recheck Jan 05 11:29:48 shr buildhost should fail the same in few mins :) Jan 05 11:31:35 * mickey|zzZZzz -> office bbiab Jan 05 11:38:25 wpwrak: does this look right to you: Jan 05 11:38:26 /* if we can't do it, reject as busy */ Jan 05 11:38:26 if (!glamo_reg_read(GLAMO_REGOFS_MMC + GLAMO_REG_MMC_RB_STAT1) & Jan 05 11:38:29 GLAMO_STAT1_MMC_IDLE) Jan 05 11:38:32 return -1; Jan 05 11:40:45 depends a lot on the value of GLAMO_STAT1_MMC_IDLE :) Jan 05 11:41:43 wpwrak: 0x4000 Jan 05 11:42:04 your search is faster than mine :) Jan 05 11:42:13 wpwrak: i pre-searched before asking Jan 05 11:42:31 under these circumstances, look right it does not :) Jan 05 11:43:04 wpwrak: heh, so the guy silencing the warning was not right in the end :) http://docs.openmoko.org/trac/ticket/2325 Jan 05 11:44:22 however, where did you find this ? the tree i have has proper parentheses Jan 05 11:45:04 wpwrak: src/drivers/glamo-mmc.c:188 git HEAD Jan 05 11:45:22 pulling ... Jan 05 11:45:55 been a while ... Jan 05 11:48:42 hmm, driver looks very different now Jan 05 12:05:24 JaMa|Wrk: can you please take a look at https://paulfertser.is-a-geek.org/files/qi-fixes/ ? Jan 05 12:10:02 PaulFertser: from my POV seems sane.. can you check also why there is http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/qi/files/sanitize-makefile.patch ? Jan 05 12:10:16 PaulFertser: I can test them just to compile with shr kernel.. Jan 05 12:10:23 s/kernel/toolchain/ Jan 05 12:11:01 JaMa|Wrk: ahem Jan 05 12:12:15 JaMa|Wrk: probably OE doesn't build directly in the git repo so it's impossible to tell the current revision? I'm not sure i like that. Jan 05 12:13:28 PaulFertser: yes its exported/tarballed and build is from unpacked tarball later Jan 05 12:14:02 JaMa|Wrk: hm, not exactly good for a bootloader which is not under control of package manager. Jan 05 12:14:40 PaulFertser: yeah maybe.. but still its how bitbake works and I'm not sure how to change that.. Jan 05 12:15:27 PaulFertser: but git revision is known to bitbake and used in filename of binary Jan 05 12:15:37 JaMa|Wrk: well, then the first part of the patch is ok (but i'd leave BUILD_DATE and BUILD_HOST in, i see no reason to remove that). The second part is strange. Jan 05 12:15:38 PaulFertser: branch is hardcoded to recipe Jan 05 12:17:15 is there any reason why I can't emit a signal from within an async method? talking about vala Jan 05 12:22:09 PaulFertser: check the glamo-regs.h header.. sometimes the registers are offset there, other times not.. also, which ioremapped space is used in that version of glamo_reg_read? Jan 05 12:23:01 Weiss: that test would look bogus regardless, imho Jan 05 12:23:51 oh, brackets.. yeah Jan 05 12:24:42 I'd just put them in... life's too short to try and be clever like that Jan 05 12:25:15 Weiss: i'm pushing a "fix" shortly Jan 05 12:26:38 JaMa|Wrk: so are you ok with the patches or would you prefer handling of CROSS_COMPILE in a slightly different way? Jan 05 12:28:15 PaulFertser: I don't care now.. I haven't really looked much.. I need to finish something at work.. Jan 05 12:28:28 JaMa|Wrk: ok Jan 05 12:28:38 PaulFertser: but with your patches it compiled ok in OE just now.. Jan 05 12:28:56 ah not much :) Jan 05 12:29:09 cp: cannot stat `/home/projects/OE/tmpdir-dev-shr/work/om-gta02-oe-linux-gnueabi/qi-1.0.2+gitr36bb5c03756268ff15b2d95a043ffb39a919ce5c-r0/image/*': No such file or directory Jan 05 12:29:46 JaMa|Wrk: CROSS_COMPILE should be set explicitly Jan 05 12:32:29 PaulFertser: it seems compiled fine.. -rw-r--r-- 1 bitbake bitbake 28K led 5 13:30 qi-s3c2442-1.0.2+gitr36bb5c03756268ff15b2d95a043ffb39a919ce5c.udfu Jan 05 12:32:51 JaMa|Wrk: ok, thanks a lot for testing Jan 05 12:33:04 but its in git/image instead of image as bitbake expects.. maybe related to latest stagging and classes changes in OE Jan 05 12:34:21 PaulFertser: and BUILD_HOST=\$(shell hostname) Jan 05 12:34:21 BUILD_VERSION=${PV} Jan 05 12:34:21 BUILD_DATE=\$(shell date) Jan 05 12:34:28 is in recipe.. Jan 05 12:35:15 I'll apply your BUILD_DATE change there Jan 05 12:35:34 JaMa|Wrk: i'm not sure it should come from the recipe but anyway. Take you time :) Jan 05 12:38:09 PaulFertser: I'll try to flash tonight.. Jan 05 12:38:26 JaMa|Wrk: i've pushed the patches anyway, they seem to be reasonable. Jan 05 12:38:34 JaMa|Wrk: thanks for caring Jan 05 12:38:41 PaulFertser: I've also increased rootdelay for me.. because 2.6.32 cannot find rootfs here.. Jan 05 12:38:54 but works when booted with debug (long POWER) Jan 05 12:39:19 JaMa|Wrk: rootdelay is card-dependant so i'd rather have user add what works for him best to /boot/append-GTA02 Jan 05 12:40:14 PaulFertser: and last rootdelay takes place? Jan 05 12:40:19 JaMa|Wrk: sure Jan 05 12:40:26 JaMa|Wrk: at least that's the intention :) Jan 05 12:40:28 iirc I have seen some bug report somewhere that it failed for him.. Jan 05 12:40:45 that's why I would like to test it from qi Jan 05 12:41:02 as well as updated rootfs for booting from ubi nand :) Jan 05 12:41:16 I mean rootfs kernel param Jan 05 12:42:15 JaMa|Wrk: (bug report) no bug on trac -> why should we care? Jan 05 12:42:21 JaMa|Wrk: http://docs.openmoko.org/trac/query?status=accepted&status=assigned&status=in_testing&status=new&status=reopened&component=System+Software&order=priority Jan 05 12:42:44 JaMa|Wrk: (ubifs) hm... well... no idea how to solve that "properly" Jan 05 12:43:12 JaMa|Wrk: maybe a minimal initramfs linked in kernel? Jan 05 12:47:07 PaulFertser: you mean initramfs for checking if there is ubi or jffs? Jan 05 12:47:25 PaulFertser: then we can use whole kexecboot with menu etc i guess Jan 05 12:48:04 JaMa|Wrk: well, menu is hard and slow and not ready etc etc. Simple solution can be prepared in a matter of hour i hope and will just work. Jan 05 12:49:37 PaulFertser: something like just check for rootfs type and then mounting rootfs itself? Jan 05 12:51:51 bbl anyways.. Jan 05 12:57:05 JaMa|Wrk: yep Jan 05 12:59:25 lindi-: (sleeping function) i'm not sure that's anything OM-specific. Jan 05 13:00:00 Probably fixed upstream or something... No use without a way to reproduce anyway. Jan 05 13:04:38 what is NAND memory node link ? Jan 05 13:23:53 PaulFertser: do my eyes betray me or do we have the same issue here ? drivers/mfd/glamo/glamo-mci.c:445 Jan 05 13:24:44 wpwrak: that's now Weiss and larsc territory :) Jan 05 13:25:24 let's see what they have to say :) Jan 05 13:25:55 wpwrak: but yes, it looks like that indeed. Nice you have checked :) Jan 05 13:26:36 PaulFertser: i didn't actually realize until quite late that you weren't talking about the kernel :) Jan 05 13:27:07 wpwrak: which version are you looking at? Jan 05 13:27:42 more brackets, or more register offsets? I fixed a few "implicitly" hardcoded VRAM offsets to make MMC play nicely with DRM Jan 05 13:27:53 andy-tracking Jan 05 13:28:31 Weiss: brackets Jan 05 13:28:31 Weiss: it's a parentheses issue: !register & mask vs. !(register & mask) Jan 05 13:28:45 And operator precedence Jan 05 13:28:57 eww Jan 05 13:29:22 interestingly, someone I know just submitted an entry to the IUCC doing exactly that Jan 05 13:30:19 iucc, qu'est-ce que c'est ? Jan 05 13:31:41 http://www.iucc.ac.il/ ? Jan 05 13:41:00 and the next power cut ... Jan 05 13:41:46 doesn't unary alway s have precedence? Jan 05 13:41:57 tmzt: indeed they do Jan 05 13:51:38 PaulFertser: wait a sec, can I save power by not powering NAND up? ;) Jan 05 13:52:45 lindi-: no idea, i guess not much Jan 05 13:53:37 PaulFertser:morning ;) Can we finish up with CONFIG_MTD_NAND_VERIFY_WRITE. i have a plan :) Jan 05 13:53:46 PaulFertser: ? Jan 05 13:54:22 gena2x: plan? hmm, tasty, otsip Jan 05 13:59:06 PaulFertser: Still dreaming? Ok, I'm here ;). Plan is following - I'll compile .29 with and without this option, test write speed with and without option and as a result we'll change that in defconfig. I'll already read a bit about it on that site about mtd with long name. On some kind of flash devices (with page size of 2048) 'it should be disabled because it is not implemented properly' - so i guess it's ok to disable it. next thing, on other kind o Jan 05 13:59:06 f S3C where NAND is Y, that option sometimes is N. Jan 05 13:59:49 gena2x: But i refuse to do that it defconfig have no chances to be changed. that do you think? Jan 05 14:00:11 gena2x: s/it defconfig/if defconfig/ Jan 05 14:01:26 PaulFertser: i can fight other options look strange in similar way. Jan 05 14:01:29 gena2x: i'll change the defconfig of andy-tracking, np Jan 05 14:01:45 gena2x: where did you get "On some kind of flash devices (with page size of 2048)..." from? Jan 05 14:04:49 PaulFertser: googled: http://www.google.com/url?sa=t&source=web&ct=res&cd=1&ved=0CAkQFjAA&url=http%3A%2F%2Fg.elinux.org%2Fimages%2Ff%2Ff8%2FCELFJamboree30-UBIFS_update.pdf&rct=j&q=CELFJamboree30-UBIFS_update.pdf&ei=okZDS9C4L4GInQPB3azPBA&usg=AFQjCNE9raJqPDLto4sGl9D6NkG-K7Qaqg&sig2=h0JJPTHKQaFJ0CqYYccDiw Jan 05 14:04:59 PaulFertser: Sorry for link :) Jan 05 14:05:05 PaulFertser: and... Jan 05 14:05:13 PaulFertser: page 17 Jan 05 14:06:47 PaulFertser: http://www.linux-mtd.infradead.org/faq/ubi.html Jan 05 14:07:00 PaulFertser: in fact, same note :) Jan 05 14:09:30 PaulFertser: it's about ubifs, but ... . I can also try to understand that happens in code if this check fail. if this is just dmesg like 'oh! we failed' it's ok to disable this I think. Jan 05 14:14:40 PaulFertser: Lost in pdf? Jan 05 14:15:14 PaulFertser: Or my plan is too strong? Jan 05 14:17:38 PaulFertser: defconfig in andy-tracking. and what about .31 and .32? i noticed no defconfig where. distributions will supply own config for that branches? Jan 05 14:19:50 gena2x: no, there'll be a proposed defconfig for distros. And i'm sure if we decide that option should be turned off it'll be turned off in all defconfigs. Jan 05 14:20:59 PaulFertser: ok, so I am starting. Jan 05 14:21:23 gena2x: aha, subpage writes, i see. Jan 05 14:21:48 gena2x: looks like that option should be disabled for real :) Jan 05 14:22:15 PaulFertser: code for that option is very simple. just do read and compare after each page-write Jan 05 14:22:27 gena2x: i saw the code already Jan 05 14:22:53 PaulFertser: I just need to to figure out who doing that page-writes Jan 05 14:23:11 PaulFertser: /need to/need a bit time/ Jan 05 14:23:39 PaulFertser: and how he react on errors Jan 05 14:24:12 gena2x: let's just disable it and move on ;) Jan 05 14:25:06 PaulFertser: nope, i'll test and measure speed diff. if it will be 1% - it's ok to keep it :) Jan 05 14:25:16 gena2x: deal Jan 05 14:25:17 :) Jan 05 14:25:26 PaulFertser: nice Jan 05 14:25:27 :) Jan 05 15:08:06 freesmartphone.org: 03frederik.sdun 07cornucopia * r4de6bcf526c0 10/fsodeviced/src/ (2 files in 2 dirs): Jan 05 15:08:06 freesmartphone.org: fsodeviced: use a signal instead of a delegate to inform observer Jan 05 15:08:06 freesmartphone.org: Signed-off-by: Frederik 'playya' Sdun Jan 05 15:08:07 freesmartphone.org: 03frederik.sdun 07cornucopia * r36167ef9fdbe 10/fsodeviced/src/lib/accelerometer.vala: Jan 05 15:08:09 freesmartphone.org: fsodeviced: Add getAccelerometer for unique instance Jan 05 15:08:11 freesmartphone.org: Signed-off-by: Frederik 'playya' Sdun Jan 05 15:08:13 freesmartphone.org: 03frederik.sdun 07cornucopia * rf479286c79f8 10/fsodeviced/src/plugins/accelerometer/plugin.vala: Jan 05 15:08:16 freesmartphone.org: fsodeviced: Adopt new syntax for accelerometer plugin Jan 05 15:08:18 freesmartphone.org: Signed-off-by: Frederik 'playya' Sdun Jan 05 15:08:20 freesmartphone.org: 03mickey 07cornucopia * r33ea22ea6159 10/fsodeviced/src/plugins/ (8 files in 8 dirs): fsodeviced: catch up with libfsobasics Jan 05 15:23:11 I heard something about fennec releasing a pre-release version Jan 05 15:23:12 weepee :) Jan 05 15:24:28 TAsn: i've heard eww or some other strange name for a browser with E interface is already cool enough. And i also heard that modern internet sucks and every decent site works with links2 anyway. Jan 05 15:24:32 ;) Jan 05 15:24:54 I was just saying... Jan 05 15:25:04 and yeah, eve (the e browser) is pretty cool. Jan 05 15:25:09 only missing touch scrolling Jan 05 15:25:21 which I opened a bug about, and someone already wrote Jan 05 15:25:47 though the company he wrote it for does not want to release it (yet), they said they do want in the future though Jan 05 15:25:49 no idea why. Jan 05 15:25:49 ;) Jan 05 15:29:33 TAsn: is it that hard to add touch scrolling? Jan 05 15:30:12 I thought it's just a matter of replacing the container with a touch scrolling container. Jan 05 15:30:17 If it's the only thing missing looks like it's a minor issue. Jan 05 15:30:20 anyone here has experience with ymodem upload ? Jan 05 15:30:34 PaulFertser, but the guy who did the fix did something hackish and different Jan 05 15:30:36 so I wonder... Jan 05 15:30:53 dermiste: any particular reason you're asking about it here? Jan 05 15:48:46 Hello , How to fix this error appears in result of #ksh build-package.ksh .... http://pastebin.com/m2921daea Jan 05 16:02:18 PaulFertser: I'm trying to port openbsd to the freerunner Jan 05 16:07:07 right now I can't event get http://wiki.openmoko.org/wiki/Bare_metal to run Jan 05 16:07:15 as I fail to upload it Jan 05 16:08:12 dermiste: are you using some non-free software to do it? ;) Jan 05 16:08:30 dermiste: it fail where ? Jan 05 16:10:41 dermiste: i thought openbsd is already running on freerunner. Anyway if you have jtag, why do those kermit or ymodem tricks when you can copy the code directly to memory? Jan 05 16:11:24 PaulFertser: Right now I'm trying to do this without having to open the phone Jan 05 16:11:58 misc: errors during the ymodem transfert Jan 05 16:12:21 dermiste: porting a kernel without jtag? hm, interesting Jan 05 16:12:46 I tried to load a kernel over JTAG, but got some wierd response about writing at 0x60600000 when I wanted to put the kernel at 0x30300000 Jan 05 16:14:15 dermiste: why do you think loadb u-boot command works with y-modem? Have you read the relevant section from http://www.denx.de/wiki/view/DULG/UBootCmdGroupDownload ? Jan 05 16:16:09 PaulFertser: I used loady Jan 05 16:18:26 well, maybe I should go with the whole story Jan 05 16:20:19 I know for a fact that on openbsd the JTAG link drived by OpenOCD is working, the serial console over usb and over debug board is working, and that dfu-util on openbsd is broken (libusb does not support reset) Jan 05 16:21:58 I tried to load a kernel over JTAG, with entry point at 0x30300000, but the image check failed Jan 05 16:23:36 i.e. load_image bsd.rd 0x30300000 followed by verify_image bsd.rd 0x30300000 failed Jan 05 16:24:06 so I tried to do this with u-boot Jan 05 16:24:29 but I just can't get the image file uploaded to the freerunner Jan 05 16:27:54 dermiste: you might want to try to flash it to NAND then. Jan 05 16:30:17 PaulFertser: do you think http://wiki.openmoko.org/wiki/U-boot#Using_JTAG_to_boot_from_RAM might have something to do with my memory problems ? Jan 05 16:33:36 dermiste: i think sdram should be initialized prior to booting the kernel Jan 05 16:34:02 dermiste: and then if you load a kernel to a sane address it should work i guess. Jan 05 16:34:30 dermiste: not a lot of experience with jtag here, probably someone else would be of help. Jan 05 16:37:18 ok Jan 05 16:37:18 I'll try this at home tonight Jan 05 16:41:38 PaulFertser: http://wiki.openmoko.org/wiki/Qi says that "One Blue shine every ~10 second: did not find any valid kernel to boot " -- is this really true? i am not able to find it in source Jan 05 16:46:14 DocScrutinizer: should schmeatics show how the AUX led is connected to the cpu? Jan 05 16:46:42 lindi-: i guess it's a joke Jan 05 16:46:55 DocScrutinizer: no problem, found it Jan 05 16:48:01 lindi-: sure, right on the page with SoC, in the right corner Jan 05 16:48:02 :) Jan 05 16:59:53 hi, how do I power on a screen that has been powerd off by FSO? Jan 05 17:00:06 note that echo 255 > .../backlight does nothing Jan 05 17:02:46 GNUtoo: echo 0 > .../bl_power ? Jan 05 17:02:55 thanks a lot Jan 05 17:03:12 or just call SetBacklightPower( x ), x > 0 Jan 05 17:03:16 via dbus Jan 05 17:04:12 note that the screen is realy powerd off...it's not not brightness Jan 05 17:04:52 ah ok Jan 05 17:05:13 I'll try via python Jan 05 17:05:20 because mdbus -s didn't show theses methods Jan 05 17:05:38 hmm, that's odd mdbus -s should show them Jan 05 17:05:52 org.freesmartphone.odeviced /org/freesmartphone/Device/Display IIRC Jan 05 17:06:50 http://pastebin.com/m81780fc Jan 05 17:07:31 ooh Jan 05 17:07:34 that's very odd Jan 05 17:07:43 ah no Jan 05 17:07:44 that's ok Jan 05 17:07:52 check Display/0 Jan 05 17:08:04 the displays are enumerated below the Display/ node Jan 05 17:08:32 I've no Display/0 Jan 05 17:09:38 then your kernel is missing the appropriate backlight class device Jan 05 17:09:46 which -- if you're on an android device -- is not surprising *cough* Jan 05 17:09:55 "we are android, we have LEDs, not backlights" Jan 05 17:10:46 indeed there is led Jan 05 17:10:47 FSO in turn turns all LEDs off on startup Jan 05 17:10:50 but FSO pwoers the lcd off Jan 05 17:10:53 ah ok Jan 05 17:10:56 :) Jan 05 17:11:00 how can I prevent that? Jan 05 17:11:03 hmm Jan 05 17:11:05 fix your kernel Jan 05 17:11:06 or power the leds back on Jan 05 17:11:07 or patch FSO Jan 05 17:11:17 ok Jan 05 17:11:23 so where is it in FSO? Jan 05 17:11:25 (note that i would recommend the first option ;) Jan 05 17:11:27 argh Jan 05 17:11:31 lol Jan 05 17:11:32 you going for the 2nd option? :D Jan 05 17:11:38 is it hard to do? Jan 05 17:11:43 (to fix the kenrel?) Jan 05 17:11:48 no Jan 05 17:11:57 if you have a LED class device controlling the display backlight Jan 05 17:12:05 it should be fairly easy to move that to a backlight class device Jan 05 17:12:10 but that says the userland guy Jan 05 17:12:12 so... Jan 05 17:12:15 don't do that Jan 05 17:12:17 err Jan 05 17:12:20 copy'n'paste Jan 05 17:12:23 <--- no idea Jan 05 17:12:45 i did write a LED class driver once though, so I'm not an absolute newb ;) Jan 05 17:12:56 seriously, it should be fairly simple Jan 05 17:12:58 GNUtoo: should be relatively easy, you're not some loosy end-user after all! Jan 05 17:12:59 PaulFertser: any idea if Qi will accept a patch that will turn the orange led on very early in resume process? it should not cause large problems since linux will automatically restore the status of the LED if it gets that far Jan 05 17:13:02 I did some kenrel modifications too but they were simple Jan 05 17:13:20 such as changing an evdev driver to a tslib one Jan 05 17:13:51 lindi-: looks like a reasonable compromise. I'm not sure about the "upstream" Qi but the one in OM repo would quite possibly benefit from that ;) Jan 05 17:14:09 I'll try then Jan 05 17:14:19 is there docs somewhere? Jan 05 17:14:37 GNUtoo: go ahead. If i'll be of any help, feel free to ping. Jan 05 17:15:04 GNUtoo: should be reasonably easy to follow the examples. Jan 05 17:15:20 ok thanks Jan 05 17:15:51 PaulFertser: it seems to be on for maybe 0.2 seconds :) Jan 05 17:16:08 PaulFertser: but if something fails resume process the led will be left on and the user can see it Jan 05 17:16:29 lindi-: of course i understand the reasoning :) Jan 05 17:16:36 lindi-: and i've already said i like it. Jan 05 17:16:46 lindi-: if no one objects i'll happily apply the patch. Jan 05 17:17:11 PaulFertser: how early can I turn the LED on? Jan 05 17:17:12 mmm http://pastebin.com/m693f96b1 Jan 05 17:17:38 since you guys are talking about leds, do you know if any kernel support brightness in the leds? (pwm or something) Jan 05 17:17:57 rebelThor: .31 and later should have that enabled afaik Jan 05 17:18:24 PaulFertser: i've tried on .31 earlier today, and it was still an on/off scenario, no actual brightness difference from 1 to 255 Jan 05 17:20:06 GNUtoo: i'm afraid this one doesn't create anything in /sys/class/backlight Jan 05 17:20:17 me too Jan 05 17:21:07 PaulFertser: doesn't the CPU boot in SVC mode? why does Qi switch to SVC mode explicitely? Jan 05 17:21:41 rebelThor: pester larsc, he should know for sure Jan 05 17:21:52 lindi-: this question is too advanced for me :( Jan 05 17:22:38 PaulFertser: at least under softgun emulator the system definitely boots in SVC mode Jan 05 17:24:17 GNUtoo: take a look at how that's done in arch/arm/mach-s3c2442/mach-gta02.c . You just create a device which uses "generic-bl" driver. Fairly trivial. Jan 05 17:24:57 GNUtoo: then platform_device_register, it binds automatically, voila. Jan 05 17:25:07 ok thanks Jan 05 17:25:33 I was in linux/arch/arm/mach-msm/board-trout-mddi.c Jan 05 17:25:38 oops Jan 05 17:25:48 board-trout-panel.c Jan 05 17:25:58 lol the header don't match the file name Jan 05 17:29:48 PaulFertser: any idea how those sleeps in Qi have been calculated? Jan 05 17:29:59 PaulFertser: for example this "/* ensure some refresh has happened */" Jan 05 17:30:42 lindi-: nope :( Jan 05 17:33:45 * PaulFertser goes back to watching mtv teenager cartoons Jan 05 17:39:27 Daria is the best. Smart. Cynical. Evil. Acerbic. Just about the right person to complement the fucked up USA reality. Jan 05 17:46:17 PaulFertser: any idea if andy is on IRC with some nick? Jan 05 17:49:25 lindi-: nope, he was never into that stuff. He answers e-mails though. Jan 05 17:49:52 lindi-: i guess he might appear on irc on some rare occassion but i've no idea when and with what nick. Jan 05 17:50:06 lindi-: bjdooks might help you too Jan 05 17:50:10 (Ben Dooks) Jan 05 17:58:19 mmm Jan 05 17:58:48 sys/bus/platform/drivers/trout-backlight $ ls -l => uevent unbind bind Jan 05 17:58:55 I think I did something wrong Jan 05 18:01:16 GNUtoo: you do not need to do a driver Jan 05 18:01:27 GNUtoo: the driver is already done and called generic-bl Jan 05 18:01:36 ok I've it in: Jan 05 18:01:44 /sys/devices/platform/generic-bl.1 Jan 05 18:02:01 I just need to give the infos Jan 05 18:02:02 then Jan 05 18:02:05 + a function Jan 05 18:02:12 GNUtoo: well, so it should have backlight:xxx symlink in it. Jan 05 18:02:23 and remove the backlight as LED, otherwise they will step onto each others toes Jan 05 18:02:38 the backlight led is alreeady removed Jan 05 18:02:42 goo Jan 05 18:02:43 d Jan 05 18:03:44 but something still poweroff my lcd: http://pastebin.com/m7dbfe2af Jan 05 18:04:25 probably the standard console timeout Jan 05 18:05:14 there is a console blanking that might kick in Jan 05 18:05:19 try to press a key when you're in the console Jan 05 18:05:45 mickeyl: probably it's Xorg Jan 05 18:05:55 oh you're running X Jan 05 18:05:59 GNUtoo: try "xset q"? Jan 05 18:06:01 yes, that'd be possible Jan 05 18:06:55 ok I restart xorg and do it Jan 05 18:07:16 (xorg was not up like before) Jan 05 18:07:32 was not up means that xorg started then the lcd went black Jan 05 18:07:38 then no more xorg Jan 05 18:08:18 http://pastebin.com/m25dbde0e Jan 05 18:08:56 freesmartphone.org: 03mickey 07cornucopia * r5702931bf6a2 10/fsodeviced/src/plugins/kernel26_rfkill/plugin.vala: fsodeviced: kernel26_rfkill: make it build again Jan 05 18:10:04 yes I was running Xorg Jan 05 18:10:15 btw I found no way to do xrandr -o 1 Jan 05 18:10:17 in xorg Jan 05 18:10:34 xrandr -q doesn't report that capability Jan 05 18:15:42 btw the driver seem bigger than just a backlight driver: Jan 05 18:15:43 http://pastebin.com/m4e48f828 Jan 05 18:15:53 I'll read it Jan 05 18:17:34 GNUtoo: the lines starting at 602 suggest that backlight device is alredy implemented. Jan 05 18:17:42 oops Jan 05 18:17:53 that's my modifications Jan 05 18:17:59 oops because I made a mistake Jan 05 18:18:01 GNUtoo: other parts of the driver do various things, apparently the device has many features. Jan 05 18:18:11 better using emacs than vim in console Jan 05 18:18:16 because I didn't see that: Jan 05 18:18:42 trout_brightness_Set Jan 05 18:18:49 I used the other one Jan 05 18:24:08 mmm Jan 05 18:26:26 so what should I do if it's more complicated? Jan 05 18:29:24 does lcd brightness do blank and unblank? Jan 05 18:30:11 PaulFertser: i think i'll just add ramconsole support to Qi ;-) Jan 05 18:30:16 PaulFertser: much better than leds Jan 05 18:30:46 lindi-: if you have serial console to pump the saved buffer to. Jan 05 18:31:02 PaulFertser: i don't have serial console with me when the bug occurs ;) Jan 05 18:31:12 lindi-: so what is your plan? Jan 05 18:31:25 GNUtoo: crosscheck with a sane backlight driver, such as the sharpsl ones or so Jan 05 18:31:35 ok thanks Jan 05 18:37:46 GNUtoo: backlight_device_register calls backlight_register_fb to get notifications about FB state. Jan 05 18:38:03 GNUtoo: so whenever a display is blanked the backlight might be turned off automatically. Jan 05 18:38:03 ok Jan 05 18:38:19 nice thanks a lot! Jan 05 18:46:36 lindi-: just read the backlog about having qi wake up periodically Jan 05 18:47:04 lindi-: you can tell the pcf50633 to wake up every minute or whatever. that may be the simplest way to implement that Jan 05 18:47:32 budfive: messes with the user-desired RTC alarm. Jan 05 18:47:45 budfive: since there's only one. Jan 05 18:47:52 budfive: also the problem is: watchdog. Jan 05 18:48:07 budfive: you can't have watchdog to be configured to say 10 minutes. Jan 05 18:48:23 budfive: 42 is the max, lindi- says. Therefore you should wake up very often to reset it. Jan 05 18:48:35 budfive: without the watchdog it's hard to provide reliability. Jan 05 18:49:31 PaulFertser: ah, ok Jan 05 19:04:54 mickeyl: fsotdld still fails.. also on shr buildhost http://tinderbox.openembedded.net/packages/402293/ Jan 05 19:05:16 mickeyl: vala was upgraded before fsotdld build and fso revs are all from sane-srcrevs-fso Jan 05 19:05:50 mickeyl: maybe we should bump some other fso project revision or something like that? I guess you're using all fso in HEAD Jan 05 19:06:42 you can try, but that's not it Jan 05 19:06:58 what's the vala version on this buildhost? Jan 05 19:07:15 can you verify that glib-2.0.vapi is really current? Jan 05 19:07:25 did you bbnew fsotdld? Jan 05 19:07:32 vala-native-0.7.9.3-r2.0.do_build Jan 05 19:07:56 "bbnew" ? Jan 05 19:08:29 bitbake -c clean Jan 05 19:08:34 bitbake Jan 05 19:08:41 (for fsotdld) Jan 05 19:08:56 mickeyl: yes.. it wasn't build for shr at all before Jan 05 19:09:01 hmm Jan 05 19:09:04 very strange Jan 05 19:09:25 mickeyl: then it failed because of missing srcerev (we're not including autorev-fso as you do) Jan 05 19:10:07 can you grep lookup_by_name gio-2.0.vapi? Jan 05 19:10:33 ok mmt.. Jan 05 19:10:45 mickeyl: btw its pulled to shr only after http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=326feb69a3e8ecb150236980a1697d5e7ba829a1 Jan 05 19:11:01 gio-2.0.vapi is probably in tmp/staging/x86.../usr/share/vala/vapi/ Jan 05 19:12:06 public virtual GLib.List lookup_by_name (string hostname, GLib.Cancellable? cancellable) throws GLib.Error; Jan 05 19:12:09 public virtual async GLib.List lookup_by_name_async (string hostname, GLib.Cancellable? cancellable) throws GLib.Error; Jan 05 19:12:12 public virtual GLib.List lookup_by_name_finish (GLib.AsyncResult _result) throws GLib.Error; Jan 05 19:13:11 that looks good Jan 05 19:13:16 and should compile Jan 05 19:13:24 is there any other vala installed on the buildhost? Jan 05 19:14:10 yeah I have 0.7.9 on mine (gentoo) Jan 05 19:14:14 I'll try without.. Jan 05 19:15:01 ya, just to make sure it's not taking the wrong vapi Jan 05 19:15:21 0.7.9 has another ownership for this function Jan 05 19:15:36 that's why I had to change how i call it Jan 05 19:15:45 but it's unfortunately incompatible to older versions Jan 05 19:16:08 mickeyl: same error without vala on my host.. Jan 05 19:16:30 that's sda Jan 05 19:16:32 sad Jan 05 19:16:35 i'm somewhat out of ideas Jan 05 19:16:48 as it compiles fine here Jan 05 19:16:53 on all of my hosts Jan 05 19:17:05 dfe4dfb30f34f0f1a2dbbf772d222c32c67dbb84 rev? Jan 05 19:17:46 let me checkout that rev Jan 05 19:18:28 hmm its rather old mmt Jan 05 19:18:55 no, this one fails Jan 05 19:19:02 i advised using HEAD of fsotdld Jan 05 19:19:23 this rev is before i catched up with vala Jan 05 19:19:25 its from "Tue, 8 Dec 2009 19:41:27 +0000 (20:41 +0100)" but I was setting head in morning.. Jan 05 19:19:31 sorry my fault.. Jan 05 19:19:40 np, good to see it's not magic ;)( Jan 05 19:19:43 maybe cached http://git.freesmartphone.org/?p=cornucopia.git or something.. Jan 05 19:19:44 bbiab, dinner Jan 05 20:16:05 hi! am I only one who haven't working gprs on yesterdays image? Jan 05 20:23:06 playya: ping Jan 05 20:23:23 playya: you're working on fsomusicd right? Jan 05 20:23:33 * ERROR: Cannot satisfy the following dependencies for task-fso2-compliance: * gst-plugin-oggdemux * gst-plugin-ivorbisdec * gst-plugin-flacdec * gst-plugin-waveparse * gst-plugin-siddec * gst-plugin-modplug * gst-plugin-filesrc * gst-plugin-mmssrc * gst-plugin-alsasink * Jan 05 20:24:11 its from RDEPENDS fsomusicd_git.bb and latest gst-plugins-good doesn't provide it.. do I need some other version or something? Jan 05 21:19:43 http://www.google.com/phone/static/en_US-nexusone_tech_specs.html Jan 05 21:19:47 looks sweet Jan 05 21:19:57 I wonder if we'll ever have shr on it :) Jan 05 21:21:55 TAsn: do you know if there're multiple GSM 3G standards? Somehow this phone supposedly works on one gsm carrier in the US (T-mobile), but not another (AT&T)? Jan 05 21:22:31 there's no such thing as gsm 3g (IIRC) Jan 05 21:22:37 gsm is only 2nd gen Jan 05 21:23:14 oh, there is, it's called "gsm edge" Jan 05 21:23:33 anyhow Jan 05 21:23:35 from wikipedia Jan 05 21:23:37 International Mobile Telecommunications-2000 (IMT-2000), better known as 3G or 3rd Generation, is a family of standards for mobile telecommunications defined by the International Telecommunication Union,[1] which includes GSM EDGE, UMTS, and CDMA2000 as well as DECT and WiMAX. Jan 05 21:23:44 http://en.wikipedia.org/wiki/3G Jan 05 21:24:12 TAsn: oh, let me clarify. I mean 'gsm' as opposed to 'cdma', which is a different phone standard in use by about half the people in the US. It is incompatible in all ways. Doesn't even have a SIM Jan 05 21:24:40 budfive, it may have ruim Jan 05 21:24:48 which is very similar to sim Jan 05 21:25:15 anyhow, I'm not an expert :) Jan 05 21:25:20 I'm just quoting :) Jan 05 21:25:35 TAsn: yeah. gprs is "1G" and edge is "2g" Jan 05 21:26:03 meant 2 and 3? Jan 05 21:26:05 budfive, I think your are wrong) Jan 05 21:26:15 meant 1 and 2, but may be wrong :) Jan 05 21:26:20 edge is 2.5 Jan 05 21:26:26 GPRS is 2G IIRC Jan 05 21:26:28 gprs is just 1-4 gsm channels Jan 05 21:26:30 yeah Jan 05 21:26:31 I have gprs Jan 05 21:26:42 ah, ok Jan 05 21:27:03 but with all this 3G fake, I suggest you find out Jan 05 21:27:08 :) Jan 05 21:27:10 anyhow Jan 05 21:27:16 which codec used to code voise Jan 05 21:27:21 the nexus looks cute, I just hope it's hackable Jan 05 21:27:21 during regular phone call Jan 05 21:27:23 anyhow, I'm off. Jan 05 21:27:29 you will be surprised Jan 05 21:31:37 Ainulindale, ! gimme trac theme (take from dos) Jan 05 21:31:41 now I'm really off Jan 05 21:31:43 (read emails) Jan 05 21:51:37 so, ubifs test http://pastebin.ca/1739342 Jan 05 21:51:49 can somebody run same on jffs2 now? Jan 05 21:53:48 nobody? Jan 05 22:12:13 max_posedon: cool. cpu usage is always near 100% in your tests. why? Jan 05 22:13:40 how it can be another way? Jan 05 22:15:55 mmm Jan 05 22:16:11 the function work but somehow it does not register...I'll try something Jan 05 22:16:24 maybe that's because I removed the lcd init etc... Jan 05 22:16:30 but the backlight function work Jan 05 22:17:40 max_posedon: I have no answer right now :) Jan 05 23:11:57 I was working on a simple X app, just one who would show a window, and print XMotion events, but somehow, the pointer coordinates are not right. They appear like the screen is rotated 90 degrees counter-clockwise. On the other hand, all drawing operations work just fine, And all other apps have no problems with this weird behaviour. Does anyone know what i'm doing wrong? Jan 06 00:48:40 max_posedon: do you also have UBIFS DBG (pid 1604): ubifs_bg_thread: background thread "ubifs_bgt0_0" started, PID 1604 Jan 06 00:48:43 UBIFS: recovery needed Jan 06 00:48:43 in dmesg? Jan 06 00:48:53 recovery takes few mins here.. Jan 06 00:49:12 so its quite annoying while booting from NAND directly.. Jan 06 00:49:41 maybe it doesnt umount ubifs partition while calling shutdown.. **** ENDING LOGGING AT Wed Jan 06 02:59:57 2010