2010-12-02 00:50 [commit] Xiangfu Liu: new package: moc, a console audio player http://qi-hw.com/p/openwrt-packages/d072c91 2010-12-02 02:01 [commit] kyak: delete accidental config.full_system.rej http://qi-hw.com/p/openwrt-xburst/bba48ac 2010-12-02 02:04 kyak: thanks. I am thinking first talk with Mirko. :) 2010-12-02 02:06 xiangfu: hm.. do you mean that this rej file could have been there for a reason? 2010-12-02 02:06 .. i thought it accidentaly got to commit 2010-12-02 02:07 kyak: no. let him know. because the commit is from Mirko. if I modify someone's commit. I would like let him know. :) 2010-12-02 02:07 kyak: yes. sure. 2010-12-02 02:07 oh, ok! 2010-12-02 02:07 xiangfu: btw, do you have any problems building fbterm/lynx? 2010-12-02 02:08 kyak: no, not at all. there is daily build in build host. all fbterm/lynx compile fine. 2010-12-02 02:08 kyak: by the way. thanks for your fix about nightsky configure file . 2010-12-02 02:14 xiangfu: np! 2010-12-02 02:14 mirko: hey! how's your problem with fbterm/lynx? 2010-12-02 02:15 mirko: xiangfu confirms that they build fine in a daily build on build host :) 2010-12-02 02:16 kyak: they do not 2010-12-02 02:16 not for me 2010-12-02 02:16 http://pastebin.com/x5Gt3CNj 2010-12-02 02:17 maybe it's a problem on my side, howeve ri do not have any idea what that could be 2010-12-02 02:18 kyak: do you know if the libmms patented ?? can we include the libmms in BNN openwrt image? 2010-12-02 02:19 xiangfu: http://msdn.microsoft.com/en-us/library/cc234711%28PROT.10%29.aspx :) 2010-12-02 02:21 xiangfu: have no idea about libmmss.. 2010-12-02 02:21 mirko:  hmm.. I just found the 'mpd' build with mms. what ever the "BUILD_PATENTED" set. 2010-12-02 02:22 "Patents. Microsoft has patents that may cover your implementations of the technologies described in the Open Specifications. " 2010-12-02 02:23 mirko: I just send out one patch email to openwrt list. there are two duplicate line  about enable-aac in mpd Makefile. 2010-12-02 02:23 mirko: then I found the libmms. 2010-12-02 02:23 mirko: your are building against 0.9.32 2010-12-02 02:23 you should enable locale in 0.9.32 2010-12-02 02:24 for 0.9.30.1 we have in in toolchain/uClibc/config-0.9.30.1/mipsel : 2010-12-02 02:27 UCLIBC_HAS_LOCALE=y 2010-12-02 02:27 UCLIBC_HAS_XLOCALE=y 2010-12-02 02:27 # UCLIBC_PREGENERATED_LOCALE_DATA is not set 2010-12-02 02:27 # UCLIBC_HAS_GLIBC_DIGIT_GROUPING is not set 2010-12-02 02:28 it might be a little differenet (more options?) in uClibc 0.9.32.. you can find it by running menuconfig in build dir of uClibc 2010-12-02 02:31 kyak: why this "UCLIBC_HAS_LOCALE" configure make fbterm not compile. (need learning :) 2010-12-02 02:32 xiangfu: libmms should be OK for now 2010-12-02 02:33 xiangfu: fbterm relies on several iconv functions, if i remember correctly. we had the patch for fbterm once, when we didn't have locale support.. Now that we have this local support, that patch is not necessary and it is.. 2010-12-02 02:33 I think we should only exclude patented technologies if we positively know someone is enforcing something. 2010-12-02 02:33 ..dropped.. let me find it 2010-12-02 02:34 xiangfu: this commit 2d7e398567856d8953b9f64576928573aae2c991 in openwrt-packages 2010-12-02 02:34 xiangfu: and i'm not sure about lynx, but it is something similar.. lynx (just like any other ncurses app) is not able to display utf-8 without locale support from uClibc 2010-12-02 02:40 kyak: thanks. 2010-12-02 02:41 wolfspraul: ok. then when openwrt fix the AAC. I will include the mpd in full_system 2010-12-02 05:54 mpd :) 2010-12-02 05:59 ah, is not needed eny more to run script..  command in openwrt in order to update feeds? 2010-12-02 06:00 huh? 2010-12-02 06:02 http://en.qi-hardware.com/wiki/Building_Software_Image 2010-12-02 06:03 scripts/feeds install  -a ... 2010-12-02 06:03 is not more the the this page 2010-12-02 06:08 is make package/symlinks there? 2010-12-02 06:08 if it is, then it's the same as feeds update & 2010-12-02 06:09 it is 2010-12-02 06:09 ah ok :) 2010-12-02 06:09 i just wanted try moc 2010-12-02 06:10 it's marked as BORKEN 2010-12-02 06:10 won't appear in menuconfig 2010-12-02 06:10 so you would have to modify the Makefile a bit 2010-12-02 06:10 ah well i must un broke it manually then 2010-12-02 06:11 and see why xiangfu decided to mark it so :) 2010-12-02 06:11 thanks for remenber that 2010-12-02 06:11 well is quite new 2010-12-02 06:11 hey adamwang :) 2010-12-02 06:12 kristianpaul, hihi 2010-12-02 06:31 watching moc screenshots.. not bad at all 2010-12-02 06:32 i bet it can support utf-8 if built against ncursesw 2010-12-02 06:41 mocp is great. it's what i use after the death of xmms. 2010-12-02 06:44 there was time, i used ncmpc 2010-12-02 06:45 i don't listen a lot of music now :) 2010-12-02 06:51 i used mocp for some time, but then i switched to mplayer :) 2010-12-02 06:54 it's like you were travelling on horse and now you are travelling on elephant :) 2010-12-02 06:55 why? All i need to do is mplayer /music/collection/*ogg 2010-12-02 06:55 sure, sure! i mean, mplayer is so powerfull as it seems to me :) 2010-12-02 06:56 i'm not a music maniac, when i feel a need to listen to, i simply launch that couple of tracks i have in one dir 2010-12-02 06:56 so mplayer is perfect for it 2010-12-02 06:56 and mocp is too bloated 2010-12-02 06:59 are yo uaware of < > keys that allow you to skep to the next track? :) 2010-12-02 07:14 (mocp) i want the playlist. all the supposed xmms replacements with a gui are way too greedy when it comes to screen real estate 2010-12-02 07:24 wpwrak_: (mocp) there is something wrong with moc package in openwrt-package.git. I am working on that now :) 2010-12-02 07:28 xiangfu: btw, don't want to disturb you, but i checked the usbboot output yesterday.. indeed it's a continous output to terminal. But as soon as i pipe it into something like | grep SUCCESS, the ouput turns into some kind of.. 2010-12-02 07:28 ..buffer 2010-12-02 07:28 maybe the output of usbboot needs to be fflushed in the usbboot itself 2010-12-02 07:29 i mean, need to fflush() each time after printf() 2010-12-02 07:29 i never noticed such behaviour in other software (think of tcpdump) 2010-12-02 07:36 kyak: thanks for the info. 2010-12-02 07:38 do you think we should add fflush() each time after printf()? I don't much care about the delay. :) 2010-12-02 07:39 i'm not even sure this will help. but yes, i would like to have a smooth indication, not that buffered-skipping output :) 2010-12-02 07:41 i know that some progress bars tend to display 0% to you - then, bam, it's 50%! and then you don't really know when it will end :) 2010-12-02 07:47 kyak: ok. if I have time  I will fix that. 2010-12-02 07:58 For music I use exactly mplayer like zear 2010-12-02 07:58 xiangfu: thanks! 2010-12-02 07:59 kyak: also I already cleanup the output message. disable some of them. 2010-12-02 08:00 kyak: if I fix the nerase 16 4080 0 0 problem. I will release a new usbboot. 2010-12-02 08:01 kyak: sometimes the 'nerase 16 4080 0 0" erase the bootloader which is not right. but for now I can not produce that. but from the nand erase code. seems there is something wrong deal with bad block. 2010-12-02 08:05 viric: I am using the mpc/mpd 2010-12-02 08:09 I still don't know those. 2010-12-02 08:09 Is anyone running the SIMD mplayer? 2010-12-02 08:16 in moc package. it always using the host library path . /usr/lib ... etc. 2010-12-02 08:33 xiangfu: 'host', you mean, the build system? 2010-12-02 08:33 some mix host/guest, build/host, and all that 2010-12-02 08:37 xiangfu: i hope cleaning up the output won't break the reflash_ben.sh :) the progress bar depends on specific messages output  by usbboot 2010-12-02 08:38 xiangfu: weird bug erasing the bootloader.. never happened to me 2010-12-02 08:38 what bug? 2010-12-02 08:38 i, however, usually reflash all three uboot/kernel/rootfs 2010-12-02 08:39 viric: see the message from xiangfu above 2010-12-02 08:39 Ah, the range 16 4080... I reported the problem. 2010-12-02 08:39 Very annoying 2010-12-02 08:40 xiangfu: you cannot reproduce it? I can try again back at home... 2010-12-02 08:40 viric: why are you erasing the whole NAND? 2010-12-02 08:40 is 4080 the whole NAND? 2010-12-02 08:40 yes 2010-12-02 08:40 16 is the end of uboot right? 2010-12-02 08:40 Well, all but the bootloader and the kernel 2010-12-02 08:40 ah, ok 2010-12-02 08:40 16 is the start of the rootfs 2010-12-02 08:42 what is you do 16 4060? 2010-12-02 08:42 i.e. leave some space a little bit (for bad blocks?) 2010-12-02 08:42 viric: I cann't reproduce that. but from the source code. : http://projects.qi-hardware.com/index.php/p/xburst-tools/source/tree/master/usbboot/xburst_stage2/nandflash_4740.c#L339 2010-12-02 08:42 *what if you do 2010-12-02 08:42 viric: when there is a bad block. it's will skip the block, but not run i++, which mean : 2010-12-02 08:43 I see 2010-12-02 08:43 seems that you need bad blocks to reproduce that :) 2010-12-02 08:43 1. if you want erase 10 blocks.  2 there is one bad block in the 10-blocks. 3. it will erase 11 blocks. 2010-12-02 08:43 ah... 2010-12-02 08:44 In fact, the command said something like it overrun 2010-12-02 08:44 almost every 2 GB nand chip should have a few bad blocks 2010-12-02 08:45 would it overrun, if it asks for somethign beyond the last block? 2010-12-02 08:45 wolfspraul: is it tested at production line? 2010-12-02 08:45 kyak: hmm..  we just need know, if we pass the >4096 blocks address, what the nand chip do. 2010-12-02 08:45 xiangfu: right 2010-12-02 08:45 it would bite it's tail 2010-12-02 08:46 i.e. start from block 0 2010-12-02 08:46 i.e. reflash the bootloader :) 2010-12-02 08:46 we need to make sure. 2010-12-02 08:46 So 2010-12-02 08:46 I tried more than once the nerase 16 4080 2010-12-02 08:46 And it always erased the bootloader 2010-12-02 08:46 I can't remember if it also erased the kernel 2010-12-02 08:47 viric: you can detect the number of bad blocks gradually decreasing this 4080 :) 2010-12-02 08:52 viric: can you try this stage2: http://downloads.qi-hardware.com/people/xiangfu/tmp/xburst_stage2.bin 2010-12-02 08:52 viric: by : sudo usbboot -2 ./xburst_stage2.bin -c "boot;nerase 16 4080 0 0" 2010-12-02 08:53 viric: 1. reflash the bootloader to your nanonote. 2. sudo usbboot -2 ./xburst_stage2.bin -c "boot;nerase 16 4080 0 0" 2010-12-02 08:53 hm 2010-12-02 08:53 I'll try. 2010-12-02 08:53 viric: what is the last message when you do 'nerase 16 4080 0 0' 2010-12-02 08:53 For me it's easier to build the stage2. That isn't commited anywhere 2010-12-02 08:53 ? 2010-12-02 08:53 viric: here is "Force erase, no bad block infomation!" 2010-12-02 08:54 viric: not yet commit. 2010-12-02 08:54 ok 2010-12-02 08:55 why would I need to reflash the bootloader? Does it matter? I have a good bootloader already :) 2010-12-02 08:55 (can you remind me the letter in the mailing list? :) 2010-12-02 08:55 viric: you just said the nerase your bootloader, so I just guess there is no bootloader in your nanonote. sorry. 2010-12-02 08:55 viric: yes. sure. 2010-12-02 08:56 xiangfu: ah, when I noticed that the bootloadear was erased, I flashed  it anew. 2010-12-02 08:57 viric: this stage2 only delete the line 339, http://projects.qi-hardware.com/index.php/p/xburst-tools/source/tree/master/usbboot/xburst_stage2/nandflash_4740.c#L339 2010-12-02 09:00 cur += ppb; ? 2010-12-02 09:00 yes 2010-12-02 09:00 ok 2010-12-02 09:01 I'll try only once at home 2010-12-02 09:01 (in some hours) 2010-12-02 09:03 viric: right, never accept binary files from strangers ;) 2010-12-02 09:05 never :) 2010-12-02 09:05 kyak: viric here is the compile log of moc. it started. then give a  Segmentation fault 2010-12-02 09:06 hmm I did not have any interest in running ;) 2010-12-02 09:06 do you ask for help getting it to work? 2010-12-02 09:06 in running *it* 2010-12-02 09:06 strace might give some hints 2010-12-02 09:06 for a segfault? :) that would be good chance 2010-12-02 09:06 gdb helps more 2010-12-02 09:07 everything is stripped in openwrt 2010-12-02 09:07 would require a complete rebuild to make use of gdb 2010-12-02 09:07 strace gave me useful hints couple of times 2010-12-02 09:07 debug info in mpc only could be enough 2010-12-02 09:08 debug info in a single package didn't help me when i tryed debuggin stardict :) 2010-12-02 09:08 too bad, I just run the "nerase 16 4080 0 0", don't have rootfs any more. :( 2010-12-02 09:10 xiangfu: btw, should we perhaps enable debug and gdb in config.minimal? or maybe create a config.debug? 2010-12-02 09:10 kyak: we should document how to zoom in on particular bugs with gdb 2010-12-02 09:10 xiangfu: that is what it should do. Erase the rootfs. :) 2010-12-02 09:10 yes! :-) that's just what I wanted to write 2010-12-02 09:10 might be usefull in such cases 2010-12-02 09:10 config.debug or so 2010-12-02 09:10 you are crazy. You did not have means to debug?: ) 2010-12-02 09:11 we do. don't you see, we already agreed to have config.debug? :) 2010-12-02 09:11 hehe 2010-12-02 09:12 it's easier than you think 2010-12-02 09:12 ok 2010-12-02 09:12 just enabling couple of options in menuconfig 2010-12-02 09:12 you use uclibc, right? 2010-12-02 09:12 we do, however, this is adjustable 2010-12-02 09:13 nice 2010-12-02 09:14 are you basing on uclibc, too? 2010-12-02 09:14 now I'm using glibc 2010-12-02 09:14 I can try to switch... 2010-12-02 09:14 are you suffering of spped decrease or something? is it even noticeable? 2010-12-02 09:15 I'm not comparing. I don't know. :) 2010-12-02 09:15 oh ok 2010-12-02 09:15 I don't notice anything special. 2010-12-02 09:15 it would be initersting to build against glibc 2010-12-02 09:15 i remember someone developed simple benchmark in lua for Ben 2010-12-02 09:16 if you have any benchmark I should try... I can 2010-12-02 09:16 mm 2010-12-02 09:16 somewhere in the mailing list 2010-12-02 09:16 would be very intetsrting to compare indeed 2010-12-02 09:16 (and with jlime, too) 2010-12-02 09:17 let's start a contest :) 2010-12-02 09:18 ...and start by finding this mail :) 2010-12-02 09:18 kyak: see the line 109 : http://pastebin.ca/2008602 2010-12-02 09:19 it try to using HOST lib path. I  just don't know how to set it to $(STAGE_DIR)/lib ... 2010-12-02 09:20 I try to export the "LD_LIBRARY_PATH" before configure. but it's still output like "/lib/x86_64-linux-gnu  ..." not openwrt path. 2010-12-02 09:21 xiangfu: hm... need to have a look at configure script 2010-12-02 09:21 xiangfu: i'll try it later and let you know 2010-12-02 09:24 kyak: can you commit an initial config.debug, same concept as config.minimal, just with the debugging essentials included as well 2010-12-02 09:25 wolfspraul: sure, will do it 2010-12-02 09:26 (when i have it ;) 2010-12-02 09:28 can't seem to find that benchmark... 2010-12-02 09:32 was it about memset or memcpy? 2010-12-02 09:34 i see some messages about that,too.. not sure 2010-12-02 09:34 it was something different 2010-12-02 09:35 I did not search. I simply have something in mind about that. 2010-12-02 09:35 As if I had read it. 2010-12-02 09:35 kyak: can you build 'binutils' for your nanonote in openwrt, with uclibc? It's not trivial to link (it wants libutil from glibc). 2010-12-02 09:37 yes, it's ported 2010-12-02 09:38 great. thank you .) 2010-12-02 09:38 :) 2010-12-02 09:40 xiangfu: seems that the default library search path for moc can be overridden by lt_cv_sys_dlsearch_path 2010-12-02 09:41 like CONFIGURE_VARS+=lt_cv_sys_dlsearch_path=$(STAGING_DIR)/usr/lib 2010-12-02 09:42 kyak: can we modify the "configure.in" ? 2010-12-02 09:43 i think so.. i'd prefer the CONFIGURE_VARS way (no need for patch) 2010-12-02 09:45 kyak: re-compiling . 2010-12-02 09:52 viric: can't find it -\ i guess it was my imagination 2010-12-02 09:52 xiangfu: have to go now. good luck to you :) 2010-12-02 09:53 kyak, same error. 2010-12-02 09:54 kyak: http://pastebin.ca/2008625 2010-12-02 10:25 [commit] Werner Almesberger: usrp/fscan: results are now quite stable, so 20 instead of 100 runs are enough http://qi-hw.com/p/ben-wpan/60d78fd 2010-12-02 10:25 [commit] Werner Almesberger: usrp: adjust outlier rejection and signal range for improved antennas http://qi-hw.com/p/ben-wpan/c2b489d 2010-12-02 10:25 [commit] Werner Almesberger: atusb: rearrange I/Os for new layout http://qi-hw.com/p/ben-wpan/36ea2be 2010-12-02 10:25 [commit] Werner Almesberger: atusb.brd: new layout (in progress) http://qi-hw.com/p/ben-wpan/ecaab60 2010-12-02 11:50 so what's ash equivalent of .bashrc? 2010-12-02 11:51 that reminds me of... 2010-12-02 11:51 nvm found it 2010-12-02 11:51 .profile 2010-12-02 11:51 Somehow, 'dropbear' called shell (bash) does not source /etc/bashrc when running commands like "ssh root@nano ls" 2010-12-02 11:51 bartbes: 'profile' is for interactive shells. .bashrc is for non-interactive shells. 2010-12-02 11:51 .bashrc is for bash 2010-12-02 11:51 :P 2010-12-02 11:52 no 2010-12-02 11:52 .bashrc is the rc script for bash for non-interactive shells 2010-12-02 11:52 .bash_profile is the rc script for bash for interactive shells 2010-12-02 11:52 which have /etc mates: /etc/bashrc and /etc/profile 2010-12-02 11:52 (usually) 2010-12-02 11:53 .profile != .bash_profile 2010-12-02 11:54 hmm anyway, I just need an env var set 2010-12-02 11:55 it didn't work btw 2010-12-02 11:55 :D 2010-12-02 11:56 why you run ash? 2010-12-02 11:56 because it's the default? 2010-12-02 11:56 I hate ash, because it confuses me making me think it's bash. :) 2010-12-02 11:56 it's the one is busybox 2010-12-02 11:56 can't you put bash? 2010-12-02 11:56 hmm but that one isn't in busybox 2010-12-02 11:56 and wolfspra1l said that ash is *very* resource efficient 2010-12-02 11:57 anyway, I guess ash isn't executed as login shell, and that's why it ignores .profile 2010-12-02 11:57 it is.. 2010-12-02 11:57 bash is not efficient at all 2010-12-02 11:58 I have to choose whether to sacrifice my time learning ash, or sacrifice cpu cycles due to bash inefficiency :) 2010-12-02 12:00 /etc/profile is where it's at ;) 2010-12-02 12:00 what would you need to learn about ash? 2010-12-02 12:00 it does not like some 'bashisms' I write 2010-12-02 16:32 wpwrak_: may it be that the SD works faster than the nand then? 2010-12-02 16:32 kyak: thought of any benchmark? 2010-12-02 16:54 grr 2010-12-02 16:54 I'm trying to build a *single applet* of busybox 2010-12-02 16:55 And I don't know how to parse its '.config' for it to do only the applet I want 2010-12-02 16:58 ah.. 'allnoconfig' may help 2010-12-02 17:14 wardriving :) 2010-12-02 17:14 new word to my dictionary 2010-12-02 17:46 viric: (sd > nand) i remember than someone said so a while ago 2010-12-02 17:48 viric: dunno how much of this is error correction and such, though. the "naked" NAND ought to be faster, given that its bus is twice as wide and it's an internal bus. 2010-12-02 19:05 [commit] Werner Almesberger: atusb.brd: more layout work (on-going) http://qi-hw.com/p/ben-wpan/20c0517 2010-12-02 19:05 [commit] Werner Almesberger: atusb: added bottom ground zones (on-going) http://qi-hw.com/p/ben-wpan/8a3a428 2010-12-02 19:05 [commit] Werner Almesberger: atusb/atusb.brd: added ground zones on front layer as well http://qi-hw.com/p/ben-wpan/c7d485a 2010-12-02 21:31 [commit] Werner Almesberger: atusb: move traces to coincide with thermal relief http://qi-hw.com/p/ben-wpan/a641eb7 2010-12-02 21:31 [commit] Werner Almesberger: atusb: bumped version number to 20101202 http://qi-hw.com/p/ben-wpan/fb26941 2010-12-02 21:31 [commit] Werner Almesberger: atusb/cam: updated CAM process for new board http://qi-hw.com/p/ben-wpan/876e12b 2010-12-02 22:06 [commit] Werner Almesberger: atusb: add automatic board revision detection; clean up feed line http://qi-hw.com/p/ben-wpan/b8877e0 2010-12-02 22:27    ~. 2010-12-02 22:36 [commit] Xiangfu Liu: add -Vall to alsamixer, for display MIC stuff http://qi-hw.com/p/openwrt-xburst/df2cf67