<rjeffries_> tuxbrain tuxbrain_away re WPAN shield for arduino: there are a few 802.15.4 boards already. e.g. Zigbee protocol uses same radio as 6LoWPAN so may not need to develop hardware
<wpwrak> Jay7: i think that's the kind of test that probes certain cosmological constants :)
<wpwrak> tuxbrain: so you're considering to fab the wpan stuff ?
<wolfspraul> wpwrak: we are thinking how to speed up, and maybe with David's new UBB production experience I can outsource to David :-)
<wolfspraul> just thinking right now
<wpwrak> oh, i very much like the concept :)
<wolfspraul> Adam is squeezed hard to make a great milkymist rc3 run
<wpwrak> location independence is one of the great things open hardware should give us
<wolfspraul> totally
<wolfspraul> I only have 2 Milkymist One left
<wolfspraul> so if another two daring pioneers come along, I'm out of stock
<wpwrak> in fact, i hate it each time when someone says "wolfgang/sharism should do this or that"
<wpwrak> (mm1) nice :)
<wolfspraul> I think most people get the copyleft hardware concepts...
<wolfspraul> it's not that hard, one just has to think about copyleft a little :-)
<wpwrak> how many bens do we have to get rid of ?
<wpwrak> (adam) would be good if he could at least check if there are any obvious production issues. also, if tuxbrain produces them, he'll need a way to flash the firmware
<wpwrak> the dfu boot loader isn't ready yet. the only approach for flashing anything so far is via the atusb-ben cable
<wpwrak> also, in the future, fab flashing will need that cable
<wpwrak> if you want to outsource it to tuxbrain, would adam send his devices to spain ?
<wpwrak> minimum requirement for production is the atusb-ben cables (well, one that works. two to be sure there's at least one)
<wpwrak> production testing can also be bootstrapped from a production run, particularly if out aim is "prototype quality"
<wpwrak> s/out/our/
<wolfspraul> of course Adam can send anything to Spain, I need to send a few things anyway
<wolfspraul> that's no problem at all
<wolfspraul> just consider the two tightly linked :-)
<wpwrak> which two ?
<wolfspraul> Tuxbrain and Adam
<kyak> viric: (memory usage) could be intersting, is it something different from ps aux?
<wpwrak> tuxbrain: what i don't know yet is the kicad-to-smt process. adam should have that (from the mm1 jtag)
<wpwrak> wolfspraul: ah, okay :)
<wolfspraul> yes and he was writing some wiki pages about it, although they are wip
<kyak> xiangfu: could we please rebase again, there was a compilation fix backported? :)
<wpwrak> very good :)
<wpwrak> tuxbrain's kicad-to-pcb was extremely painless. that's good. they politely ignored a few constraints but that didn't cause any real troubles.
<xiangfu> kyak: yes. sure.
<rjeffries_> David's experience with fisrt run of pcbs for UBB was fine. does he also have a goor vendor for assembly?
<tuxbrain> wpwrak: what constrains?
<tuxbrain> wpwrak wolfspraul: (at* prodution) well at least let's chek if is economically feasible, pcb part seems quite good quality/price ratio, now is time to see if smt is also that good, as you know I have NFI on such procces and what I can learn reading maybe is totally different from what the manufacturer expects :P
<tuxbrain> rjeffries: yes I have a pair of vendors to ask with good reputation on quality, now let's check price :)
<rjeffries_> nods
<wpwrak> tuxbrain: the constraints on there to put the tabs (the stuff you had to remove). also, i don't know if they checked with you than tin/hasl is okay instead of enig finish
<wpwrak> tuxbrain: for me, that's the kind of things to remember for occasions when it actually matters. with ubb, it wasn't an issue. if you were making 100kunits, for example the cleanup it would be.
<kyak> xiangfu: btw. I tried to follow your instructions in wiki for rebasing, they don't quite work. I made some minor corrections. I followed the steps, but wasn't brave enought to push -f :)
<kyak> xiangfu: there were no confilicts btw, i guess due to the fact that they have been alreadu resolved by previous rebases?
<xiangfu> yes. when some confilicts resolved . will not come up again.
<rjeffries_> wpwrak i was wondering about that issue. with the pcd house that quoted UBB for me, we made quite a big deal re: requirement to carefully machine or laser cut UBB
<kyak> xiangfu:  maybe we could also do rebasing automatically in case there are no conflicts? i.e. daily?
<rjeffries_> wpwrak I read your c.v. Mr DiffServ
<kyak> and if there are conflicts, no rebasing
<xiangfu> kyak: hmm...
<xiangfu> rebase daily, scare me a little. I am not sure about this. I also worry about  broken the git history. lose some commits
<kyak> xiangfu: ok, i don't insist. Maybe it's best done as manual job, i agree
<xiangfu> kyak: maybe we should keep the 'data' folder to another repo.
<xiangfu> most of the commit is about 'data' folder.
<qi-bot> [commit] Xiangfu Liu: disable CONFIG_ALL, add Tile and gottet http://qi-hw.com/p/openwrt-xburst/4202dc5
<qi-bot> [commit] kyak: config.full_system: add supertux, terminus-font http://qi-hw.com/p/openwrt-xburst/e5d5c44
<qi-bot> [commit] kyak: config.full_system: build gcc-mips, make, binutils as modules. Remove http://qi-hw.com/p/openwrt-xburst/2561764
<qi-bot> [commit] kyak: config.full_system: remove "=m" packages http://qi-hw.com/p/openwrt-xburst/72266f2
<qi-bot> [commit] kyak: don't include ghostscript and fbgs into rootfs, build as modules http://qi-hw.com/p/openwrt-xburst/98e2046
<qi-bot> [commit] David Kühling: config.full_system: fix name of gnuplot package (was renamed a long time ago) http://qi-hw.com/p/openwrt-xburst/86be5ac
<qi-bot> [commit] Xiangfu Liu: add zgv, MPlayer, brainless http://qi-hw.com/p/openwrt-xburst/d1b141a
<qi-bot> [commit] Xiangfu Liu: remove custum banner, focus on 100% upstream, http://qi-hw.com/p/openwrt-xburst/cfa528f
<qi-bot> [commit] kyak: config.full_system: add setterm http://qi-hw.com/p/openwrt-xburst/fe70e9c
<qi-bot> [commit] kyak: config.full_system: include GNU tar http://qi-hw.com/p/openwrt-xburst/a821111
<qi-bot> [commit] Lars-Peter Clausen: [package] ks7010: Remove debug printks http://qi-hw.com/p/openwrt-xburst/da9332b
<qi-bot> [commit] Lars-Peter Clausen: [xburst] jz_mmc: Drop warning about spares irqs. http://qi-hw.com/p/openwrt-xburst/669ebc7
<qi-bot> [commit] Lars-Peter Clausen: [xburst] Improve mounttime. http://qi-hw.com/p/openwrt-xburst/03298f1
<qi-bot> [commit] kyak: have sound modules built in kernel http://qi-hw.com/p/openwrt-xburst/b7e305d
<qi-bot> [commit] Xiangfu Liu: reflash_ben.sh, new option b k r, reboot device after reflash http://qi-hw.com/p/openwrt-xburst/b0b471f
<qi-bot> [commit] kyak: add sound options to default config, so that it won't popup http://qi-hw.com/p/openwrt-xburst/9c1f8ec
<qi-bot> [commit] Xiangfu Liu: config.full_system: add openssh-sftp-server http://qi-hw.com/p/openwrt-xburst/53228b5
<qi-bot> [commit] Xiangfu Liu: update opkg.conf, don't using /tmp keep packages information http://qi-hw.com/p/openwrt-xburst/5144826
<qi-bot> [commit] kyak: config.full_system: busybox enhancements http://qi-hw.com/p/openwrt-xburst/7b32b8b
<qi-bot> [commit] kyak: config.full_system: more busybox options http://qi-hw.com/p/openwrt-xburst/b4dc884
<wpwrak> commit war ;-)
<xiangfu> kyak: just update the wiki page: http://en.qi-hardware.com/wiki/Git#rebaseing_output
<xiangfu> kyak: if your rebaseing output is >=154 commits like the wiki page. then everything is fine. we don't lose anything :)
<xiangfu> wpwrak: is there a way to connect ben nanonote and milkymist by using UBB ?
<xiangfu> can we emulate the UART protocol by software though UBB?
<tuxbrain> xiangfu: quick answer nop
<tuxbrain> wpwrak: will give you a more elaborated answer :P
<xiangfu> I connect ben nanonote and milkymist  through ben nanonote serial console. then nanonote became very un-stable. very easy reboot.
<wpwrak> xiangfu: i don't know of any easy way of connecting then via ubb. however, mm1 has usb host and ben is usb device, so ... :)
<wpwrak> xiangfu: console problems are a bit surprising
<xiangfu> wpwrak: yes. that is one of idea. kristianpaul and me also talk about other method :) like UART, UBB :)
<xiangfu> wpwrak: and 'minicom' 'picocom' totally not working. those program can send out data. but can not receive anything.
<xiangfu> wpwrak: I have to using those commands: "stty -F /dev/ttyS0 raw 115200; while : ; do cat /dev/ttyS0 ; done &  cat > /dev/ttyS0"
<xiangfu> make is work for awhile.  if I press 5 times 'enter' the nanonote will reboot.(kernel panic)
<xiangfu> wpwrak:  tuxbrain  by the way. I found this : > I found this http://git.korsgaard.com/cgi-bin/gitweb.cgi?p=hid-gadget;a=summary
<wpwrak> hm, very strange. in general, minicom ought to work (if you turn off hardware flow control and all that)
<xiangfu> PC --- nanonote works fine
<wpwrak> if you have a scope, it would be useful to look at the signals
<xiangfu> PC ---- milkymist works fine
<xiangfu> nanonteo --- milkymist . there are some problem.
<xiangfu> wpwrak: oh, yes. don't have that. also don't know how to use that. :( sorry
<xiangfu> and not easy to borrow that for me.
<wpwrak> xiangfu: if you say "then nanonote became very un-stable. very easy reboot.", what does that mean ?
<wpwrak> xiangfu: (scope) oh, you really ought to get one. rigol makes nice scopes. and they're not very expensive.
<xiangfu> wpwrak: 1. run "stty -F /dev/ttyS0 raw 115200; while : ; do cat /dev/ttyS0 ; done &  cat > /dev/ttyS0"
<xiangfu> then if I input slowly. everything works fine.
<xiangfu> if I press 'enter' five times and a little faster. the nanonote have kernel panic. then reboot
<wpwrak> wow
<xiangfu> wpwrak: (rigol) search the price now :)
<wpwrak> (kernel panic) do you know where it panics ?
<wpwrak> (rigol) xxxxC. xxxxCD. xxxxE, and xxxxD are good
<wpwrak> (rigol) xxxxCA and xxxxB are less fun ;)
<wpwrak> (rigol) xxxxC/CD/D/E have a lot of memory
<wpwrak> oh, and with xxxx i really mean 1xxx. there's also a 6xxx (?) series. they're top-end and expensive. they may be very good, but i don't have any real-life information about them.
<kyak> xiangfu: thanks :) and yeah, it's a good idea to move data/ somewhere...
<xiangfu> wpwrak: (kernel panic) not record that, I will try to catch the message next time.
<kyak> xiangfu: hm, i noticed there are problems building plplot on buildhost.. Strange, it built fine for me
<xiangfu> kyak: it's just re-export the PERL module again.
<xiangfu> before compile plplot
<kyak> xiangfu: i don't need it, builds fine here :) i'm just following your last100 buildlog
<xiangfu> kyak: I am not apply this "fix-plplot-not-compile-in-buildhost.patch" in daily build.
<kyak> ah, ok!
<kyak> anyway, except for this plplot issues config.full_system must build fine now
<xiangfu> wpwrak: how much is 1xxxC/CD/D/E in your local. the "DS1052E" in China is ~2000RMB, ~300USD.
<xiangfu> kyak: ok. enable the patch now :)
<xiangfu> kyak: (data folder). what do you think. create a individual repo or add it to openwrt-package.git?
<kyak> xiangfu: individual repo sounds better, because openwrt-packages will only show up under the "feeds/"?
<kyak> xiangfu: but i'm not sure how we can have files from two git repos in one working directory?
<xiangfu> kyak: (show up in feeds/) we need create symlins anyway. ln -s data/qi_lb60/files or ln -s feeds/qipackage/nanonte-openwrt-files/data/file
<xiangfu> cp data/qi_lb60/config.full_system or cp feeds/qipakcages/nanonte-openwrt-files/data/qi_lb60/config.full_system
<xiangfu> that mean . 1. needs run make package/symlinks 2. setup the symlinks to files/  3. copy the config.full_system 4 run make pakcage/symlinks again.
<xiangfu> the individual repo: for me it needs git clone twice. 1. openwrt-xburst.git 2. nanonote-openwrt-files.git
<xiangfu> the openwrt-package.git repo: it just not a package.
<wolfspraul> xiangfu: keep data/ in a separate repo sounds right to me
<xiangfu> wolfspraul: kyak  ok. I will create a new repo. name: openwrt-nanonote-data.
<kyak> xiangfu: how it will work with individual repo/
<kyak> ?
<xiangfu> kyak: manually . git clone twice.  run 'ln -s ' manually
<kyak> i mean, we will git clone in openwrt-xburst/openwrt-nanonote-data and then ln -s openwrt-nanonote-data data?
<kyak> hm....
<kyak> so it means cloning three times
<kyak> counting the openwrt-packages
<kyak> can we setup git to clone remote automatically
<kyak> ?
<kyak> so we only have to update openwrt-xburst git, and then it wil update openwrt-nanonote-data git automatically?
<xiangfu> (write a script file :)
<xiangfu> the 'git update'' can be 'git pull' 'git fetch' ...
<xiangfu> I dont' know how to hook git update
<kyak> maybe the idea to put data/ in openwrt-pacakges is not so bad after all
<kyak> then we only hve to install one symlink
<xiangfu> I even found we can create a 'Makefile' under data/
<xiangfu> like :
<xiangfu> all:
<kyak> he, that's a great idea :P_
<xiangfu> cd ../../../; ln -s  feeds/qipackage/data/qi_lb60/files)
<xiangfu> wolfspraul: kyak I think put it to openwrt-packages.git is better for me. (not makefile, just mv the data/ to openwrt-package.git/nanonote-files/)
<xiangfu> 1. files/* : those are files that overwrite the openwrt default files.
<kyak> i would agree, since there is no good way to handle another git repo from within the git repo
<xiangfu> we can create a package for 'data/' then we can using 'opkg' update those overwrite files
<xiangfu> 2. keeps config.* and build reflash_ben.sh scripts file in nanonote is not a bad idea
<xMff> for reflashing the nanonote itself?
<xiangfu> xMff: no. this reflash_ben.sh is running in host . since there is no usb-host in nanonte. we can not run 'usbboot' inside nanonote.
<xiangfu> xMff: ( is there is a usb-host. we can using one nanonote flash another nanonote. :P )
<xMff> xiangfu: I just wondered about "keep reflash_ben.sh in nanonote"
<xMff> erm keep -> build
<xiangfu> there are some files under data folder.
<xiangfu> data/qi_lb60/scripts/build
<xiangfu> data/qi_lb60/scripts/reflash_ben.sh
<xiangfu> 'build' and 'reflash_ben.sh'
<Jay7> why not reflash u-boot/kernel from NN? :)
<Jay7> it should be possible by nandwrite/mtdwrite
<xiangfu> Jay7: there is one command 'mtd.nn' can flash kernel and rootfs but not u-boot
<Jay7> is u-boot stored somewhere out of NAND?
<kyak> xiangfu: have you checked if kernel/rootfs flashing is faster or slower from Ben or from PC?
<xiangfu> Jay7: no. when JZ4720 boot. it load first 8KB of nand. but it assume that the nand is 2KB. so when we flash the u-boot we have to write 2KBdata-2KBecc. PAD to 4KB; ...
<xiangfu> xMff: sorry for confuse
<xiangfu> Jay7: do you know is there is  a software can calculate the ECC just like soc does?
<xiangfu> kyak: reflash rootfs is much faster
<Jay7> xiangfu: hm.. no.. can you ask Ingenic? :)
<Jay7> but u-boot updating is relatively rare operation
<xiangfu> kyak: ok. let's move the data to openwrt-package.git
<qi-bot> [commit] Xiangfu Liu: move data/ folder from openwrt-xburst http://qi-hw.com/p/openwrt-packages/b36c84b
<qi-bot> [commit] Xiangfu Liu: new package: nanonote-data-files http://qi-hw.com/p/openwrt-packages/47618a2
<xiangfu> wolfspraul: ^ I decide move data/ to openwrt-package.git and create a package for those overwrite-files
<qi-bot> [commit] Xiangfu Liu: move those files to openwrt-package.git http://qi-hw.com/p/openwrt-xburst/3b6e325
<wolfspraul> sure, sounds good. I didn't think about the details, if it's not easy in daily use, we change again.
<kristianpaul> Jay7: (u-boot updating is relatively rare operation) we're rare people, or i think relflash script for the ben do that some often :-)
<kristianpaul> wpwrak: (nn + mm1 = nn crash) may be speed?
<wpwrak> ah. that was a nice restful 5h sleep :)
<wpwrak> kristianpaul: (crash) no idea what it is. sounds very strange to me. maybe otpower.
<wpwrak> s/ot/it's not the communication itself but the content of the communication, or/
<wpwrak> Jay7: (can't flash u-boot) sounds all like a sw problem :)
<wpwrak> wolfspraul: ah, how's --exclude-board-edges coming along ? ;-)
<wpwrak> (just found the reminder in ubb's makefile ... :)
<viric> kyak: of course it is differente from ps aux :D
<viric> larsc: do you know, why the 2.6.36 in my nanonote does not have /proc/PID/smaps ?
<viric> larsc: I've a mips malta running, and it has it.
<wolfspraul> wpwrak: no coding yet, but thanks for the reminder, I just have to do it :-)
<wolfspraul> I have a nasty payment gateway deadline to work against, otherwise they will cancel the account etc. etc.
<wpwrak> wolfspraul: killing the color changing bug in eeschema would also be nice :)
<viric> #ifdef CONFIG_PROC_PAGE_MONITOR
<viric> found!
<wpwrak> wolfspraul: with --exclude-board-edges, i could generate fab files at least for making pcbs with just a "make" run
<viric> does the kernel.org 2.6.37 have all for a nanonote already?
<wpwrak> wolfspraul: ... which would bring us one step closer to disproving sean's "you can't \"make\" hardware" :-)
<roh> hrhr
<kyak> viric: well, throw it at me then, i'm willing to run it for comparison :)
<viric> kyak: I've just built a kernel for the nanonote with the proper options
<kyak> viric: yeah, the # CONFIG_PROC_PAGE_MONITOR is not set
<kyak> i will have a look at memstat later
<kyak> viric: does CONFIG_PROC_PAGE_MONITOR add any overhead?
<kyak> to the running kernel
<viric> kyak: in the linux world, unfortunately, is very hard to tell
<kyak> heh, ok
<viric> kyak: did you try memstat on a more powerful linux than the nanonote?
<kyak> viric: hm nope, should i? I thought we wanted to compare glibc/uclibc?
<viric> kyak: well, that's one thing
<viric> but I wrote it also to help me in the PC :)
<kyak> viric: hm, where do i download the source?
<kyak> the web interface doesn't look trivial :)
<viric> :)
<viric> login anonymously
<viric> last trunk revision -> zip archive
<viric> I should put some link...
<viric> link written
<kyak> ok, it's running
<kyak> now i need to read to know the meaning of columns :)
<kyak> 95008   73866   218212  114084  89203   12700   TOTAL
<kyak> running the openwrt build at the moment..
<viric> '-h' tells you more
<viric> Some totals (sums of the columns) are not helpful, like the sum of RSS
<viric> but they are there. Maybe I should take them away.
<kyak> heh, do you think "Sum of virtual size of anonymous pages" is any more helpful? :) I have to google every word
<kyak> the comparison between processes is interesting
<kyak> somehow ircd process is "lighter" than eggdrop
<viric> :D
<kristianpaul> wpwrak: about content i think the is a small issues about a missing \n but i dont see what it should reboot the ben
<kristianpaul> I'll take a look tomorrow that i'm at home with the scope :-)
<viric> kristianpaul: you have to go *home* for a oscilloscope?
<viric> what a world... Most people I know has to go *to the office* for an oscilloscope :)
<kristianpaul> viric: yeap, at work/office there is _nothing_, well there a soldering station  wich i'm not allowed to use and a multimtere somwhere ;-)
<wpwrak> kristianpaul: is that ben-mm1 conflict xiangfu reported also something you're experiencing ?
<kristianpaul> wpwrak: not that i can remenber
<wpwrak> kristianpaul: okay, let's see what xiangfu finds. it's a weird one for sure
<LunohoD> do you participate in GSoC?
<kristianpaul> who?
<LunohoD> qi-hardware
<LunohoD> the nanonote community
<kristianpaul> well.. you should back that question to all the software projects around it
<kristianpaul> openwrt, linux, oe....
<viric> who is here working in the mylkimist?
<kristianpaul> working how?
<viric> who writes the verilog for the spartan6 there?
<wolfspraul> viric: the core milkymist soc channel on freenode is #milkymist
<viric> ahh
<kristianpaul> :-)
<wolfspraul> of course you are welcome to ask milkymist related questions here as well, since we (as copyleft hardware manufacturers) manufacture this thing
<viric> I thought someone was here too.
<wolfspraul> yes, there is a big overlap
<kristianpaul> i'm also larsc
<wolfspraul> but qi-hardware is a copyleft hardware project
<viric> kristianpaul: you are larsc?
<wolfspraul> wherease milkymist is an SoC IC design project
<kristianpaul> also tuxbrain
<wolfspraul> milkymist one is a vj station built around the milkymist soc running in an fpga
<viric> I know I know
<wolfspraul> so it's all connected together :-)
<kristianpaul> viric: i'm not larsc
<viric> don't they plan to have a general purpose CPU in there too?
<kristianpaul> sorry i mean, larsc and me are also in the #milkymist
<viric> that could run linux, I mean
<kristianpaul> that can be an addon
<wolfspraul> you can already boot Linux on Milkymist One
<kristianpaul> no need to change cpu
<viric> wolfspraul: but that's an ingenic processor running it
<wolfspraul> no
<viric> ah no?
<wolfspraul> Milkymist is an SoC, it uses a free LatticeMico32 core for 'general purpose' instructions
<viric> aaaah ok
<kristianpaul> navre core for USB stack
<kristianpaul> and more of free space on fpga for your own stuff if needed ;-)
<wolfspraul> there is a Linux port for LM32 (Milkymist) already https://github.com/tmatsuya/linux-2.6/commits/master
<wolfspraul> though not all (by far not) peripherals of the milkymist one are supported in Linux right now
<wolfspraul> also the Milkymist SoC has no MMU right now, which is probably a good thing to have on a Linux system
<wolfspraul> but Linux boots
<kristianpaul> uclinux
<viric> wolfspraul: I've never used a linux without mmu
<viric> cat ~/uImage > mtdblock1
<viric> Is this a good idea?
<viric> I hope so... let's see.
<viric> ERROR: can't get kernel image!
<viric> grrrr
<viric> failed.
<kristianpaul> viric: you can use rtems too
<viric> usbboot, I've to use :)
<kristianpaul> i'm confused are you talking about the nanonote or milkymist one?
<viric> now the nanonote
<kristianpaul> it seems :-)
<viric> flashing with usbboot, it works.
<viric> Why "cat uImage > /dev/mtdblock1" does not work?
<viric> kyak: I just got memstat running in the nanonote finally (with the proper kernel)
<viric> for what I see... it looks as if, of 13MB used, only 4800KB are from user mode processes.
<kyak> so.. 8 Mb is kenrel?
<viric> I've always found hard to understand, where the MB go
<viric> The kernel is taking at least 2MB (Slab+KernelStack)
<viric> 'free' is not counting the 'Cached' shown at /proc/meminfo... weird.
<viric> Ah, busybox 'free' only takes into account Buffers, not 'Cached'
<viric> so we have 3.4MB Cached...
<viric> It's getting close to the 8MB..
<viric> kyak: the total of PSS should give you the total amount of RAM used by processes
<viric> kyak: uhm counting that 'memstat' is counted twice :)
<kyak> twice, huh?
<viric> well, it's as PID 'self' and as the PID number
<viric> I'll fix it
<kyak> heh :)
<kyak> viric: so again, PSS is memory occupied by running processes, who uses the rest of the memory?
<viric> kyak: there is the kernel code, the kernel slabs (similar to its 'heap', if I understand correctly), the filesystem cache, kernel buffers, kernel stack, ...
<viric> I'm not an expert.. I'm just on the way to understand.
<kyak> ok, so the reset is "the kernel"
<kyak> *th rest
<viric> what are your numbers?
<viric> (I fixed the memstat meanwhile)
<tuxbrain> never a video of a bliniking led has been so elaborated
<tuxbrain> I have just finished the edition of the first ArduNote video... now is rendering and I hope this night can upload and publish the Howto post....
<viric> Does anybody know why copying an uImage to "/dev/mtdblock1" fails to write a good kernel?
<viric> the same uImage written with usbboot works fine
<viric> I can't say I understand the flash devices much
<wpwrak> viric: what program did you use to write ?
<wpwrak> viric: and did you erase the area first ?
<viric> wpwrak: cat uImage > /dev/mtdblock1
<viric> :)
<viric> kyak: could you run memstat in the nanonote?
<kyak> viric: i'm on it
<kyak> recompiling the kernel
<viric> ah grat!
<viric> great
<kyak> it would have been faster
<kyak> but i accidentaly erased the rootfs ;)
<viric> uf
<kyak> (so i have to rebuild the image, too)
<viric> how come? :)
<kyak> this is a strange story :)
<viric> did you use usbboot?
<viric> or you tried that "cat uImage > /dev/mtdblock1" ?
<wpwrak> viric: hmm, that may work, but it's probably better to use nandwrite
<wpwrak> viric: did you erase the nand before writing ?
<viric> wpwrak: nandwrite wants /dev/mtd1, isn't it?
<viric> wpwrak: I did not erase. There is nothing like an 'erase operation' for the mtdblock, right?
<kyak> viric: just misused the reflash_ben.sh
<viric> wpwrak: if I don't erase.... it happens that it only puts "more 1s" or "more 0s"? :)
<wpwrak> viric: flash_erase erases
<wpwrak> viric: if you don't erase, you'll just "put more 0s", yes
<viric> ok
<viric> I thought the 'mtdblock' writing interface would be more clever than putting more 0s
<viric> I should have 'read' the mtdblock after flashing, to check if it worked
<viric> wpwrak: what is that flash_erase from?
<wpwrak> viric: mtd-utils
<viric> ah yes
<wpwrak> viric: (read) good idea :)
<wpwrak> viric: (clever interface) ther's nothing clever about nand ;-)
<viric> I see I see...
<viric> what a raw world that of nand
<kristianpaul> s/nand/back-box/s
<kristianpaul> or sort of :-)
<viric> what is /s? and a back-box?
<kristianpaul> oops sorry
<kristianpaul> viric: (/s) sorry vim typo
<viric> aah :)
<viric> kyak: what is that mtd.nn? What you use?
<kyak> viric: yeah, it can be used to flash rootfs/kernel from within Ben
<kyak> (also to set the bootloader options)
<viric> I didn't know that about bootloader options...
<viric> does the 'fw_setenv' come with uboot?
<kyak> it comes with uboot-envtools
<kyak> you can bind F1/2/3/4 to boot uImage from specific device/partition
<viric> mmm o
<viric> k
<viric> well, I'm not changing the kernel that much
<viric> I even don't use the SD.
<kyak> what can you say? :)
<kyak> http://dpaste.com/486765/ - with gmenu2x running
<kristianpaul> make gerber
<kristianpaul> argg
<kristianpaul> ;-)
<viric> kyak: let me see
<viric> kyak: very good numbers. Mine has a total of double PSS
<viric> but I use bash, and I have three or four mingetty
<kristianpaul> tuxbrain: u there?
<viric> I don't have that hotplug2
<kristianpaul> tuxbrain: you already have gerber and dxf?
<tuxbrain> kristianpaul: no AFAIK
<kyak> viric: here's the line for bash: 648     635     1176    1020    807     128     bash (711)
<viric> kyak: almost the same as with glibc.
<kristianpaul> ok lets export this..
<tuxbrain> Ardunote first steps http://www.youtube.com/watch?v=H_wjXZmVWsI
<kristianpaul>
<kristianpaul> Microcircuitos dispone de 4 máquinas excellon de control numérico CNC-6 para garantizar el perforado, reuteado, scoring y corte de los circuitos, ya que nuestra línea de producción trabaja con paneles de 30x40 cm.
<kristianpaul> oops
<viric> kyak: so, in glibc it has more RSS, but as RSS counts also what may be used by other processes....
<viric> kyak: the PSS number and the anonymous pages numbers are equal
<viric> kyak: they are even equal comparing with bash in my x86_64. :)
<viric> kyak: so it may be that glibc has the only advantadge that it takes more *disk space*, but not more RAM.
<wpwrak> kristianpaul, tuxbrain: gerbers of what ?
<tuxbrain> atben/atusb
<viric> I find it heavy to upload videos to a mediawiki :)
<viric> I'm quite sure that mediawiki is not running in a nanonote :D
<viric> when will the qi-hardware.com stand on free hardware? ;)
<tuxbrain> viric: wait until NN has a 8:10->ethernet dongle :) then we will see :)
<viric> I'm sure it will not run a mediawiki :)
<viric> :D
<kristianpaul> mail for atben-* quote sent
<wpwrak> tuxbrain: (video) almost perfect ;-) shouldn't the overview at the beginning mention UBB ?
<viric> tuxbrain: I know no doctor that can heal you from that
<wpwrak> tuxbrain: ah, and a typo: "flashwriter thaT includes", not "thaN"
<viric> tuxbrain: què és aquella pasta groga del fil?
<tuxbrain> viric:hot glue (pegamento de silicona caliente del que se aplica con pistola)
<wpwrak> tuxbrain: (loves_arduino) cool ! ;-)
<kristianpaul> is not interested in atusb for now
<viric> ahh
<tuxbrain> viric a video with "making of" of the cable high on the TODO list.
<viric> :)
<viric> tuxbrain: vas vendre'n de nanonote-nanowar?
<tuxbrain> viric: si, no una cantidad brutal pero van saliendo
<tuxbrain> unos 10-12 llevare,
<viric> molt bé!
<wpwrak> tuxbrain: did you ship any with the real heavy metal ?
<viric> kyak: what is 'thd'?
<tuxbrain> wpwrak: no sorry dude, reflashing is enough work to earn no money :P (Nanowar edition same price as Normal edition)
<viric> ?
<wpwrak> :-( poor metalheads, so close ...
<viric> what do you mean 'the real heavy metal'?
<wpwrak> viric: i send him a few counterweights
<viric> aah
<viric> how difficult it is to bind some actions to nanonote keys?
<viric> for suspending, for example
<viric> is it reasonable to try to program an autosuspend in the nanonote?
<viric> it's very fast suspending/resuming
<viric> amazingly fast.
<kristianpaul> until it crash ;-)
<viric> really?
<viric> I'll try playing an mp3 :D
<kristianpaul> yeah, but lars suguest just set the rtc to wakeup and suspend again the ben every certain minutes, so it can still alive
<viric> hm alsa breaks after resuming
<viric> kristianpaul: eh?
<viric> kristianpaul: to check the battery, and act depending on that?
<kristianpaul> battery.no
<viric> it may crash while suspended?
<kristianpaul> seems there is a hw bug that dont allow ben to go sleep for more than some hours
<kristianpaul> yes viric
<viric> oufch
<kristianpaul> yeah
<viric> any documentation about this?
<viric> or it's a rumour? :)
<kristianpaul> this irc andlogs
<kristianpaul> tuxbrain: confirm it
<viric> a rumour :)
<kristianpaul> i also
<kristianpaul> and i think larsc already knew it ;-)
<viric> I still could not manage to do anything useful with the nanonote ;)
<kristianpaul> ah, also kristofer from jlime
<viric> aha
<viric> larsc: can you give some details?
<kristianpaul> all is usefull when you know what not to do :-)
<kristianpaul> you got fire, but also smoke, thats life :-)
<viric> :)
<viric> I mean...
<viric> ok, I can play doom there
<kristianpaul> you can swich to jlime too
<viric> oh no no, I run 'my own' :D
<kristianpaul> So people already know how live well :-)
<viric> what would jlime provide?
<kristianpaul> ah, much better
<kristianpaul> viric: oe repo, some nicely gui
<kristianpaul> X !
<kristianpaul> (Xfdev)
<kristianpaul> and doom too ;-)
<viric> yes, but... with X, what would I do?
<kristianpaul> dunno
<viric> I could have tried to run X, if I knew what to run on X.
<viric> :D
<kristianpaul> jeje
<viric> I mean...
<viric> a 320x240 X is not a great thing
<viric> specially since X is more thought for 2000x2000 screens :)
<viric> There is very little software for X that is meant to run on 320x240
<viric> xtank will not run, for example. :D
<viric> there's a game I liked quite much.... xjump?
<viric> that could work
<viric> does jlime have xjump? :)
<kristianpaul> you can check that list
<viric> kristianpaul: no xjump :)
<viric> I think someone made a SDL variant of xjump, because I remember playing it in the gp2x
<Jay7> remembers hildon and poky sato interface
<Jay7> started as attempt to adapt apps GUI to small screens and now separate UI toolkits :)
<Jay7> well, almost separate
<Jay7> well, not separate but pretending :)
<Jay7> someone should do this with E17
<viric> Jay7: what is that poky and hildon?
<viric> and what is e17?
<viric> kristianpaul: do you use X with a virtual desktop?
<kristianpaul> viric: in the nanonote?
<viric> yes
<kristianpaul> i used jlime in a time
<kristianpaul> now i'm back to openwrt, as the only think i need today is there
<viric> what thing?
<kristianpaul> also i can buidl open wrt easilly than oe
<kristianpaul> gmu, nanomap, dictionary
<kristianpaul> and sure, the shell and other utils :-)
<viric> gmu is a music player?
<kristianpaul> yes
<kristianpaul> oh !
<viric> hm does it have a quick and good fast forward/rewind?
<kristianpaul> latelly
<viric> Because this is what I lack in mpg123...
<kristianpaul> i dunno
<wejp> gmu has fast forward
<viric> I use to listen to radio programs in mp3, and it's important for me to quickly pass the advertisements :)
<wejp> yes, you can do that
<kristianpaul> also i'm using zgv for viewving comics
<wejp> gmu can also remember iits position in the current track and continue when you restart it
<viric> how does it work? playing little excerpts and jumping some frames?
<viric> wejp: ah, also important!
<viric> where is the web page of gmu?
<kristianpaul> and i hope soon have mplayer too, so i want to stay with openwrt :-)
<viric> it's the first time I see a .vu :)
<wejp> :D
<viric> I'll try to package it...
<Jay7> viric: hildon is UI was used in meego
<Jay7> normal apps (gtk mostly) was patched to fit that UI
<viric> Jay7: does it run on more places?
<viric> ah
<Jay7> it is something like window manager and toolkit
<Jay7> matchbox-based iirc
<kristianpaul> Jay7: is thab a gmenu2x replacement? ;-)
<kristianpaul> ah, gtk..
<kristianpaul> gorgot it
<kristianpaul> Forgot
<Jay7> poky in sato release have something alike but seems there was just patched matcbox
<Jay7> viric: not sure it was ported somewhere else
<viric> Jay7: is it written for X?
<Jay7> I've thought about porting to Zauruses but w/o any real move
<Jay7> yep
<viric> do you know something non-x?
<kristianpaul> :D
<Jay7> viric: qtopia :)
<Jay7> opie even
<Jay7> it works fine on qvga PDAs
<viric> 'opie'?
<Jay7> I'll try even to build opie image for nanonote one time :)
<kristianpaul> nanomap is qt and amazingly it runs smothly most of the time
<viric> wa, that hildon thing looks very heavy
<Jay7> viric: yep, X11 + gtk
<Jay7> bad for arm/mips
<viric> it's full of super-effects for DSPs like omap3/4?
<viric> :)
<viric> Jay7: do those use the approach of exec() like the gp2x menu?
<Jay7> opie?
<viric> yes
<Jay7> no, it is something like DE
<viric> I don't know DE
<Jay7> i.e. toolkit + UI guidelines + set of apps
<viric> (touch screen required. ups)
<Jay7> bluelightning (one of OPIE developers) said that opie apps should be usable w/o ts
<Jay7> iirc, that is true
<viric> ok
<viric> that paints the framebuffer directly, I understand
<Jay7> yes, via QT's qws
<viric> hm 'qws'?
<viric> how many acronyms
<kristianpaul> qtmoko ?
<Jay7> opie is early fork of qtopia which is now known as QT embedded :)
<Jay7> about 1.5 or 2.0
<Jay7> qws is qt window server :)
<viric> hm
<viric> 1.5 or 2.0 of what? qt versions?
<Jay7> yes
<kristianpaul> Jay7: are you aware of nanomap?
<viric> ouch. that's way back :)
<Jay7> kristianpaul: not yet :)
<kristianpaul> what qt version is that?
<kristianpaul> ah ok
<Jay7> viric: yeah, but remember talk about MS Office 95 on Pentium 75Mhz/32Mb RAM ;)
<Jay7> wow.. Jlime is using OPIE according to wikipedia ;)
<viric> hm
<Jay7> seems wikipedia is wrong here
<Jay7> or may be it was used some time ago
<kristianpaul> Jay7: is not
<kristianpaul> jlime
<kristianpaul> yeah
<kristianpaul> is a wiki !
<viric> kristianpaul: what dictionary engine you use?
<Jay7> hm.. seems anarsoul at least have clone of opie git repo
<kristianpaul> viric: startdict
<viric> with what ui?
<viric> (I personally prefer dictd)
<kristianpaul> with that ui, yes :-)
<kristianpaul> there i a comand line version
<kristianpaul> too
<viric> wejp: is gmu GPLv2 or GPLv2+?
<wejp> gplv2
<viric> ok
<viric> hm what is tremor? mmm
<viric> ah got it!
<viric> I didn't know of tremor at all
<viric> wejp: you may know how to configure the alsa softvol. I never succeeded :)
<viric> wejp: aren't there keymaps for SDL-on-X in CP?
<viric> PC
<wejp> viric, there is a keymap for the pc, but it might have been named incorrectly in the default config file, so it does not get loaded
<wejp> you can easily fix it though
<viric> 'newdefault', with gmuinput 'unknown' maybe?
<wejp> yeah
<wejp> under X you can also resize Gmu's window if you like
<viric> wejp: hm it uses pthread_cancel...
<wejp> pthread_cancel? where?
<viric> I played an mp3...
<viric> (I lacked libgcc_s...)
<viric> and when I switched to play *Another* mp3, it died not finding pthread_cancel
<viric> maybe a library uses it.
<wejp> weird, must be a library
<wejp> it should work just fine on a PC
<viric> SDL I thkn
<viric> yes, it works... Let's see if tremor work
<viric> s
<aisa> I'm having difficulty reaching qi-hardware.com, just in the last couple minutes.
<aisa> Is anyone else seeing a problem?
<viric> wejp: uhm segfault on playing an ogg....
<viric> (on pc)
<wejp> that is very strange, could you run it in a debugger and check where it dies?
<viric> yes
<wejp> it should never die with a segfault
<viric> well, maybe I did something wrong with trmor
<wejp> hm
<wejp> aisa, yes, doesn't work for me either
<wejp> oh, now it does
<viric> wejp: on gdb I can't reproduce it! :)
<wejp> oh
<viric> coverimg: Thread stopped.
<viric> sdl_frontend: start_player() done.
<viric> then, segfault
<viric> (it was playing an mp3, and I clicked 'a' over an ogg)
<viric> pam, again, switching to mp3 while playing an ogg
<wejp> hm, interesting
<viric> log.so
<wejp> hm, i can switch as fast as i like between ogg and mp3 files without any problems
<viric> ^ wejp
<wejp> try deleting log.so
<wejp> you don't need that plugin
<wejp> but it shouldn't be enabled by default anyway
<viric> :D
<wejp> it is for logging the played songs to a textfile
<viric> I run it from a read-only directory
<viric> I built with debug info, and I can't reproduce it .grrr
<viric> wejp: grr I can't get it again! :)
<viric> did you see the sprunge.us link?
<wejp> yes
<wejp> does it still happen without the log.so file?
<viric> I have the log.so file, but I built with debug info
<viric> maybe it's optimization-related...
<viric> I'll try with O2
<wejp> yes, but delete the log.so file and try if it still crashes
<viric> Shouldn't log.so be installed at all?
<viric> (i'm packaging it for a linux distribution)
<wejp> gmu does not need that file. it is optional
<wejp> it is being used for logging played tracks, but it is not necessary at all
<viric> I just run 'make install'
<wejp> yes, it is included by default and should not do any harm, but judging from the gdb output it dies somewhere in there
<viric> how to do fast forward in the pc?
<wejp> which is why i suggested removing that file, to check if it still dies
<viric> ok got it
<wejp> i think it is mapped to the m and n buttons by default
<viric> (with -O2 it happened9
<wejp> oh even without the log.so file?
<wejp> now that is really strange
<viric> *with*
<wejp> DELETE IT and try again
<viric> I want to help you solve the bug :)
<viric> I don't mind if it crashes to me. I want you to fix it ;)
<wejp> i know,, and to fix it i need to be sure there is a bug there
<wejp> which is why i am asking you to delete that file and try again
<viric> check the sprunge.us
<wejp> ok
<viric> (gdb) print lf
<viric> $3 = (FILE *) 0x0
<viric> you don't check the return of lf = fopen(logfile, "a");
<wejp> i know the place where it might have died, the question is why it was running that code at all
<wejp> weird, it should never execute that part by default
<wejp> 8{
<viric> logbot: Initializing logger.
<viric> feloader: Loading log.so was gmusrv: Socket created.
<viric> gmu: Searching for frontends in /nix/store/0fhv5bfhwpnxm4sqi6v7qc83vs8z3sb5-gmu-0.7.2/
<viric> feloader: 3 frontends found.
<viric> does this hel?
<viric> p
<wejp> that's okay, but the log plugin is usually disabled by default
<viric> what determines what is enabled or disabled?
<wejp> the config file
<wejp> there is a line to enable it
<viric> Log.Enable=yes
<viric> I used gmu.unknown.conf
<wejp> oh, ok then it is enabled
<wejp> must have changed it by mistake
<viric> the only example config that has it enabled :)
<wejp> yeah, wasn't meant to be enabled ;)
<viric> ok! :)
<viric> then you can disable that, and make the log code a bit 'stronger' :)
<wejp> yes, that's already done in the code for the next release :)
<viric> aah
<wejp> it shouldn't die that easily
<viric> you are fast.
<wejp> :)
<viric> somehow I could not make it fail with -O
<viric> -O0
<viric> and for the error... it looks as if should have crashed at once.
<viric> wejp: https://svn.nixos.org/websvn/nix?op=comp&compare[]=%2F@26265&compare[]=%2F@26266    gmu packaged
<wejp> :)
<viric> it looks great, btw.
<viric> If I knew how to use the alsa softvol... I would use it in the nanonote
<wejp> i think you can configure such things through the .asoundrc config file
<viric> yes, but I simply don't know what to put there
<viric> I did several attempts
<wejp> there you can define a virtual audio device with a software mixer attached
<viric> I never understood alsa well.
<wejp> oh, it's been a while since i have been configuring such things
<wejp> yeah, alsa is a mess
<wejp> oss4 is much nicer and it is very simple to use a software mixer in oss4
<viric> can I use that in the nanonote?
<viric> I use 2.6.36
<wejp> it is probably missing support for the nanonote's audio device
<viric> ah. the audio driver has to be written specifically for oss4
<viric> bad.
<wejp> yes, oss4 does not depend on alsa
<viric> what is that zipit thing?
<wejp> it is a device very similar to the nanonote (but not copyleft hardware)
<wejp> similar specs, but comes with build in wifi
<viric> ahh looks interesting
<wejp> and it is very cheap, has been sold in the US for about $10 recently
<viric> really?
<wejp> yeah
<viric> and the specs?
<viric> does it have any pointer device?
<wejp> runs on a marvell pxa270 with 312 MHz
<wejp> not, only a keyboard
<wejp> but the keyboard has a backlight ;)
<viric> and RAM/nand ?
<wejp> 32 MB RAM and 8 MB internal flash
<wejp> and there is lots of development going on for the device
<viric> ah, 8MB is yes little
<wejp> it runs a very recent kernel too
<viric> battery life?
<wejp> 2.6.38-rc7 =)
<wejp> battery life largely depends on display and keyboard backlight settings and on wifi usage
<viric> well, I imagine.
<wejp> about 4 and a half hour when using wifi the whole time
<viric> that's quite good
<wejp> with powersaving stuff enabled people have been using it for more than 10 hours
<viric> 320x240?
<wejp> yes, 320x240
<viric> hm very nice
<viric> it's the first time I hear about it
<wejp> it has also usb host on its external connector at the back
<viric> Can't we just get their wifi? :)
<viric> wejp: ohh good
<wejp> hehe, yeah, wifi on the nanonote would be very nice, or usb host at least
<Jay7> keyboard seems not very linux-friendly :)
<wejp> hehe, it was meant for chatting mostly, but it is oky for linux usage
<Jay7> well, linux hacker friendly
<Jay7> I see no ` and | :)
<wejp> i have mapped them somewhere
<wejp> i think i have | on shift+smiley
<Jay7> iirc only zauruses and nanonote have full set of keys
<Jay7> ah, jornada may be
<Jay7> tab, `, |, /, \
<Jay7> etc :)
<wejp> well it has several buttons you can use for other things
<wejp> tab is on the silver button in the middle
<wejp> it is pretty easy to remap things as you like
<wejp> and it also has volume up/down buttons on the right side
<wejp> which one can use for page up/down or something like that
<wejp> and it has three leds at the front
<wejp> i use them for showing disk activiy and wireless activity
<viric> ah do you own a pandora?
<wejp> yes
<jcom> hi,the link to the script reflash_ben.sh seems to be broken
<viric> wejp: is it nice? :)
<jcom> does anybody have a copy?
<wejp> that pandora has pretty much any button you need
<wejp> viric, yeah, its screen resolution is really nice. yery sharp image
<viric> and does the battery stand?
<wejp> and the cpu is fast and it has a great battery runtime
<viric> ah ok
<viric> great toy then
<wejp> it runs a little more than 10 hours
<wejp> with wifi turned on all the time
<wejp> when reducing display brightness one can easily achieve a runtime of about 14 hours
<viric> very nice
<viric> Ok, thank you for your time! Nice talk
<viric> I learnt some things.
<wejp> :)
<jcom> hey wejp, had you any issue with the build quality of your Pandora?
<jcom> I read some comments from disappointed people
<wejp> jcom, i'd say the build quality of the nanonote is better than that of the pandora
<wejp> the build quality of the case is okay, but not great
<wejp> the shoulder buttons are somewhat stiff, but that is supposed to be better on newer pandoras
<wejp> i have written a little review back then when i got mine http://wejp.k.vu/pandora/pandora-review
<jcom> the Pandora is a nice device, but having to pay in advance without knowing when you are going to receive your unit is discouraging
<wejp> yeah
<mth> I'm still waiting for mine, ordered 2.5 years ago
<mth> there still isn't a device that has the same feature set though, so I think it will still be nice to get it
<wejp> yes, it is
<jcom> well, some people thinks that the next PSP will be much better
<wejp> of course smartphones are getting faster all the time, so they can do lots of things now which they couldn't do two years ago, so at least partly they can replace a device like the pandora
<wejp> not for serious gaming of course
<mth> PSP might be nice if it wasn't made by Sony
<wejp> yeah
<wejp> even if the next psp would be a lot more powerful i wouldn't buy it
<mth> the Nokia N900 is probably the closest thing to the Pandora
<mth> very similar internally
<mth> but no game controls
<wejp> yep
<viric> well, it's not all about the power...
<viric> a nanonote with more ram can beat many things
<viric> and a pointer device
<jcom> going back to my question, does anybody have a copy of the reflash_ben.sh script?
<jcom> the current link ends in the xburst-tools git page
<viric> I don't know that script
<viric> a web seearch engine does not help?
<viric> jcom: http://vicerveza.homeunix.net/~viric/cgi-bin/nanonixos/doc/trunk/doc/reflash.wiki here I have instructions on how to reflash...
<viric> (if it helps)
<jcom> thanks viric, I will try tomorrow
<Jay7> wiki should have instruction how to reflash w/o that script
<viric> that link points to the source of the information
<jcom> yes, but the script was perfect for lazy people like me
<jcom> anyway, I will try tomorrow, today I am a bit tired for that