**** BEGIN LOGGING AT Thu Feb 11 02:59:57 2010 Feb 11 03:07:46 hmmpf, maybe nodebug isn't the nobrainer some people thought it is Feb 11 03:08:12 even less is nopreemt Feb 11 03:19:28 it never lit the screen Feb 11 11:44:25 hi guys Feb 11 11:45:01 I'm more familiar now with the FR and hacking on it Feb 11 11:45:22 But there are a lot of questions I have again about it Feb 11 11:45:45 Firest one, maybe naive: Feb 11 11:51:06 Is it possible to keep a distribution on the nand flash then to install applications (with some --PREFIX=opt) on the uSD card? Feb 11 11:51:26 yes, though how easy that is may depend on the distro and stuff Feb 11 11:52:23 for example I would like to keep Qtmoko, then to install xfce and other applications on the uSDcard, and then run those applications trough xfce Feb 11 11:52:26 with ipkg (and opkg I presume), you could configure the uSD directory as a mount point and there was a tool to link from the rootfs to stuff installed there Feb 11 11:52:51 no, not as a mount point, an installation directory Feb 11 11:53:13 but I don't recall the details anymore Feb 11 11:54:42 I tried to install Debian on the uSD card (with ext2 boot partition) without success Feb 11 11:55:00 simply doesn't boot Feb 11 11:55:04 at all Feb 11 11:56:24 SHR seems nice, but there are no .deb packages, so that's not very useful me, considering the applications I want to install on the R Feb 11 11:56:37 *FR Feb 11 11:58:12 Qtmoko is fast and smoother than SHR, but how to use QX to run X applications? Feb 11 11:58:55 Do I have to install XFCE? I cannot use the touchscreen with that Feb 11 11:59:48 I presume I have to set a bash script, but where to find a good example of this script? Feb 11 12:17:05 ok I get it: in /bin/terminal.sh,....with matchboxWM Feb 11 12:19:12 mjr: so do you think that is possible to set the uSDcard like an installation directory, using in the same time a distribution installed on the NAND flash? Feb 11 12:21:09 this installation directory should be in ext2 I suppose? Feb 11 12:22:11 but if that's formatted in ext2, it cannot be mounted because FR detects only vfat at boot isn't it? Feb 11 12:23:25 it can be, and if it doesn't detect it that's just an fstab fix away Feb 11 12:28:47 another naive question: Is it possible to keep the rootfs in readonly mode, and then to create a clone of this rootfs on the uSDcard? Feb 11 12:29:50 this clone will be readable writable and executable? Feb 11 12:33:26 if / is ro, how to mount uSD then. Never tried but guess that won't work Feb 11 12:44:49 which of the distributions listed in the wiki support usb host mode? Feb 11 12:45:31 hm, let me rephrase: does SHR support usb host mode? Feb 11 12:46:03 yes Feb 11 12:46:08 Heinervdm: great, thanks. Feb 11 12:46:16 I'd say depends on the kernel, not distribution.. Feb 11 12:46:37 Defiant: yeah, true. however, my blatant attempt to patch the openwrt-kernel didn't yield any success. Feb 11 13:19:37 next problem: can Feb 11 13:19:40 .. Feb 11 13:19:46 next problem: can't enter NAND boot menu Feb 11 13:20:29 pressing and holding power and then AUX boots from flash, doesn't enter boot menu. Entering NOR boot menu works Feb 11 13:23:13 hm.. maybe it's because I got this FR used.. maybe it's QI installed in there, not u-boot. let's try.. Feb 11 13:23:23 jaacoppi: do you use qi as bootloader? Feb 11 13:30:11 no idea, it's a used FR Feb 11 13:30:31 apparently yes, since I just flashed u-boot and now it works Feb 11 13:30:43 qi is better Feb 11 13:43:46 says who? Feb 11 13:46:47 it's maybe 5 seconds faster on boot, but at the expense of not getting any feedback as console isn't initialized, ergo no bootmenu without initialized console, and no dfu-util flashing via Qi Feb 11 14:24:03 http://www.mini-box.com/mini2440v2 Feb 11 14:24:04 neat Feb 11 14:41:36 ttp://www.homebrewcpu.com/ this is neat Feb 11 14:42:27 http://www.homebrewcpu.com/ is Feb 11 15:10:40 why do I have a HOME and a PREFIX, a root and a root<2> folder showed on my file manager? Feb 11 15:13:45 [QtMoko] and why when I shutdown qtmoko that endlessly blink on a black screen? Feb 11 15:28:22 bad..I had to get the battery out for resseting the system... Feb 11 15:30:01 cosmos: get used to it ;) Feb 11 15:30:20 Also: Why I cannot acces to the NAND menu? Feb 11 15:31:21 I've just flashed the las t uBoot Feb 11 15:32:03 cosmos: you should master u-boot environment editing skills Feb 11 15:32:54 you mean entering in a txt version of uBoot and editing all the stuff? Feb 11 15:36:27 cosmos: uhm, i'm not sure what you're talking about Feb 11 15:37:23 I saw that in this french tutorial: http://openmoko-fr.org/wiki/index.php/Uboot-envedit#Et_si_.C3.A7.C3.A0_marche_plus_.3F.3F Feb 11 15:40:09 cosmos: i saw one official u-boot manual once Feb 11 15:53:10 ok, a "cat /proc/mtd" informs me that I have Qi on mtd1 Feb 11 15:53:55 so I don't understand why because I've just flashed the new version of uBoot Feb 11 15:54:02 any suggestions? Feb 11 15:54:43 uBoot was expected instead of Qi Feb 11 15:54:49 cosmos: probably you misflashed it then. Like flashed to the wrong partition or something. Feb 11 15:56:00 "flashed in the wrng parition"? where that? in NOR? I've thought NOR is wrie protected Feb 11 15:57:07 cosmos: NOR is. But kernel nand partition isn't. Feb 11 15:57:49 you're right Feb 11 15:59:14 so I should mount /dev/mmcblk0p1 /mnt/p1, to see if Qi is inside? Feb 11 16:00:02 cosmos: uSD has no relation whatsoever to mtd. Feb 11 16:01:05 ??? Feb 11 16:01:22 so where is my debian installation then? Feb 11 16:02:14 mounting /dev/mmcblk0p1 to /mnt/p1 give me 2 uboots: Feb 11 16:02:47 no sorry that's uImage... Feb 11 16:04:48 oops...never do a cat /dev/mmcblk0... Feb 11 16:21:17 ok Qi is on my /proc/partitions: Feb 11 16:21:18 http://pastebin.com/d3ab1cabc Feb 11 16:21:41 how to delete Qi and to properly install uBoot? Feb 11 16:22:52 and why mtdblock1 is duplicated in mtdblock2? Feb 11 16:24:34 is it proper to [QtMoko} or also, you have the same configuration on /proc/partitions? Feb 11 16:30:44 ...it'sro Feb 11 16:30:49 ro Feb 11 16:58:11 ok I let down QtMoko for the moment andI install a nand shr Feb 11 16:58:53 ...will see if my uBoot issue is reproduced Feb 11 17:42:32 anyone got a working link to the PHP .ipk package? Feb 11 17:43:45 or otherwise, some way to save mplayer's playback position (for resume option) other than this-->http://linux.softpedia.com/get/Multimedia/Audio/MPlayer-Resume-Playback-16141.shtml ? Feb 11 18:03:14 bah, I'll have to stick to '-ss' Feb 11 18:04:49 looks like android is next Feb 11 18:11:20 where to exract the modules in SHR? from root@gta02~$? Feb 11 18:25:20 calls from and to SHR are noisy compared to QtMoko, also, the touchscreen sensibility is very bad, personally I find Feb 11 18:25:55 Hwy that for one of the mose used distribution on freerunner? Feb 11 18:25:58 cosmos: true, but QtMoko is still buggier Feb 11 18:26:17 badcloud: even the v19? Feb 11 18:26:38 cosmos: wow, it's up that high? last I used was 15 Feb 11 18:27:34 cosmos: did they get wifi to be finger friendly? Feb 11 18:33:18 badcloud: wifi settings are rather good under finger, and in general the interface is smooth and fast, even with the debug kernel compared to SHR Feb 11 18:39:23 radekp: could I use QX (matchboxWM) to run all the X applications on the armel.deb format on [QtMoko]? Feb 11 19:01:30 who uses Qi? Feb 11 19:03:27 * Weiss Feb 11 19:06:09 nobody use Qi? Feb 11 19:06:42 * Weiss does Feb 11 19:07:09 Weiss:? Feb 11 19:07:28 I think most people switched to Qi Feb 11 19:08:18 ok Feb 11 19:09:03 If I want to install Qi do I have to wget it from the FR or to install it from the PC? Feb 11 19:09:52 the "#" is not very clear on http://wiki.openmoko.org/wiki/Qi Feb 11 19:10:40 Personally, I flashed it using the dfu-util Feb 11 19:10:59 * ndnihil too Feb 11 19:11:12 ok so from the Pc then Feb 11 19:13:24 Have you to configure Qi before or after installing it? I mean regarding append-gta02? Feb 11 19:13:50 after on the FR? Feb 11 19:14:29 qi isn't configurable, it has a set boot order, and if it doesnt find a bootable partition in that order, it sits there doing nothing Feb 11 19:39:51 Do I have to partition the uSDcard with # kernels (???) and the rootfs? Feb 11 19:42:12 cosmos: if you want to use Qi you must read the wikipage about it. Feb 11 19:43:06 that's exacctly what I'm doing Feb 11 19:43:31 But informations on this page: Feb 11 19:43:32 http://wiki.openmoko.org/wiki/Qi Feb 11 19:43:39 are not clear for me Feb 11 19:43:42 at all Feb 11 19:45:03 I just clarified the installation instructions a little based on your earlier comment Feb 11 19:47:17 cosmos: if the wikipage is not clear, you need to read it again until it is i'm afraid Feb 11 19:47:37 cosmos: because i can't see how it can be any clearer tbh Feb 11 19:47:58 What I understand is that whatever kernel I use, this kernel have to be renamed "uImage-GTA1.bin if it's the first kernel, uImage-GTA@.bin if I have a second kernel...? Feb 11 19:48:23 my question is simple: Feb 11 19:48:41 I want to install QTMoko on the uSDcard: Feb 11 19:48:53 How do I have to format the card Feb 11 19:49:09 What should be the partitions on the uSD Feb 11 19:49:11 ? Feb 11 19:50:08 On the wiki page I find that the card should be formattd in ext2 or ext3 Feb 11 19:50:09 er, you only flash one kernel at a time Feb 11 19:50:16 and it can be any of those names and still be recognized Feb 11 19:51:20 cosmos: are you sure you read with both eyes opened? :( Feb 11 19:51:31 so I need to flash only one kernel ok? Feb 11 19:51:38 not 2 or 3 Feb 11 19:52:01 since you're booting from uSD, you don't need to flash the kernel at all, just make sure it's in /boot and has one of those names (mine is symlinked) Feb 11 19:53:05 and I'd name it based on whatever device you have, GTA01/GTA02/etc... is a name based on the hardware version Feb 11 19:53:33 the neo 1973 is GTA01, the FR is GTA02 Feb 11 19:53:37 GTA03 is a pipe dream Feb 11 19:54:48 ndnihil: sure, I exactly stuck there Feb 11 19:55:06 at the "BootOrder" paragraph Feb 11 19:55:25 what can possibly be confusing about that? Feb 11 19:55:34 when it's looking for things to boot Feb 11 19:55:38 that's the order it searches in Feb 11 19:56:41 why Qi needs more than one SD partition regarding a uImage 9wathever is its neo1973, the Freerunner, or th Xrun) Feb 11 19:56:48 hooray for Qi. So easy, so simple, such an extraordinary cute userinterface Feb 11 19:57:07 it doesnt -need- more than one, but it supports more than one of you so choose to use more than one Feb 11 19:57:09 hi Doc! Feb 11 19:57:22 all it needs is to find a bootable kernel in one of those places Feb 11 19:57:29 with one of those names Feb 11 19:57:33 then it will boot Feb 11 19:57:55 so I come back to the partitioning question: Feb 11 19:58:09 how to partition the uSD card? Feb 11 19:58:16 is this your first linux? Feb 11 19:58:33 no, his second Feb 11 19:58:48 doc: is that including NAND? Feb 11 19:58:49 first was with uBoot yesterday Feb 11 19:58:51 If I need only One kernel (ex: the QtMoko one, renamed in uImage-GTA02) Feb 11 19:58:53 ? Feb 11 19:59:01 gotcha Feb 11 19:59:15 partition it however you like Feb 11 19:59:34 though, to make things simple, I'd suggest one partition that uses the entire card Feb 11 20:00:02 make sure somewhere on that partition resides /boot/uImage-GTA02.bin Feb 11 20:00:21 to make thing even simpler, I suggest you use exactly the 3 partitons I suggested to you some 24h ago Feb 11 20:00:47 oh right, he'll probably need swap Feb 11 20:00:55 yep Feb 11 20:01:00 do what doc says Feb 11 20:01:01 and he already has! Feb 11 20:01:03 :) Feb 11 20:01:52 http://www.mini-box.com/mini2440v2 Feb 11 20:01:58 * ndnihil ponders ordering one or two of those Feb 11 20:02:31 DocScruntinizer: ok so the 1st one for the /boot (in ext2 because Qi don't look at vfat), the2nd one in ext2 because ext2 seems more reliable than ext3 regarding the wear uo the uSDcard, and 3rd one for the swap (swap linix) Feb 11 20:02:34 ok? Feb 11 20:03:53 the first one in vfat, as Qi doesn't look on vfat (or if it does there'll be no kernel of right name) Feb 11 20:04:58 DocScrutinizer: you mean the first one in ext2 because Qi doesn't look on vfat? Feb 11 20:05:05 the 2nd one in whatever you like ext2/3, as wear leveling is err, somebody said "wtf is the issue with reducing your uSD livetime from 100years to 10years?" Feb 11 20:05:23 no, I mean what I write Feb 11 20:06:15 the second partition will have a /boot folder where your kernel lives inside, with a proper name of gta02-uImage.bin or whatever it may be Feb 11 20:06:26 ok I get it now Feb 11 20:06:36 just ignore the first 50MB partition Feb 11 20:07:20 you'll adore to have it once you need to use (NOR?)-uBoot for recovering from any Qi oopsie or whatever Feb 11 20:07:30 ok and the only use of the vfat is that the uSD card is detected from the NAND? Feb 11 20:07:54 not really Feb 11 20:08:01 the nor sorry Feb 11 20:08:08 the *first* vfat partition is for uBoot Feb 11 20:08:08 the nor boot Feb 11 20:08:46 dunno of any VFAT that qtopia or whatever is expecting to see on uSD Feb 11 20:10:25 btw anybody tested uBoot with 128Byte inode-size extfs yet? Feb 11 20:10:58 I'd guess it can fetch the kernel from 128byte ext2/3 as well as from vfat Feb 11 20:11:17 thus eliminating he need of a dedicated kernel partition Feb 11 20:11:53 (though probably the uboot envs needed a kick then...) Feb 11 20:15:27 why 128 byte special? Feb 11 20:16:04 it seems to me the early GTA01 worked like that (no small VFAT for kernel, mkfs.ext3 created 128byte inodes by default). Atsome point in time mkfs changed default behaviour, thus reveiling a bug in uBoot which stopped it from loading kernel from ext. So TPE sw engineers decided to have that VFAT botch for kernel Feb 11 20:16:26 ah Feb 11 20:17:22 SpeedEvil: uBoot has a bug. Feb 11 20:20:42 google for "uboot inode 128" or somesuch. Fixed in mainline 2009-06/7 iirc. Not for *our* uboot thoug Feb 11 20:24:02 :/ Feb 11 20:24:11 The perils of not being on mainstream I guess. Feb 11 20:29:44 well, It seems nobody would deloy a fixed uBoot anyway Feb 11 20:31:48 radekp: one can use any armel.deb X applications with QX on Qtmoko (assuming relevant bash script including MatchboxWM)? Feb 11 20:32:04 it's hard enough to convince users about uBoot not inferior to Qi. But explaining to them they need to fix their uboot envs to get any benefit from the fixed new uboot seems even much harder Feb 11 20:32:27 cosmos: yes, it should be possible Feb 11 20:44:50 hey there, radekp Feb 11 20:46:58 badcloud: hi :) Feb 11 20:47:41 I tried your version (?) of mplayer Feb 11 20:47:56 got ~30% cpu using alsa Feb 11 20:48:01 didn't work with oss Feb 11 20:48:20 but the upside is that the glamo one gave me ~9% using oss Feb 11 20:48:36 all tests with an mp3 file Feb 11 20:48:53 radekp: in case this might be useful to you :) Feb 11 20:49:41 DocScrutinizer: how do you do that, btw (tweek uboot envs)? Feb 11 20:50:08 uBoot console Feb 11 20:50:56 badcloud: IIRC i disabled oss in that build, because then there were problems with alsa Feb 11 20:52:05 DocScrutinizer: is there a wiki on how to access this console? Feb 11 20:52:13 yup Feb 11 20:52:19 DocScrutinizer: cool, thanks Feb 11 20:52:23 so you should find it Feb 11 20:52:30 DocScrutinizer: will do Feb 11 20:52:49 I've had no complaints with qi so far Feb 11 20:52:53 incredibly clumsy, but it works Feb 11 20:52:58 I see Feb 11 20:53:04 well, on a rainy day... Feb 11 20:53:29 radekp: the glamo one seems to answer my needs at present :) Feb 11 20:55:11 what are the main advantages the new uboot has over qi? Feb 11 20:55:26 badcloud: just doublecheck your "\" escapes when using uBoot console ;-) Feb 11 20:55:40 * badcloud can feel the wriggling of worms out of the can he just opened Feb 11 20:56:02 DocScrutinizer: thanks for the tip Feb 11 20:57:09 hmmm, no worms... Feb 11 21:00:19 badcloud: (advantages) it has a bootmenu Feb 11 21:02:32 well, so does nor Feb 11 21:02:51 yup Feb 11 21:03:28 maybe it failed to get your question Feb 11 21:03:48 it being...? Feb 11 21:04:22 sorry, now you completely lost me Feb 11 21:04:35 DocScrutinizer: that makes the two of us Feb 11 21:04:47 :P Feb 11 22:09:47 untaring Qtmoko-v19.tar on my mounted /dev/mmcblk0p2 /media/card, I see that "uImage-GTA02" is already present in /media/card/boot Feb 11 22:10:10 sorry uImage-GTA02.bin Feb 11 22:10:53 so I don't have to replace it with the previously downloaded one, isn't it? Feb 11 22:10:57 I suggest before untar-ing, remove all Feb 11 22:12:05 and for the uImage-GTA02, also? Feb 11 22:12:50 ok Feb 11 22:13:07 I remove all Feb 11 22:13:23 I download the Qtmoko tar file Feb 11 22:13:27 I untar Feb 11 22:14:06 ?boot will be present after untaring, and will contain uImage-GTA02.bin Feb 11 22:14:30 so I don't need to download the uImage-GTA02 secondly Feb 11 22:14:39 correct? Feb 11 22:15:12 max_posedon:correct? Feb 11 22:16:11 yes Feb 11 22:16:21 but you possibly need flash it to nand Feb 11 22:16:30 if you boot kernel from nand Feb 11 22:16:38 if you boot kernel from mmc - you don't Feb 11 22:32:55 after that I umount /dev/mmcblkp02 /media/card, I flash Qi and... Feb 11 22:33:10 should run? Feb 11 22:34:53 may be yes, and may be no) Feb 11 22:54:25 max_posedon:doesn't work....still boot on NAND... Feb 11 22:55:01 I don't use qi Feb 11 22:55:14 do I have to edit append-GTA02? Feb 11 22:55:17 I don't know how its detect boot order Feb 11 22:55:20 usually not Feb 11 22:56:10 :partition1(mmcblk0p1)=vfat empty Feb 11 22:57:00 partition2(mmcblk0p2)ext3 Qtmoko tar contents Feb 11 22:57:08 partition3(swap) Feb 11 22:57:51 any debug suggestions? Feb 11 23:14:19 :Fail of kernel pull: what means? the embedded uImage-GTA02.bin fron the QtMokov19.tar it isn't good? Feb 11 23:16:09 Fail of initramfs pull:? Feb 11 23:16:34 :Fail of mount partition:? Feb 11 23:16:42 How to debug that? Feb 11 23:25:14 my head goes hot so I decide to listen some music on http://somafm.com/play/spacestation Feb 11 23:41:11 If some day someone will write a really step by step tutorial with all the commands to type on terminal both on PC and on FR, for installing QtMoko with Qi on uSD card, for noobs like me, I would be really happy Feb 11 23:42:35 Three days now I spend all the time trying to install something on my uSD card, without results. Feb 11 23:43:05 Not really a waste of time, because I've learned a lot about linux environment Feb 11 23:43:52 Thank you for your help Feb 11 23:48:20 cosmos, I think this someone should be you) Feb 12 00:22:16 alrightythen we have a winner Feb 12 01:54:53 just out of curiosity -is anybody using QTmokoV19 here? Feb 12 01:55:28 or any QT(*) distro for that behalf Feb 12 02:01:06 yes me Feb 12 02:01:29 I use QTmoko-v19 **** ENDING LOGGING AT Fri Feb 12 02:59:56 2010