2010-11-14 00:24 rafa: great job, congrats! 2010-11-14 00:29 xiangfu: now that gmenu2x is running from initd, setfont2 has to be invoked manually each time -\ 2010-11-14 00:40 rafa: wheee ! 2010-11-14 01:07 rafa: just poking around the jlime resources ... regarding PS1='\h$ ', why not PS1='\h\$ ' ? (in case you haven't found this one already) 2010-11-14 01:21 rafa: if i install jlime and i want to compile a "hello world" for it, how do i do this ? i.e., what do i install on my host and what do i put into my Makefile ? (i hope the answer to the first question isn't "OE" ;-) 2010-11-14 01:22 wpwrak: the prompt was meant to use a short space on the current line.. but it shoulg be \h\$ 2010-11-14 01:22 shoulg=should 2010-11-14 01:24 wpwrak: to compile hello world : wget http://jlime.com/downloads/development/crosscompilers/jlime-mipsel-toolchain.tar.gz 2010-11-14 01:25 wpwrak: to build the hello I put the toolchain under /usr/local/jlime.. Something like : 2010-11-14 01:25 mkdir /usr/local/jlime 2010-11-14 01:25 cd /usr/local/jlime 2010-11-14 01:25 tar xvzf /tmp/jlime-mipsel-toolchain.tar.gz 2010-11-14 01:25 then.. the Makefile should say : 2010-11-14 01:26 -I /usr/local/jlime/mipsel-toolchain/usr/include 2010-11-14 01:26 -L/usr/local/jlime/mipsel-toolchain/usr/lib 2010-11-14 01:26 and your PATH should be something like PATH=$PATH:/usr/local/jlime/mipsel-toolchain/usr/bin/ 2010-11-14 01:27 under /usr/local/jlime/mipsel-toolchain/usr/bin/ you will find th 2010-11-14 01:27 e mipsel-toolcahin-* gcc and friends 2010-11-14 01:28 wpwrak: because this toolcahin comes from OE it will complain if you try to build with it using something like -I/usr/include or -L/usr/lib (it does not like if you try to use your host headers or libs) 2010-11-14 01:30 GCC should be mipsel-toolchain-gcc , LD should be mipsel-toolchain-ld .. etc. 2010-11-14 01:31 wpwrak: to build kernel using that toolchain : http://jlime.com/downloads/releases/muffinman/documentation/kernel-nn.txt 2010-11-14 01:35 rafa: fantastic, congratulations! 2010-11-14 01:37 rafa: thanks ! downloading ... 2010-11-14 01:38 rafa: btw, the toolchain shouldn't really need -I and -L for standard includes/libs. but let's see ... 2010-11-14 01:42 rafa: btw, all the directories in that URL are inaccessible. that's not so nice. e.g., when a URL changes, one can often find the right name by searching around a bit. if directory listings are blocked, you don't have a chance 2010-11-14 01:42 wpwrak: (toolchain): no idea.. I have had problems with the toolchain complaining when some Makefile spec /usr/lib or /usr/include 2010-11-14 01:42 hehe, a toolchain with /etc/rc* ;-) 2010-11-14 01:43 yes, if they specify -I and -L of absolute paths directly, they're doomed 2010-11-14 01:44 wpwrak: ha.. (stuff on toolchain) ..: that comes from extra libs I would say (from packages I unpackaged under toolchain) 2010-11-14 01:44 /usr/mipsel-linux/lib-oldbackup/ ? huh :) 2010-11-14 01:45 ah, more hairy stuff in there. /usr/include/smpeg 2010-11-14 01:45 wpwrak: ha.. sorry.. but that toolchain comes from jlime.com.. if you want I can work in a new one 2010-11-14 01:46 wpwrak: (you downloaded it from http://jlime.com/downloads/development/crosscompilers/jlime-mipsel-toolchain.tar.gz right?) 2010-11-14 01:46 yes, i downloaded the url you gave me 2010-11-14 01:46 wpwrak: yes.. the only one around. That is from jlime.com so it is the standar one with all the packages 2010-11-14 01:47 will it be easy to kick out the "bad" packages ? 2010-11-14 01:48 wpwrak: today I will built a new one without bad packages so we can upload it as well under qi 2010-11-14 01:48 kewl. thanks a lot ! 2010-11-14 01:48 wpwrak: moreover that toolchain is a bit old and I am not sure the current status (I just use it to build the kernel or uboot) 2010-11-14 01:50 right now, i'm just after builing my little atrf-rssi. well, hello.c first ;-) 2010-11-14 01:51 well, hello.c will be okey to build :) 2010-11-14 01:54 hmm. my host is x86_64. here we have the first problem ... 2010-11-14 02:04 wpwrak: :( can not you run 32bit as well? 2010-11-14 02:07 this helps: http://qtmoko.org/wiki/GITs 2010-11-14 02:07 now it doesn't find crt1.o ... 2010-11-14 02:13 it tries interesting paths ;-) /mnt/sda6/programas/stuff/tmp/staging/mipsel-linux/lib/mipsel-linux/4.4.2/crt1.o 2010-11-14 02:16 there's a bit of weird stuff, e.g., /usr/local/jlime/mipsel-toolchain/usr/bin/../lib/gcc/mipsel-linux/4.4.2/../../../../mipsel-linux/lib -> /mnt/sda6/programas/stuff/tmp/staging/mipsel-linux/usr/lib 2010-11-14 02:22 i wonder if the toolchain is really fully relocatable in general. it's very close to working, but ... 2010-11-14 02:23 anyway, i'll be back after a nap 2010-11-14 02:23 wpwrak: at least it does not try /porn_downloadedbysister/ or stuff like that :) .. Those paths are from the host built. THere are few recipes to build an external toolchain. I will buid and I will upload 2010-11-14 02:25 yeah, such paths could be revealing ;-) 2010-11-14 02:26 (ext toolchain) great, thanks ! 2010-11-14 02:53 rafa: are we ready to move to the dual-booting stage? 2010-11-14 02:55 maybe we need another (hard-coded) partition scheme for that :-) how about this: 4 mb u-boot, 8 mb kernel1, 8mb kernel2, 512mb rootfs1, 512mb rootfs2, rest is (ubi-formatted?) data partition? 2010-11-14 04:31 lol 2010-11-14 04:32 talks about another change :) 2010-11-14 04:32 how about 5 kernels? 2010-11-14 04:33 kyak: so how would you go about the jlime/openwrt dual booting? 2010-11-14 04:36 wolfspraul: do you plan shipping new devices with two operating systems? 2010-11-14 04:36 this might be so very confusing 2010-11-14 04:37 i imagine that i buy a new phone, switch it on and have two options to boot 2010-11-14 04:42 kyak: I can't make decisions so broadly, there are too many pros and cons. 2010-11-14 04:43 of course asking "do you want jlime or openwrt?" is, well, laughable :-) 2010-11-14 04:43 [commit] Xiangfu Liu: [nanoterm] [new package] a terminal for NanoNote http://qi-hw.com/p/openwrt-packages/9124119 2010-11-14 04:44 and all sorts of solutions can be imagined, too many (and too many pros and cons for each) to discuss. 2010-11-14 04:44 so I rather go along very practical lines. 2010-11-14 04:44 do we have a Jlime image now? yes 2010-11-14 04:44 is it patent-safe so that distributors can (with some certainty) resell NanoNote with that image? yes 2010-11-14 04:45 is the image functional? many people like it, so yes 2010-11-14 04:45 so if that's the case, wouldn't we want to make it easier for people to try out this work? especially considering that we ship the NanoNote with a >80% empty NAND? 2010-11-14 04:46 I think yes, we should make that easier. 2010-11-14 04:46 why not? why is that a bad idea? 2010-11-14 04:48 my biggest concern is how maintainable the image is, especially on the patent side. But I think we can be assured by rafa and the Jlime crew, these guys are in for the long run. 2010-11-14 04:49 mirko: hey good morning :-) 2010-11-14 04:49 I'm writing an email with some of my image observations/testing now 2010-11-14 04:49 I only ran into 1 big bug, I think: I cannot quit NanoMap (it hangs), and kyak and others think that in general every Qt app will hang on exit. 2010-11-14 04:52 wolfspraul: we need to come up with some plan, to fix partitions once and for all.. 2010-11-14 04:55 kyak: what exactly bugs you about the partitions? 2010-11-14 04:55 what does the 'fix' need to make easier? 2010-11-14 04:56 i don't want to save and move my data often 2010-11-14 04:56 in fact, i even stayed with 256 Mb because i don't want to move my data 2010-11-14 04:57 [commit] Xiangfu Liu: [stardict] add cache files for dictionary, for speed up when startup http://qi-hw.com/p/openwrt-packages/f179ae2 2010-11-14 04:58 your data is in the mtd3 partition? 2010-11-14 04:58 yes 2010-11-14 04:58 so basically your data starts at 4+4+256=264MB, and then to the end of the 2GB? 2010-11-14 04:58 indeed 2010-11-14 04:58 it doesn't occupy all available space though 2010-11-14 04:58 and as we are coming out with new stuff, you don't want to move those 1.7GB around all the time... 2010-11-14 04:59 what filesystem are you using for your data partition? 2010-11-14 04:59 it's ubifs 2010-11-14 04:59 it's just a usual data partition 2010-11-14 04:59 per instruction in wiki 2010-11-14 05:00 ok let me just get a complete picture now - at which mountpoint do you have it mounted? 2010-11-14 05:00 /data 2010-11-14 05:00 and if you stay with the 256 MB layout, that means you will not be able to reflash rootfs images if they become larger than 256 mb? 2010-11-14 05:00 yes, this is right.. but my customs images won't get bigger than that 2010-11-14 05:01 i've thrown away unnecessary things 2010-11-14 05:01 like php or ruby, and many other i won't ever need 2010-11-14 05:01 ok so you are building your own openwrt rootfs anyway 2010-11-14 05:01 yeah.. 2010-11-14 05:01 but if the partition map is hardcoded in the kernel that's yet another thing you need to fix before building your stuff? 2010-11-14 05:02 yes, this is what i have to do 2010-11-14 05:02 how full is your data partition? 2010-11-14 05:02 it's usually arounf 1 Gb full 2010-11-14 05:03 sometimes i fill it completely with movies 2010-11-14 05:04 ok needs some thinking :-) 2010-11-14 05:05 I'd say no worries, if your life doesn't get easier we are doing something wrong... 2010-11-14 05:05 wolfspraul: don't waste your time thinking about it.. it's not so hard for me to make some changes to hardcoded partitions 2010-11-14 05:05 before i build 2010-11-14 05:05 so as long as you give some feedback, if we (or me :-)) are coming up with stupid ideas, they should get corrected before they can cause damage... :-) 2010-11-14 05:06 sure I can understand, but still 2010-11-14 05:06 those are good use cases you have there 2010-11-14 05:06 in marketing speak, our 'upgrade story' is still very very bad 2010-11-14 05:07 and if you look at successful computing devices, it's always those with the best 'upgrade story' that have a chance to become really successful 2010-11-14 05:07 whether that's installing apps, or OS updates, or good backups (device lost/stolen), etc. etc. 2010-11-14 05:07 so we have quite a way to go there... 2010-11-14 05:08 I'm definitely not only thinking about the "how can I reflash stuff" side of things. you are one step ahead. you have 1gb of data in your nand that you want to protect. 2010-11-14 05:08 makes perfect sense! 2010-11-14 05:08 i think the project right now in the state when it is still possible to make really big changes.. but with the time, it would not be possible any more 2010-11-14 05:10 xiangfu: nanoterm looks interesting, but it's not usable? 2010-11-14 05:10 i can type (in capital letters for some reason), but nothing happens 2010-11-14 05:12 kyak: someone write a terminal only for NanoNote. so we would like included by openwrt-package.git 2010-11-14 05:13 kyak: http://nterm.sourceforge.net/ 2010-11-14 05:13 kyak: for now the gmenu2x start the terminal very well, I would like gmenu2x in "inittab". 2010-11-14 05:13 xiangfu: does nanoterm work for you? 2010-11-14 05:14 kyak: it working. only hard to read. 2010-11-14 05:14 xiangfu: about gmenu2x, the setfont2 is not started in the first terminal 2010-11-14 05:15 kyak: yes. so I would like add a "bash" to gmenu2x. 2010-11-14 05:15 then we can start the "bash" in gmenu2x 2010-11-14 05:15 xiangfu: ah, so you would call setfont2 in the script to start "bash"? 2010-11-14 05:16 kyak: that's what I am thinking for now. 2010-11-14 05:16 that sounds right 2010-11-14 05:22 are there any low hanging fruits to reduce memory usage? 2010-11-14 05:23 /join #27c3 2010-11-14 05:23 oops 2010-11-14 05:23 sorry 2010-11-14 05:26 wolfspraul: disable syslogd and klogd 2010-11-14 05:26 can be done in /etc/init.d/boot 2010-11-14 05:26 they are invoked from there 2010-11-14 05:30 [commit] kyak: added HISTFILE env variable in /etc/profile http://qi-hw.com/p/openwrt-xburst/b07cc5d 2010-11-14 05:32 xiangfu: btw, i'm fighting with strdict -\ it hangs at start 2010-11-14 05:33 with strace i see that one of the threads is segfaulted 2010-11-14 05:33 i believe i might be because i have a somewhat minimal installation in comparison to you.. maybe stardict lacks for some library at start (though it builds fine) 2010-11-14 05:34 maybe you have some idea? 2010-11-14 05:35 xiangfu: are you aware of any downside of disabling syslogd and klogd? 2010-11-14 05:35 kyak: looking through the process list I also noticed a lot of 'loggers', if you think those 2 can be disabled then yeah, unless someone complains let's do it 2010-11-14 05:37 wolfspraul: I don't know that. 2010-11-14 05:37 kyak: does the "loading " windows show up?? 2010-11-14 05:39 xiangfu: yeah, it hangs right ther 2010-11-14 05:39 at "Loading" 2010-11-14 05:42 xiangfu: if you don't know, then I'd say let's remove them. even if there is a good reason, we will surely find it after removal :-) 2010-11-14 05:43 wolfspraul: ok. :) 2010-11-14 05:44 [commit] kyak: Disable syslogd and klogd http://qi-hw.com/p/openwrt-xburst/dcc7d75 2010-11-14 05:44 kyak: let me thinking, I think I will reply you later.  sorry. 2010-11-14 05:44 kyak: oh. you fast 2010-11-14 05:44 i had this change prepared for a long time ;) 2010-11-14 05:44 in fact, this is one the changes i always do before i build 2010-11-14 05:45 xiangfu: sure, take your time 2010-11-14 05:55 [commit] kyak: don't need ldd() function if actual ldd is installed http://qi-hw.com/p/openwrt-xburst/c7d6c10 2010-11-14 05:56 kyak: hi. I make the "ash" works in gmenu2x. 2010-11-14 05:56 but maybe it's not very good. because I goot one message like: "can't access tty; job control truned off" 2010-11-14 05:57 what's your wrapper script look like? 2010-11-14 05:57 title=ash 2010-11-14 05:57 exec=/usr/sbin/setfont2 2010-11-14 05:57 params=/usr/share/setfont2/un-fuzzy-6x10-font.pnm && /bin/ash 2010-11-14 05:57 ^ 2010-11-14 05:57 kyak: ^ 2010-11-14 05:58 this is a hack :) 2010-11-14 05:58 you are actually injecting another command in gmenu2x params :) 2010-11-14 05:58 I don't know why this script not reading the /etc/profile 2010-11-14 05:58 xiangfu: you could try creating a wrapper script, and call this instead? 2010-11-14 05:59 kyak: ok. let me try. 2010-11-14 05:59 in this case i think this tty warning should disappear 2010-11-14 06:03 kyak: very thanks. 2010-11-14 06:04 xiangfu: np.. i think i will create similar gmenu2x item for ash-cyrillic (will be provided by ben-cyrillic) 2010-11-14 06:07 [commit] Xiangfu Liu: add [ash] and fix the [bash] entry in gmenu2x http://qi-hw.com/p/openwrt-xburst/b157df2 2010-11-14 06:21 wolfspraul: another thing to free a little memory - disable unused ttys in /etc/inittab 2010-11-14 06:21 i think tty3 and tty3 are not needed.. maybe tts is also not needed 2010-11-14 06:22 *tty3/4 2010-11-14 06:22 wolfspraul: (loggers) i would consider data on such a device as ephemeral anyway, particularly considering that people often upgrade their system by wiping out entire partitions 2010-11-14 06:22 wpwrak: those are not logging to file anyway 2010-11-14 06:23 they log somewhere in the memory, can be accessed with "logread" 2010-11-14 06:23 totally useless 2010-11-14 06:23 wolfspraul: so there's little point in filling them with log data. sometimes, it can be useful to be able to enable temporary logging, though. e.g., to debug ssh problems. of course, the way dropbear fails usually means that you'll only find out with strace anyway ... :) 2010-11-14 06:24 kyak: (log to memory) ah, that's actually a bit more reasonable. but probably still not worth the effort. 2010-11-14 06:25 yeah.. 2010-11-14 06:25 xiangfu: what do you think about adding tcl to full_system? 2010-11-14 06:27 kyak: how can we remove tty3/4/s? 2010-11-14 06:27 wolfspraul: just comment those line in /etc/inittab 2010-11-14 06:27 *lines 2010-11-14 06:28 kyak: except for tcl, are there any other things you have enabled that are not in full_system? 2010-11-14 06:29 wolfspraul: i don't think so... 2010-11-14 06:30 hmm has tk been ported? 2010-11-14 06:30 haven't seen it there 2010-11-14 06:35 wolfspraul: have abook enabled which is also not in full_system 2010-11-14 06:36 (and MPlayer, but this one is build patented) 2010-11-14 06:39 why do you want to remove the other virtual terminals? 2010-11-14 06:41 to save memory; they are not used most of the time 2010-11-14 06:41 but then you can't do any multi-tasking anymore 2010-11-14 06:42 i don't think this is a good idea 2010-11-14 06:42 and it doesn't really save much memory anyway 2010-11-14 06:42 do you mean "you can't do three-tasking"? :) 2010-11-14 06:42 use screen for that 2010-11-14 06:42 screen uses alot more memory than some terminals 2010-11-14 06:43 and is very slow on such machines 2010-11-14 06:43 there are alternatives 2010-11-14 06:43 tmux, for example 2010-11-14 06:43 can you tell me about the use case? 2010-11-14 06:43 how do you use those terminals on Ben? 2010-11-14 06:44 everytime you want to run multiple applications at the same time 2010-11-14 06:44 just give an exmaple 2010-11-14 06:44 listening to music in the background and editing some files at the same time for example 2010-11-14 06:44 kyak: wejp btw, along the lines of screen, we now have this quite interesting byobu on the NanoNote 2010-11-14 06:45 https://launchpad.net/byobu 2010-11-14 06:45 but it's a screen enhancement, so if screen is slow or needs a lot of memory, this will need even more... anyway some of what they say sounds promising, I think 2010-11-14 06:45 something totally unrelated: every time I start the nn, especially whilst not at home, I feel kind of.. good, booting linux on an embedded device 2010-11-14 06:45 it's just a great feeling 2010-11-14 06:45 it feels like you're holding a lot of power in your hands 2010-11-14 06:45 byobu... interesting 2010-11-14 06:45 wejp: it's not a problem, cause gmu is not occupying the terminal 2010-11-14 06:45 wolfspraul: afaik byobu is mostly a set of config files for screen? 2010-11-14 06:45 wejp: besides, i don't say to get rid of all terminals 2010-11-14 06:45 then edit two files, or have one open for reference while editing the other 2010-11-14 06:46 bartbes: could be yes, I never got far beyond readon their project homepage. but it sounds cool :-) 2010-11-14 06:47 wejp: well, my case might be special, i'm living happily without tty3 and tty4. i even use tty2 very rarely 2010-11-14 06:48 yeah, i guess, but since there are other usecases as well, i think those terminals should just be kept as they are now 2010-11-14 06:48 it really does not save much memory 2010-11-14 06:48 a few KB at most 2010-11-14 06:48 so seeing as I just realized owrt has mutt, has anyone set it up in a particularly epic fashion? I can't imagine it being easy to use considering you normally lack internet, and it lacking a small pop and/or smtp server (afaik), so what is mutt used for? 2010-11-14 06:49 oh I seem to be asking random questions, do tell if I get annoying 2010-11-14 06:49 wejp: not a few KB. each terminal is running init, it is 1620 KB 2010-11-14 06:49 kyak, no it isn't 2010-11-14 06:49 it makes 1620*3 useless KB for me 2010-11-14 06:49 wejp: run top 2010-11-14 06:49 these 1620 KB is shared memory and it is only used ONCE by all applications that are part of busybox 2010-11-14 06:50 wow, go busybox! 2010-11-14 06:50 yep 2010-11-14 06:50 that's why openwrt uses busybox 2010-11-14 06:50 to use as little memory as possible 2010-11-14 06:50 bartbes: I should try mutt one day, I use it on my notebook. I would think I can use it first of all as a reader of my mail archives. for writing, I would need to think about the workflow, although I'm sure it's possible. 2010-11-14 06:50 wejp: hm ok 2010-11-14 06:50 that's why they all use the same amount of memory 2010-11-14 06:51 wejp: how can i see RSS? 2010-11-14 06:51 wolfspraul: I guess it just needs to have a queue and a script which then mails it all (using sendmail?), if you then hook it up to udev it can all get very coolk 2010-11-14 06:51 *-k 2010-11-14 06:51 bartbes: same as openvpn 2010-11-14 06:51 i always wondered whe is it in full_system 2010-11-14 06:52 mh, i think that depends on the top or ps version being used 2010-11-14 06:52 wolfspraul: atm however I get an error when I want to send (even though I'm connected to the internet), my guess is a lack of sendmail (or alternative, like exim) 2010-11-14 06:52 bartbes: which smtp clients are in openwrt and which one should we include in the image? 2010-11-14 06:53 I'll go research 2010-11-14 06:53 can't mutt speak smtp as well? 2010-11-14 06:53 bassel: have a look at msmtp 2010-11-14 06:53 I believe it normally uses sendmail 2010-11-14 06:53 bartbes: have a look at msmtp 2010-11-14 06:53 (or compatible alternative) 2010-11-14 06:53 bassel: sorry :) 2010-11-14 06:53 I use mutt to do some mass emailing once in a while. but never looked deeper into what mutt actually does to get it out. 2010-11-14 06:53 kyak: I'll go check out mutt manual then decide what it needs 2010-11-14 06:54 you can use whatever MTA you want with mutt 2010-11-14 06:54 wolfspraul: but I guess you *can* set it up to use smtp, since I think I do that on my desktop.. 2010-11-14 06:54 and mutt itself is not aware of smtp 2010-11-14 06:54 yeah, I guess it's all a matter of how it's set up 2010-11-14 06:54 it needs MTA for that 2010-11-14 06:55 kyak: well, I just checked my muttrc and I directly use smtp 2010-11-14 06:55 (with ubuntu package) 2010-11-14 06:55 can you show it? 2010-11-14 06:55 just smtp_url 2010-11-14 06:55 I'll go read the docs 2010-11-14 06:56 "Update: Recent versions (1.5.x) of Mutt has built-in SMTP support." 2010-11-14 06:56 i'm so out of date :) 2010-11-14 06:57 and on the nn I have 1.5.20 2010-11-14 06:57 so that should work 2010-11-14 06:57 anyway, a sendmail equivalent may be easier, since it requires no setup, and has queueing, I guess 2010-11-14 06:58 interesting 2010-11-14 06:58 you can use ssh to execute sendmail on a remote system 2010-11-14 07:02 btw, what packages are built automatically? 2010-11-14 07:02 (and as such added to the repos) 2010-11-14 07:05 wolfspraul: what's the successor of the ya in the ben-ya-... naming scheme again ? 2010-11-14 07:06 ben-ya-mu-guo 2010-11-14 07:06 bartbes: what do you mean? 2010-11-14 07:06 thanks ! 2010-11-14 07:06 first we have config.full_system 2010-11-14 07:07 that's like an 'all-inclusive' of apps that work well on the NanoNote. as long as they don't increase boot time, or memory usage, at the moment we are just adding anything there that someone finds useful. 2010-11-14 07:08 then we _should_ also build all packages (as separately installable .ipk files), but we haven't done so since April 2010-11-14 07:08 at least we have a buildhost machine now, so give it another month or two and this should work as well 2010-11-14 07:08 kyak: I guess mutt was built without smtp 2010-11-14 07:09 bartbes: if you have suggestions on what to add, please just list them here and we'll do it. or of course you can edit/commit to config.full_system yourself 2010-11-14 07:09 did this answer your question? 2010-11-14 07:09 yeah, and then some :P 2010-11-14 07:10 bartbes: for one, I would love to have great love support on the NN :-) and lots of preinstalled love games... 2010-11-14 07:10 so if you have pointers, please holler 2010-11-14 07:11 I saw nlove is already in the latest image, not sure how functional it is right now, or whether there are any games in the image as well. 2010-11-14 07:11 we'll get there... 2010-11-14 07:12 no games yet 2010-11-14 07:12 (in the image) 2010-11-14 07:12 anyway, I just sent the first mail via mutt + msmtp 2010-11-14 07:13 now let's see if I receive it 2010-11-14 07:13 and then see what happens when I unplug the nn 2010-11-14 07:15 humm, the message was received on the smtp server, but then timed out when trying to forward to gmail smtp servers 2010-11-14 07:15 :( 2010-11-14 07:15 but hey, at least it works thus far 2010-11-14 07:16 alright, so that works 2010-11-14 07:17 and msmtp errors.. 2010-11-14 07:17 you want to say the NanoNote is already more reliable for email than gmail? 2010-11-14 07:17 :-) 2010-11-14 07:18 but it sounds like we should include msmtp 2010-11-14 07:19 once I figure out how I can get it to queue it'll be fully working 2010-11-14 07:19 and even if that isn't the case, that + a default muttrc makes for a working mutt 2010-11-14 07:25 I see, there's a msmtpq script, which I guess needs to be included in the package 2010-11-14 07:30 kyak: about tcl, it's ok to me. just add it to config.full_system (since it's not auto start when boot :) 2010-11-14 07:35 when I am in gmenu2x, is there a way to close it (exit the process)? 2010-11-14 07:35 I think there was.. 2010-11-14 07:36 I can't find it though 2010-11-14 07:36 short of 'kill `pidof gmenu2x`' which is what I do normally 2010-11-14 07:36 I guess you could create a 'close' launcher 2010-11-14 07:36 no killall ? 2010-11-14 07:37 bartbes: + to launch, - to kill :) 2010-11-14 07:37 wpwrak: good idea, forgot 2010-11-14 07:37 killall is there... 2010-11-14 07:37 wpwrak: ? 2010-11-14 07:38 a 'close' launcher is a nice idea, the only problem is with someone who accidentally closes it and then doesn't know how to return 2010-11-14 07:40 I just add a "ash" and "bash" in gmenu2x. 2010-11-14 07:40 which one is the best/recommended shell? 2010-11-14 07:40 so if we want goto terminal we can use 'ash' 2010-11-14 07:40 then "CTRL + D" or "exit" will return to gmenu2x 2010-11-14 07:40 maybe if we have two icons it adds more confusion than necessary, unless there are good reasons for both 2010-11-14 07:40 wolfspraul: ash 2010-11-14 07:41 then I would suggest to not include a 'bash' icon 2010-11-14 07:41 my idea was not so much running a shell (that's another nice idea, I usually do ctrl-alt-f1 right now, but more options is good), my idea was to close the gmenu2x process to save memory 2010-11-14 07:41 but one by one 2010-11-14 07:41 launching a shell from an icon is nice, I like it 2010-11-14 07:42 xiangfu: is that what you added? 2010-11-14 07:42 I just added a launcher which just add prints some text (a thank you for using and then how to start gmenu2x again) 2010-11-14 07:42 which has the wrapper disabled, so it closes gmenu2x with a quit message 2010-11-14 07:44 xiangfu: when I run nightsky I get several error messages about missing files, then a segmentation fault 2010-11-14 07:45 wolfspraul: yes, I have add two icon, "ash" and "bash", 2010-11-14 07:45 I think we rename the "ash" to "Terminal", 2010-11-14 07:45 xiangfu: why do we need two icons? when would someone choose bash over ash? 2010-11-14 07:47 wolfspraul: it's just one option for users. 2010-11-14 07:47 I made a vid of my launcher 2010-11-14 07:47 time to convert it to ogv 2010-11-14 07:47 if we don't add the 'bash' , then do you think we should remove it from full_system? 2010-11-14 07:48 wolfspraul: I will look into the nightsky later 2010-11-14 07:51 wolfspraul: http://bartbes.ath.cx/close_launcher.ogv 2010-11-14 07:53 bartbes: now we have add the "gmenu2x" to inittab. so when we clock the "Terminal" , it will exit the gmenu2x 2010-11-14 07:54 wait, what? 2010-11-14 07:54 bartbes: s/clock/click/ 2010-11-14 07:54 that close launcher actually just closes gmenu2x, it doesn't start a new shell 2010-11-14 07:55 :O 2010-11-14 07:55 bartbes: yes. 2010-11-14 07:55 I know why my build of msmtp failed 2010-11-14 07:56 my / partition is full 2010-11-14 07:56 :( 2010-11-14 07:57 xiangfu: I don't think those 2 things are related 2010-11-14 07:57 one question is whether we add an icon for 'bash' in the launcher 2010-11-14 07:57 the other question is whether we add bash into the image 2010-11-14 07:57 I'm sure there are good reasons why to add it to the image, at least it's easier to imagine those. 2010-11-14 07:58 for I'm not so sure about the value of having 2 icons in the launcher, both launching a shell 2010-11-14 07:58 I think we are doing a better service by picking the better one of the two only, at that place. 2010-11-14 07:58 wolfspraul: ok, now I understand. let's just remove hte 'bash' icon in gmenu2x. 2010-11-14 07:59 xiangfu: well, back to my question. what would be the reason that someone would choose bash over ash at that point (in the launcher)? 2010-11-14 07:59 I understand if a script needs bash-specific features, OK it refers to bash and bash needs to be there to run the script 2010-11-14 08:00 but for the 'manual' shell, I think we should pick what we believe is the most appropriate on the NanoNote, and only have an icon for that? 2010-11-14 08:00 how about fbterm? 2010-11-14 08:01 for an interactive shell, i guess you'd want the "nicest". not sure how friendly ash is as an interactive shell. 2010-11-14 08:02 sure then let's do that. I'm just saying two icons, one for 'bash' and one for 'ash' is asking for trouble :-) 2010-11-14 08:02 I know it... 2010-11-14 08:03 next we have a third icon for zsh 2010-11-14 08:03 and so on 2010-11-14 08:03 fbterm makes more sense as a launcher in gmenu2x 2010-11-14 08:03 too much of a choice is a bad thing :) 2010-11-14 08:03 tcsh ! 2010-11-14 08:04 bartbes: I think the problem with fbterm is that the nice small NanoNote fonts don't work 2010-11-14 08:04 I just started fbterm manually and it's ugly :-) 2010-11-14 08:04 I would say it would be capable of going smaller 2010-11-14 08:04 I guess I'm used to those nice polished fonts now. 2010-11-14 08:05 oh, and we should have an easy way to cycle through console fonts as well 2010-11-14 08:05 there is some command line that does it, but man it's long... 2010-11-14 08:05 I am not thinking of the 'user experiment', I just think add one option to users. so I am not sure about this. 2010-11-14 08:05 you mean the fonts I think I don't have? 2010-11-14 08:05 so when is the first *stable* release going to be? 2010-11-14 08:05 maybe once we have this more general keymapper daemon (triggerhappy), we can have some nice key mappings to cycle through console fonts? 2010-11-14 08:05 because I'm still running 2010-06-15 2010-11-14 08:06 (with some updated packages) 2010-11-14 08:06 that's a good image, maybe we have a worthy successor soon... 2010-11-14 08:06 not sure about 'stable', we'll get there 2010-11-14 08:07 xiangfu: so basically you are saying 'ash' is the better shell for manual use, wpwrak says 'bash' 2010-11-14 08:07 I don't want to blow this discussion out of proportion, maybe add 2 icons for now, we can trim later :-) 2010-11-14 08:07 'ash' is the default shell in openwrt. and it's busybox. 2010-11-14 08:08 that's good, saves memory 2010-11-14 08:08 so my vote is: for now only 1 icon, for ash 2010-11-14 08:08 'bash' is separate. 2010-11-14 08:10 wolfspraul: my vote. add one section in gmenu2x. name "Terminal", we list "ash(default)" "bash" "fbterm" "jfbterm" "nanoterm" :) 2010-11-14 08:10 we add all terminal stuff in "Terminal" section. 2010-11-14 08:11 he 2010-11-14 08:11 FINE! :-) 2010-11-14 08:11 I like the (default) idea, if it's visible... 2010-11-14 08:11 that achieves 80% of what I had in mind... 2010-11-14 08:13 BTW, I already add "Games" section, list all games. 2010-11-14 08:13 yes I saw it, nice 2010-11-14 08:14 once we can stabilize all this a little, I hope we can add some nice little scripts to bring out the functionality of some of the console apps we have 2010-11-14 08:14 for example sox 2010-11-14 08:14 if I just run 'sox' in the console, that's outright scary 2010-11-14 08:14 looks like 5 pages of options are scrolling by 2010-11-14 08:15 so maybe one day we can have a neat little script that just starts recording, saves it in a meaningful place with a meaningful name, and stops upon whatever action 2010-11-14 08:15 there are so many apps  like 'sox' 2010-11-14 08:16 those recordings could then be listed and listened to in gmu maybe? well something like that... 2010-11-14 08:16 yes we need more scripts to bring out easy default functionality of those apps, and link them into the launcher 2010-11-14 08:16 needs a bit more time... 2010-11-14 08:16 how about a script list all those apps 2010-11-14 08:16 like: 2010-11-14 08:17 Terminal Applications in NanoNOte: 2010-11-14 08:17 sox -- sound 2010-11-14 08:17 aplay -- play wav 2010-11-14 08:17 arecode -- recode wav 2010-11-14 08:17 ... 2010-11-14 08:18 you can see a list with opkg list_installed already, not sure what you suggest 2010-11-14 08:18 my idea is let users know there are some command he can try in terminal. 2010-11-14 08:18 opkg list_installed 2010-11-14 08:18 oh. yes. 2010-11-14 08:19 plus we need a wiki page to document them, for several reasons (also to start specifying test steps) 2010-11-14 08:19 (shell choice) i you have bash on your system, you'll almost certainly want bash. it's much nicer as an interactive shell. ash suffers the usual problems of busybox-ish things, with every once in a while something not working the way you expect. if you've chosen not to install bash on your system, then you should of course launch ash. 2010-11-14 08:19 (shell choice) so maybe just call is "shell" and pick the best that's available 2010-11-14 08:19 and then we may need little 'script apps' to connect some of that stuff into the launcher, if a direct invocation is not enough (those are a good start for now) 2010-11-14 08:28 re recording, you could take a look at that new recording thing jlime has 2010-11-14 08:34 bartbes: awesome thing ! 2010-11-14 08:34 rafa: :) 2010-11-14 08:38 can anyone tell me why I can barely control the output volume? 2010-11-14 08:38 if I set output volume to 0 in alsamixer it's still extremely loud 2010-11-14 08:42 chinese electrical design? 2010-11-14 08:42 :-) 2010-11-14 08:42 maybe we need a software volume control, is that possible? 2010-11-14 08:43 who knows enough about the hardware to know that? 2010-11-14 08:45 wolfspraul: alsa has something called "softvol", that many people use in the nanonote, I think 2010-11-14 08:45 (due to what I think are hardware problems in that volume) 2010-11-14 08:46 oh right, I was working on msmtp.. 2010-11-14 08:46 bartbes: larsc does, but he repeatedly said on this channel things along the lines of "but i can tell you for sure that the hw only has 4 volume levels ranging from loud to very loud" 2010-11-14 08:46 viric: not a hardware problem, typical 'default' volume settings in China 2010-11-14 08:47 a loud coutry then 2010-11-14 08:47 yes it's crazy. with all culture respects, it's nuts. 2010-11-14 08:47 people are yelling and shouting everywhere. 2010-11-14 08:48 in that case we need global volume lowering 2010-11-14 08:48 they are selling toys here, they must be illegal in the US or Europe if only for sound volume. I mean those things are so crazy loud. 2010-11-14 08:48 It looks like here, immigration, use to go with loud music in speakers of mobile phones and alike, that give even a sound quality close to the 19th century 2010-11-14 08:48 not that the speakers are any good, the sound quality is also horrible. but I could show you a toy, with sound from say 1-7, and we would probably both agree only 1 is BEARABLE in an otherwise quiet room. 2010-11-14 08:48 And I'm sure not only immigration, and not all of the imimgration. But it's a phenomena I see mostly on them. 2010-11-14 08:49 2 and 3 remind me more of a rock concert or such 2010-11-14 08:49 viric: so, softvol, any more information? 2010-11-14 08:49 and for everything above that I am seriously questioning the sanity of anyone letting a child play with this thing... 2010-11-14 08:49 bartbes: it's usual alsa configuration. Nothing special of the nanonote. 2010-11-14 08:49 oh now I suddenly know.. 2010-11-14 08:49 wolfspraul: well, western sanity on education is questionable maybe not in loudness, but in many other aspects :) 2010-11-14 08:50 fine but if I would demonstate those toys to you you would know what I mean :-) 2010-11-14 08:50 wolfspraul: btw, I checked and the scripts are there, they simply aren't installed 2010-11-14 08:50 :) 2010-11-14 08:50 wolfspraul: i tought volume control was a menu in gmenu2x 2010-11-14 08:50 so who has commit access to upstream packages? 2010-11-14 08:50 and btw, for phones, the #1 features many people care about is how loud the ringtone can be 2010-11-14 08:50 *a working menu* 2010-11-14 08:50 you can imagine them trying it out in a super noisy super crowded market, and you get the idea 2010-11-14 08:51 wolfspraul: you don't happen to have access to the upstream 'packages' repo? 2010-11-14 08:51 no I don't, but you can send a patch to the qi list or openwrt-devel list right away. or xiangfu can do it for you. 2010-11-14 08:52 depends on whether your improvement is generic enough to be added there, or we keep it on the qi server? 2010-11-14 08:52 it's just installing some scripts which are pretty.. useful 2010-11-14 08:53 sure let's install them. so where are they and how can they be added? 2010-11-14 08:53 it's not like they're a separate download, they need no compile-time option 2010-11-14 08:53 they just need to be copied 2010-11-14 08:53 xiangfu: there is no need to remove "bash" icon; gmenu2x won't display it if the binary is not available 2010-11-14 08:53 part of which package is this? 2010-11-14 08:54 let's just make a patch, send to openwrt-devel. if they don't like it we can always make a alsa-full package or so that we keep in openwrt-packages on the qi server 2010-11-14 08:54 I was talking about queueing in msmtp 2010-11-14 08:56 wolfspraul: about the nightsky, you need to have /root/.nightsky.yml (see example in /usr/share/nightsky/) 2010-11-14 08:58 bartbes: oh I see. well it all starts with a patch. either someone likes it for upstream inclusion, or we keep it on the qi side. 2010-11-14 08:59 wolfspraul: there is another thing is have different in my build.. a bunch of rc files in $HOME - .mplayer, .vimrc, .tclshrc, .nightsky.yml 2010-11-14 08:59 i recreate them on every build 2010-11-14 09:01 how do you recreate them? 2010-11-14 09:02 after reflash, i boot and run a script 2010-11-14 09:02 every time i change soemthing in the system, i reflect it in that script 2010-11-14 09:02 then i can reflash, run this script - and i'm restored 2010-11-14 09:02 all my settings are safe 2010-11-14 09:03 hmm, on our side I guess we would need to look at those config options one by one and then at what the best way is to set them as default 2010-11-14 09:04 some ideas would be ugly, i.e. probably not wanted. like including /root/.nightsky.yml in the nightsky .ipk 2010-11-14 09:04 yay, a working queue! 2010-11-14 09:04 wolfspraul: alright, I guess I can create a package msmtp-mutt or similar, which just installs those queue scripts + a conf for mutt 2010-11-14 09:04 we could include them in the data/ rootfs section I guess, that would be a quick (if also ugly) bandaid 2010-11-14 09:05 but it gets ugly 2010-11-14 09:05 :( 2010-11-14 09:05 sure go ahead, then it's saved at least 2010-11-14 09:05 and we can see how/whether any of this should go upstream, or whether there is a cleaner way 2010-11-14 09:05 first the hack, then the cleanup :-) 2010-11-14 09:05 good 2010-11-14 09:05 the hack I can do :P 2010-11-14 09:06 I'll make the version the number of msmtp, because that would be the version of the scripts 2010-11-14 09:09 wolfspraul: i was thinking about including some of those configs.. maybe not with ipk, but from data/qi_lb60/files/.. but it might be that the package is not really installed 2010-11-14 09:09 so the config is not really necessary 2010-11-14 09:11 how do I make it depend on *either* msmtp or msmtp-nossl? 2010-11-14 09:12 (or does that happen automatically when I specify the generic name, and no variant?) 2010-11-14 09:16 kyak: sure but when in doubt, pragmatism trumps, no? 2010-11-14 09:16 so those files are very small, and we know we have them in config.full_system 2010-11-14 09:17 even if people build their own rootfs, ok, they have a few small files they don't need. so what. I am sure there are many other things in the rootfs yet that could be optimized if we would identify them. 2010-11-14 09:18 bottom line: given that these files are really useful once the apps are installed, I think it's perfectly fine to add them to data/files for now, as a quick first solution. 2010-11-14 09:18 bartbes: don't know about the dependencies, maybe xiangfu knows? 2010-11-14 09:20 I'll just check in the menuconfig 2010-11-14 09:31 kyak: so how do you like the idea of committing your configs to data/qi_lb60/files ? 2010-11-14 09:43 wolfspraul: will do! 2010-11-14 09:51 kyak: oh. great! 2010-11-14 09:57 [commit] kyak: added tcl to full_system http://qi-hw.com/p/openwrt-xburst/e5ad3bc 2010-11-14 09:57 [commit] kyak: added some config files and enabled busybox stty http://qi-hw.com/p/openwrt-xburst/37dc344 2010-11-14 09:59 wolfspraul: thank you for allowing to do things that might be doubtfull :) this really helps bring the default image to my needs, and i can only hope that my needs are not so diferent from other people's needs after all 2010-11-14 09:59 :@ 2010-11-14 09:59 I fail to get the scripts to be packaged 2010-11-14 09:59 just me http://paste.debian.net/99803/ ? 2010-11-14 09:59 ugh, the upstream patch might be a lot easier 2010-11-14 10:01 kristianpaul: it tries to download pregenerated locales, which it shouldn't 2010-11-14 10:01 kristianpaul: try to make clean, then delete build_dir and staging_dir, let's see it it happens again 2010-11-14 10:01 hmm 2010-11-14 10:01 ok 2010-11-14 10:02 but ok, please hold one second... i'll double check 2010-11-14 10:03 kyak: are you runing make oldconfig or make config then just esc and save? 2010-11-14 10:04 after copying the corresponding full or minmial config of course 2010-11-14 10:04 [commit] kyak: make sure uClibc won't attempt to get pregenerated locales. http://qi-hw.com/p/openwrt-xburst/36a96a2 2010-11-14 10:05 kristianpaul: now should be 100% ok 2010-11-14 10:05 kristianpaul: i'm runnin yes "" | make oldconfig > /dev/null 2010-11-14 10:05 but this is a uClibc config option, it's not relevant 2010-11-14 10:06 [commit] Xiangfu Liu: add wallpaper by JaneAndreas, set it default http://qi-hw.com/p/gmenu2x/2c27de3 2010-11-14 10:06 i thought it is not necessary to force it, because it wouldn't download locales by default.. but it seems that in some cases it still tries to do that 2010-11-14 10:06 kristianpaul: you still need to clean your build root 2010-11-14 10:07 and to git pull of course 2010-11-14 10:07 sure 2010-11-14 10:07 compiling now 2010-11-14 10:08 build root= ? 2010-11-14 10:08 bin flder? 2010-11-14 10:08 by "buildroot" i mean openwrt-xburst directory :) 2010-11-14 10:09 cleaning it is make clean and removing build_dir and staging_dir 2010-11-14 10:09 this will start everything from scratch 2010-11-14 10:10 sure 2010-11-14 10:11 scratch include download tons of software again? 2010-11-14 10:11 downloaded things get in dl/ dir 2010-11-14 10:11 no need to delete that 2010-11-14 10:11 wolfspraul: so where should I put this diff (and how should I create it?) 2010-11-14 10:11 make clean won't delete it either 2010-11-14 10:12 kristianpaul: when you pass the uClibc prepare stage, would you be so kind to show "grep LOCALE build_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/uClibc/.config"? 2010-11-14 10:15 kyak: sure 2010-11-14 10:15 but how i know i pass it? 2010-11-14 10:15 you'll see the message from make 2010-11-14 10:16 ok but i'm not follwing all time 2010-11-14 10:16 like make[3] toolchain/uClibc/prepare 2010-11-14 10:16 k 2010-11-14 10:16 make[3] -C toolchain/uClibc prepare 2010-11-14 10:16 this one to be exact 2010-11-14 10:19 bartbes: how to create the diff? well you must have done something, first thing just document that? 2010-11-14 10:19 can tell you where to put it after I know what it is :-) 2010-11-14 10:19 I mean, I edited the msmtp Makefile 2010-11-14 10:19 but in what format do the openwrt guys like their diffs? 2010-11-14 10:20 urandom__: btw, haven't spoken to you in a while, have you seen what has happened to nlove lately? 2010-11-14 10:20 first guess would be unified diff, how big is the diff anyway? 2010-11-14 10:20 3 lines added + 1 line modified (release number) 2010-11-14 10:20 so very small ;) 2010-11-14 10:24 kyak: http://paste.debian.net/99806/ 2010-11-14 10:24 kristianpaul: when it passes the uCLibc prepare stage 2010-11-14 10:25 this file will appear 2010-11-14 10:25 ah so not yet 2010-11-14 10:25 :) 2010-11-14 10:25 and you don't necessarily have to stop the build process, in case you've stopped it :) 2010-11-14 10:25 i just have one and less than 1gn in ram  core my machine is slow 2010-11-14 10:26 no i dont 2010-11-14 10:26 bartbes: well just email/upload/paste it somewhere, then we go from there... 2010-11-14 10:26 hmm but where 2010-11-14 10:27 kristianpaul: i just discovered i can speak perfect Spanish ;) 2010-11-14 10:27 No existe el fichero o el directorio 2010-11-14 10:28 No such file or directory 2010-11-14 10:28 bartbes: pastebin? 2010-11-14 10:29 if it's as short as you say it is, even our conversation lines about it here in the chat are longer... 2010-11-14 10:29 :-) 2010-11-14 10:29 true 2010-11-14 10:30 bartbes nah was busy with other stuff (learning languages) , so what happened? 2010-11-14 10:31 mostly music 2010-11-14 10:31 ah 2010-11-14 10:32 so where can i find the latest versions of nlove? 2010-11-14 10:32 wolfspraul: I read the mirko mail.. he wrote: /etc/banner .. added by Y. I would suggest no to add many files under /etc.. so system is a little standar.. and great if it follows the Linux FHS (Filesystem Hierarchy Standard) or something like that. Adding files under /etc does the system odd for every new user. 2010-11-14 10:33 urandom__: it has been committed, but an ipk.. 2010-11-14 10:33 I guess I can put one up 2010-11-14 10:33 wolfspraul: BTW, I added a lot of crap under /etc on jlime.. but it was a really hobboy work.. I did not do it thinking 2010-11-14 10:33 kyak: it is fun, it is asking me again 2010-11-14 10:33 Support glibc's "'" flag for allowing locale-specific digit grouping (UCLIBC_HAS_GLIBC_DIGIT_GROUPING) [N/y/?] (NEW) 2010-11-14 10:33 wolfspraul: that it would be great for future.. My 2010-11-14 10:34 rafa: agreed, if it were just me I wouldn't add that banner at all but if it makes others feel good, why not... 2010-11-14 10:34 wolfspraul: idea was just to test different ideas.. But for a development thing /etc should be cleam 2010-11-14 10:35 kyak: http://paste.debian.net/99809/ 2010-11-14 10:35 wolfspraul: http://pastebin.com/UAhbVBJL 2010-11-14 10:35 kyak: GREP http://paste.debian.net/99810/ 2010-11-14 10:35 bartbes: cool. I check it tomorrow, calling it a day now... n8 2010-11-14 10:36 night wolfspraul 2010-11-14 10:36 kristianpaul: when it is asking you that? 2010-11-14 10:37 kyak: few minutes ago then got  the error 2010-11-14 10:37 are you building verbosely? 2010-11-14 10:37 yup 2010-11-14 10:38 ok, let me force disable this option as well.. i wonder why it doesn't ask me that question 2010-11-14 10:38 hmm 2010-11-14 10:38 you need my .config* files may be to check? 2010-11-14 10:40 [commit] kyak: 'N' to UCLIBC_HAS_GLIBC_DIGIT_GROUPING http://qi-hw.com/p/openwrt-xburst/8915de3 2010-11-14 10:40 kristianpaul: no.. 2010-11-14 10:40 not yet :) 2010-11-14 10:40 kyak: are you compiling with full config? 2010-11-14 10:40 sure 2010-11-14 10:40 i did test with full_config 2010-11-14 10:40 please try again now.. 2010-11-14 10:41 urandom__: http://dl.dropbox.com/u/440010/nlove/nlove_r464-1_xburst.ipk 2010-11-14 10:41 kristianpaul: this will not ask you anything.. however, i think your next error might be related to something else -\ 2010-11-14 10:42 setlocale(LC_CTYPE,"en_US.UTF-8") failed! 2010-11-14 10:42 i don't like it... 2010-11-14 10:42 kristianpaul: what is your build host? 2010-11-14 10:42 bartbes got it, thanks 2010-11-14 10:43 kyak: my home computer 2010-11-14 10:43 i was using fidelio but is x86_64 i need x86 sdk 2010-11-14 10:43 what is it? x86, x64? what OS? 2010-11-14 10:43 debian squeeze x86 2010-11-14 10:44 well ok.. almost my config 2010-11-14 10:44 x86 and linux 2010-11-14 10:44 let's see if this error goes away now, ok? 2010-11-14 10:44 sure 2010-11-14 10:45 compiling now 2010-11-14 10:51 kristianpaul: have to go now.. hope it'll work well for you. If not, we will have to investigate.. if you need to finish your build, then blame me and check out older version of toolchain/uClibc/config-0.9.30.1/mipsel file 2010-11-14 10:52 kyak: ok 2010-11-14 10:52 thanks ! 2010-11-14 10:52 wait ! 2010-11-14 10:52 ya 2010-11-14 10:52 kyak: http://paste.debian.net/99812/ 2010-11-14 10:52 :( 2010-11-14 10:52 same error 2010-11-14 10:52 this time dint asked 2010-11-14 10:54 well 2010-11-14 10:54 we nca chekc that later 2010-11-14 10:54 may be is my system 2010-11-14 10:54 autotools is broken not sure if is realted with openwty build process. 2010-11-14 10:55 kristianpaul: git checkout b404fd53d2e17380994f7f1d8a9496aacea5e642 toolchain/uClibc/config-0.9.30.1/mipsel 2010-11-14 10:56 for now. 2010-11-14 10:56 ok 2010-11-14 10:56 i'l have a look later 2010-11-14 10:56 sure 2010-11-14 10:57 (but you should try to fix your host build system, because in this case locales are generated by your build host) 2010-11-14 10:57 i.e. ./gen_wc8bit is your host binary 2010-11-14 10:57 and it is build by your host compiler 2010-11-14 10:57 hmm ok 2010-11-14 10:57 i'll reinstall debian now 2010-11-14 10:58 ok, keep in touch! 2010-11-14 10:58 chai 2010-11-14 10:58 chao* 2010-11-14 13:46 [commit] kyak: some changes to gmenu2x icons http://qi-hw.com/p/openwrt-xburst/ad732f6 2010-11-14 13:54 [commit] kyak: ben-cyrillic: add gmenu2x item (ash-rus) http://qi-hw.com/p/openwrt-packages/e000a19 2010-11-14 14:19 [commit] kyak: make tetris of bsd-games more fittable to screen http://qi-hw.com/p/openwrt-packages/000fba5 2010-11-14 16:35 larsc: wpwrak : technically.. is there some nice way to have on boot moment a chroot or similar before init starts?.. (or being made by init). Wolfgang asked me some way to have dual boot and he suggested new layout for partition like :  4 mb u-boot, 8 mb kernel1, 8mb kernel2, 512mb rootfs1, 512mb rootfs2, rest is 2010-11-14 16:35                     (ubi-formatted?) data partition? 2010-11-14 16:36 larsc: wpwrak : that is a terrible change for me  :).. I would like (ideally): uboot, just one kernel (yes, it is not so easy when openwrt and OE are not so identical). 2010-11-14 16:37 larsc: wpwrak : one rootfs and there something like two folders : /openwrt-qi /jlime, then when kernel mounts rootfs init should change the root / to /openwrt-qi or /jlime 2010-11-14 16:38 larsc: wpwrak : and another /data partition. With this layout you would keep just one partition for rootfs and another for /data.. If another distro appears and all is okey to have there.. it should be installed under some new dir on rootfs partition. For example rootfs would be : 2010-11-14 16:38 - /qi-openwrt 2010-11-14 16:38 - /jlime 2010-11-14 16:38 - /debian 2010-11-14 16:39 (if debian is the new one) 2010-11-14 16:39 kernel mounts rootfs and should change the dir of root / (or init would do) before to continue booting 2010-11-14 16:39 (chroot) sure. that's what initrd/iniramfs is all about :) 2010-11-14 16:39 (tons of partitions) that idea scares me too :) 2010-11-14 16:40 wpwrak: I would like to think some nice way to have avoid many partitions and change that from time to time :) 2010-11-14 16:40 to have avoid = to avoid 2010-11-14 16:43 wpwrak: (chroot, initrd/initramfs).. cool, we should check how to manage that (no sure if uboot is happy with big kernels or if it currently can read initrd from outside of kernel) 2010-11-14 16:44 (shared /) hmm, that could get tricky if distributions make assumptions about the nature of /. e.g., that it corresponds to a device. not sure if this is an issue, though. 2010-11-14 16:45 another problem you'll have it rootfs size. one thing you could do to reduce it is hard-link identical files ;-) 2010-11-14 16:46 like this: iterate over all files. for each file, compute the md5sum. check in an associative array if it's already there. if not, store it, along with the path. if yes, delete the current file and hardlink it to the one previously found. 2010-11-14 16:46 may need a bit of adjusting to skip variable directories, e.g., /var and /etc 2010-11-14 16:47 (uboot limitations) uboot should die anyway :) 2010-11-14 16:47 (distributions making assumptions): well, if those are running under some chrooted dir these should not detect that right? whatever they do on /* would be made on their /distribution/* folder if I understand it okey 2010-11-14 16:48 (one kernel for everyone) i like the idea. not sure about the practical implications, though. 2010-11-14 16:49 (chroot) yes, but they could try to find out what the underlying device is and do something stupid with the information. again, not sure if this happens. i've never considered that case. you may be the first to find out ;-) 2010-11-14 16:50 (never) these mechanisms were introduced over ten years ago. do you know my paper on booting linux ? http://www.almesberger.net/cv/papers/ols2k-9.pdf 2010-11-14 16:51 paper: cool, let me see. Maybe I checked some time ago (when reading your web site) 2010-11-14 16:52 it explains some of the background. some of the stuff is obsolete now, e.g., the change_root mechanism. union mounts never happened. and kexec came a bit later, so it's not mmentioned. 2010-11-14 16:53 also, initrd is now initramfs. but by and large, the architecture is still the same. just that what was brand new back then is now the way it's always been ;-) 2010-11-14 17:16 wpwrak: I built a clean toolchain from OE "external toolchain" recipes, which are the proper ones to do that. No idea if it works .. let me test 2010-11-14 17:17 rafa: my greedy little hands are shaking :) 2010-11-14 17:19 wpwrak: I will upload so you can test as well :) .. it built two files : 2010-11-14 17:19 jlime-2010.1-2010.1-mipsel-linux-toolchain-extras.tar.bz2  jlime-2010.1-2010.1-mipsel-linux-toolchain.tar.bz2 2010-11-14 17:20 extras is things like sdl, gtk, ... ? 2010-11-14 17:20 wpwrak: let me tar tv.. 2010-11-14 17:23 wpwrak: no.. it has a lot of eglibc locale files and similar stuff very basic it seems 2010-11-14 17:23 wpwrak: but well, adding libsd and libsdl-dev ipk on toolchain should not be hard I guess 2010-11-14 17:24 wpwrak: I mean, if we need extra libs on toolchain we can download the ipks files and unpackage them on toolchain installation 2010-11-14 17:25 is there a tool to unpack an ipkg on the host ? 2010-11-14 17:25 (i.e., an opkg adapted for this purpose. i know we had one at openmoko, but i don't know what they had to change there) 2010-11-14 17:26 dpkg from ubuntu/debian can unpack.. but it just extract the files.. there is a opkg-cl 2010-11-14 17:26 which I do not know well 2010-11-14 17:28 wpwrak: I often add some libs downloading the ipk files and running something like "dpkg -x package.ipkg /toolchain/rootfs/dir/" 2010-11-14 17:30 ah, nice. that's easy :) 2010-11-14 17:35 wpwrak: http://downloads.qi-hardware.com/jlime/toolchains/ 2010-11-14 17:35 wpwrak: I do not know yet how to use them :D 2010-11-14 17:36 (yet) 2010-11-14 17:40 wpwrak: there is a file : ./usr/local/jlime-2010.1/mipsel/environment-setup which has an alias "opkg" and other stuff.. maybe that alias is useful to add packages to the toolchain 2010-11-14 17:58 let's see ... 2010-11-14 17:58 by the way, why 2 x 2010.1 ? 2010-11-14 17:59 wpwrak: no idea.. OE adds those .. when kristoffer was pushing jlime stuff on OE (at the beggining of this year).. he added that IIRC (2010.1) 2010-11-14 18:00 okay. random OE weirdness then :) 2010-11-14 18:00 wpwrak: surely there is a meaning.. which I do not know of course 2010-11-14 18:14 wpwrak: the openmoko toolchain wiki page explains how to use that ./usr/local/jlime-2010.1/mipsel/environment-setup file to add new libraries to the toolchain 2010-11-14 18:15 wpwrak: http://wiki.openmoko.org/wiki/Toolchain -> "Installing new libraries" 2010-11-14 18:21 oh. that thingy comes from OE directly. i always thought it was an OM-local hack 2010-11-14 18:22 hello.c compiles :-) 2010-11-14 18:22 wpwrak: yes, it seems that it comes from OE. That file which OE put into toolchain (./usr/local/jlime-2010.1/mipsel/environment-setup) set an opkg alias.. so it should be the proper way to add libs surely. 2010-11-14 18:23 wpwrak: hello.c compiles.. ah.. great!.. 2010-11-14 18:23 wpwrak: can you show me a basic Makefile for it? 2010-11-14 18:24 you mean like this ? http://pastebin.ca/1991668 2010-11-14 18:25 ben-wpan tools also compile. but that's still with SDL disabled. now, when I turn it on ... 2010-11-14 18:27 atrf-txrx also compiles, except for the -lSDL. very good so far. now, opkg ... 2010-11-14 18:28 pity, opkg-target update  doesn't work. that would have been too easy :) 2010-11-14 18:30 wpwrak: he.. which is the error? 2010-11-14 18:30 http://pastebin.ca/1991673 2010-11-14 18:31 wpwrak: easy.. there is not Packages.gz 2010-11-14 18:31 where do i find a compatible libsdl-dev ? 2010-11-14 18:31 wpwrak: opkg on nn uses just the Package file.. no Packages.gz.. let me upload the Packages.gz and you can re try 2010-11-14 18:32 wpwrak: and I will give you the packages of sdl as well : 2010-11-14 18:33 libs : http://downloads.qi-hardware.com/jlime/repository/ipk/mipsel/libsdl-1.2-0_1.2.14-r3_mipsel.ipk 2010-11-14 18:33 excellent customer service ! ;-) 2010-11-14 18:33 headers : http://downloads.qi-hardware.com/jlime/repository/ipk/mipsel/libsdl-1.2-dev_1.2.14-r3_mipsel.ipk 2010-11-14 18:33 you are luck that customer service know the libsdl packages :D 2010-11-14 18:34 now i still have to resolve the dependencies ... 2010-11-14 18:34 wpwrak: but we should try the opkg-update and friends.. I will try to upload the Packages.gz 2010-11-14 18:34 wpwrak: dependencies for libsdl?.. it should not have much 2010-11-14 18:35 libsdl (without -dev), libts, .. let's see what else ... 2010-11-14 18:36 tslib-conf. that's it 2010-11-14 18:37 complains about recommendation and tells me it's not running preinst/postinst scripts. let's see what happens now 2010-11-14 18:37 yes.. libsdl needs libts I see 2010-11-14 18:38 grmbl. sdl-config says -L/usr/lib :-( 2010-11-14 18:39 :( we need to use opkg surely.. preinst/postint scripts.. 2010-11-14 18:39 getting better. now just SDL_gfx is missing. searching ... 2010-11-14 18:39 you are fast :) 2010-11-14 18:40 successfully compiled ! :) 2010-11-14 18:41 now i need to install jlime to actually run it ... 2010-11-14 18:42 wpwrak: if you have a SD that is the easy way 2010-11-14 18:43 hm,, there must be some uSD cards around here ... 2010-11-14 18:46 well, i'll attack that problem tomorrow. still have to migrate my RF lab to a room where there's no bag of electrolytes wandering around, distorting the measurements. 2010-11-14 18:48 cool, I should write a bit explaining why those file are under downloads.qi and how to use them :) 2010-11-14 18:49 wpwrak: (makefile).. ah.. you just define CC.. great 2010-11-14 18:50 (for hello) 2010-11-14 18:50 wpwrak: i have done some first SDL test with not ptoblem using jlime on the Ben 2010-11-14 18:50 it would be great if  opkg-target update  worked. with that, almost everything would be automatic 2010-11-14 18:50 wpwrak: I will upload the missing Packages.gz so we can use opkg-target 2010-11-14 18:51 gfx? 2010-11-14 18:51 rafa: shouldn't opkg-target know where it can download Packages.gz ? 2010-11-14 18:51 ah you're cross compiling i see 2010-11-14 18:51 s/re/were 2010-11-14 18:52 wpwrak: yes.. that is explained on openmoko toolchain page as well I would say. But anyway, if we set the proper links for opkg-target it will not find the Packages.gz yet 2010-11-14 18:52 kristianpaul: i basically did this: http://pastebin.ca/1991698 2010-11-14 18:53 rafa: ah, i see. well, it's pretty close to perfection already :) 2010-11-14 18:54 he i'm using jlime just to avoid cross ompile and i wonder what you want with jlime then ;-) 2010-11-14 18:55 kristianpaul: so you're compiling directly on the ben/sie ? 2010-11-14 18:55 yes :D 2010-11-14 18:55 oh dear :) 2010-11-14 18:55 kristianpaul: well, we uploaded a new jlime toolchain on downloads.qi.. and it was built properly from OE (the previous one, on jlime.com, is old and it was just a tar.gz from the toolchain that OE built to build the rest of stuff, which is not the proper one to use) 2010-11-14 18:55 basically i like jlime because that 2010-11-14 18:55 jej 2010-11-14 18:56 wpwrak: sure not linux ;-) 2010-11-14 18:56 rafa: you me i can chroot that and feel like if i we're in jlime? 2010-11-14 18:56 i've heard of the following rather interesting approach: install a MIPS environment on the host. then set up qemu such that it gets invoked when you're trying to run a MIPS binary. (apparently, there's some way to accomplish this. i never tried, though) 2010-11-14 18:57 kristianpaul: so you just like jlime because we are a sex gcc thing? :( 2010-11-14 18:57 kristianpaul: ;) 2010-11-14 18:57 now, in order to speed up compilation, replace the MIPS toolchain with a native cross-toolchain. 2010-11-14 18:57 rafa: i like the X too :) 2010-11-14 18:57 and bunch of sofware 2010-11-14 18:57 even the one i dont know exists yet 2010-11-14 18:57 kristianpaul: well.. the toolchain just bring a proper env to crosscompile stuff.. no chroot I would say. But I could be wrong 2010-11-14 18:58 rafa: just kidding (gcc) sure i like all your hard work around GUI and support in news apps :) 2010-11-14 18:59 wpwrak: you would have to see what OE tries to do when you want to build the emacs* packages using OE.. and you would like to leave the IT world :P 2010-11-14 18:59 huh? 2010-11-14 19:00 rafa: what does it do ? :) 2010-11-14 19:00 kristianpaul: all is okey.. I was just kidding as well.. My stuff is just a bunch of ides from users and I tried to put that on some rootfs from OE ;) 2010-11-14 19:00 :) 2010-11-14 19:01 ah i tought wpwrak had already installed Jlime in their nanonote! 2010-11-14 19:02 hope he will do 2010-11-14 19:02 wpwrak: first, I do not exactly what it tries to do .. :D .. but ..it tried to use many GBs of disk space.. so I was checking WTF was doing.. Apparently.. it was trying to create a rootfs thing to use with qemu to build emacs.. and becuse the OE had already around 2GB of ipkg packages, it tried to put all of them under that rootfs being created 2010-11-14 19:03 I do not= I do not know 2010-11-14 19:04 wpwrak: it used around 100GB or more to say finally that he could not build emacs 2010-11-14 19:04 wpwrak: and it also did a lot more garbage in the middle 2010-11-14 19:05 rafa: sweet. did it also hack into the arecibo telescope and send a message back to its alien masters ? 2010-11-14 19:05 100Gb !! O_o 2010-11-14 19:06 kristianpaul: yes.. something was not working well surely :D.. some random temp or who knows 2010-11-14 19:07 rafa: btw is llvm in OE repo? 2010-11-14 19:08 maybe it's time to rename it then. EMACS was for Eight Megabytes And Constantly Swapping. 2010-11-14 19:08 (that was in an innocent age when 8 MB was considered a lot of RAM) 2010-11-14 19:12 wpwrak: (message for its alien mastesr) :D .. maybe it did and I did not realized 2010-11-14 19:14 jajaja 2010-11-14 19:15 i wonder if he dint realize nothing since began the porting 2010-11-14 19:19 kristianpaul: I see the recipes to build llvm and llvm2.. but I do not see the packages on repo.. maybe those did not build 2010-11-14 19:19 kristianpaul: I can check the logs 2010-11-14 21:08 [commit] Mirko Vogt: remove version string from /etc/banner - include it from /etc/VERSION instead to avoid unneeded redundancy http://qi-hw.com/p/openwrt-xburst/8ae840f 2010-11-14 21:08 [commit] Mirko Vogt: Export NanoNote specific global settings affecting QT4 applications. http://qi-hw.com/p/openwrt-xburst/3c816c4 2010-11-14 21:09 [commit] Mirko Vogt: remove version string from /etc/banner - include it from /etc/VERSION instead to avoid unneeded redundancy http://qi-hw.com/p/openwrt-xburst/ced8773 2010-11-14 21:09 [commit] Mirko Vogt: Export NanoNote specific global settings affecting QT4 applications. http://qi-hw.com/p/openwrt-xburst/6815dd8 2010-11-14 21:37 [commit] Xiangfu Liu: add terminal section http://qi-hw.com/p/openwrt-xburst/bcfe91e 2010-11-14 21:37 [commit] Xiangfu Liu: keep cleanup the /etc/banner http://qi-hw.com/p/openwrt-xburst/fa1e85f 2010-11-14 21:37 [commit] Xiangfu Liu: [gmenu2x] update http://qi-hw.com/p/openwrt-packages/7307bb1 2010-11-14 23:16 [commit] Wolfgang Spraul: merged xbboot.README into config.xbboot http://qi-hw.com/p/openwrt-xburst/3f32dab 2010-11-14 23:16 [commit] Wolfgang Spraul: Merge branch 'master' of projects.qi-hardware.com:openwrt-xburst http://qi-hw.com/p/openwrt-xburst/07b6dba 2010-11-14 23:17 strange, don't know where the second 'merge branch master' commit comes from...