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