2011-02-28 00:01 hehe.. 2011-02-28 00:01 that's not just wires.. :) 2011-02-28 00:01 wires + solder paste + solder iron 2011-02-28 00:01 have PL2303 usb<-> rs232 only here 2011-02-28 00:02 I don't know about voltage 2011-02-28 00:02 It dint sound 3.3V compliant.. 2011-02-28 00:02 I see no way to get FTDI-based cable easily 2011-02-28 00:03 hmm 2011-02-28 00:03 not locally? 2011-02-28 00:03 May be wolfspraul can sell you a multi funcional jtag-serial board ;-) 2011-02-28 00:03 hehe 2011-02-28 00:04 I think you can re-use the other cable if you can force it to work at 5v.. 2011-02-28 00:05 hm.. seems kexec isn't working 2011-02-28 00:05 after kernel selection nothing happens 2011-02-28 00:05 (5v) you can then make an voltage shifter http://ur1.ca/3cpv8 2011-02-28 00:06 But i recomend that as the last option 2011-02-28 00:09 no way of make qemu-system-mips work:( ... I will try those recomended by mth tomorrow , .... man I have spend tooo much time trying to have this avr stuff on NN ... tomorrow really is the last chance .... 2011-02-28 00:10 tuxbrain: seems native compilation was faster way :\ 2011-02-28 00:10 tuxbrain: why not cross compile? or bad things happen when trying that..? 2011-02-28 00:10 tuxbrain: btw fedora mips may have som rpm for arduino stuff i think 2011-02-28 00:11 you can take a look, just in case.. 2011-02-28 00:11 kristianpaul on cross(cross) compilation (aka Canadian compilation) I can't rid of configure check of default name gcc output check and fails 2011-02-28 00:12 btw if some one see something wrong here let me know : 2011-02-28 00:12 qemu-system-mips -M magnum -m 512M -kernel vmlinux-2.6.37-r4-qemumimps.bin -serial stdio -append "console=tty1 console=ttyS0,115200n8 logo.nologo debug root=/dev/sda rootfstype=ext2" -hda Jlime-native-sdk-image-2010.1-qemumips.rootfs.ext2 -net nic -net user,hostfwd=tcp:127.0.0.1:2222-:22 2011-02-28 00:13 -serial stdio 2011-02-28 00:13 better to remove it now 2011-02-28 00:13 -serial stdio is a desperate last time addiion to see if I have see something more without it does the same 2011-02-28 00:13 you can look at serial by pressing Ctrl + Alt + 3 2011-02-28 00:14 qemumi_m_ps ? 2011-02-28 00:14 is it ok? 2011-02-28 00:15 and what problem was with 'malta'? 2011-02-28 00:16 tuxbrain: what are you trying to accomplish? maybe xiangfu can help you. 2011-02-28 00:16 that bios problem? 2011-02-28 00:16 I would have not suggested you the qemu route 2011-02-28 00:16 there are too few people using qemu with NanoNote, if it works at all it is a bumpy road 2011-02-28 00:16 and we never made that any coordinated priority either 2011-02-28 00:17 werner said avrdude is already running on jlime and openwrt - so what else is missing now? 2011-02-28 00:19 wolfspraul:  a cross tools for compile avr binaries on NN 2011-02-28 00:19 gcc, binutils and avr-lib 2011-02-28 00:19 compiled host=mips target=avr 2011-02-28 00:20 you want a compiler on Ben that can produce avr binaries? 2011-02-28 00:20 yes 2011-02-28 00:20 and how is qemu supposed to help you now? 2011-02-28 00:21 you want to build the mips2avr cross compiler in a mips qemu session? 2011-02-28 00:21 I have tried in NN but is toooo slow 2011-02-28 00:22 I have achieved the binutils  indeed :) 2011-02-28 00:22 on NN 2011-02-28 00:22 in theory you should be able to build on x86/x86_64, with host=mipsel and target=avr 2011-02-28 00:22 yes in theory 2011-02-28 00:22 Canadian compilation 2011-02-28 00:22 but that doesn't work? 2011-02-28 00:23 it fails on a check on configure 2011-02-28 00:23 ./configure 2011-02-28 00:23 on checking default gcc output files 2011-02-28 00:23 does config.log provide any useful info? 2011-02-28 00:24 i says gcc doesn't produce executable binaries  or something like that 2011-02-28 00:24 totally true 2011-02-28 00:24 but logical 2011-02-28 00:25 let me check if I can revoer the config.log 2011-02-28 00:26 well 2011-02-28 00:26 so kexecboot is booted on NN but there are some problems with kexec 2011-02-28 00:26 that's all for today 2011-02-28 00:26 I'll investigate tomorrow 2011-02-28 00:29 -> sleep 2011-02-28 00:30 I'm going to sleep as well 2011-02-28 00:30 tuxbrain: if you can find or recreate the config.log, please put it on pastebin or a similar place 2011-02-28 00:30 then I or someone else can have a look at it 2011-02-28 00:38 here it is the config.log http://pastebin.com/QMYcSfY7 goodn8 guys 2011-02-28 00:45 tuxbrain_away: mpfr is missing 2011-02-28 00:51 wpwrak,hi 2011-02-28 00:51 I was curious about usrp 2011-02-28 00:51 and I wondered what was the differences between them 2011-02-28 00:53 You mentioned you're interested in Wifi networks debuging, right? 2011-02-28 00:54 he, you just turned on all your gadgets it seems ;-) 2011-02-28 00:55 lol 2011-02-28 00:56 the dream oomed when lookin at an usrp-nuradio pdf 2011-02-28 00:58 GNUtoo|htcdream: i think wpwrak is in a "asado", so may take a while to reply 2011-02-28 00:58 what's that? 2011-02-28 01:00 and I lack some notification system on SHR... 2011-02-28 01:00 I think i should add one 2011-02-28 01:17 kristianpaul, what do you know about gps-sdr? 2011-02-28 01:18 GNUtoo-n900: wich part exactly? 2011-02-28 01:18 does it work yet? 2011-02-28 01:18 GNUtoo-n900: you mean gps-sdr.com ? 2011-02-28 01:18 or my atemtp og doing gps-sdr on the nanonote? 2011-02-28 01:20 yes 2011-02-28 01:20 sdr.com 2011-02-28 01:33 GNUtoo-n900: it basically read the i/q data from serveral devices as usrp gn3s dongle, and well,correlate the data and give you a fix point, and navigation 2011-02-28 01:34 It can read from a file, but i really dint get a fix point in that way, a a proper sample file from usrp is kind of big.. 2011-02-28 01:34 (1Gb or so i think) 2011-02-28 01:35 yes i saw that 2011-02-28 01:35 I written in C++ and required SIMD.. 2011-02-28 01:35 600M for 1 fix 2011-02-28 01:35 yup 2011-02-28 01:35 but 2011-02-28 01:36 you can cheap and just put a small file, and track just PRN 2011-02-28 01:36 cheat also using gpredict to catch the gps satellites on the sky at  the time you take the sample 2011-02-28 01:38 GNUtoo-n900: my focus about a fully sdr process,  is not this gps-sdr.com software 2011-02-28 01:38 There is one project called osgps. 2011-02-28 01:39 ok 2011-02-28 01:39 it worked with an old flahsion acquisition module (PCI bus) 2011-02-28 01:39 But the code is portable, no SIMD required. 2011-02-28 01:39 the sparkfun gps stuff need windows anyway....so not usable 2011-02-28 01:39 gn3s dongle? 2011-02-28 01:39 no windows ! 2011-02-28 01:39 yes 2011-02-28 01:39 no no 2011-02-28 01:39 ah? 2011-02-28 01:40 that dongle basically re-use the usb comunication module from the USRP 2011-02-28 01:40 sparkfun comments talked about a windows aquisition program 2011-02-28 01:40 I mean is a cypress mcu 2011-02-28 01:40 ah ok 2011-02-28 01:40 so no windows needed 2011-02-28 01:40 I mean is a cypress mcu, you can code it with sdcc and sadly it required a pre generated blob froma cypress tool 2011-02-28 01:41 but the dongle is not cheap.....for a single purpose chip 2011-02-28 01:41 check osgps code on SF.net they have a driver for that dongle 2011-02-28 01:41 indeed, no cheap.. 2011-02-28 01:41 i would prefer a gnuradio 2011-02-28 01:41 of course 2011-02-28 01:41 ah well that dongle is supported by gps-sdr.com software 2011-02-28 01:44 you've got that dongle? 2011-02-28 01:44 nah 2011-02-28 01:44 ok 2011-02-28 01:45 I thought as the images sounded similar 2011-02-28 01:45 i have a EVB from a similar IF chip from sige 2011-02-28 01:45 no acquisition hardware, just the EVB 2011-02-28 01:46 what is evb? 2011-02-28 01:46 devboard? 2011-02-28 01:46 evaluation board...right 2011-02-28 01:47 yes 2011-02-28 01:47 ok 2011-02-28 01:47 of course sige is not the only ic manufacture for rf fronted, there are more 2011-02-28 01:48 ok 2011-02-28 01:49 btw is pinguino project dead? 2011-02-28 01:49 he, no i donk think so 2011-02-28 01:49 ok 2011-02-28 01:49 Just irc is not wide used 2011-02-28 01:49 ahh ok 2011-02-28 01:51 You should looks at some GNSS/GPS related books: http://en.qi-hardware.com/wiki/GPS_Free_Stack/Books 2011-02-28 01:52 ok 2011-02-28 01:52 I dinget get all the theory and and still diguesting some things, but you got the idea from time to time. 2011-02-28 01:52 s/dingent/ dint get 2011-02-28 01:54 ok 2011-02-28 01:56 of course, any doubt i can resolve you if know i'm here :-) 2011-02-28 01:57 hmmm 2011-02-28 01:58 maybe I'll ask later if i need 2011-02-28 01:59 Btw, the only way or return an array from a function is using a pointer? 2011-02-28 02:00 an array is a pointer no? 2011-02-28 02:01 isn't it a pointer to the firsrt element 2011-02-28 02:01 ah, i can use a struct too 2011-02-28 02:02 or you can use a pointer 2011-02-28 02:02 yeap ! 2011-02-28 02:02 and return error code 2011-02-28 02:02 instead 2011-02-28 02:02 as everybody do 2011-02-28 02:03 he yes, i'm just taking my time, is first time i write in C actually. well formally :-) 2011-02-28 02:04 in C for GNU/Linux userspace you mean 2011-02-28 02:04 else you know microcontrollers C 2011-02-28 02:05 yeap linux/rtems :-) 2011-02-28 02:05 ok 2011-02-28 02:05 ansi c :-) 2011-02-28 02:05 ok 2011-02-28 02:06 i'll try to sleep 2011-02-28 02:06 you should ;-) 2011-02-28 02:07 dont remenber using pointers when coding with sdcc 2011-02-28 02:08 And lot of problems just solved embedding some asm (dont kill me that ;-)) 2011-02-28 02:09 xiangfu: There is a way in git to automatically push a master and testing branch when hitting, git push? 2011-02-28 02:10 Morning btw :-) 2011-02-28 02:11 kristianpaul: you applied the high-speed fix to your jtag-serial board, right? 2011-02-28 02:11 did you notice any speed increase after that fix? (did you verify it is now connecting in high-speed with dmesg or so?) 2011-02-28 02:12 how long does a complete reflashing take now? I remember before you said something about '1 minute'? 2011-02-28 02:12 wolfspraul: (fix) yes 2011-02-28 02:12 sure i verified 2011-02-28 02:13 (how long) i cant tell, i mean i dont re-flash everything 2011-02-28 02:13 Just change some parts of memory from time to time. 2011-02-28 02:13 does it feel faster now? 2011-02-28 02:13 sure 2011-02-28 02:14 ah, that's good then! so whatever exactly you reflash right now, it basically just takes 'a few' seconds? 2011-02-28 02:14 20 or so? 2011-02-28 02:14 yeah is fast 10 to 15 i think 2011-02-28 02:14 nice 2011-02-28 02:15 for a few megabytes, my rtems binary is not more than 3Mb 2011-02-28 02:15 doesn't matter. the faster the better I'd say. 2011-02-28 02:16 sure :-) 2011-02-28 02:16 good to know that the fix is improving things. 2011-02-28 02:20 kristianpaul: git push --all 2011-02-28 02:21 hmm 2011-02-28 02:22 all? 2011-02-28 02:22 what if i have other dirty branches i dont want to mek public ;-) 2011-02-28 02:22 make* 2011-02-28 02:29 kristianpaul: let me test a little. never using the --all before. 2011-02-28 02:29 oh, np 2011-02-28 02:34 kristianpaul: oh. --all will push all local branch to remote. 2011-02-28 02:34 just tested. 2011-02-28 02:34 yeah, it looked kike that 2011-02-28 02:35 may be git allow me to created aliases.. but anway i just wanted to be a bit lazy and save the typying of two commands ;) 2011-02-28 02:35 kristianpaul: another method is "git push [repository] branch1 branch2" :) 2011-02-28 02:36 kristianpaul: like "git push origin master testing" 2011-02-28 02:36 ah, how blind, i never tought i just can put one branch next to other 2011-02-28 02:37 me, I failed to set a subject with git-send-email 2011-02-28 02:37 xMff: when you add "--annotate" the mail will pop up for you to edit 2011-02-28 02:38 however, xiangfu: I sent some patches to the list to fix qi packages with most recent backfire 2011-02-28 02:38 you should add them when you sync next time 2011-02-28 02:39 xMff: thanks. 2011-02-28 02:41 xMff: do you want direct commit to qi packages? maybe we can add you to qi packages member :) 2011-02-28 02:41 I think I already have, but my git skills are still weak so I prefer to go the indirect route for now 2011-02-28 02:42 yes, I am listed at http://projects.qi-hardware.com/index.php/p/openwrt-packages/ 2011-02-28 04:37 whoa. turn your back to the channel for half a day, spend 1+ hour catching up ! 2011-02-28 04:37 now, let's see what happened over there at #milkymist ... 2011-02-28 04:37 kristianpaul: btw, what wast the cable length thing wolfgang mentioned ? 2011-02-28 05:33 [commit] Werner Almesberger: atusb-pgm: changed LED color; cleanup of silk screen http://qi-hw.com/p/ben-wpan/22f7eee 2011-02-28 06:01 wolfspraul: oh, one more very important news item: now we have statistics in the IRC channel ;-) (!stat !top10 !seen and such) 2011-02-28 06:12 wpwrak: the length of the upward-pointing usb cable we include with the jtag-serial duaghterboard 2011-02-28 06:13 wolfspraul: what's the issue with the cable ? too long ? too short ? 2011-02-28 06:13 no issue, it just turns out kristian paul thought for a long time 'cables from sharism are too short', and ew didn't realize 2011-02-28 06:16 aah, i see 2011-02-28 06:38 i thought "the shorter the more reliable", Moreover, Ben is usually near the laptop, so shortness is good to make it all compact 2011-02-28 06:39 if i really needed, i could go a buy 5m extension cable 2011-02-28 06:39 and now, do you really think you can easily find that short USB cables in shops? 2011-02-28 06:40 you can probably find a few different lengths in most well-stocked 2011-02-28 06:40 shops 2011-02-28 06:40 for fancy choices, you can try places like digi-key ;-) 2011-02-28 06:41 always forgets to put the strongest arguments at the end of the statement 2011-02-28 06:41 :) 2011-02-28 06:44 those (active, i hope) 5 m extension cables may be potentially troublesome. shorter - passive - ones, too. so think it's good to have a usable cable that comes with the machine. particularly in a case where it's not just the standard mini USB cable. (e.g., micro-usb, angled, and so on) 2011-02-28 06:46 by the way, needing an angled cable sounds like a bit of a design flaw to me ;) 2011-02-28 06:47 what can i say? i definitely have more than one (or even more than 5) spare mini-USB cables, but i'm using the one shipped with Ben. It's short and compact. Less wires on my table 2011-02-28 07:07 i don't even know which cable i'm using :) i tend to favour slightly longer cables, though, because my pc's front usb socket is the bottom, and my devices are usually on top of a table adjacent to the desk. so that's at least ~70 cm up and ~50 cm to the side. everybody's setup is unique. 2011-02-28 07:08 have 10cm usb cable :) 2011-02-28 07:16 xiangfu: and some people have a very unique setup ;-) 2011-02-28 07:18 aw_: i'm thinking about a production test plan for the wpan boards. when you mass-produce a board, do you normally test the connectivity of capacitors ? (i.e., if they've been properly soldered) 2011-02-28 07:18 xiangfu, wow, good patches for u-boot merge 2011-02-28 07:20 panda|x201: oh. you are in u-boot mailing list :) 2011-02-28 07:21 xiangfu, yeah, I also maintain u-boot for our board 2011-02-28 07:22 wpwrak, good question; this is depends on if automated program that testing/verifying the functionality of that concerned capacitor! 2011-02-28 07:22 panda|x201: great. then you can help me review our code. and give us some advice. 2011-02-28 07:24 wpwrak, some test equipment I met/used before. Like ATE system or ICT machine can measure dedicated smd capacitor by probing test points of that concerned capacitor. 2011-02-28 07:24 aw_: atben and atusb have the usual bypass caps around the chips, the two load capacitors for the crystal, and 2-3 DC blocking caps for RF 2011-02-28 07:24 aw_: (test points) ah, so they put extra test points into the layout ? or can the ate "grab" the terminals of the capacitor directly ? 2011-02-28 07:28 aw_: in the case of atben/atusb, some cap malfunctions can be easily detected by a functional test. e.g., if the ones carrying the RF signal aren't connected, the resulting signal will be very weak (although you may still have reception over a short distance). also, if analog bypassing is very bad, then the signal amplitude will change during a packet transmission. this should also be detectable by software. 2011-02-28 07:29 wpwrak, be noticed (such test points) is all simulated in advance not like you did on atben and atusb. This close knowledge are surely i used before to probe/'grab' the terminals of capacitor directly without supplying power. 2011-02-28 07:29 aw_: if the crystal load caps are unconnected/missing, the frequency will be a little off. about 250 ppm if both caps are missing. haven't measured what happens if only one is connected. 2011-02-28 07:30 you could imagine that ICT machine is a active multimeter as capacitor measurement. 2011-02-28 07:31 aw_: what is simulated in advance ? 2011-02-28 07:31 wpwrak, agreed your idea on detecting by a gunctional test. that's the conceipt of ATE machine/industry. 2011-02-28 07:32 aw_: (250 ppm) this may be difficult to detect in a functional test. need to try. you should be able to see the error in the carrier frequency, though (with a spectrum analyzer) 2011-02-28 07:33 wpwrak, yes, normally 250ppm malfunction which should be recognized on functional test stage if watch out carefully. :-) 2011-02-28 07:34 aw_: there is also one test point for clock output. on atusb, it's very ATE-friendly. on atben, i didn't have enough room, so it's a bit smaller. you can still reach it with a probe, but it may be difficult with pogo pins (at least the kind i have. i've seen a catalog with better ones at openmoko.) 2011-02-28 07:36 i think i'll abuse some of the older board for fault simulation. take a known to be good board (even if a bit different from the current ones), they rip out components and see what happens :) 2011-02-28 07:36 s/they/then/ 2011-02-28 07:37 wpwrak, you don't need to let atben/stusb be as a good design of ATE-friendly or ICT. surely you can see many such knowledges introduced on internet. Unfortunately i didn't involve a responsibility in om. 2011-02-28 07:39 zrafa mth take a look on the line 339 from the config log http://pastebin.com/QMYcSfY7 seems ther is some hardcoded path /mnt/sda6/programas/stuff/tmp/work/i686-mipsel-sdk-linux/gcc-cross-sdk-4.4.2-r2.1/gcc-4.4.2/configure --build=i686-linu [...] this can be the cause of the problem? don't know how to solve it. 2011-02-28 07:39 aw_: yeah, my goal is to have a quick functional tests that finds as many issues as possible. not sure what failure rate to expect for smt there 2011-02-28 07:43 wpwrak, you could survey ADS (advanced design system) on web for studying simulation. Unfortunately it's not open source /free then. 2011-02-28 07:43 aw_: heh, i think i'll just improvise :) 2011-02-28 07:44 maybe some other same idea has been discovered out to do same idea on free s/w. don't know. ;-) 2011-02-28 07:44 wpwrak, i think using a functional test which is good enough... 2011-02-28 07:45 aw_: i mean, the basic principle should be easy enough. remove component, measure what happens, then try to construct an automated test for it. 2011-02-28 07:46 always will have a potential failure rate during smt! 2011-02-28 07:46 aw_: yeah, just sending a few packets should already tell us a lot. plus a look at the spectrum to see if it's nice and clean 2011-02-28 07:47 (smt) yeah. i just wonder how many things could go wrong there that wouldn't be caught by visual inspection. 2011-02-28 07:47 well, we'll certainly find out :) 2011-02-28 07:48 when i dealt with Motorola for mass production: there's  a lot of validation system review like your questions on what failures will be? how to prevent?....tons of them. 2011-02-28 07:49 well...good that you always has have solid precautions, studies before productions. :-) 2011-02-28 07:50 aw_: yeah, it's so much easier to fix a problem before MP than on a few million units afterwards ;-)) 2011-02-28 07:50 such thinking as you is rare and commendable. ;-) 2011-02-28 07:53 thanks ;-) 2011-02-28 07:53 wpwrak, if u like, later u can survey HP Momentum which is the Simulation of Power Amplifier Bias, Match and Housing Effects. 2011-02-28 07:53 well..it's CLOSE! 2011-02-28 07:54 sigh. microwave design simulation. how i'd love to have something like that ... 2011-02-28 07:55 since i couldn't find any useful simulation tools, i had to do everything by trial and error :-( 2011-02-28 07:56 wpwrak, we know. ;-) 2011-02-28 08:01 xiangfu: yesterday, i tried adding "C" to gmenu2x icons. It looks more than ugly.. What do you think about changing the name instead? E.g. "[c]abook" or "[abook]". This also has an advantage that console apps will be grouped in gmenu2x 2011-02-28 08:01 since they are sorted by name 2011-02-28 08:02 hmm, interesting. i could actually have made the atben clock accessible to the ben, by putting a ~100k resistor between CLKM (clock output) and SCLK. well, there's not enough room on the pcb to do this easily (i would have to make it quite a bit bigger for this) 2011-02-28 08:04 (or use microvias and place the resistor on the backside, to make production even more fun ;-) 2011-02-28 08:07 kyak: hmm... how you adding "C" got gmenu2x icons? 2011-02-28 08:08 kyak: just found one command: convert -size 32x32 xc:transparent -channel RGBA -blur 0x6 -fill darkred -stroke magenta -draw "text 4,25 'C'" console_c.png 2011-02-28 08:08 can create on C png. then we can merge the console_c.png and icon. I don't know how to merger too pictures. 2011-02-28 08:09 xiangfu: i was playing manually with gimp so far 2011-02-28 08:09 tried various options 2011-02-28 08:10 kyak: I think 'ImageMagick' can do this. 2011-02-28 08:10 it sure can 2011-02-28 08:11 the first question is what to do :) 2011-02-28 08:12 all icons are different. It is hard to find a combination of right size/background color/ foreground color and transparency of "C" to match every icon 2011-02-28 08:13 if all else fails, you can use pnmcomp (from netpbm) 2011-02-28 08:16 convert should know how to merge. But again, the question is what to do, not how to do :) 2011-02-28 08:22 kyak: asking in #imagemagic irc. :)  I think we first test "C" or "Console" first. 2011-02-28 08:23 hope I can get answer soon. 2011-02-28 08:23 xiangfu, is GPC27 in NN as an input now? 2011-02-28 08:24 xiangfu: ok, seems you are aimed at adding this letter :) you'll see its ugliness eventually, or, if it looks great somehow, i will be glad 2011-02-28 08:26 aw_: output. 2011-02-28 08:28 aw_: sorry. it's input 2011-02-28 08:28 kyak: you could also try draw a large terminal symbol, shrink the existing icons, and put them inside the terminal. 2011-02-28 08:28 E< 2011-02-28 08:28 xiangfu, wow...it's not useful to configure it as output. :-( 2011-02-28 08:28 maybe a [c] prefix is even easier? 2011-02-28 08:28 this could work :) 2011-02-28 08:29 need to see how it looks like. 2011-02-28 08:29 square brackets could also be a good indication of console app 2011-02-28 08:30 or maybe a different font then ? 2011-02-28 08:30 wpwrak: or, developing your idea, just to use terminal.png for all console apps :) 2011-02-28 08:31 hehe ;-) 2011-02-28 08:31 it is also fair because most console apps jsut don't have official icons 2011-02-28 08:31 different font - won't work without gmenu code midification 2011-02-28 08:32 kyak: all console apps using terminal.png. sound better. 2011-02-28 08:32 yeah, this sounds good to me, too 2011-02-28 08:33 xiangfu, later you could try to let it as input, then s/w side to monitor this pin: if detects Low, means NN is in a charge cycle; it's strong pull-down (~10mA) by charge IC itself. 2011-02-28 08:34 aw_: it's input now. 2011-02-28 08:35 aw_: the LED is controlled by hardware. 2011-02-28 08:35 xiangfu, this is thus led ON. yes...LED is controlled by charge ic itself not s/w. 2011-02-28 08:37 xiangfu, but as s/w side, surely NN can detect GPC27 to know if it acts in chargin cycle. ;-) 2011-02-28 08:37 kyak: then we will have a lot of terminal.png . like vim, emacs :( 2011-02-28 08:37 xiangfu: do you have now other icons for vim/emacs/other console apps? 2011-02-28 08:38 xiangfu: maybe we can make exception for some of them? But actually, by seeing vim icon people could get wrong impression that they are about to see gvim 2011-02-28 08:39 maybe we could find a nicer terminal.png, some scale of grey. It won't be so black and eye-catching 2011-02-28 08:39 use svg of gnome's one or konsole's one 2011-02-28 08:40 to create template 2011-02-28 08:40 then just use 24x24 icons to place inside :) 2011-02-28 08:40 iirc, you are using 32x32 now 2011-02-28 08:41 this is what wpwrak suggested 2011-02-28 08:41 you won't know how it will look like until you try 2011-02-28 08:42 Jay7: all the icons are here: http://projects.qi-hardware.com/index.php/p/gmenu2x/source/tree/master/nanonote/skins/Default/icons 2011-02-28 08:43 kyak: don't ever say me.. I've spent a lot of time trying to choose right icons for kexecboot actions :) 2011-02-28 08:43 Jay7: it's Faenza. from gnome.org. I am using the same in my pc. :) 2011-02-28 08:43 I've finished with oxygen 2011-02-28 08:44 aw_: if the changing finished. if the LCD will change? 2011-02-28 08:46 xiangfu, not follow your meaning. ;-) are you saying that before today I mentioned, NN's GPC27 is output? now changes to input..then s/w side will get that what's happening? 2011-02-28 08:47 aw_: no. I am if the battery is full. the LED will change?  sorry. 2011-02-28 08:47 s/sm/mean 2011-02-28 08:51 xiangfu, yes, if charge ic acts that as a finished charge on battery. charge ic's CHRG pin will go high impedance so that it lets LED OFF. Meanwhile it's thus GJC27 is as a INPUT high. then s/w should can be realized NN is known as a fully charged. 2011-02-28 08:52 kyak: how about shrink the terminal.png to the left corner of icon. maybe is better then just a "C" 2011-02-28 08:53 xiangfu: you can try. But i now have a strong feeling it won't work. Due to different icons - it will cause different contrast levels, and will look ugly 2011-02-28 08:57 aw_: ok. understand. thanks 2011-02-28 09:06 xiangfu: soem screeshots, i made yesterday: 2011-02-28 09:07 http://downloads.qi-hardware.com/people/kyak/tmp/gmenu2x.png 2011-02-28 09:07 http://downloads.qi-hardware.com/people/kyak/tmp/gmenu2x1.png 2011-02-28 09:14 kyak: this one I just make: http://downloads.qi-hardware.com/people/xiangfu/tmp/gmenu2x_C.png 2011-02-28 09:14 kyak: your idea :) 2011-02-28 09:17 instead of adding [c] to name you may just use [name] :) 2011-02-28 09:17 I mean text label under icon 2011-02-28 09:19 [c] increasing the length by three symbols, and it may look strange for short names, like [c]sc 2011-02-28 09:19 [sc] 2011-02-28 09:20 maybe [sc] 2011-02-28 09:20 Jay7: kyak: http://downloads.qi-hardware.com/people/xiangfu/tmp/gmenu2x_C_1.png 2011-02-28 09:20 looks better imho 2011-02-28 09:20 i think [aewan] is pretty distinctive 2011-02-28 09:21 but you should notice users that apps in [] are console apps :) 2011-02-28 09:21 yeah, i wonder if they will figure that out 2011-02-28 09:21 should be obvious, no? 2011-02-28 09:21 after 2-3 runs should be :) 2011-02-28 09:22 zrafa mth I have tried to rid off this paths with --with-build-time-tools=/usr/local/jlime-2010.1/mipsel/bin --with-mpfr=/usr/local/jlime-2010.1/mipsel/usr when calling configure  but it didn't help :( the ugly path still there like I have not put nothing 2011-02-28 09:24 as long as we make different with GUI icons. 2011-02-28 09:25 ah, so you want to change both icons and names? 2011-02-28 09:25 kyak: no. no. I almost give up change icons. it's need too much time. 2011-02-28 09:27 well, i counted 27 console apps icons :) 2011-02-28 09:27 xiangfu kiak , the idea of [name] looks nice and easy, once we got a user manual we can also clarify in advance but as has been said after start two [names] apps people can figure out it selfs 2011-02-28 09:27 kyak: Jay7 let's start with "[terminal_apps]" the only problem is the GUI apps will always at the end. 2011-02-28 09:28 xiangfu: i agree. For the gui apps at the end, could we prefix them with a "space"? 2011-02-28 09:28 to move them up 2011-02-28 09:28 or patch gcc to ignore [] on shorting 2011-02-28 09:29 hm.. thats may be problem.. 2011-02-28 09:29 sorry gcc->gmenu I kind of obsesed this days 2011-02-28 09:29 it 's a good point. gui apps must be higher 2011-02-28 09:29 maybe we should put [] on gui apps? :) 2011-02-28 09:30 {} 2011-02-28 09:30 hehe 2011-02-28 09:30 Jay7: {[ look pretty much the same on Ben's LCD :) 2011-02-28 09:30 btw 2011-02-28 09:30 find ./applications/ games/ programming/ terminals/ utilities/ | grep -v .gitignore | wc -l 2011-02-28 09:30 69 2011-02-28 09:31 may be patching gmenu2x is good idea.. 2011-02-28 09:31 other good idea to have some mark in configs that app is console app 2011-02-28 09:31 then gmenu2x will add [] automagically 2011-02-28 09:32 sounds like an extra work :) 2011-02-28 09:32 but a good idea 2011-02-28 09:32 yeah.. 2011-02-28 09:32 Jay7: as long as the patch accept by upstream :) 2011-02-28 09:32 shouldn't be very hard 2011-02-28 09:32 iirc, yesterday we was announced as upstream ;) 2011-02-28 09:33 should look into gmenu2x code one time :) 2011-02-28 09:33 hm, i wonder if we can use one of utf-8's square brackets. Not the ascii one 2011-02-28 09:33 may be there is something good for kexecboot 2011-02-28 09:34 or vice versa 2011-02-28 09:38 Jay7: i heard that gmenu2x's code is am awefull piece of shit. Besides, it's using SDL 2011-02-28 09:38 as far as i know, are drawing directly to FB :) 2011-02-28 09:38 *you are 2011-02-28 09:38 yes, we are.. 2011-02-28 09:39 have some kind of own UI library already.. 2011-02-28 09:40 Jay7: but what you should look into sometime is the new openwrt image :) 2011-02-28 09:40 you'll like it! 2011-02-28 09:40 kyak: yeah, I should :) 2011-02-28 09:41 I should spend more time to playing with NN anyway 2011-02-28 09:41 at least to find why kexec is not happens 2011-02-28 09:42 ah.. I should make nice pics for news :) 2011-02-28 09:44 Jay7: what is the flow with kexecboot? Is it u-boot -> uImage+kexecboot+kexec-tools (the boot menu) -> uImage ? 2011-02-28 09:44 interface is working ok 2011-02-28 09:44 but when I choose image to boot (kexec) it freeze 2011-02-28 09:45 I suspect kexec-tools vs uImage 2011-02-28 09:45 is kexecboot kind of a small layer between u-boot and the uImage you want to boot? 2011-02-28 09:46 yes, just kernel + initramfs + kexecboot binary, which is UI to select partition and run kexec on choosen kernel image 2011-02-28 09:46 so kexec must also be present in this small image? 2011-02-28 09:46 yes, we have it inside initramfs 2011-02-28 09:46 both (kexecboot and kexec) are compiled with klibc 2011-02-28 09:47 but you may run kexecboot as standalone binary as well 2011-02-28 09:47 wpwrak: maybe I start to understand the aversion of the "autocrap club" to GNU building system... 2011-02-28 09:47 this way I will try to debug it 2011-02-28 09:48 running it as binary is similar to supplying command-line arguments to kexec? 2011-02-28 09:48 with UI :) 2011-02-28 09:48 sure :) 2011-02-28 09:48 ok, it's inetersting to give it a try 2011-02-28 09:48 you may port it to openwrt ;) 2011-02-28 09:49 yes, i had a look into OE recipy for kexecboot - shouldn't be very hard 2011-02-28 09:49 but currently we have no recent tarball release 2011-02-28 09:49 we are using git versions to build for OE 2011-02-28 09:49 yeah, saw that 2011-02-28 09:50 is it ok for OpenWRT? 2011-02-28 09:50 sure 2011-02-28 09:50 nice :) 2011-02-28 09:50 ok, dinner time :) 2011-02-28 09:50 Jay7: can I suggest that that menu only comes up with a certain power+letter combination? if not let NN boot on a default kernel/rootfs 2011-02-28 09:50 tuxbrain_away: it is possible but should be implemented :) 2011-02-28 09:51 Jay7: whatever , the idea of finally a multibooting system on NN is cool :) 2011-02-28 09:52 I hope one time I'll extend it to make nfs/loop boot possible as well 2011-02-28 09:52 at least I have this in long-term todo 2011-02-28 09:52 tuxbrain_away: already support in new u-boot. POWER + F1/2/3/4 2011-02-28 09:53 POWER + F1/F2/F3/F4/m, we have five now :) and we can change it in user space by using fw_setenv 2011-02-28 09:53 xiangfu: I didn't notice this,! what correspondacies are 2011-02-28 09:54 f1->boots what? 2011-02-28 09:55 tuxbrain_away: http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/tree/master/nanonote-files/script-files/usr/bin/mtd.nn#L73 2011-02-28 09:56 tuxbrain_away: by default F1/2/3 . I setup them to sd-card partition 1/2/3 2011-02-28 09:57 F4 will try to load the kernel inside rootfs. 2011-02-28 09:57 xiangfu:f1/2/3 share same kernel? 2011-02-28 09:58 mmmm or share same rootfs? 2011-02-28 09:58 tuxbrain_away: no. 2011-02-28 09:59 tuxbrain_away: F1/2/3 will load kernel at sd card partition 1/2/3  /boot/uImage 2011-02-28 09:59 ok f4 = Nand+rootfs kernel 2011-02-28 09:59 yes. 2011-02-28 09:59 f1/2/3 sd+sdrootfs kenel cool 2011-02-28 10:00 so I can have Nanowar edition/jlime beta4/jlime devel and openwrt in same device :) 2011-02-28 10:01 yes. 2011-02-28 10:01 dinner time :) 2011-02-28 10:01 any one with a debian rootfs in sd? 2011-02-28 10:05 please any one with building knowledge that can help me on the crossbuild of crossbuilding tools will be appreciated? zrafa maybe you have to regenerate the toolchain with corrected paths the only solution? 2011-02-28 10:41 tuxbrain_away: what if you remove the jlime tools dir from your PATH? 2011-02-28 10:42 it seems mipsel-linux-gcc has problems compiling a small test program that does nothing special 2011-02-28 10:44 I don't know if GCC will build the compiler that runs on x86_64 and produces mipsel code automatically if it is not found 2011-02-28 10:44 it is also possible it will just abort then 2011-02-28 10:44 fuck 2011-02-28 10:44 it pass 2011-02-28 10:44 lets see how it compiles :P 2011-02-28 10:45 tuxbrain_away: so you have your canadian cross now? :) 2011-02-28 10:45 lets see... 2011-02-28 10:48 I'm near to cry.... it's compiling.... it's DAMN compiling.... AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGH! 2011-02-28 10:48 fuck 2011-02-28 10:48 tuxbrain_away: only 2 days of wasted your and CPU time :) 2011-02-28 10:49 mipsel-linux-ar: Program not found :( 2011-02-28 10:49 is actual stamping his head on the keyboqjwlefpqoeuv qqopwieyamvñ apoqhppnf 2011-02-28 10:50 well.. may be 3 then :) 2011-02-28 10:51 so I guess I have to create a mipsel-linux toolchain  first? 2011-02-28 10:52 yes 2011-02-28 10:52 a working one :) 2011-02-28 10:53 :_( 2011-02-28 10:53 did you try to locate the libmpfr.so in your current broken one? 2011-02-28 10:53 yes it's there... 2011-02-28 10:53 I cannot imagine someone just forgot to package it up 2011-02-28 10:55 I even make a ls -s and create that path but it didn't found it if I pont to the toolchain it sais wrong ELF something if I point to my buildinghost (/usr) 2011-02-28 10:55 you mean /mnt/sda6/programas/stuff/tmp/staging/i686-linux/usr ? 2011-02-28 10:55 yep 2011-02-28 10:55 wpwrak: (cable) yes 2011-02-28 10:56 and which mpfr.so did you put there? 2011-02-28 10:56 there may be several, one for the target (mips binary) and one for the host (ix86) 2011-02-28 10:56 all them 2011-02-28 10:56 same result 2011-02-28 10:57 thats bad 2011-02-28 10:58 did you try to install mpfr on your host? My ubuntu calls it "libmpfr1ldbl" 2011-02-28 10:59 wpwrak: (cable setup) uniquite indeed, actually i think your PC setup is similar to what i have here too 2011-02-28 11:01 tuxbrain_away: you could try the toolchain for Dingux: http://code.google.com/p/dingoo-linux/downloads/list 2011-02-28 11:01 mmm in theory If I had succesfully compiled Jlime in OE I  should have a working toolchain someplace isn't? 2011-02-28 11:01 it produces mipsel-linux code on x86 2011-02-28 11:01 tuxbrain_away: yes 2011-02-28 11:01 tuxbrain_away: yes, you have it somewhere in TMPDIR 2011-02-28 11:02 Dingux uses uClibc though, does Jlime use that or glibc? 2011-02-28 11:02 glibc I guess 2011-02-28 11:02 Jay7: what configure options would you recommend for kexectools for Ben? 2011-02-28 11:02 then the toolchain from OE is probably better 2011-02-28 11:02 Jay7: it builds fine with default options 2011-02-28 11:03 searching....  find /OE/work2|grep mipsel-linux-ar 2011-02-28 11:03 kyak: --enable-uimage 2011-02-28 11:03 isn't "find -name" faster? 2011-02-28 11:03 kyak: and you may add proper --enable-bpp to remove unneeded code 2011-02-28 11:04 Jay7: what would --enable-uimage do? 2011-02-28 11:04 add support for uimages :) 2011-02-28 11:04 kyak: add code to look for /boot/uImage 2011-02-28 11:04 the ones used by u-boot 2011-02-28 11:04 if no boot.cfg was found 2011-02-28 11:05 this is not required but may be useful 2011-02-28 11:08 Jay7: are icons and stuff compiled in? 2011-02-28 11:08 yep 2011-02-28 11:08 you need only kexecboot binary and /usr/bin/kexec iirc 2011-02-28 11:12 then, here's the Makefile http://pastebin.mandriva.com/22026 2011-02-28 11:13 i will try the binary at home later, but at least it builds fine :) 2011-02-28 11:14 building it in kernel is trickier - i don't know how to do that at the moment 2011-02-28 11:14 kyak: cool! thank you! :) 2011-02-28 11:15 kyak: yeah.. you should be able to build custom initramfs 2011-02-28 11:15 xMff: maybe you have an idea about that? 2011-02-28 11:15 then build kernel with it 2011-02-28 11:15 kyak: my collegue messes with initramfs for openwrt xen, I'll write up my findings this evening, have to go to work now 2011-02-28 11:15 that was not easy with OE as well :) 2011-02-28 11:16 that's way too deep into openwrt internals for me... 2011-02-28 11:16 np, we may build kernel with OE 2011-02-28 11:16 xMff: cool, thanks! 2011-02-28 11:19 Jay7: there is nothing that can be done in OE and can't be done in openwrt :) 2011-02-28 11:20 ok, i'll commit the kexecboot Makefile.. who knows, what will happen to my HDD in the evening 2011-02-28 11:23 [commit] kyak: kexecboot: initial port http://qi-hw.com/p/openwrt-packages/cf28aa3 2011-02-28 11:32 Jay7: http://downloads.qi-hardware.com/people/kyak/tmp/kexecboot.png 2011-02-28 11:32 couldn't resist :) it looks awesome 2011-02-28 11:32 kyak: yeah :) 2011-02-28 11:33 how does it scan partitions? 2011-02-28 11:33 did you booted from NAND or SD? 2011-02-28 11:33 NAND 2011-02-28 11:33 http://www.kexecboot.org/documentation:start 2011-02-28 11:33 http://www.kexecboot.org/documentation:how_kexecboot_works 2011-02-28 11:34 ok, will have a look 2011-02-28 11:34 kyak: easy way - place kernel to /boot/uImage on SD 2011-02-28 11:34 it is there 2011-02-28 11:34 /card/boot/uImage 2011-02-28 11:34 i have jlime on SD 2011-02-28 11:35 check Debug log from system menu 2011-02-28 11:35 it should contain messages about every partition 2011-02-28 11:35 it detects ext2 on /dev/mmcblk0p1 2011-02-28 11:36 tuxbrain_away: it seems like if you are using the toolchain from jlime.com? 2011-02-28 11:36 kyak: doesn't it contain message like 'fs is not supported by kernel'? 2011-02-28 11:37 ah, it is mounted 2011-02-28 11:37 that what's it doesn't like 2011-02-28 11:37 hehe :) 2011-02-28 11:38 all right, now it found it 2011-02-28 11:38 well.. now you can try to choose it and look what happens 2011-02-28 11:38 kexec failed: invalid arguments 2011-02-28 11:38 hm.. 2011-02-28 11:39 it's /sbin/kexec 2011-02-28 11:39 shoudl i symlinks to /usr/sbin/kexec 2011-02-28 11:39 ? 2011-02-28 11:39 sh#t .. I should add --with-kexec-binary=... 2011-02-28 11:39 do it please as temporary solution 2011-02-28 11:39 I'll add configurable path later 2011-02-28 11:39 i'm adding it to Makefile, in order not to forget 2011-02-28 11:39 ah , ok. 2011-02-28 11:41 oh wait 2011-02-28 11:41 it's already /sbin/kexec -> /usr/sbin/kexec 2011-02-28 11:41 const char kexec_path[] = "/usr/sbin/kexec"; 2011-02-28 11:41 :\ 2011-02-28 11:42 it's ok :) 2011-02-28 11:42 i mean, the path 2011-02-28 11:42 Any plans for qi-hardware to be present at Linux-Tag 2011?  Registration deadline for projects is today! 2011-02-28 11:42 (just sent a mail about that to the list, btw) 2011-02-28 11:43 http://wiki.linuxtag.org/w/fp:Call_for_Projects 2011-02-28 11:43 kyak: can you try to kexec' that kernel by hands? 2011-02-28 11:43 Jay7: it did something to my keyboard (repeat rate has changed) and the ethernet gadget driver is not working :) i had to reboot 2011-02-28 11:43 nope 2011-02-28 11:44 ah, yes.. it changes keyboard rate 2011-02-28 11:44 i mean, yeah, i can try :) but haven't tried yet 2011-02-28 11:44 I should make it configurable as well 2011-02-28 11:44 why would it change the repeat rate? 2011-02-28 11:46 it was unusable on Z's 2011-02-28 11:46 I'll switch it off for stand-alone mode 2011-02-28 11:46 Jay7: hm, when using kexec directly, should i mount the partition? 2011-02-28 11:46 yes 2011-02-28 11:46 kexec -l /mnt/boot/uImage 2011-02-28 11:47 kexec -x -e 2011-02-28 11:47 iirc 2011-02-28 11:47 root@ben:~# kexec -l /card/boot/uImage 2011-02-28 11:47 Cannot determine the file type of /card/boot/uImage 2011-02-28 11:48 :\ 2011-02-28 11:48 # file /card/boot/uImage 2011-02-28 11:48 /card/boot/uImage: u-boot/PPCBoot image 2011-02-28 11:48 seems kexec-tools have no support of uImage.. 2011-02-28 11:48 yeah.. 2011-02-28 11:48 but we have tried to boot uImage on arm 2011-02-28 11:48 need to have a look at kexec-tools makefile 2011-02-28 11:48 and it was ok 2011-02-28 11:49 iirc, from 2.0.x there was support of uImage 2011-02-28 11:49 PKG_VERSION:=2.0.1 2011-02-28 11:51 have you zImage or vmlinux.bin somewhere? 2011-02-28 11:51 zrafa : nop from qi-hardware 2011-02-28 11:51 dvdk: I don't think anybody has such plans at the moment. 2011-02-28 11:52 The closest would be Tuxbrain, but Berlin is quite a trip for him and I think he said something about it being too expensive, and hackable devices also not attending? something like that 2011-02-28 11:52 Jay7: have both of them 2011-02-28 11:53 kyak: try with zImage then 2011-02-28 11:53 I mean kexec -l 2011-02-28 11:55 hm, exactly the same message 2011-02-28 11:55 :( 2011-02-28 11:55 /boot/zImage: ACB archive data 2011-02-28 11:55 have your kernel CONFIG_KEXEC=y? 2011-02-28 11:55 i hope it's the right zImage i found.. 2011-02-28 11:56 # CONFIG_KEXEC is not set 2011-02-28 11:56 hehe 2011-02-28 11:56 is it it? 2011-02-28 11:56 it seems 2011-02-28 11:56 lemme correct this 2011-02-28 11:56 any other relevant options? 2011-02-28 11:56 iirc, no 2011-02-28 12:01 Jay7: when being in a kernel with CONFIG_KEXEC, can i boot into another kernel that doesn't have CONFIG_KEXEC? 2011-02-28 12:01 kyak: imho, yes 2011-02-28 12:02 but not 100% sure :) 2011-02-28 12:02 ok, we'll se :) 2011-02-28 12:02 zrafa: confirmed I was using the qi-hardware one 2011-02-28 12:05 tuxbrain_away: okey.. and you are having problems with configure of avr tools right? 2011-02-28 12:06 zrafa: yep 2011-02-28 12:06 tuxbrain_away: have you the proper PATHS in environment setup.. have you ran ". /blabla/environment-setup" before ./configure? 2011-02-28 12:07 zrafa: yep, I have installed the toolchain in /usr/local/ 2011-02-28 12:07 (well) tar -xjz on / 2011-02-28 12:08 okey.. and did you run ". /blabla/environmentsetup" before configure? 2011-02-28 12:09 yep , checked that $PATH contains the blablabla mipsel/blabla/bin 2011-02-28 12:09 Jay7: hm. i booted into the new kernel, tried to kexec the /card/uboot/uImage, /boot/uImage (the one i'm booted in), /boot/zImage - same result 2011-02-28 12:09 you can checkit here http://pastebin.com/QMYcSfY7 2011-02-28 12:09 hehe :) okey.. some configure accept --host. Have you tried that?.. like ./configure --host=mipsel-linux- ? 2011-02-28 12:10 kyak: that is bad.. 2011-02-28 12:10 zrafa: yep build, host & target setted up 2011-02-28 12:10 tuxbrain_away: sorry that I am writting with a little mess.. no mouse right now.. and no desk :P (i am moving and this pc is on the floor) :) 2011-02-28 12:10 heeheheeheh 2011-02-28 12:11 tuxbrain_away: let me check if I can write the pastebin and read 2011-02-28 12:11 complain your kidneys 2011-02-28 12:11 wolfspraul: ok.  at least there should be one or two NanoNotes at the Forth-ev booth (if forth-ev participates) 2011-02-28 12:11 kyak: may you join #kexecboot? 2011-02-28 12:13 tuxbrain_away: the first error I see about C compiler can not create executable.. (thinnking).. 2011-02-28 12:13 tuxbrain_away: what "gcc --version" tells you now? 2011-02-28 12:14 tuxbrain_away: (on the shell you are using for configure of course) 2011-02-28 12:15 Using built-in specs. 2011-02-28 12:15 Target: x86_64-linux-gnu 2011-02-28 12:15 Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --en 2011-02-28 12:15 -libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu 2011-02-28 12:15 Thread model: posix 2011-02-28 12:15 gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 2011-02-28 12:17 I think I have found the trick :) 2011-02-28 12:17 tuxbrain_away: can you try this? :  - use another shell without the environment-setup ran. Just set the PATH var manually using this way : export PATH=$PATH:/usr/local/jlime-2010.1/mipsel/bin/ 2011-02-28 12:17 tuxbrain_away: and then run : ./configure --host=mipsel-linux ? 2011-02-28 12:17 ah.. okey :) 2011-02-28 12:17 .\configure without your enviroment 2011-02-28 12:18 tuxbrain_away: let me know if your trick is working. Maybe is not a trick 2011-02-28 12:18 then make with enviroment set up 2011-02-28 12:18 now is building 2011-02-28 12:18 tuxbrain_away: hehe .. no sure if that would work. In fact I am suggesting set PATH and run configure without the toolchain environment.. but with --host at least 2011-02-28 12:19 tuxbrain_away: but if you are seeing that it is using the toolchain to build .. great ;) 2011-02-28 12:20 tuxbrain_away: some time it is just okey setting PATH manually (so shell can find the mipsel-linux-* binaries and running the configure with --host 2011-02-28 12:22 tuxbrain_away: and for kernel environment setup is not needed neither.. just make with ARCH and CROSS_COMPILE. 2011-02-28 12:22 I run configure with the build host target config, so Makefile is generate to crosscompile, then I setup the toolchain variables to buid... binutils compiled :) 2011-02-28 12:22 next gcc 2011-02-28 12:23 wow fast 2011-02-28 12:44 yeah confirmed the trick is to \configure without the enviroment variables and build with enviroment variables 2011-02-28 12:44 gcc is happily Canadian crosscompiling 2011-02-28 12:47 he ;) 2011-02-28 12:48 ups error on make install? 2011-02-28 12:49 /usr/bin/install: no se puede efectuar `stat' sobre «build/fix-header»: No existe el fichero o el directorio 2011-02-28 13:02 but avr-gcc seems in place so I will take is as valid.... 2011-02-28 13:03 now avr-libc 2011-02-28 13:07 kyak: wpwrak some usb cables of mine http://en.qi-hardware.com/wiki/File:Usb-cables.JPG  :) 2011-02-28 13:08 xiangfu: it's not usual for people to compete for who's something is shorter ;) 2011-02-28 13:10 0.4 ~ 0.8 USD, 3 ~ 5 RMB 2011-02-28 13:12 tuxbrain_away: "patch gcc to ignore []" i like that idea ;-)) 2011-02-28 13:13 yeah fuck arrays 2011-02-28 13:14 kyak: I was think connect freerunner and ben nanonote. then I bought those two blue cables. 2011-02-28 13:15 damn ... 2011-02-28 13:16 the gcc make install has to be fixed before I can procced with avr-libc... there is avr-g++ avr-c++ but no avr-gcc 2011-02-28 13:17 xiangfu: sure, these are cool cables :) can be very convenient in some cases 2011-02-28 13:42 xiangfu: nice cables :) 2011-02-28 13:57 [commit] Xiangfu Liu: new package curveship: Interactive fiction + interactive narrating http://qi-hw.com/p/openwrt-packages/5c15906 2011-02-28 14:04 wpwrak, hi, kristianpaul told me that you knew the USRP,I wondered what was the difference between all the models, are there stuff that you can't do with lower end models, like 80211g debugging? 2011-02-28 14:05 GNUtoo|laptop: there are basically three generations: USRP1, USRP2, and the N2xx series 2011-02-28 14:05 what about N1xxx that has an omap inside? 2011-02-28 14:05 oops 2011-02-28 14:05 I meant E100 2011-02-28 14:05 GNUtoo|laptop: usrp1 uses USB, the others use gigabit ethernet. N2xx and USRP2 are quite similar. 2011-02-28 14:06 ah ok, I know for usrp1 vs usrp2 but not for the others 2011-02-28 14:06 GNUtoo|laptop: ah, the embedded thingy. yes, that exists too, but seems to be a lot less powerful. consider that you have to do the numbercrunching on that slow CPU and not on your PC 2011-02-28 14:06 usb2 is too slow for some stuff like 80211 2011-02-28 14:06 ah ok ouch 2011-02-28 14:07 armv7 with neon vs core i7..... 2011-02-28 14:07 GNUtoo|laptop: yup :) so the real choices are only USRP2 and N2xx, where USRP2 is nearing EOL, with N2xx as the replacement 2011-02-28 14:07 core i7 is way faster... 2011-02-28 14:07 (alas, it's also more expensive than the USRP2) 2011-02-28 14:07 ok 2011-02-28 14:07 yeah, your PC will run circles around anything embedded ;-) 2011-02-28 14:08 and between N210 and N200? 2011-02-28 14:09 hmm, need to check ... 2011-02-28 14:09 with tears in his eyes looks at console seeing avr-tools finally completed.... 2011-02-28 14:10 tuxbrain_away, avr-tools in oe? 2011-02-28 14:10 not GNUtoo|laptop manually crosscompiled 2011-02-28 14:10 GNUtoo|laptop: oky, that's easy: there is no N200 device ;-) N200 is the series, N210 its first member 2011-02-28 14:11 I will let others to do such distro integration 2011-02-28 14:11 M_Rojas: good morning ! :) 2011-02-28 14:11 Good morning :-) 2011-02-28 14:12 if my tar.gz works , for me is far than enough... I have wasted a looooot of time on this, I can afford waste more. 2011-02-28 14:12 call me coward if you want :P surelly I am 2011-02-28 14:21 kyak: I can reproduce the 'flite' issue. [flite  -t "hello world" a.wav && aplay  a.wav] is better then just [flite  -t "hello world"] 2011-02-28 14:22 kyak: in release 2011-02-23 2011-02-28 14:24 xiangfu: good :) seems we have the same problem then 2011-02-28 14:24 GNUtoo|laptop: then you have to choose carefully which RF daughterboards you want. e.g., which frequency range, and so on 2011-02-28 14:24 GNUtoo|laptop: also, some can do full-duplex while others can't 2011-02-28 14:25 bascally I don't have the money yet 2011-02-28 14:25 but I wanted to know how much I needed to save... 2011-02-28 14:26 and was curious also 2011-02-28 14:27 I bet I will also need to work for radioham licenses 2011-02-28 14:27 GNUtoo|laptop: you'll need about USD 2200. and if you don't have RF items in your lab yet (adapters, antennas, cables), then expect to spend a few more hundred USD on these. RF stuff is expensive :-( 2011-02-28 14:27 ok 2011-02-28 14:28 Basically if I can find a good job this summer, it may accelerate the savings 2011-02-28 14:28 GNUtoo|laptop: (license) as long as you keep your emissions low enough, nobody will notice ;-) also, you may be able to avoid going over the air 2011-02-28 14:29 GNUtoo|laptop: an influx of money always helps :) 2011-02-28 14:30 phew, it's getting there slowly http://en.qi-hardware.com/wiki/Community_news_2011-03-01 2011-02-28 14:30 only ubb and hoperf missing 2011-02-28 14:30 I cannot test until a few hours but if some one can confirm it works on NN (at least execute) I will be very happy to ear, 2011-02-28 14:30 http://www.tuxbrain.org/downloads/nanonote/arduino/mipsel-avr-gcc-4.3.4-binutils-2.20-libc-1.6.8.tar.gz 2011-02-28 14:30 now I have to follow the avrdude tutos of wpwrak and pack also the Arduino libs to have the full basic package to start ot think in a front end for all this (well I will start with a Makefile and tutorial :P) 2011-02-28 14:31 wolfspraul: quite  a lot of stuff this months, eh ? ;-) 2011-02-28 14:31 s/months/month/ 2011-02-28 14:32 tuxbrain_away: can you reply to David's idea about linuxtag on the list? 2011-02-28 14:32 I think you said nobody would go, bearstech also won't. 2011-02-28 14:32 I'm not sure what David plans or how we could support him. 2011-02-28 14:32 the 'other' David :-) 2011-02-28 14:33 wpwrak: I hope it's still readable. 2011-02-28 14:33 I kept with a simple layout so it's easy to browse/glance over it 2011-02-28 14:34 wolfspraul: will check the list and see what can we do 2011-02-28 14:35 kyak: for now. have no idea how to fix that. maybe report bug to flite first. but I can not find where to report it. I just update the wiki page. Known Issue: http://en.qi-hardware.com/wiki/OpenWrt_Software_Image#Image_2011-02-23 2011-02-28 14:36 xiangfu: at least we have the workaround for that 2011-02-28 14:36 how does flite play the file? 2011-02-28 14:36 is it piping it to some external player? 2011-02-28 14:37 good question. i feel that it is cat'ing to /dev/audio or something :) 2011-02-28 14:37 wolfspraul: does the fpga bootup fix have something on the wiki ? 2011-02-28 14:37 could it be that it is slightly too slow to generate audio in realtime? 2011-02-28 14:37 jow_laptop: it doesn't actually create any file unless you tell it to 2011-02-28 14:37 yes, could be so 2011-02-28 14:37 you mean a link? yes - a lot. OK I add a url. 2011-02-28 14:38 http://en.qi-hardware.com/wiki/Milkymist_One_Power_On_Off_Sequence 2011-02-28 14:39 wolfspraul: cool ! even better than i expected :) 2011-02-28 14:40 thanks for asking, you hit exactly the right point 2011-02-28 14:40 I like the news slowly, it won't get much better anymore, just details. 2011-02-28 14:40 still need to split ubb into several lines, let me see... 2011-02-28 14:42 btw, I spoke to Marcin from the mtk 6235 project briefly, and he says he is making very good progress 2011-02-28 14:42 wolfspraul: do you want to mention the uart board, avrdude-on-ben, and yi's applications list ? 2011-02-28 14:42 through his company he has access to serious rf and communication/protocol equipment, so that won't be an effort that stops easily. 2011-02-28 14:42 wolfspraul: (mtk) nice ! :) 2011-02-28 14:43 application list is referenced in several places, that's enough 2011-02-28 14:43 avrdude - maybe 04-01 then we have more to say 2011-02-28 14:43 (I'll take a note there now0 2011-02-28 14:43 ) 2011-02-28 14:43 uart - up to you, sure I can add it 2011-02-28 14:43 so yes, he is already looking into the communication with the 6140 transceiver, and is optimistic to have rx/tx working 'soon' 2011-02-28 14:44 (avrdude) ok :) maybe put uart there then, too. avrdude is a prerequisite for uart 2011-02-28 14:44 can you use avrdude with ubb? 2011-02-28 14:45 sure. you need something on the other end that connects to your circuit, but then it works of course. 2011-02-28 14:45 wpwrak: I hope so that is one of the main reasons I order them 2011-02-28 14:45 kyak: looks like it has multiple audio backends, maybe it uses the wrong one for playback 2011-02-28 14:45 oss instead of alsa 2011-02-28 14:46 wolfspraul: here's one example: http://downloads.qi-hardware.com/people/werner/wpan/tmp/atusb-pgm-20110203.jpg 2011-02-28 14:46 wolfspraul: (that's the one i use to flash the mcu on atusb) 2011-02-28 14:46 tuxbrain_away, why not: bitbake avrdude ? 2011-02-28 14:47 jow_laptop: nice hint.. need to check it from build logs.. 2011-02-28 14:47 but the uart board has an uart ic on it, no? 2011-02-28 14:47 that is not actually needed? 2011-02-28 14:47 GNUtoo|laptop: need the wpwrak patch 2011-02-28 14:47 wpwrak: about the picture, thanks! :-D 2011-02-28 14:47 just qdd it in oe 2011-02-28 14:47 GNUtoo|laptop: you need the driver for the nanonote's GPIOs 2011-02-28 14:47 ahh ok 2011-02-28 14:47 kyak: #ifdef CST_AUDIO_LINUX defaults to oss and there's an explicit #ifdef CST_AUDIO_ALSA 2011-02-28 14:48 yes maybe I will add that patch to the receipt and build , but it's  on alpha but workable state 2011-02-28 14:48 wolfspraul: the UART board has just an ATmega48. i use the in-circuit programming signals also for communication with the ben, so there's no need for an extra programming cable 2011-02-28 14:49 uhm, where's flite hosted? cannot find it in the qi repo 2011-02-28 14:49 jow_laptop: seems it can be fixed with --with-audio=ALSA,,, 2011-02-28 14:49 GNUtoo|laptop: also, for atusb, you need an entry for the ATmega32U2 in avrdude.conf 2011-02-28 14:50 ok 2011-02-28 14:51 GNUtoo|laptop: there are still a few loose ends, e.g., for programming the UART board with the "real" firmware (right now, i just have a trivial led-blinking thingy), you'll need to supply a clock. the driver doesn't do that yet. once all this is done, i'll send the patches upstream and things should trickle down after a while 2011-02-28 14:52 jow_laptop: seems that it's in openwrt feeds 2011-02-28 14:52 not in qi-;s 2011-02-28 14:52 oh :) 2011-02-28 14:52 yeah, i was surprised , to :)) 2011-02-28 14:53 yeah... --with-audio="oss" 2011-02-28 14:54 I think this explains it 2011-02-28 14:54 hehe 2011-02-28 14:54 so. can we rely on you to fix it? :) 2011-02-28 14:58 kyak: oh. then why I can not reprocude the error in 2010-12-14. because I am using my port version which is 1.4. and don't have those configures. 2011-02-28 15:00 alright, enough 2011-02-28 15:01 http://en.qi-hardware.com/wiki/Community_news_2011-03-01 2011-02-28 15:01 it stays up for further edits or feedback until tomorrow, and I push it out sometime tomorrow then 2011-02-28 15:01 xiangfu: maybe you can share the makefile with jow. He could update the upstream version 2011-02-28 15:04 kyak: jow_laptop : http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/commit/cd33c1caf8987175ee9bc7eddf6d0fc7d26ae262/ 2011-02-28 15:05 I am compiling this 1.4 version flite now. 2011-02-28 15:05 xiangfu: okay, I'll put it on the queue 2011-02-28 15:07 wolfspraul: (community news) looks nice ! 2011-02-28 15:08 kyak: http://downloads.qi-hardware.com/people/xiangfu/tmp/nand_ecc.txt_2.wav. by [flite nand_ecc.txt nand_ecc.txt_2.wav] which nand_ecc.txt is kernel document. it's killed by kernel. 2011-02-28 15:09 wolfspraul: the dvdk+larsc ubifs speedup also goes into 2011-04-01 then ? 2011-02-28 15:14 wpwrak: should be. :) 2011-02-28 15:18 wpwrak: yes, and let's see in which bigger context this resurfaces. 2011-02-28 15:18 maybe dual-booting, maybe faster booting, don't know yet. 2011-02-28 15:20 okay, sounds good 2011-02-28 15:35 tuxbrain_away: nice.. you did :) 2011-02-28 15:35 kyak: jow_laptop . the flite 1.4 works fine with [flite -t "hello worls"]. 2011-02-28 15:35 jow_laptop: http://downloads.qi-hardware.com/people/xiangfu/tmp/flite-1.4-release.config.log 2011-02-28 15:36 http://downloads.qi-hardware.com/people/xiangfu/tmp/flite_1.4-1_xburst.ipk 2011-02-28 15:36 xiangfu: did it pick alsa as backebd? 2011-02-28 15:36 yes 2011-02-28 15:36 automatic selected. 2011-02-28 15:36 AUDIODRIVER='alsa' 2011-02-28 15:36 the old flite used oss, this explains the quality difference 2011-02-28 15:36 old flite goes through oss emulation 2011-02-28 15:36 this probably kills performance 2011-02-28 15:40 zrafa: after some manual intervention on copy files but yes... It finally builds.... now is matter to know if it also works :P 2011-02-28 15:42 tuxbrain_away: yep.. no sure how to test that. Maybe against arduino? 2011-02-28 15:42 jow_laptop: then we can easy fix that by removing --with-audio="oss" \  :) 2011-02-28 15:43 time to sleep. 2011-02-28 15:44 yes 2011-02-28 15:44 though I intend to make it configurable 2011-02-28 15:45 via menuconfig 2011-02-28 15:47 zrafa: yes that's the goal :) I think I will try to recreate this http://www.tuxbrain.com/content/%E6%9C%AC-ben-nanonote-editandocompilandoflasheando-un-sketch-de-arduino but on jlime beta4 and lastest Openwrt release 2011-02-28 15:48 tuxbrain_away: ah nice ;) 2011-02-28 17:03 wow reflash.sh has a progress bar :) (as you might guess) I have not use it for long time :), may be I will do a fork with a distro selector : 1)Qi, 2)jlime 3)debian? 4)librewrt? 2011-02-28 17:09 oh 2011-02-28 17:09 kyak: regarding initrd, my collegue pointed me to this: http://www.djarvur.net/products/howtos-and-other-docs/how-to-create-initrd-gz-to-boot-openwrt-x86-from-usb-flash 2011-02-28 17:10 kyak: it is proof-of-concept quality at best, but I already have some ideas for enhancements 2011-02-28 17:10 xMff: ok, thanks! i'll have a look... 2011-02-28 17:12 xMff: it seems that kexec is not working on mips btw -\ 2011-02-28 17:12 a guy from #kexecboot pointed here: https://dev.openwrt.org/ticket/7115 2011-02-28 17:13 i tried using this patch in 2.6.32 from backfire.. no luck 2011-02-28 17:13 hm I see 2011-02-28 17:13 kexec says that uImage is "unknown files type" and it is silent on vmlinux/vmlinux.elf 2011-02-28 17:14 there is no error, no output, and i stay in the same kernel 2011-02-28 17:15 they also pointed to CONFIG_KEXEC=y, which must be present. 2011-02-28 17:15 i double checked, it is there.. 2011-02-28 17:16 did you append arguments? 2011-02-28 17:16 kexec -l ... --append="console=..." 2011-02-28 17:16 hm, nope: ) 2011-02-28 17:16 one moment 2011-02-28 17:18 https://forum.openwrt.org/viewtopic.php?id=23881 2011-02-28 17:21 hm.. first of all, seems that i misunderstood the kexec utility. Does it mean to be used in two commands? 2011-02-28 17:21 apparently 2011-02-28 17:21 the first one sets up the env 2011-02-28 17:21 and the -e executes it 2011-02-28 17:22 interesting. i need to experiment more.. 2011-02-28 17:22 for now i see the "Bye..." 2011-02-28 17:22 and then all hangs 2011-02-28 17:22 heh 2011-02-28 17:35 wpwrak: is the following list comprehensive 2011-02-28 17:36 wpwrak BEN 8:10 port UBB (no electronics, simple extension of signals so a ribbon cable can be attached) 2011-02-28 17:37 wpwrak 2) atBen 8:10 card with 802.15.4 radio and (later) 6LoWPAN protocol stack) 2011-02-28 17:38 wpwrak 3) ??? UART implemented with AVR chip, 8:10 card for Ben ??? 2011-02-28 17:38 4) atUSB 802.15.4 radio on USB stick for Linux PC 2011-02-28 17:39 end of list. ;)) 2011-02-28 17:40 tuxbrain_away 's work to get AVR tools working on Ben NN should yied significant new interest and Ben sales 2011-02-28 17:46 rjeffries: after the hell of fustration I have passed (basically for my ignorance on the matter) I hope you where true, I hope in a week or so I have a easy to use enviroment (console based) with some examples to attack(sorry attract) Arduino lovers. of course if all work as expected. Once with this base we can start to think on a graphical onekeypress arduino frontend as his java big brother but thinked to fit on NN 2011-02-28 17:47 regarding the list, I will rise one pos the atUSB and down the UART. 2011-02-28 17:47 tuxbrain_away: what should the arduino GUI on nn do? 2011-02-28 17:49 load/save/edit/compile/upload scketches , and a SPI console to send/recieve messages from/to Arduino 2011-02-28 17:50 also containing examples, and select the destination (board/atmega) 2011-02-28 17:53 tuxbrain_away GUI would be nice, but a good design console program with that functionality would be ok/fine 2011-02-28 17:55 rjeffries: I have in mind to clone the look and feel of the caracteristic arduino env to make beguinners feel familiar with it, the pro can directly edit the make file or even piss off on Arduino API 2011-02-28 17:57 but of course all have an start, and this is just replicate this http://www.tuxbrain.com/content/%E6%9C%AC-ben-nanonote-editandocompilandoflasheando-un-sketch-de-arduino, with the builded tools , and the patched avrdude 2011-02-28 18:00 from here multiple items on todo list... integrate this tools on OpenWrt & OE, finish and upstream avrdude patches, make demos interacting with gnuplot , and send keypresses to Arduino  to demostrate interaction with platform beyond pure compilation, and of course the gui 2011-02-28 18:03 so due there is an quite presentable todo list, I was thinking to aglutinate them all on a ardunote project which have the aim on make NN the perfect portable Atmega related front end... focused on Arduino but taking advantage that is attacks directly to SPI  instead of serial we an use chips directly without need of board at all. 2011-02-28 18:06 wpwrak: how many free gpios has UBB if is used to flash a atmega chip? due the free gpios can be used as some kind of proves to test in/outs of the chip to cheeck the uploaded program ... 2011-02-28 18:08 well in fact once flashed you can use the 6 gpios as some what of digital analizer.... so a cronogram in gui can be also usefull for the pros :) 2011-02-28 18:09 but again ... as Wolfsaid let focus... and step by step 2011-02-28 18:12 xMff: could it be that vmlinux.elf and uImage have different entry points? 2011-02-28 18:12 i boot into uImage, as usual, and then kexec vmlinux.elf (cause kexec only know elf-mips) 2011-02-28 18:13 kyak: maybe 2011-02-28 18:13 it call the new kernel at some address.. 2011-02-28 18:14 "Will call new kernel at 00014350" and then "Bye ..." 2011-02-28 18:14 this is basically what's described in the bug report and in forum 2011-02-28 18:15 but i'm sure i applied the patch... 2011-02-28 18:15 the kernel command line is taken from the current kernel 2011-02-28 18:15 but i also tried to set it explicitely 2011-02-28 18:59 This looks interesting for Xue http://www.ohwr.org/projects/wb-serializer-core/wiki 2011-02-28 19:08 kyak: I know very little about kexec myself, I need to research it first 2011-02-28 19:08 is in doubt wrt adding kexecboot port to news page 2011-02-28 19:08 we have kexecboot ported and working but we have no working kexec :) 2011-02-28 19:09 yeah 2011-02-28 19:10 but we have nice screenshots ;) 2011-02-28 19:20 Entry point 0x80014350 2011-02-28 19:20 this is said by readelf -l /boot/vmlinux.elf 2011-02-28 19:20 but it kexec tries to boto from address 0x00014350 2011-02-28 19:21 the problem?? 2011-02-28 19:22 may be 2011-02-28 19:27 I miss those package in openwrt  gcc gcc-symlinks cpp g++ g++-symlinks binutils binutils-symlinks linux-libc-headers-dev libc6-dev autoconf make libz-dev libz1 perl perl-dev perl-modules tcl tcl-dev python-modules distcc coreutils 2011-02-28 19:29 "miss"? 2011-02-28 19:29 sorry this is all I try to install this is what I miss Unknown package 'gcc'. 2011-02-28 19:29 Unknown package 'gcc-symlinks'. 2011-02-28 19:30 Unknown package 'cpp'. 2011-02-28 19:30 Unknown package 'g++'. 2011-02-28 19:30 Unknown package 'g++-symlinks'. 2011-02-28 19:30 first of all, there are no *dev packages, as i know. 2011-02-28 19:30 for the others, you should opkg update and opkg list |grep for what you need 2011-02-28 19:31 if you need development files, you'll copy it from your build tree. 2011-02-28 19:34 kyak: the kexec manpage states hat kexec does shutdown if -f is not given 2011-02-28 19:34 kyak: maybe this causes issues on the NN 2011-02-28 19:37 xMff: kexec -l -f /boot/vmlinux.elf has the same effect - it all hangs 2011-02-28 19:39 hm 2011-02-28 19:39 found another thing 2011-02-28 19:40 http://www.linux-mips.org/archives/linux-mips/2007-08/msg00255.html 2011-02-28 19:41 this one seems to be there already 2011-02-28 19:42 __flush_cache_all(); 2011-02-28 19:42 http://old.nabble.com/kexec-on-mips---anyone-has-it-working--td17485898.html 2011-02-28 19:42 there is a big patch at the end: http://people.mandriva.com/~apatard/kexec_mips.patch 2011-02-28 19:43 it's something very different and much bigger 2011-02-28 19:53 kyak: hm, can you try to remvoe the crashdump patch from openwrt? 2011-02-28 19:53 kyak: generic  930-crashlog.patch 2011-02-28 19:54 rm -rf target/linux/generic-2.6/patches-2.6.32/930-kmsg_dump_backport.patch 2011-02-28 19:55 make target/linux/{clean,install} 2011-02-28 19:55 hm 2011-02-28 19:55 is it the patch? 2011-02-28 19:56 moment 2011-02-28 19:56 no 2011-02-28 19:56 931 in backfire 2011-02-28 19:57 so i added 023-mips-fix-kexec.patch and removed 931-crashlog.patch 2011-02-28 19:57 building now.. 2011-02-28 19:58 it is not included? 2011-02-28 19:58 023 I mean 2011-02-28 19:58 nope 2011-02-28 19:58 was added 11 months ago 2011-02-28 19:58 023 is not backported 2011-02-28 19:58 ah 2011-02-28 19:58 I assumed this is already done :) 2011-02-28 19:58 hm, good idea.. maybe there are other patches for 2.6.32, which are not backported yet.? 2011-02-28 19:59 probably but I doubt there are that many which would affect kexec 2011-02-28 19:59 right 2011-02-28 20:07 xMff: i see no changes 2011-02-28 20:35 kyak: :( 2011-02-28 20:39 I think I had break somthing trying to install bin-utils... reflashing 2011-02-28 20:40 a question: sure there is a wise reason but why isn't dev packages part of the repositories? 2011-02-28 20:40 on openwrt 2011-02-28 20:42 tuxbrain_away: you "lose" one signal for reset (if you support the in-circuit programming interface and don't do the "trapdoor" change of reset as gpio) 2011-02-28 20:43 xMff: thanks for support anyway! Someone from #kexecboot suggested using 2.6.37. Do you think it would hlep? 2011-02-28 20:43 tuxbrain_away: with the rest, you're free to do as you please. for spi, you need four signals: sclk, mosi, miso, and also nSS 2011-02-28 20:43 kyak: certainly worth a try 2011-02-28 20:44 tuxbrain_away: due to openwrts history, it always was made for devices that cannot host a toolchain, therfore very little effort was put into making such dev packages 2011-02-28 20:44 xMff: roger 2011-02-28 20:45 xMff: guess i will wait for that openwrt release in May, when we catch up with the latest trunk and therefore the kernel 2011-02-28 20:45 tuxbrain_away: do you try to install gcc etc. on openwrt? 2011-02-28 20:45 *on NN 2011-02-28 20:47 I'm trying to get as close as my own previous devian tutorial to compile and flash to NN, so the only reference to have a building system using opkg was the jlime one, but it fails miserably on openwrt 2011-02-28 20:47 debian (my apologizes to all debianites) 2011-02-28 20:47 I don't know this tutorial, is there a link somewhere? 2011-02-28 20:48 but re reading the Arduino Makefile template, I thing only my toolchain is needed 2011-02-28 20:49 at risk that qi-bot kicks me by spammer by thirth time today here is the link  http://www.tuxbrain.com/content/%E6%9C%AC-ben-nanonote-editandocompilandoflasheando-un-sketch-de-arduino 2011-02-28 20:49 there is also in english (just click the british flag) 2011-02-28 20:49 ah, so you basically try to to build an avr toolchain which is hosted on xburst (mips) 2011-02-28 20:50 the toolchain is already builded now 2011-02-28 20:50 now I will test if I do it right 2011-02-28 20:50 okay 2011-02-28 20:50 link to the toolchain http://www.tuxbrain.org/downloads/nanonote/arduino/mipsel-avr-gcc-4.3.4-binutils-2.20-libc-1.6.8.tar.gz 2011-02-28 20:51 are there major obstacles with compilation of the avr toolchain? 2011-02-28 20:51 if not, it should be easy to package it so it can be compiled like a regular package for openwrt 2011-02-28 20:52 I have some strange problem on make install part of the gcc 2011-02-28 20:52 it miss a file during the proccess but the build goes fine. 2011-02-28 20:53 hm ok 2011-02-28 20:55 xMff:  if you do this you will have my eternal gratitude and hate in same qty: love due will sweet the rest of the "ardunote" project , and hate due if you have done tree days before you had save me (an part of this community due my annoyance ) a tree days of headaches :P 2011-02-28 20:59 I'll give it a try 2011-02-28 21:00 wpwrak: I have to start to decipher your messages sooner than later,  due the moment to apply their content is becoming very near... :P, when you mean the reset, you mean to reserve one signal to do what I done manually when I work with NN serial... to push reset just before trying to upload,  isn't it? 2011-02-28 21:00 xMff: your queue must be sooo long by now :) 2011-02-28 21:01 xMff: I have used version and patches form lastest script form this post of avrfreaks. http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=42631 2011-02-28 21:02 this include some patches to reduce bin size and include lastest atmega chips (like atmega2560) 2011-02-28 21:02 are those patches required to compile the toolchain or are they just optimizations? 2011-02-28 21:03 don't know... I just a howto follower, the 90% of time I don't know what I'm really doing 2011-02-28 21:04 :) 2011-02-28 21:04 okay, I'll try my luck with vanilla stuff first 2011-02-28 21:05 atleast try to use same versions :) then we can apply patches and we can detect if some one breaks the thing 2011-02-28 21:07 tuxbrain_away: to hold the avr in reset during programming 2011-02-28 21:13 wpwrak: roger due I will not mess with you insight of the black magick you are doing on avrdude, your words are dogma for me. one gpio reserved for reset :) 2011-02-28 21:15 tuxbrain_away: it's actually not so much avrdude magic ;-) if you look at the "serial programming algorithm" under "memory programming" in about any avr data sheet, you'll find the protocol there 2011-02-28 21:16 tuxbrain_away: you basically have to hold reset low while programming. you could this with an external switch, of course. e.g., a reset button. but it's nicer if everything con be controlled from the ben. 2011-02-28 21:17 wpwrak: I agree, this will give even a more near "arduinic" experience :) 2011-02-28 21:18 the need of presing reset manually has being removed since USB Duemilanove 2011-02-28 21:19 tuxbrain_away: what's not so nice is that this means that you have only one gpio left after reset and spi. that one could be used for avr-to-ben interrupts or for a ben-to-avr clock. 2011-02-28 21:20 tuxbrain_away: alas, if you need both, things will get messy 2011-02-28 21:20 tuxbrain_away: (2009) wow, you had to do that ? how rustic 2011-02-28 21:20 but you only need this while programing isn't it? 2011-02-28 21:21 tuxbrain_away: the reset ? yes 2011-02-28 21:21 and Arduino boards had their own clocl 2011-02-28 21:21 clock 2011-02-28 21:24 (own clock) good. then you can have interrupts :) 2011-02-28 21:27 mmmmmm...... I guess the following tellme if I'm wrong... I guess it will be better while programing  use ben-clock so then we can program arduino board or a nude atmega chip. but while runing if is an arduino board use the arduino clock, talking from absolutly ignorace 2011-02-28 21:28 those thinkg is what I want to contron from a gui selecting target. 2011-02-28 21:29 the gui can also have the wiring schema to work with that target. 2011-02-28 21:30 well time to time flash finished let's try again 2011-02-28 21:30 tuxbrain_away: your avr only needs a clock from the ben during programming if it doesn't have a clock of its own. this can happen if you set the fuses to, say, extrnal clock or crystal but you only have the internal oscillators 2011-02-28 21:31 tuxbrain_away: mosr avrs come with the fuses set to the internal clock, so that's fine then 2011-02-28 21:32 rjeffries: (list of projects) correct. uart still needs a better name ;-) 2011-02-28 21:32 attty 2011-02-28 21:33 atben, atusb, attty 2011-02-28 21:35 the last openwrt image is an amazing step forward in the soft part.... intuitive, good looking and full of apps.. jlime guys hurry up due the Openwrt has taking you advantage :) 2011-02-28 21:35 hi 2011-02-28 21:37 just testing jo-philipp's patches to emacs, libggi, gforth, octave, plplot and going to commit soon.  just letting you know to prevent any collisions on commit :) 2011-02-28 21:44 tuxbrain_away: hurry : ;-)).. Nah, jlime has already apps users want. When nn users becomes 10.000 surely they will ask for new applications. There we can do more work ;) For now, Blizzard is doing the proper work to do.. merging ideas to OE. 2011-02-28 21:45 we can do more work= we can work another week more :P 2011-02-28 21:46 zrafa:just kidding :) both jlime an openwrt have make gigantic steps in estethic and usability great work dudes 2011-02-28 21:46 hmm, where should such an avr toolchain be placed? /usr/local/avr ? 2011-02-28 21:47 xMff, nice place :) 2011-02-28 21:47 local sounds stupid if its a package anyway, so I guess just /usr/avr is okay 2011-02-28 21:47 also ok 2011-02-28 21:47 at the end the avr toolchain is setup on Makefile 2011-02-28 21:48 do you know if gnuplot can draw on line data? 2011-02-28 21:50 tuxbrain_away: btw, B_Lizzard has some ideas for some new stuff using a new toolkit as well (we were thinking to do a new widgets kit just for jornadas and nn). Maybe we do something on that land as well 2011-02-28 21:51 Well, it would be nice if I had anything to show 2011-02-28 21:51 We should work on some specs, zrafa 2011-02-28 21:52 Define the file-format for the parser, function interfaces etc 2011-02-28 21:52 tuxbrain_away: and like you know he has "that" thing with drugs.. and I have with drinks... so the real work takes time :D 2011-02-28 21:53 ITS A HERB NOT A DRUG 2011-02-28 21:53 *gets stoned* 2011-02-28 21:53 B_Lizzard: specs: yes, you are right. I will be next week moved, so we can continue ;) 2011-02-28 21:54 OK 2011-02-28 21:54 See ya tomorrow then 2011-02-28 21:54 XD  B_Lizzard sat yes, if it comes from ground it can't  be so bad  is some kind of vegetable :P 2011-02-28 21:58 EyesisMaps is awesome ! 2011-02-28 21:59 autoreplying my gnuplot quiestion http://users.softlab.ntua.gr/~ttsiod/gnuplotStreaming.html 2011-02-28 22:02 I suggest to change the worm icon.. I feel very dissapointed waiting for some kind of port of worms!, but well disappoint disapears after first hundred score :P 2011-02-28 22:05 tuxbrain_away: yeah,new icons may cause some random feelings 2011-02-28 22:09 tuxbrain_away: he, you get caught at the end, thats important ! 2011-02-28 22:11 yeah is the clear example of  " bah what a silly game, I will catch one more number and I let it go" on a while 1=1 bucle :P 2011-02-28 22:33 [commit] David Kühling: gforth: patch from jow to adapt to build-system changes http://qi-hw.com/p/openwrt-packages/8591705 2011-02-28 22:33 [commit] David Kühling: emacs: patch by jow to adapt to build-system changes http://qi-hw.com/p/openwrt-packages/d1d5fe4 2011-02-28 22:33 [commit] David Kühling: octave: patch by jow to adapt to build-system changes http://qi-hw.com/p/openwrt-packages/bd72697 2011-02-28 22:33 [commit] David Kühling: plplot: patch by jow to adapt to build-system changes http://qi-hw.com/p/openwrt-packages/5e9064e 2011-02-28 22:33 [commit] David Kühling: libggi: patch by jow to adapt to build-system changes http://qi-hw.com/p/openwrt-packages/3c62d2b 2011-02-28 23:13 wpwrak I did not remember your plans for an 8:10 "uart" I suggest Ben Serial os BS for short. ;) 2011-02-28 23:14 s/os/or 2011-02-28 23:15 BS sounds good :) my plan ... lemme find it 2011-02-28 23:17 rjeffries: here: http://lists.en.qi-hardware.com/pipermail/discussion/2011-February/007132.html