2010-12-08 03:57 [commit] Werner Almesberger: drl2gp: drilling and circle milling work, various fixes (more to come) http://qi-hw.com/p/cae-tools/49a42cb 2010-12-08 03:57 [commit] Werner Almesberger: drl2gp.c: added milling of slots (more to come) http://qi-hw.com/p/cae-tools/32f36cc 2010-12-08 05:07 roh: great mail! :-) 2010-12-08 07:21 indeed 2010-12-08 07:21 nice mails to read this morning :) 2010-12-08 08:10 finally some action on the list ;-) 2010-12-08 08:11 hahaha 2010-12-08 09:11 [commit] kyak: qstardict: initial port http://qi-hw.com/p/openwrt-packages/fa4bfac 2010-12-08 09:54 wpwrak_: i need the counter if i'm planning to sync the shifted register agains the Xbusrt SoC i need at leasta  clk for the data 2010-12-08 09:55 andres-calderon: hi Andres! 2010-12-08 09:55 we got the 30 Aptina sensors in stock now 2010-12-08 09:55 andres-calderon: hola :) 2010-12-08 09:55 nice! 2010-12-08 09:56 kristianpaul: hola 2010-12-08 09:58 wolfspra1l:  Almost has been finished the  Xué's schematic review. 2010-12-08 09:59 great 2010-12-08 10:00 I am super busy on the Milkymist One RC2 run, testing 2010-12-08 10:00 all looks good 2010-12-08 10:00 we are discussing the goals for the Xue run, everything 100% KiCad process etc. 2010-12-08 10:00 for the Milkymist One RC2 run, it looks like 36 or 37 boards out of 40 are 100% fully tested and pass 2010-12-08 10:00 still working :-) 2010-12-08 10:01 Nice, Nelson is keen to buy one. 2010-12-08 10:01 yes 2010-12-08 10:03 How much cost the MM1? 2010-12-08 10:03 you mean for sale? 350 USD 2010-12-08 10:03 that includes power adapter and jtag-serial board (which we don't have yet, working on it) 2010-12-08 10:04 yes, for sale 2010-12-08 10:04 plus shipping 2010-12-08 10:07 When will there de MM1 in the news? Linuxfodevices, engadget, etc. .. 2010-12-08 10:07 good question 2010-12-08 10:08 in my opinion, we should first add a case and turn it into a proper product 2010-12-08 10:08 even if it has no FCC/CE certification, but then it may have to be a kit people need to assemble themselves 2010-12-08 10:08 better would be a 'real' product of course, including fcc/ce 2010-12-08 10:08 http://www.xilinx.com/products/devkits/EK-S6-SP605-G.htm 2010-12-08 10:08 then I would say that's at least 3 months out 2010-12-08 10:09 350 USD will be a good price. 2010-12-08 10:09 remenber M1 is a VJ Station 2010-12-08 10:09 andres-calderon: once it has a case it will be 499 USD 2010-12-08 10:10 and once it's there, we will drive it down again, 399 USD, etc. 2010-12-08 10:10 but that's a lot of hard work 2010-12-08 10:10 step by step 2010-12-08 10:10 we are not even done testing the rc2 run yet 2010-12-08 10:10 then we need to go full-power on the jtag-serial daughterboard 2010-12-08 10:10 then the case 2010-12-08 10:11 that's a nice development board, but I really don't compare with such boards at all 2010-12-08 10:11 we are working on a product, including software, tools, case, certification, etc. 2010-12-08 10:11 wolfspra1l, I think some if it will do. At least compared to  development boards the price is good. 2010-12-08 10:12 yes, and I will try to drive the price down 2010-12-08 10:12 I always feel technology is and must be inherently democratic, power to the people 2010-12-08 10:12 so I'll squeeze out every USD, without compromising the freedom aspect of course 2010-12-08 10:12 even if nobody cares, remember that those avnet boards are subsidized under Xilinx marketing budget 2010-12-08 10:13 when the spartan-7 comes out, they stop selling this one. these are boards to spread their technology in the marketplace. nothing wrong with that, but the direction (and life expectancy) of such a board is very different from our product. 2010-12-08 10:14 but yeah, if we can even beat them on price, that's cool! 2010-12-08 10:14 :-) 2010-12-08 10:14 but not my #1 focus 2010-12-08 10:14 wolfspra1l: avnet, digilent, huhorizons board are subsidized  by xilinx, ISSI, Linear, etc.. 2010-12-08 10:14 are you asking me or telling me? 2010-12-08 10:14 I don't care. Even if Xilinx gives you 100 USD cash for every devboard from them, so what? 2010-12-08 10:15 then get a lot of them :-) 2010-12-08 10:15 I work on a product. 2010-12-08 10:15 just telling... the avnet, digilent, huhorizons boards are full of propaganda of the manufacturers of the chips. 2010-12-08 10:15 of course 2010-12-08 10:15 it's a marketing tool 2010-12-08 10:16 so anyway 2010-12-08 10:16 I am working on a great product. 2010-12-08 10:16 long way :-) 2010-12-08 10:38 kyak: Hi. I want  start create a new openwrt image release tomorrow. 2010-12-08 10:39 [commit] Xiangfu Liu: remove freedroid http://qi-hw.com/p/openwrt-packages/4ad9ef5 2010-12-08 10:39 [commit] Xiangfu Liu: remove BROKEN,add --without-mp3 by default http://qi-hw.com/p/openwrt-packages/760fbb1 2010-12-08 10:39 [commit] Xiangfu Liu: add moc qstardict to config.full_system http://qi-hw.com/p/openwrt-xburst/e9fe7d7 2010-12-08 10:39 kyak: just base on the last commit of openwrt-xburst[e9fe7d7], openwrt-package[760fbb1]. 2010-12-08 10:40 I will test the image first tomorrow. :) 2010-12-08 10:41 kyak: need sleep, see you. 2010-12-08 10:41 he must have been sleepy :-) 2010-12-08 10:43 oh moc 2010-12-08 10:43 lets compile :) 2010-12-08 11:36 good now vim automatically help me on indentation :) 2010-12-08 12:43 hello back 2010-12-08 12:43 time to learn the halt sequence on openwrt.. 2010-12-08 12:43 (basically, sysvinit) 2010-12-08 12:44 good :) 2010-12-08 12:45 I don't have that solved... 2010-12-08 12:45 'halt -fp' powers down, but 'halt' does not power down. 2010-12-08 12:46 kristianpaul: (sync) hmm, what form of sync did you have in mind ? 2010-12-08 12:50 wpwrak_: simple as posible, i was thinking a clk and data  (4bit), mcu can read when clk go high 2010-12-08 12:50 there is also a reset signal from mcu in order to do initialization 2010-12-08 12:52 kristianpaul: if you shift into a parallel bits, your SIGE SYNC becomes the CPU data clock 2010-12-08 12:52 kristianpaul: now, do you plan to use DMA ? or poll by software ? 2010-12-08 12:52 yup :) 2010-12-08 12:52 dma dont know how 2010-12-08 12:53 pull by sofware for now 2010-12-08 12:53 gpio > ram > dump to disk 2010-12-08 12:53 then you could have a "data phase" signal. toggle it whenever you update the output, i.e., on each SYNC. 2010-12-08 12:54 for DMA, you would need a proper DMA request signal. you'd also want to go 8 bit, to avoid wasting half your memory/bandwidth, because DMA only has 8/16/32 bit size. 2010-12-08 12:55 8 bits easy, just other 4 wires grounded 2010-12-08 12:56 or you meant provide full 8 bit data per sample? 2010-12-08 12:57 the latter :) 2010-12-08 12:58 still easy: you either make the shifter 8 bits wide and divide incoming SYNC by two, or add a multiplexer 2010-12-08 12:58 ah yes 2010-12-08 12:59 actually i need 16bits but QIQIQIQI not QQIIQQIIQQIIQQII 2010-12-08 12:59 well that was the data format the guy from sdr-gps ask me for 2010-12-08 12:59 do you have enough I/Os for a 16 bit wide interface ? 2010-12-08 12:59 sure 2010-12-08 13:00 well in SIE 2010-12-08 13:00 but not in Ben if i think in long term 2010-12-08 13:00 for the  ben, you need something radically different anwyway 2010-12-08 13:03 reading SD espefication i founded GPS like a posible device for SDIO 2010-12-08 13:04 but clasical GPS with ASIC not for doing SDR of course 2010-12-08 13:04 but how would the 16 bits be organized ? if the input is  sI0 mI0 sQ0 mQ0 sI1 mI1 sQ1 mQ1 sI2 mI2 sQ2 mQ2 sI3 mI3 sQ3 mQ3  what would be the 16 bit output ? 2010-12-08 13:05 (sdio) you could just do a bunk data transfer for SDR 2010-12-08 13:06 but that's something to worry about in the distant future :) 2010-12-08 13:06 sure sure 2010-12-08 13:06 by then you'll also be more confident at making interfaces with the FPGA :) 2010-12-08 13:06 (16 bit output) sIx and mQx in theory are not needed 2010-12-08 13:06 hehe confidence yes i must improve 2010-12-08 13:07 (throw away half the data) really ? 2010-12-08 13:07 well.. 2010-12-08 13:07 i saw a sofware that does it 2010-12-08 13:07 for other dongle 2010-12-08 13:08 but from 2 bit data , just 2 posible values from 4 are posible 2010-12-08 13:08 hmm. not 3 ? 2010-12-08 13:08 well if 0 is ignore ;) 2010-12-08 13:08 -1, 0, +1 2010-12-08 13:08 i need to ask more about 0 2010-12-08 13:09 not sure yet 2010-12-08 13:09 so you would send a -1 or +1 instead of a 0, and have a "i sent an offset" bit you'd use to modify future bits ? 2010-12-08 13:09 anway lets take first the sample and lookg for how many 0 there 2010-12-08 13:10 s/lookg/look 2010-12-08 13:10 my guess would be between 33 and 50% ;-) depends a bit on what the mysterious sign in the case of 0 really means 2010-12-08 13:11 ( 0 really means) i still dont understand 2010-12-08 13:11 or my brain just focused on -1 and +1 when reading book theory 2010-12-08 13:11 i shoudl read again for sure later 2010-12-08 13:13 I can't find what openwrt does special at shutdown 2010-12-08 13:14 special? 2010-12-08 13:14 well, you could take a reference signal and see what happens if you eliminate all the 0s. 2010-12-08 13:14 wpwrak_: actually i need do some FFT on signal and i should get something interesting graph 2010-12-08 13:14 kristianpaul: I see from inittab that it calls simply all the 'K*' rc scripts 2010-12-08 13:15 and one of those scripts has to run the power down, I think. 2010-12-08 13:15 sure is no that job of trigerhappy? 2010-12-08 13:16 I don't know what powers off the nanonote 2010-12-08 13:16 KEY_POWER       1       /sbin/poweroff 2010-12-08 13:16 oh 2010-12-08 13:16 what is that? 2010-12-08 13:16                              already check this^ ? 2010-12-08 13:16 and what calls poweroff in the shutdown sequence? 2010-12-08 13:17 I know the poweroff command of sysvinit 2010-12-08 13:18 /sbin/ poweroff source code deserver a look 2010-12-08 13:18 you may get surpriced 2010-12-08 13:20 sysvinit you're riht 2010-12-08 13:20 right* 2010-12-08 13:21 I have /sbin/poweroff 2010-12-08 13:22 but I expect the system to do a proper shutdown and then power off, when I type 'halt' 2010-12-08 13:22 and in my system it does not happne :) 2010-12-08 13:22 it properly shuts down, but it does not power off. 2010-12-08 13:29 viric: just sync; sync; /sbin/halt -fp and be happy ? :) 2010-12-08 13:30 yay :) 2010-12-08 13:30 all the long ritualized suicide a "regular" halt performs is kinda dubious to me anyway 2010-12-08 13:32 wpwrak_: are you in favor of massive suiciede? no layers no advice 2010-12-08 13:39 it's a battery powered device. it can die "uncleanly" any moment. if you tell me your systems NEEDS an elaborate shutdown process, i can show you a system that's inherently flawed ;-) 2010-12-08 13:48 wpwrak_: I know that is your way :) 2010-12-08 13:48 wpwrak_: it's nice if openssh kills properly the active ssh conections... 2010-12-08 13:49 wpwrak_: if wtmp gets properly written... 2010-12-08 13:49 wpwrak_: if the filesystems get 'umounted' (sync; sync; is not the same as umounting :) 2010-12-08 13:51 viric: think of "sync" as a non-blocking "umount" that always succeeds ;-) 2010-12-08 13:51 i.e., precisely what you want when in a hurry to shut down :) 2010-12-08 13:54 it may work in the context where you know that there are no processes writing to the filesystem at that time :) 2010-12-08 14:02 if you have on-going write activity, things don't look too good anyway ;-) and hey, isn't that what they sold us journaling for ? ;-) 2010-12-08 14:09 [commit] kyak: qstardict: adjust main window to look nicer http://qi-hw.com/p/openwrt-packages/c97f249 2010-12-08 14:17 ah i finally found a use for the counter, 2010-12-08 14:17 debugging led :) 2010-12-08 14:17 he 2010-12-08 14:17 ;-) 2010-12-08 14:23 wpwrak_: oh, you're hanging out here.. the world is so small.. I discovered m8cutils today 2010-12-08 14:23 for hacking this device: http://wiki.steve-m.de/doku.php/epa_basis_reader 2010-12-08 14:24 steve|m: wow, digging up old stuff :) 2010-12-08 14:28 heh, indeed.. I tried my luck with the wadsp today, but didn't suceed.. "Txresinit deadline missed" 2010-12-08 14:31 tomorrow I'll receive the MiniProg1, then I have something to compare.. but your m8cutils might gain interest again, since 400.000 of those devices were given away for free with magazine "ComputerBild" 2010-12-08 14:32 wow. the disppearance of those old interfaces may prove to be a bit of a problem, though 2010-12-08 14:34 steve|m: did you connect it directly to a serial port on the PC or via a USB-to-serial dongle ? the latter would explain the problem 2010-12-08 14:35 I used the OpenMoko debug board (ft2232), and omitted the 1.5k resistors, since it has already 3.3V levels.. (which might be a problem as well) 2010-12-08 14:37 hmm, so you used it as a USB-to-serial dongle ? or did you run m8cprog on the Neo ? 2010-12-08 14:38 for resistors, i think you still need the pull-down (R1) 2010-12-08 14:39 voltage may be okay 2010-12-08 14:39 wpwrak_: yeah, I used it as a usb serial dongle.. 2010-12-08 14:40 ah, that wouldn't work. it's too slow. 2010-12-08 14:40 the PSoCs have some fairly tight timing 2010-12-08 14:40 ah, okay.. that's why you're even using RT stuff (I wondered already..) 2010-12-08 14:41 what you could do is make m8cprog run on the Neo and control GPIOs directly 2010-12-08 14:41 similar to http://projects.qi-hardware.com/index.php/p/f32xbase/source/tree/master/f32x 2010-12-08 14:42 (that one works on Neo+debug board and Ben) 2010-12-08 14:42 wpwrak_: mh, I have no neo.. but yeah.. I did something like that a few weeks ago with the seagate dockstar (used the GPIOs as logic analyzer), so I have some code lying around 2010-12-08 14:42 steve|m: here's the setup with the Neo: http://www.almesberger.net/misc/idbg/ 2010-12-08 14:43 perfect. then you're all set :) 2010-12-08 14:44 sampling speed was something like 40MHz, so this should be enough :) 2010-12-08 14:45 yeah. you'll run circles around the little chip :) 2010-12-08 14:50 but maybe they have the flash-protection enabled.. but they say on their homepage it is upgradable via usb, so it can only be the "external" programmer lock 2010-12-08 14:51 if you do a full erase, you also erase the protection 2010-12-08 14:51 some of these chips even let you read their content if "protection" is enabled ;-) 2010-12-08 14:51 [commit] Jiri Brozovsky: Small command line time tracker - openwrt port, patched for better help message. http://qi-hw.com/p/openwrt-packages/d02893d 2010-12-08 14:51 oh, that's good to know.. so just like the AVR with chip erase 2010-12-08 14:52 wpwrak_: good to know! 2010-12-08 15:16 wpwrak_: (assign) yes i was wrong about real world asigment wich is done following some definitions in a ucf file in wichs in/out module name correspond 2010-12-08 15:16 actually i dont know why i said that :/ 2010-12-08 15:17 confusion is a phenomenon that is know to occasionally affect people ;-) 2010-12-08 17:02 would running enlightenment on the ben be possible? 2010-12-08 17:34 I tried 'echo mem > /sys/power/state' 2010-12-08 17:35 while the screen had no light (due to the inactivity timeout) 2010-12-08 17:35 and when back (pressing keys) the screen does not light at all 2010-12-08 17:38 hmm, can you manually activate the backlight? 2010-12-08 17:38 How could I do it? 2010-12-08 17:38 since I forgot how to turn it off, I don't remember how to turn it on either 2010-12-08 17:39 but give me a sec while I power on my ben 2010-12-08 17:39 :) 2010-12-08 17:39 thank you 2010-12-08 17:41 i see /sys/class/lcd/gpm940b0-lcd 2010-12-08 17:41 and? 2010-12-08 17:42 echo 0 > /sys/class/lcd/gpm940b-lcd/lcd_power 2010-12-08 17:43 viric: did it help? 2010-12-08 17:43 it is for turning on? 2010-12-08 17:43 yes 2010-12-08 17:43 I have a different lcd :) 2010-12-08 17:43 1 is off, 0 is on 2010-12-08 17:44 /sys/class/lcd/ili8960-lcd 2010-12-08 17:44 doesn't it have an lcd_power file? 2010-12-08 17:44 I wait until it turns off... then I'll suspend. 2010-12-08 17:44 it has it has. 2010-12-08 17:44 then try writing 0 to it 2010-12-08 17:44 if it doesn't work, try 1 2010-12-08 17:44 yes 2010-12-08 17:44 it worked for me 2010-12-08 17:44 in fact, there even was a power/wakeup 2010-12-08 17:44 after sleep? 2010-12-08 17:45 no, in the lcd folder, a file called power/wakeup 2010-12-08 17:45 there is 2010-12-08 17:45 what does that mean? 2010-12-08 17:45 if you write.. say.. 1 to it, it should wake it up ;) 2010-12-08 17:45 but hey, I don't know 2010-12-08 17:45 I'm no hw expert by a long shot 2010-12-08 17:46 ahh.. 2010-12-08 17:46 I just like poking around 2010-12-08 17:46 how much it takes for the lcd to go black on inactivity? 2010-12-08 17:46 you mean how long? 2010-12-08 17:47 I remember something about 15 secs, but I'm probably wrong 2010-12-08 17:47 :P 2010-12-08 17:47 (maybe that was gmu?) 2010-12-08 17:48 eh? 2010-12-08 17:48 almost 10 minutes passed here 2010-12-08 17:48 Oh! Just now. 2010-12-08 17:48 # echo 1 > wakeup 2010-12-08 17:48 -bash: echo: write error: Invalid argument 2010-12-08 17:49 echo 0 or 1 to lcd_power does not help. 2010-12-08 17:49 'cat lcd_power' says 4, btw 2010-12-08 17:49 (after 'echo 1 > lcd_power') 2010-12-08 17:50 then.. bad thing 2010-12-08 17:50 does it work for you? making it sleep through ssh when the lcd switched off.