2011-10-21 01:10 wpwrak: looking at the slashdot post, the # of comments does show that people there don't care 2011-10-21 02:40 wolfspraul: or maybe they just couldn't think of anything nasty to say :) 2011-10-21 02:44 wpwrak: are your nor corruption tests still running? 2011-10-21 02:46 oh yes, very much. i now have a run with a success period of ~10500 cycles. but that's the same hardware that before failed on average every 600 cycles. 2011-10-21 02:46 hmm 2011-10-21 02:47 yeah, it doesn't quite make sense. this brings back the theory of an external factor 2011-10-21 02:47 the weather is getting warmer now. so maybe it's really just that. 2011-10-21 02:49 so the next step should be to move my M1 to a cooler place. didn't have time for this in the last days (had to do a bit of politicking :) 2011-10-21 02:53 hmm 2011-10-21 02:53 yes I understand 2011-10-21 02:53 just a little worried that we get stuck 2011-10-21 02:54 so I also think maybe we just leap ahead and apply everything we plan for rc4 anyway already, and then try to reproduce the corruption again 2011-10-21 02:54 that will not satisfy the enlightened scientist inside you though :-) 2011-10-21 02:54 i think the general plan doesn't change. the pull-ups definitely sound right, even if they don't affect this case of NOR corruption. 2011-10-21 02:54 oh, i think the changes we've discussed all make sense. 2011-10-21 02:55 what i'm looking for is an indicator for whether we;ve actually killed the bug 2011-10-21 02:56 and that's the problem with probabilities that jump around wildly. if the bug is simply not detectable on the day or week you test, you haven't gained anything. 2011-10-21 02:57 yes I understand 2011-10-21 02:58 but like I said - I am worried that you are stuck trying to make a perfect logical sequence 2011-10-21 02:58 but i'm all for designing in the pull-ups. i don't see any design risk there. the improved reset circuit should be tested first. but it's almost certainly okay, too. 2011-10-21 02:58 of course it would be better to first understand the true root cause before fixing it 2011-10-21 02:58 rather than randomly and blindly improving this and that, and then maybe just being unable to reproduce the bug, instead of having fixed it 2011-10-21 02:59 oh, the thing is just running while i do something else :) i check every now and then whether it has found any new troubles, but that's all 2011-10-21 02:59 that's the beauty of automated tests :) 2011-10-21 02:59 unfortunately it feeds your perfectionism well too :-) 2011-10-21 02:59 ;-) 2011-10-21 03:00 since it's automated, we may as well accumulate a better 'statistical data base', right? :-) 2011-10-21 03:00 exactly :) 2011-10-21 03:00 but i'll actually be happy with one the does give me the same answer twice in a row. it hasn't done that yet. this is what worries me. 2011-10-21 03:01 time passes and we have each block of time only once 2011-10-21 03:01 so there may also be some value in working on this backwards, i.e. applying all fixes, and then spending the same amount of time on trying to reproduce the problem again 2011-10-21 03:02 even if we lost the reasoning path somewhere in the middle... 2011-10-21 03:02 but ok, let's see :-) 2011-10-21 03:02 Adam is slowly but surely getting closer to rc4 work 2011-10-21 03:02 worst case I need to skip over some of your missing statistical data and make decisions based on gut feeling :-) 2011-10-21 03:02 yes, that's a possibility. but then, if external factors can just hide the problem completely, your tests are meaningless if you don't understand the external factors 2011-10-21 03:02 the alter ego of great statistics 2011-10-21 03:03 not entirely meaningless 2011-10-21 03:03 since we also think when we try to reproduce 2011-10-21 03:03 in my current test i have at least the certainty that the thing must fail 2011-10-21 03:03 sure, all good 2011-10-21 03:03 I got it 2011-10-21 03:03 anxiously awaiting the results :_) 2011-10-21 03:03 :-) 2011-10-21 03:04 i'll post a summary of what i have so far on the weekend. then you'll see what a mess it is. 2011-10-21 03:04 I can imagine 2011-10-21 03:05 that's why I suggest, maybe we are better off rebooting, replying all planned fixes, and then focusing on reproducing the problem again 2011-10-21 03:05 s/replying/applying/ 2011-10-21 03:05 tomorrow i'll try to finally get my labsw bom done. it keeps on jumping from mondays to fridays and then to mondays again (digi-key deadlines) 2011-10-21 03:05 there is definitely a serious root bug somewhere there 2011-10-21 03:06 very serious 2011-10-21 03:06 if a unit fails like this for a real user, that's bad 2011-10-21 03:06 and if anything your whole pile of test data shows that there is something serious somewhere 2011-10-21 03:06 for rc4, i think it's good to plan to have those changes. i think there's no need to wait for statistical subtleties. 2011-10-21 03:07 what the statistics can contribute is a test that confirms that the problem is indeed gone - or not 2011-10-21 03:07 you think those planned changes (including gate & 4.4v reset ic) will make it go away even without locking? 2011-10-21 03:07 that's what i don't know yet :) 2011-10-21 03:07 let me guess your answer :-) 2011-10-21 03:07 "I don't know yet" 2011-10-21 03:07 ;-)) 2011-10-21 03:08 but i do know that i like these changes. they improve overall design stability 2011-10-21 03:09 oh, and have you considered the possibility of using a different NOR chip ? some have other locking strategies that may provide much better protection 2011-10-21 03:09 ... while keeping the other parameters the same, i hope 2011-10-21 03:10 the one we have is just a particularly bad fit. many others just come out of reset locked. with one of these, we may never even have known we had the bug ;-) 2011-10-21 03:13 hmm 2011-10-21 03:13 which one specifically do you have in mind? 2011-10-21 03:13 and if we change - can we keep one binary to support both? 2011-10-21 03:15 fiddling with this sounds risky but I do want to make the very best rc4 we can, and we may just need to take some risks here and there 2011-10-21 03:15 here's the list http://www.micron.com/partscatalog.html?categoryPath=products/nor_flash/parallel_nor_flash 2011-10-21 03:15 now we have JS28F256J3F105A 2011-10-21 03:16 "JS28F256J3F105A 256Mb Production x8/x16 2.7V-3.6V TSOP 56-pin 105ns Yes Uniform -40C to +85C Embedded J3 Tray" 2011-10-21 03:16 yes I think that's the current one 2011-10-21 03:17 maybe one from the M28W series. these don't have persistent locks 2011-10-21 03:18 instead, there's a "soft" block lock, by default, it is set. you can remove it and set it again as many times as you like. 2011-10-21 03:18 plus, there's a "lock-down" that can be made one-way per session (session = time between resets) 2011-10-21 03:19 so, for example, the boot code or even standby could lock-down things we really really never want to change 2011-10-21 03:20 the code for writing would differ a bit between 28F and 28W. but that could be an isolated change. 2011-10-21 03:20 for all i know, 28W may even be cheaper ;-) let's see ... 2011-10-21 03:22 hmm, size may be an issue ... at least at digi-key. let's see ... 2011-10-21 03:24 that switch sounds like a lot of trouble 2011-10-21 03:24 "differ a bit" "isolated change" 2011-10-21 03:24 that sounds like we will struggle to get this right for 2 years 2011-10-21 03:25 why the sudden pessimism ? :) 2011-10-21 03:25 nah 2011-10-21 03:25 just realistic 2011-10-21 03:26 those 'small details' are nasty 2011-10-21 03:26 plus we seem to be on track to making our current chip very robust 2011-10-21 03:26 then you would wonder what you actually get with a switch 2011-10-21 03:27 cheaper is nice, bigger. you may even start the serial flash discussion again :-) 2011-10-21 03:27 then maybe it's better to just focus on making our current chip work better (fixing bugs), and otherwise leave things as they are 2011-10-21 03:31 something like this guy perhaps http://www.micron.com/products/ProductDetails.html?product=products/nor_flash/parallel_nor_flash/M29W256GL70N6F 2011-10-21 03:31 would need to compare the data sheet bit by bit, though. flash is tricky :) 2011-10-21 03:31 oh, i'm all for serial flash. thanks for mentioning it ;-) 2011-10-21 03:32 if all the smarts were on the uSD card, we wouldn't have this flash corruption discussion :) instead, we'd just recommend carrying a backup 2011-10-21 03:33 now that again :-) 2011-10-21 03:33 from my experience, WHATEVER path you choose you will run into difficult problems 2011-10-21 03:33 the proof is not in how much of a genius you are in choosing the right path, but what you do once you hit the first difficult obstacle 2011-10-21 03:34 so there is no way I will jump to the "serial flash" promised land now 2011-10-21 03:34 or even the "M28W" promised land 2011-10-21 03:34 :-) 2011-10-21 03:35 if there is a better nor chip, we should compare. but my #1 question would be whether the switch causes a need for software changes, and our ability to provide one set of binaries for all m1 boards 2011-10-21 03:35 that needs to be weighed against the pros of the chip 2011-10-21 03:36 maybe better to focus on making the current one rock solid 2011-10-21 03:36 any new chip would have new nasty surprises, guaranteed 2011-10-21 03:36 sw change: yes. same binary: yes. 2011-10-21 03:36 but yes, there's always a design risk 2011-10-21 05:39 wolfspraul: but because namuru and milkymist uses different clocks, i'm having some problems reading memory content from namuru, so Artyom suguested i switch all the whole soc to use milkymist soc, so basically i get rid off cores i dont need and focus namuru 2011-10-21 05:39 ok 2011-10-21 05:39 wolfspraul: yes, better documentation about how to connect stuff to milkymist is very important too indeed 2011-10-21 05:39 definitely 2011-10-21 05:50 as when Artyom asked me about milkymist and how could be helpfull for him.. 2011-10-21 05:57 also yes i hope stickers and other stuff arive soon, workshop is already pointed here too http://www.comunlab.cc/ 2011-10-21 05:57 as liure, but thats me :) 2011-10-21 06:08 will be something small, more focused on play with the M1, video in music and some patches, hoping i can guide and people also will get something more elaborate, 2011-10-21 06:08 and in the night i'll see how setup M1 somweher  to ambience music performance 2011-10-21 06:26 nice that sounds good! 2011-10-21 06:26 I'm not sure whether the stickers arrive in time, but it's moving 2011-10-21 06:26 we need to know about events in advance 2011-10-21 06:27 cannot always fix bad planning with wasting money on overnight couriers of cheap little stickers :-) 2011-10-21 06:29 sure not :) 2011-10-21 07:33 Does someone familiar with llhdl? 2011-10-21 07:34 johnnyhah: not really yet, I guess there is only 1 person on earth right now truly 'familiar' with it and that's Sebastien (nick lekernel) 2011-10-21 07:38 thx,but how can i contact sebastien(or lekernel)? 2011-10-21 07:48 johnnyhah: his primary channel is #milkymist on freenode, and/or also here in #qi-hardware 2011-10-21 07:51 johnnyhah: so you are pretty close, just wait in a few hours he should get up and respond 2011-10-21 07:51 what brings you to qi & llhdl ? 2011-10-21 07:51 or milkymist 2011-10-21 07:51 can you tell us a bit more about yourself? 2011-10-21 07:57 i am a graduate and want to know how can convert netlist to verilog or vhdl 2011-10-21 08:02 which school? 2011-10-21 10:48 hi 2011-10-21 10:52 hi 2011-10-21 10:58 hi 2011-10-21 14:54 I've been away for long, trying to catch up. 2011-10-21 14:56 larsc, what's the latest stable kernel? 2011-10-21 14:56 Also, is suspend working OK now? 2011-10-21 15:14 B_Lizzard, we are plan to use linux 3.0 on next nanonote release. :) 2011-10-21 16:34 B_Lizzard: 3.0 is last stable i remenber 2011-10-21 16:34 suspend still same i bet :) 2011-10-21 16:34 Hmmm, I'll have to look into it. 2011-10-21 16:40 wpwrak: can you take a look at a synchro issue? http://imgur.com/a/YMP9d 2011-10-21 16:40 not sure what may be the cause of it 2011-10-21 16:44 the shifted lines are consistent and stay at the same place 2011-10-21 16:44 may it be a PLL mislock? 2011-10-21 16:53 you should be able to see it on hsync. actually, most scopes have a tv mode that may be useful for this. i've never tried that, though 2011-10-21 16:54 tv mode? 2011-10-21 16:54 what you certainly can do is trigger on vsync, then walk through the hsync. a bit messy, but should work 2011-10-21 16:54 trigger on tv line and such. not sure if it works for vga or only for composite 2011-10-21 16:54 DocScrutinizer: probably knows such things ;-) 2011-10-21 16:55 ah yes. afaik it's composite only 2011-10-21 20:51 err, the scpes I know all have a separate trigger input (optional) 2011-10-21 21:03 whitequark: what I see is a one-pixel-off issue it seems. Might be caused by driving the display via a digital interface with pixel clock, vsyn, hsync, the pixel clock not in phase with hsync, and some noise on on either of both lines as well. The screenshots don't really allow as much amalysis, but to me it seems the one-pixel-off is not constant along one horizontal scanline, i.e. there's no issue in a line on left side of screen 2011-10-21 21:03 while right side same line shows that offset (or other way round). If that'S actually correct, then it's clearly noise on pixel clock and pixel clock not in phase with edges on data lines, so display is randomly picking one time the "old" pixel data while next time picking the "new" (later) pixel data 2011-10-21 21:07 placing sth like a 10pF..1nF load capacitor to gnd on pixelclock should create visible massive changes in the effect (you quite frequently see such timing-fixer capacitors on video [and other] clock lines) 2011-10-21 21:12 on pixel clocks that are operating always on rising (or always on falling) edge, this effect commonly is caused by inverted polarity of clock signal: active edge is meant to occur exactly in the middle of the data-steady time window, while inactive edge can occur roughly around the time when level transitions on data lines for new pixel data take place. If active and inactive edge are swapped due to some inverter in the clock line, 2011-10-21 21:12 you'll find the display pick old or new data from data lines on a random basis 2011-10-21 21:13 propagation delay differences between clock and data lines of of ~1/2 pixel time period will have similar effect 2011-10-21 21:18 oops I forgot to take into account your point that the lines with offset are always same place. Might indicate the noise on clock line is from crosstalk from video RAM addr lines. Or your video RAM is actually defect, such a internal short between cells is a quite common failure pattern 2011-10-21 21:23 the manga picture is a poor test pattern to really investigate it. You should use Red-BlacK / Blue-BlacK / Green-BlacK chessboard patterns and vertical line patterns, also vert.line patterns of several clearly distinguishable colors and 1 pixel line width 2011-10-21 21:27 then mark the error spots on screen (with a marker pen, maybe on transparent foil attached to screen with sticky), and see if they stay permanent errors no matter what's the displayed image, and maybe even try to change timing of whole video a little and see if the spots move or vanish. If they don't then it's most likely a defect video RAM 2011-10-21 21:30 remembers the funny effects on video output he seen on devices that had some short between two addr lines of video RAM 2011-10-21 21:31 a short between addr and data line (or a capacitor mixing both when they are multiplexed on same bus) is sometimes even more funny 2011-10-21 22:43 DocScrutinizer: ah yes, inverted polarity would also be a candidate. do you know that we had this once at openmoko ? and EE had been complaining to the LCD maker forever because of the lousy yield ;-)) 2011-10-21 23:20 must've been pre-joerg times 2011-10-21 23:26 (vert.line patterns of several clearly distinguishable colors) like 9 colors, one line of each, then repeating the pattern. Don't use 2^n number of colors 2011-10-21 23:28 as odds are the commonly seen "mirroring" as a symptom of video RAM defects tends to skew with a natural base-2 magnitude 2011-10-21 23:29 so if you use 8 colors, then repeat, you might not notice anything odd even when video ram copies a whole set of 8 pixels to next 8 pixel field 2011-10-21 23:30 or to any aligned 8 pixels 2011-10-21 23:31 I.E. with a 8 line pattern test image you won't see problems on any addr lines other than A0, A1, A2 2011-10-21 23:31 s/see/notice/ 2011-10-21 23:43 (pre-joerg) yeah, that didn't happen on your watch :) it was a software problem anyway, but of course, hardware got the beating