2011-10-10 01:50 [commit] Werner Almesberger: m1rc3/norruption: moved material of 1st series tests to 1/, 2nd to 2/ (master) http://qi-hw.com/p/wernermisc/5037afb 2011-10-10 01:50 [commit] Werner Almesberger: m1rc3/norruption/1/: distribution data and plot script (master) http://qi-hw.com/p/wernermisc/8b4ef50 2011-10-10 01:50 [commit] Werner Almesberger: m1/perf/sched.c: synchronize with upstream version (master) http://qi-hw.com/p/wernermisc/9e32d56 2011-10-10 01:50 [commit] Werner Almesberger: labsw/Makefile (bom): generate .lst file from eeschema (master) http://qi-hw.com/p/wernermisc/8341574 2011-10-10 01:50 [commit] Werner Almesberger: m1rc3/norruption/1/loop8: forgot to commit this one (master) http://qi-hw.com/p/wernermisc/f3bfd1f 2011-10-10 01:50 [commit] Werner Almesberger: m1rc3/norruption/1/peekcmp: compate standby dump obtained with "peek" (master) http://qi-hw.com/p/wernermisc/3599e3e 2011-10-10 02:00 wpwrak: http://elespectador.com/impreso/vivir/articulo-304360-el-genio-de-jobs-era-el-opuesto-al-de-da-vinci 2011-10-10 02:02 [commit] Werner Almesberger: m1rc3/norruption/2/: new loop and tools, with auto-reporting and auto-recovery (master) http://qi-hw.com/p/wernermisc/d433f73 2011-10-10 03:59 [commit] Werner Almesberger: m1rc3/norruption/2/aloop: corrections and put cycle number at beginning of file name (master) http://qi-hw.com/p/wernermisc/f1ebf74 2011-10-10 03:59 [commit] Werner Almesberger: m1rc3/norruption/2/upset: deliberately corrupt the NOR (master) http://qi-hw.com/p/wernermisc/7cb9679 2011-10-10 06:44 viric: the newsbeuter thing is getting really slow when it is 15000+ articles in a cache. It also uses around 250 Mb of RAM at this point -\ Have you tested offrss in such harsh conditions? 2011-10-10 06:51 The build was successfull, see images here: http://fidelio.qi-hardware.com/~xiangfu/compile-log/openwrt-xburst.full_system-10092011-0220/ 2011-10-10 06:53 needs prepare the next nanonote release. linux 3.1 and merge all atBen stuff to next release. 2011-10-10 06:53 1.5 month passed. 2011-10-10 06:54 yes, great! :-) 2011-10-10 07:13 indeed! 2011-10-10 07:17 kyak: hmm I've maybe 4000 articles, with no slowdown, and almost constant ram use 2011-10-10 07:17 kyak: it's up to the filesystem cache 2011-10-10 07:37 this is great 2011-10-10 09:55 kristoffer: you've asked Andrew Holme about the license of this GPS work already, right? 2011-10-10 09:55 then I don't need to send more mails... 2011-10-10 10:06 the nanonote is an excellent zcode player for long train travels! Thanks guys :) 2011-10-10 10:12 C-Keen: what is that? 2011-10-10 10:13 viric: playing text adventure games 2011-10-10 10:14 ah ok 2011-10-10 10:19 I thought text adventure games were more for devices with easy typing 2011-10-10 10:30 C-Keen: zcode - is that in the image, a package, or you built it yourself? 2011-10-10 10:30 we ported frotz to the NanoNote once upon request by Nick Montfort, who then also made sure his Curveship software runs on the Ben 2011-10-10 10:31 wolfspraul: it is a package I found on the wiki, the name of the zcode interpreter is zoom 2011-10-10 10:31 wolfspraul: interesting, I will have a look at nick's port 2011-10-10 10:31 yes, definitely 2011-10-10 10:32 do you happen to have a url to the package? if you use it we should include it by default :-) 2011-10-10 10:35 wolfspraul: ah sorry, I was wrong. I have been using frotz actually. So all is good! 2011-10-10 10:36 just checked 2011-10-10 10:47 you played directly with frotz? 2011-10-10 10:47 or you had some game that used frotz? 2011-10-10 10:48 frotz is an interpreter that reads zcode images of games 2011-10-10 10:48 I have played with it directly 2011-10-10 10:48 the typing is still a bit awkward for me on the keyboard 2011-10-10 11:10 C-Keen: are there any resources/sites for zcode games? 2011-10-10 11:10 free stuff that we could just include 2011-10-10 11:17 tons of it, there are even new games created every year. the "official" archive is at ifarchive.org 2011-10-10 12:07 C-Keen: excellent link, thanks! 2011-10-10 12:07 is all that stuff freely licensed? 2011-10-10 12:07 do you think we can or should bundle some with the Ben? 2011-10-10 12:08 ah well, they make their life easy :-) http://www.ifarchive.org/misc/license.html 2011-10-10 12:08 I'm very bad at interactive fiction 2011-10-10 12:08 what does that mean in practice? 2011-10-10 12:08 most of the stuff is not free? 2011-10-10 12:08 or most is? 2011-10-10 12:10 C-Keen: can you point me to your top-10 or so (or 5 or 3) zcode games on ifarchive.org? 2011-10-10 12:12 viric: try this:  apt-get install tads3; wget http://mirror.ifarchive.org/if-archive/games/tads/Rematch.gam; t32run Rematch.gam 2011-10-10 12:13 wpwrak: debian not spoken 2011-10-10 12:13 viric: yum install ? ;) 2011-10-10 12:13 nix :) 2011-10-10 12:13 send your kid to school ! :) 2011-10-10 12:14 hehe 2011-10-10 12:15 I've played some 'instead' games 2011-10-10 12:15 http://code.google.com/p/instead/ 2011-10-10 12:16 "rematch" is quite unique. very out of the box. 2011-10-10 12:17 you'll notice that by the time you die (in the game) ;-) 2011-10-10 12:23 wolfspra1l: sure! http://ifarchive.org/if-archive/games/zcode/LostPig.zblorb http://ifarchive.org/if-archive/games/zcode/anchor.z8 http://ifarchive.org/if-archive/games/zcode/photopia.z5 http://ifarchive.org/if-archive/games/zcode/photopia.z5 [more] 2011-10-10 12:24 great! 2011-10-10 12:24 thank you! 2011-10-10 12:24 wpwrak: ah ok I may try :) 2011-10-10 12:25 viric: actually, the qtads engine may be better than tads3, because it has a command line history. you'll need that :) 2011-10-10 12:26 viric: here's a bit more background. and a link to the solution: http://www.wurb.com/if/game/1114 2011-10-10 12:26 http://ifarchive.org/if-archive/games/zcode/vgame.z8 http://ifarchive.org/if-archive/games/zcode/awaken.z5 http://ifarchive.org/if-archive/games/zcode/adverbum.z5 http://ifarchive.org/if-archive/games/zcode/Savoir-Faire.zblorb and lots of others 2011-10-10 12:26 ah, of course I *never* looked at a solution 2011-10-10 12:27 wolfspra1l: ^ 2011-10-10 12:27 that's a great start 2011-10-10 12:27 wolfspra1l: see also http://www.intfiction.org/forum/viewtopic.php?f=23&t=3272&hilit=top+10 for ideas, but this list also contains non zcode games or nonfree games 2011-10-10 12:27 those are all freely licensed? 2011-10-10 12:28 wolfspra1l: yes the ones I have listed are freely licensed AFAIK 2011-10-10 12:28 all of these have been written from the late nineties and have been either submitted to a competition or are declared free by the authors 2011-10-10 12:29 wolfspra1l: although the following ifarchive disclaimer applies: The archive makes no blanket claim about the copyright status of the 2011-10-10 12:29 archive files. Unless a file, its included license, or its description 2011-10-10 12:29 explicitly states that it is in the public domain, then the file's 2011-10-10 12:29 sure sure 2011-10-10 12:29 copyright rests with its author and the file is only available on the 2011-10-10 12:29 I saw that 2011-10-10 12:29 archive for personal use. 2011-10-10 14:21 hi 2011-10-10 14:24 wpwrak: you there? .. some pm says about mmc cmd  :  Each command token is preceded by a start bit (0) 2011-10-10 14:24 start bit is 0. 2011-10-10 14:24 and succeeded by an end bi 2011-10-10 14:24 t 1. 2011-10-10 14:25 (sorry the bad paste) 2011-10-10 14:25 well, if the clock is enought slow like you suggested 2011-10-10 14:26 I should check the CMD for any bit 1 right? (in order to know when to stop the controller) 2011-10-10 14:27 wpwrak: and no just waiting for the final bit 1. I mean, we just want to have cmd = 1, so I guess that 2011-10-10 14:28 wpwrak: any bit = 1 in CMD bit is okey right? (I ask because I understood firstly to wait for the final bit 1, but I think now that you meant any cmd bit = 1) 2011-10-10 14:32 some pm says = 4740 pm says :) 2011-10-10 15:07 have a trivia http://puu.sh/6MX3 2011-10-10 15:07 zrafa: back :) 2011-10-10 15:08 lemme find a good SD/MMC reference ... 2011-10-10 15:14 here we go: https://www.sdcard.org/downloads/pls/simplified_specs/Part_1_Physical_Layer_Simplified_Specification_Ver_3.01_Final_100518.pdf 2011-10-10 15:14 the SD command structure is on page 58 2011-10-10 15:16 you can set the command index and the argument to anything you want. so you could just make them all 0 or all 1 and then try to catch the right clock level. either by polling the i/o or by predicting the time from the start of the command to the middle of the corresponding clock phase. 2011-10-10 15:18 well, you probably don't even need to worry about command and value. there are both fixed 1 and 0 bits in the structure, so you can just use one of these 2011-10-10 15:18 wpwrak: hey 2011-10-10 15:20 MMC has a bit more low-level details. lemme see if there's a good description of the clock 2011-10-10 15:20 wpwrak: first bit is 0 and last bit is 1 in a cmd command, but if I catch any bit 1 in CMD in the middle of a transmision that would be oeky for our plans right? 2011-10-10 15:23 no more low level details please ;-) 2011-10-10 15:24 our good friends in russia have a registration-free copy: http://yourcmc.ru/wiki/images/5/55/EMMC_JESD84-A441.pdf 2011-10-10 15:24 page 194 2011-10-10 15:25 the original is here: http://www.jedec.org/sites/default/files/docs/JESD84-A441.pdf 2011-10-10 15:28 you shouldn't need anything but the first two bits. see page 8 of the SD physical layer spec. start bit is 0, transmitter (direction) bit is 1 2011-10-10 15:29 wolfspraul: i wrote him yes, dunno if kristoffer did it too 2011-10-10 15:32 so if you set the clock to frequency f, you'll have CMD = 0, CLK = 0 around t = X (but you don't know for how long), CMD = 0, CLK = 1 around t = X+1/4f, CMD = 0, CLK = 0 around t = X+3/4f, CMD = 1, CLK = 1 around t = X+5/4f, and CMD = 1, CLK = 0 around t = X+7/4f 2011-10-10 15:32 wolfspraul: his words "I had not thought about licensing." 2011-10-10 15:33 "i was too busy killing AGPS" ;-) 2011-10-10 15:33 ;) 2011-10-10 15:33 but i asked again, about what he think about other people re-using its work, and i introduce him this irc and qi-hw 2011-10-10 15:36 no reply yet, that mail was from yday 2011-10-10 15:37 zrafa: e.g., if you set the MMC bus clock to 250 kHz, you should see the following pattern: (CMD, CLK) = (0, 1), (0, 0), (1, 1), (1, 0) 2011-10-10 15:38 zrafa: each of these four values should be stable for about 2 us 2011-10-10 15:39 zrafa: now, if you want to be sure you hit the right combination, you would wait 1 us until after the value has been set. that way, you can err by about (-1 us, +1 us) and still get the desired setting 2011-10-10 15:40 so this would be X+0*2+1 us, X+1*2+1 us, X+2*2+1 us, X+3*2+1 us 2011-10-10 15:40 X is the time between telling the MMC controller to send the command and the beginning of the transmission 2011-10-10 15:42 kristianpaul: (now I need ten days more to understand that werner just wrote  ;-) ) 2011-10-10 15:42 MSC_CMDAT.INIT controls whether 80 clocks are added before the command or not. you don't want that ;-) 2011-10-10 15:42 bah, it's easy :) 2011-10-10 15:43 wpwrak: saved. I just read the page 8 and I see those first two bits. Then 2011-10-10 15:44 zrafa: ;) 2011-10-10 15:44 haha, low level fun? :-) 2011-10-10 15:45 zrafa: have you been able to requisition a scope ? seeing what actually happens will help a lot :) 2011-10-10 15:45 wpwrak: sorry, I do not understand yet why CLK changes, because I have not read well about clk. Let me a while (I di not found that at 4740 pm) 2011-10-10 15:49 the bus clock CLK changes to indicate then the data on the bus is valid. see page 194 of http://yourcmc.ru/wiki/images/5/55/EMMC_JESD84-A441.pdf 2011-10-10 15:51 i.e., data inputs and outputs must be stable when CLK raises from 0 to 1 2011-10-10 15:52 ah, about the values ... what i wrote is probably wrong. more likely it's (0, 1), (1, 0), (1, 1) (x, 0) 2011-10-10 15:52 (i.e., the data is stable on the rising edge of CLK but changes on the falling edge) 2011-10-10 15:54 (x would be the first bit of the command) 2011-10-10 15:54 so you would have (1, 0) at t = X+1 us and (0, 1) at t = X+3 us. couldn't be any easier :) 2011-10-10 15:57 wpwrak: no scope yet.. Maybe this week 2011-10-10 16:05 what 2011-10-10 16:05 people keep paging me and then run off 2011-10-10 16:06 kristianpaul, whats the licensing you are talking about? Feel like Ive missed something 2011-10-10 16:07 kristoffer: about this project http://www.holmea.demon.co.uk/GPS/Main.htm 2011-10-10 16:10 kristianpaul, sweet :) It appeals to my nerdy side. Looks like a cheap design also 2011-10-10 16:10 seems that there are at least two FPGA boards he didn't show :) 2011-10-10 16:11 (but then, with, say, M1, we have a big fat FPGA that should be more than sufficient for the rest of the processing) 2011-10-10 16:11 It would be worth alot to have that as an open design so can see what you are all excited about. 2011-10-10 16:14 it would be even better to get him interested in joining kristianpaul's little project. he visibly knows his signal processing incredibly well. 2011-10-10 16:15 if he "just" opens the design, that may still be too difficult for mere mortals to understand ... 2011-10-10 16:15 wpwrak: yes i already asked that too :) 2011-10-10 16:15 i find it particularly interesting that he just eliminated AGPS with a little FFT. some companies are building whole subcultures around the "A" in AGPS ... 2011-10-10 16:15 and talk about milkymist, etc, same history :) 2011-10-10 16:16 wpwrak: how you get that relation between fft and agps? 2011-10-10 16:20 look in section "Search": "A "warm start" using almanac data to predict positions and velocities still requires a code search." 2011-10-10 16:20 and then "This GPS receiver uses an FFT-based algorithm that tests all code phases in parallel. From cold, it takes 2.5 seconds on a 1.7 GHz Pentium to measure signal strength, Doppler shift and code phase of every visible satellite." 2011-10-10 16:21 so, as i understand it, no almanac needed 2011-10-10 16:25 ah, i see you point, so you think GPS receiver are lasy now becaue relay on AGPS for fasttest fixes when they could just do more things in parallel? 2011-10-10 16:31 i'm not quite sure what the story is. maybe he discovered something new. maybe i'm just not up to date. maybe his approach has drawbacks. maybe i completely misunderstand. 2011-10-10 16:31 but i'm curious what the truth is :) 2011-10-10 16:42 for me is not new :-) 2011-10-10 16:44 i mean i had read like 3 books all pointed almost same technquies for signal tracking 2011-10-10 16:44 ah, you knew about this ? okay, maybe i just missed that then. i just remember that AGPS was all the rage some five years ago 2011-10-10 16:44 heh, okay :) 2011-10-10 16:49 actually fft is ideal for software based processing 2011-10-10 16:49 i dont expect tosee that on hw, i think PLL is better aprouch in that side 2011-10-10 16:49 or something like namuru like a correlator and a baseband processor 2011-10-10 16:50 (baseband processor) did not exits at least in open/free way yet :) 2011-10-10 17:39 wpwrak: but yes i already asked him to about why did not add processing stuff on the fpga 2011-10-10 17:47 hm memstat needs rework on 3.x 2011-10-10 17:50 kyak: offrss may take ~1MB of RAM for the amount of posts you said 2011-10-10 17:59 hm maybe I'm exagerating even. 2011-10-10 17:59 500KB? :) 2011-10-10 18:02 viric: i already shut down newsbeuter for good :) it is the first step towards offrss 2011-10-10 18:03 haha 2011-10-10 18:11 kyak: all the ram offrss takes is to load a file with 15000 lines. 2011-10-10 18:11 (for 15000 articles) 2011-10-10 18:16 viric: actually, my requirements are quite bigger.. I have around 3500 new items every day 2011-10-10 18:16 viric: is there "mark all as read"? 2011-10-10 18:17 can't seem to find it.. 2011-10-10 18:18 heh, the pdf looks really cute :) it's adapted for the small screen 2011-10-10 18:21 hm, having spaces in feed's name is not allowed? 2011-10-10 18:22 ah, it's a pity -\ 2011-10-10 18:25 in printable ASCII we trust :) 2011-10-10 18:32 the PDF has no pictures, so you are probably right :) 2011-10-10 18:53 kyak: what would that mean? mark all as read? do you plan to lie? ;) 2011-10-10 18:53 kyak: why would you want to get 3500 posts every day, and mark all as read, storing them forever? 2011-10-10 18:54 kyak: maybe you should visit a specialist :) 2011-10-10 18:54 kyak: I've not programmed anything to allow removing data, because I've not needed it. But it looks like you will need it 2011-10-10 18:58 viric: i think with 3500 posts a day, the only way to survive is by just marking them read - without actually reading them ;-) 2011-10-10 18:58 wpwrak: looks like so :) 2011-10-10 18:59 maybe it's me who makes a weird use of the reader, having hundreds of articles "still pending read" 2011-10-10 18:59 kyak: put offrss under stress :) 2011-10-10 19:03 viric: it's just that we have different uses for rss.. i use it primarily to track torrents. and i'm really good at going through the list and spotting what i need, and then marking the rest as read :) 2011-10-10 19:04 especially when i have a list of regexpes to higlight it for me :) 2011-10-10 19:06 3500 torrents per day. man, i want your bandwidth ! 2011-10-10 19:06 then, even on a news site rss you wouldn't click 'mark read' on each article, but rather read the articles that caught your eye and then mark the rest as read 2011-10-10 19:08 wpwrak: it's the hard disk space that's important :) 2011-10-10 19:09 (no mark as read feature) nice trick :-) 2011-10-10 19:09 but i really dont't download much. I just dont' miss what i'm looking for.. 2011-10-10 19:19 kyak: I think that you need something made more specifically for the task 2011-10-10 19:20 kyak: I thought of having some kind of mark, other than 'read'... but as long as I'll not need it, it's fine for me. :) 2011-10-10 19:45 wpwrak: rodolfo found between all his old stuff almos forgotten a scope :) He will bring it to uni tomorrow 2011-10-10 20:02 zrafa: whee ! did he tell you which brand/model it is ? 2011-10-10 21:40 wpwrak: nope, and i guess that it could be an old one :) 2011-10-10 21:46 perhaps the one, his family, when then came to argentina before the war, remember their grandparents considering a precious family heirloom. you should feel honored that he would let you touch it :) 2011-10-10 22:21 wpwrak: ;-)) 2011-10-10 22:26 lol 2011-10-10 22:26 :)