2010-11-21 02:37 [commit] Werner Almesberger: qpkg: added README and COPYING.GPLv2 http://qi-hw.com/p/wernermisc/78006c5 2010-11-21 02:37 [commit] Werner Almesberger: qpkg: Makefile cleanup and added OpenWRT target http://qi-hw.com/p/wernermisc/9481934 2010-11-21 02:37 [commit] Werner Almesberger: qpkg/TODO: cleanup and added new task for consideration http://qi-hw.com/p/wernermisc/07a4422 2010-11-21 02:37 [commit] Werner Almesberger: qpkg: added copyright headers and changed name to emphasize speediness http://qi-hw.com/p/wernermisc/3d1ef02 2010-11-21 02:37 [commit] Werner Almesberger: qpkg: turn pkg->installed into pkg->flags, allowing for future expansion http://qi-hw.com/p/wernermisc/a63823e 2010-11-21 02:37 [commit] Werner Almesberger: qpkg: towards "struct id" without jrb reference - change iteration and lookup http://qi-hw.com/p/wernermisc/7058115 2010-11-21 02:37 [commit] Werner Almesberger: qpkg: towards "struct id" without jrb reference - change ID creation http://qi-hw.com/p/wernermisc/44e4434 2010-11-21 02:37 [commit] Werner Almesberger: qpkg: give ID2S macro a more "offical" status http://qi-hw.com/p/wernermisc/dd0ee66 2010-11-21 02:37 [commit] Werner Almesberger: qpkg: record Architecture: tag http://qi-hw.com/p/wernermisc/f14c041 2010-11-21 02:37 [commit] Werner Almesberger: qpkg: perform sanity checks after parsing a package entry http://qi-hw.com/p/wernermisc/83c7164 2010-11-21 02:37 [commit] Werner Almesberger: qpkg: added regression test harness and a few tests http://qi-hw.com/p/wernermisc/2c953a5 2010-11-21 02:43 viric: great! could you document it for non-nix users? i.e. kernel options, cmdline, pecularities of ubi creation and then qemu parameters? 2010-11-21 02:45 kyak: which backend are we using for NetSurf in OpenWrt? 2010-11-21 02:45 framebuffer? sdl? 2010-11-21 02:45 sdl backend 2010-11-21 02:46 what are the pros and cons between the two? why did we choose sdl? 2010-11-21 02:46 (just curious) 2010-11-21 02:46 its linuxfb is broken 2010-11-21 02:46 netsurf's linuxfb 2010-11-21 02:47 the guy from #netsurf said 2010-11-21 02:47 < kyllikki> right now its been reduced to a stub untill i get round to  it 2010-11-21 02:48 and reason is that 2010-11-21 02:48 < kyllikki> the API usage changed with the invention of kms and i  never have figured out why netsurfs usage blows up 2010-11-21 02:52 however, netsurf has gtk2 interface 2010-11-21 02:52 but i think it will be slower than sdl (need to check of course) 2010-11-21 02:53 ok got it 2010-11-21 02:53 sdl seems like a reasonable choice then 2010-11-21 02:53 B_Lizzard tried gtk interface in OE (with X, however). Very slow 2010-11-21 02:54 sure let's focus on sdl, and maybe linuxfb one day if they fix it 2010-11-21 02:55 they fixed already some things "for us" 2010-11-21 02:55 i don't know if they are willing to go on 2010-11-21 02:55 currently sdl interface has limited support for keyboard 2010-11-21 02:56 in fact, only arrow keys work :) 2010-11-21 02:56 but it becomes more or less usable with keymouse 2010-11-21 03:18 on the Ben, I think of NetSurf for 2 use cases now: develop 'local' apps in html+css, maybe later combined with some 'server side' (=local) scripting, or JavaScript if NS adds it 2010-11-21 03:19 and (along the same lines) offline document viewer, for example for offline wiki content 2010-11-21 05:29 kyak: I'll try to document that, and send that to qi-hardware 2010-11-21 05:30 viric: awesome! 2010-11-21 09:01 [commit] Xiangfu Liu: gmenu2x : disable log message http://qi-hw.com/p/openwrt-packages/65934ce 2010-11-21 09:58 [commit] Xiangfu Liu: remove /usr/bin/ben-ash, since we setfont2 in /usr/bin/gmenu2x http://qi-hw.com/p/openwrt-xburst/c8f893a 2010-11-21 10:42 offline wikipedia in thtml is *huge* i dont see a way there 2010-11-21 10:42 is the same problem with thhe xml dumps 2010-11-21 10:42 kristianpaul: and that compressed file format... I can't remember the name 2010-11-21 10:44 offline wikipedia seems to fit nicely on a wikireader 2010-11-21 10:44 ZIM 2010-11-21 10:44 noo 2010-11-21 10:44 sorry 2010-11-21 10:44 no what? 2010-11-21 10:44 noo zim 2010-11-21 10:44 is like reivent the weel 2010-11-21 10:44 is zim bad? 2010-11-21 10:45 what was there before zim? :) 2010-11-21 10:45 i'm not sayin that 2010-11-21 10:45 I only know chm 2010-11-21 10:45 before seem in wikipedia we have xml compressed dumps 2010-11-21 10:45 compressed how? 2010-11-21 10:45 seekable? 2010-11-21 10:45 the only tink i dont like from zim is that is not easilly maintenable 2010-11-21 10:46 not seekables 2010-11-21 10:46 bziped 2010-11-21 10:46 not byt it self 2010-11-21 10:46 xml, compressed, not seekable...   it sounds pretty bad 2010-11-21 10:46 :) 2010-11-21 10:46 you can create the seek-index file 2010-11-21 10:46 even uncompressing a whole bzip2 block is heavy 2010-11-21 10:46 this process look bad for me http://www.openzim.org/Build_your_ZIM_file 2010-11-21 10:47 I think the format has to keep in mind the cpu cycles of the 'reading' device 2010-11-21 10:47 and a very specific format for that seems to me like the best approach 2010-11-21 10:48 ah, you mean that zim does not take the XML dump? 2010-11-21 10:48 i agree if is easy to maintain, did you see the graphs for builidn zim files? 2010-11-21 10:48 Yes 2010-11-21 10:48 is crazyness ! 2010-11-21 10:48 well, you dislike the fetching from wikipedia? 2010-11-21 10:49 the rest looks fine to me 2010-11-21 10:49 someone could write another kind of 'fetch data from wikipedia' 2010-11-21 10:50 all the data is fetched from wikipedia, bt then you need t create other mediawiki serve plus a expotr plugin then compress again.. 2010-11-21 10:50 I imagine they did this process in order to get ZIM workign sooner. 2010-11-21 10:50 i dontlilke that cycle 2010-11-21 10:51 https://launchpad.net/wikipediadumpreader 2010-11-21 10:51 But what is important for the reader device is having software + data that it can use to show things quickly and well, with little filesystem usage 2010-11-21 10:51 The way to generate the ZIM files is irrelevant for the reader 2010-11-21 10:51 sure 2010-11-21 10:51 i'm not talkign from the reader side ;-) 2010-11-21 10:52 ah :) 2010-11-21 10:52 zim looks hard to beat, on the reader side 2010-11-21 10:52 http://humaneinfo.com/ 2010-11-21 10:52 viric: hard to beat? dont think so :) 2010-11-21 10:52 I remember this humane pc 2010-11-21 10:53 rafa: did some work around it 2010-11-21 10:53 and it works ! 2010-11-21 10:53 ah he has one? 2010-11-21 10:53 one? 2010-11-21 10:53 one humane pc 2010-11-21 10:53 no no 2010-11-21 10:53 the little computer all we use here :) 2010-11-21 10:54 is in jliem beta4 i think 2010-11-21 10:54 he used the humane pc software in the nn? 2010-11-21 10:54 or sorft of 2010-11-21 10:54 rafa: can exaplain better what he did.. 2010-11-21 10:54 ok 2010-11-21 10:54 when he wakeup or came back from trip 2010-11-21 10:56 viric: command line vesion http://www.jlime.com/wiki/documentation/user/nanonote/videos check last video 2010-11-21 10:57 http://www.youtube.com/user/jornada660#p/a/u/1/hPIZGN2sDds 2010-11-21 11:08 I'll check 2010-11-21 11:51 got ncmpc running on NanoNote :) 2010-11-21 12:20 jekhor: nice! you could post the patch to mailing lists :) 2010-11-21 12:20 :) 2010-11-21 12:20 i know. 2010-11-21 13:01 kyak, posted. 2010-11-21 15:08 viric: hey, are you there? 2010-11-21 15:08 sí 2010-11-21 15:08 good :) i'm following your message in mailing lists 2010-11-21 15:08 brave :) 2010-11-21 15:09 so far, trying to boot a bare kernel.. however, qemu is just doing nothing -\ 2010-11-21 15:09 a malta kernel? 2010-11-21 15:09 nothing? 2010-11-21 15:09 i mean, it definitely doing something, but no output 2010-11-21 15:09 ah 2010-11-21 15:09 try -nographic 2010-11-21 15:09 no, i tried to build a nanonote_defconfig 2010-11-21 15:09 nanonote? 2010-11-21 15:09 yep, tried -nographic, too 2010-11-21 15:09 qemu cannot emulate the nanonote 2010-11-21 15:09 hm-hm 2010-11-21 15:10 does it care? 2010-11-21 15:10 sure 2010-11-21 15:10 it's about the *board* 2010-11-21 15:10 at what IO address there is the serial port controller, ... 2010-11-21 15:10 at what other the PCI bus... 2010-11-21 15:10 ohhh! 2010-11-21 15:10 every board is different 2010-11-21 15:10 ok then 2010-11-21 15:10 will do malta 2010-11-21 15:10 qemu emulates other boards 2010-11-21 15:10 I did not see a big reason not to use the default 2010-11-21 15:11 qemu -M ? 2010-11-21 15:11 qemu-system-mipsel -M ?   I mean 2010-11-21 15:12 i understand now... 2010-11-21 15:12 thnaks :) 2010-11-21 15:14 ok, selected block2mtd, ubifs and ubi to be built-in kernel 2010-11-21 15:15 everything else is default 2010-11-21 15:15 let's see how it works 2010-11-21 15:16 viric: what is called as "rootfs.img" in your e-mail, is actually the ubi image? 2010-11-21 15:16 yes 2010-11-21 15:16 resulting from ubinize 2010-11-21 15:17 so i assume i already got it from openwrt.. only need to pad it with 0xff 2010-11-21 15:18 yes 2010-11-21 15:26 viric: /dev/hda,524288 2010-11-21 15:26 how you got 524288? 2010-11-21 15:27 512*1024*1024 2010-11-21 15:28 so, despite of the fact that your ubifs is only 50 Mb, block2mtd emulates a 512 Mb drive? 2010-11-21 15:28 no 2010-11-21 15:28 that is the PEB size 2010-11-21 15:28 how much you padded of 0xff? 2010-11-21 15:29 the image is ~186 Mb 2010-11-21 15:29 i padded up to 200 2010-11-21 15:29 it does not matter the size of the image 2010-11-21 15:30 matters the volume size told to ubinize 2010-11-21 15:30 (I think) 2010-11-21 15:30 you need to pad more than the volume size told to ubinize. 2010-11-21 15:30 let me look for openwrt... 2010-11-21 15:30 ah ok 2010-11-21 15:31 ah it has no volume size 2010-11-21 15:31 the volume size ot ubinize is 256 Mb 2010-11-21 15:31 really? 2010-11-21 15:31 yea, the size of rootfs 2010-11-21 15:31 or no? 2010-11-21 15:31 target/linux/xburst/image/ubinize.cfg does not say so 2010-11-21 15:31 hm . 2010-11-21 15:32 i guess it's dynamic then? 2010-11-21 15:32 yes yes 2010-11-21 15:32 it may work for 200 2010-11-21 15:32 see, i got thies error 2010-11-21 15:32 UBIFS error (pid 1): ubifs_get_sb: cannot open "ubi0:rootfs", error -19 2010-11-21 15:32 VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0) 2010-11-21 15:32 that's ubifs 2010-11-21 15:32 does ubi work for you? 2010-11-21 15:32 what do you mean? 2010-11-21 15:32 (look above) 2010-11-21 15:32 above in the kernel log 2010-11-21 15:33 UBI error: validate_ec_hdr: bad VID header offset 4096, expected 64 2010-11-21 15:33 i guess no 2010-11-21 15:33 Ahh 2010-11-21 15:33 the openwrt build with -m 4096 instead of -m 1 2010-11-21 15:33 i remember you got this error :) 2010-11-21 15:33 or similar 2010-11-21 15:33 (the minimum subpage) 2010-11-21 15:33 block2mtd has a fixed minimum subpage of 1 2010-11-21 15:34 while the nanonote has a minimum subpage of 4096 2010-11-21 15:34 I don't know how to make the block2mtd have a minimum subpage of 4096, or how to tell ubi to use a minimum subpage of 4096 2010-11-21 15:34 yeah right.. below 4096 is uboot and kernel i guess 2010-11-21 15:34 http://www.linux-mtd.infradead.org/doc/ubi.html#L_subpage 2010-11-21 15:34 no no 2010-11-21 15:35 it's about being able of getting blocks of 4096 bytes 2010-11-21 15:35 (I think) 2010-11-21 15:36 since i can make openwrt generate rootfs.tar.gz,  i think i will ubinize it by myself 2010-11-21 15:36 with appropriate options 2010-11-21 15:36 how do you think? 2010-11-21 15:36 you only need to change -m 4096 to -m 1   in mkfs.ubifs and ubinize 2010-11-21 15:36 (I think) 2010-11-21 15:36 nah, this will break my regular build :) 2010-11-21 15:36 (i think) 2010-11-21 15:37 i suppose also that block2mtd  has some options to be able to support blocks of 4096 bytes? 2010-11-21 15:37 well, block2mtd supports subpages of 1 byte 2010-11-21 15:38 I don't know how to make it support only 4096byte subpages 2010-11-21 15:39 wait 2010-11-21 15:39 can you share the script or config you used to ubinize? 2010-11-21 15:39 waiting 2010-11-21 15:39 :) 2010-11-21 15:39 kyak, try in the cmdline: ubi.mtd=0,4096  ? 2010-11-21 15:39 hm 2010-11-21 15:40 UBI error: validate_ec_hdr: bad data offset 8192, expected 4160 2010-11-21 15:40 ah. bad. 2010-11-21 15:41 I wish all this were easier :) 2010-11-21 15:41 kyak: you need to pass -m 1 to mkfs.ubifs too 2010-11-21 15:41 not only to ubinie 2010-11-21 15:41 ubinize 2010-11-21 15:42 kyak: http://nixos.pastebin.ca/1998179 2010-11-21 15:44 uhm 2010-11-21 15:44 what's $deviceTable? 2010-11-21 15:44 ahh 2010-11-21 15:44 well, I don't know if openwrt uses it 2010-11-21 15:44 and ensureDir? 2010-11-21 15:44 forget those around :) 2010-11-21 15:45 I just copied what I have. 2010-11-21 15:45 ok :) thnaks 2010-11-21 15:45 nix related things 2010-11-21 15:45 The devicetable is there because I don't want to become root to prepare the image 2010-11-21 15:46 i don't really understand how the files will get inside the image? 2010-11-21 15:46 what files? 2010-11-21 15:46 I have all the files in the subdirectory 'root' 2010-11-21 15:46 -r root points to it 2010-11-21 15:46 ah good 2010-11-21 15:47 How would I reflash my nanonote with that ubifs? 2010-11-21 15:47 booting in that special mode, right? 2010-11-21 15:48 yeo 2010-11-21 15:49 yes 2010-11-21 15:49 M-power ? 2010-11-21 15:49 u+power 2010-11-21 15:49 and then using usbboot 2010-11-21 15:49 ah 2010-11-21 15:49 m-power is to boot from sd card 2010-11-21 15:50 I'll try if my ubifs image works on the nn 2010-11-21 15:52 I think I have nothing of value there 2010-11-21 15:56 why usbboot wants to be run by root? 2010-11-21 15:57 maybe it needs some low-level access to your usb port, dunno 2010-11-21 15:58 my user has access to the usb device. I think it simply uses libusb... it should not need root 2010-11-21 15:59 maybe I have the permissions wrogn 2010-11-21 15:59 hm no 2010-11-21 16:02 kyak: hummm the '-e' on nanonote and block2mtd also look like being different 2010-11-21 16:06 viric: i think the best is to generate ubifs manually from staging_dir/target-mipsel_uClibc-0.9.30.1/root-xburst 2010-11-21 16:06 using your mkfs.ubifs and ubinize settings 2010-11-21 16:06 maybe 2010-11-21 16:06 will try do it tommorrow.. time to get some sleep 2010-11-21 16:07 viric: thanks for your help! 2010-11-21 16:07 what is your timezone? 2010-11-21 16:07 GMT+3 2010-11-21 16:07 ah ok. 2010-11-21 16:07 good night! 2010-11-21 16:07 :) 2010-11-21 16:22 argh. It looks like 'nerase 16 4080 0 0" erased the uboot too. 2010-11-21 16:22 I can't understand why. 2010-11-21 16:39 viric: meanwhile, deep in the mind of your computer: "hmm, he made me erase u-boot in a pretty convoluted way. I can't understand why." 2010-11-21 16:40 convoluted? :) 2010-11-21 16:40 aren't 16 blocks the offset for the rootfs? 2010-11-21 16:40 naw, i don't know what happened :) 2010-11-21 16:41 I imagine that for ubi, it's always the case that the flash has to be fully erased? 2010-11-21 16:43 dunno. never touched UBI. way too complex for my taste. 2010-11-21 16:46 don't you use ubi? 2010-11-21 16:46 and, what has that to do with ubi? :) 2010-11-21 16:46 it's uboot that got erased :) 2010-11-21 16:49 (use ubi) well yes, but i don't understand its internals much like i don't really understand the quantum physics going on in transistors, yet i use them ;-) 2010-11-21 16:49 (what to do with ubi) well, you asked about it ;-) 2010-11-21 16:49 ah I already had forgot my question about ubi :D 2010-11-21 16:51 your computer and you *are* similar ! you forget about the question, your computer forgot about u-boot. have you considered the possibility that you might be an AI running in a different virtual machine on the same hardware ? a hardware with memory problems. ;-) 2010-11-21 16:57 hehe 2010-11-21 19:21 [commit] Werner Almesberger: qpkg/qpkg.c: tighten detection of inconsistent use of Filename: http://qi-hw.com/p/wernermisc/8922383 2010-11-21 19:21 [commit] Werner Almesberger: qpkg: rearrange things in prereq.c to free the stack paradigm for other uses http://qi-hw.com/p/wernermisc/d0a1a9e 2010-11-21 19:21 [commit] Werner Almesberger: qpkg/prereq.c (prereq): removed confused false error avoidance http://qi-hw.com/p/wernermisc/5a0444f 2010-11-21 19:21 [commit] Werner Almesberger: qpkg/prereq.c (resolve): cleaned up the debugging output mechanism http://qi-hw.com/p/wernermisc/9272f50 2010-11-21 19:21 [commit] Werner Almesberger: qpkg: store dependencies and conflicts in file order http://qi-hw.com/p/wernermisc/6c66fa6 2010-11-21 19:21 [commit] Werner Almesberger: qpkg: change prerequisite resolution order to be fully depth-first http://qi-hw.com/p/wernermisc/0229051 2010-11-21 19:21 [commit] Werner Almesberger: qpkg: added detection of cyclic dependencies http://qi-hw.com/p/wernermisc/0bc4b60 2010-11-21 19:21 [commit] Werner Almesberger: qpkg/prereq.c (print_debug, resolve): moved debug output to separate function http://qi-hw.com/p/wernermisc/e1404bb 2010-11-21 19:21 [commit] Werner Almesberger: qpkg: option -d to enable debugging at run time, and some cleanup http://qi-hw.com/p/wernermisc/a0c0e85 2010-11-21 19:21 [commit] Werner Almesberger: qpkg: moved comp_versions from prereq.c to id.c http://qi-hw.com/p/wernermisc/dd8bb6e 2010-11-21 21:01 [commit] Yauhen Kharuzhy: Add libmpdclient package http://qi-hw.com/p/openwrt-packages/5e68f89 2010-11-21 21:01 [commit] Yauhen Kharuzhy: Fix ncmpc compilation http://qi-hw.com/p/openwrt-packages/70138e9 2010-11-21 21:24 damn why all people uses the same Cypress MCU :/ 2010-11-21 21:24 such honor copying usrp closed hw ideas.. 2010-11-21 21:25 honor or horror ? 2010-11-21 21:26 good question :) 2010-11-21 21:26 last ! 2010-11-21 21:31 thought so :) 2010-11-21 21:46 hmm A-GPS is linked with GSM base stations?. 2010-11-21 21:47 how google amps can enable Maps in no gps phones... is it using gsm atena and dsp stuff to process gps data ?.. 2010-11-21 21:47 questions for future devel. 2010-11-21 21:48 afaik, agps downloads additional data (by whatever means) to improve startup time 2010-11-21 21:49 ahh download 2010-11-21 21:49 you can use wifi and/or gsm to fake gps, yes 2010-11-21 21:49 gprs 2010-11-21 21:49 oh 2010-11-21 21:49 gprs, wifi, floppies, ... ;-) 2010-11-21 21:49 haha 2010-11-21 21:59 [commit] Xiangfu Liu: add msmtp-queue package. when it goto upstream, we will delete it http://qi-hw.com/p/openwrt-packages/f9cc7d5 2010-11-21 22:32 set the image default wallpaper to open.png http://en.qi-hardware.com/wiki/File:Wallpaper_Nanonote_open.png 2010-11-21 22:36 Nice wallpaper! 2010-11-21 22:43 [commit] Xiangfu Liu: set the default wallpaper to open.png http://qi-hw.com/p/gmenu2x/6773ad7 2010-11-21 22:44 it should say free, not open :-)