lekernel | http://www.milkymist.org/msd/msd-apr2011.tar.bz2 | 00:35 |
---|---|---|
lekernel | kristianpaul: take screenshots (ctrl-f12) at labsurlab :) | 10:12 |
lekernel | btw it will freeze for a dozen seconds atm... don't reboot | 10:12 |
terpstra_ | lekernel, !!! -- do i understand correctly that mwalle's gdbstub is using some milkymist specific uart and not the LM32's debug uart? | 10:21 |
lekernel | yes | 10:21 |
terpstra_ | rofl | 10:21 |
terpstra_ | no wonder i can't make it work :) | 10:21 |
lekernel | there's only the lm32 core we use here... everything else is custom | 10:22 |
terpstra_ | yes, but the lm32 has a jtag cable and debug unit | 10:22 |
terpstra_ | anyway | 10:22 |
terpstra_ | i get it now | 10:22 |
lekernel | just use our uart core :) any problem with it? | 10:24 |
terpstra_ | i have a jtag cable already connected to my chip? | 10:24 |
terpstra_ | easier to just tweak his gpio stuff to use JTX and JRX | 10:24 |
lekernel | ah, you were talking about the JTAG UART | 10:24 |
terpstra_ | then i should be able to run his debug rom | 10:24 |
terpstra_ | yeah, his code uses your uart instead of the lm32 uart | 10:25 |
terpstra_ | i have a nice reliable link to the lm32 jtag uart and want to run gdb on it | 10:25 |
lekernel | the problem with JTAG UARTs is they need specific hardware and software to get to work... which is why I didn't go this way | 10:25 |
terpstra_ | fair enough | 10:26 |
lekernel | the current UART can be used easily with any serial cable and any driver | 10:26 |
terpstra_ | well, i have that 'special' software now | 10:26 |
terpstra_ | and i don't feel like wiring a uart to my board :) | 10:26 |
terpstra_ | you have some sort of magical control unit at memory address 0x1000 ? | 10:29 |
terpstra_ | ahh - isee | 10:29 |
terpstra_ | CSR_SYSTEM_ID = 1 differs from "b r0" how ? | 10:33 |
terpstra_ | very cool. i have it working now. :) | 10:41 |
terpstra_ | lunch time. | 10:42 |
Fallenou | flickernoise wallpaper looks like an Apple wallpaper :') | 12:25 |
Action: Fallenou troll troll | 12:26 | |
lekernel | perfect! | 12:30 |
lekernel | a lot of people love Apple products | 12:30 |
lekernel | more than they love free software in fact | 12:30 |
lekernel | :) | 12:30 |
lekernel | it's also a GNOME wallpaper btw | 12:31 |
terpstra_ | lekernel, in ml401-flasher.c, is there a reason you don't always use bulk_cycle instead of cycle? | 13:47 |
lekernel | hum, I don't remember | 13:47 |
lekernel | you mean, why use the bulk EP and not bit bang directly with control transfers? | 13:48 |
lekernel | because it's slow | 13:48 |
terpstra_ | i mean why not ALWAYS use bulk | 13:48 |
terpstra_ | bulk is faster i assume | 13:48 |
lekernel | ha | 13:50 |
lekernel | yeah, it's faster | 13:50 |
lekernel | but I don't remember the reason (if any) to use control | 13:50 |
xiangfu | lekernel: Hi | 14:13 |
lekernel | hi | 14:13 |
xiangfu | sorry for my bad English. did I mis-understand you? you mean only include the "comet.png" in data partition image. not (three wallpapers and set comet.png as default)? | 14:15 |
lekernel | yeah, scratch the other wallpapers | 14:15 |
xiangfu | ok. then one small question :). why not three wallpapers? is there something wrong with those image license? | 14:16 |
lekernel | one has minor licensing problems and the other isn't as good imo (and all increase the flashing time) | 14:16 |
xiangfu | lekernel: got it. I will remove them. | 14:17 |
lekernel | do the subfolders work btw? | 14:17 |
lekernel | I mean you can access the files in the subfolders from RTEMS? | 14:18 |
lekernel | it seems there are some bugs there... until this is fixed let's put all the files at the root of the flash | 14:19 |
xiangfu | I can access all file under subfolders. without any problem. | 14:19 |
lekernel | try deleting files in those subfolders, or adding files... | 14:19 |
xiangfu | for now. I only meet ethernet bug.(ftp) | 14:20 |
xiangfu | trying now.... | 14:20 |
lekernel | upgrade rtems.. I fixed a couple of them yesterday | 14:20 |
xiangfu | oh. great. I will test in serial console first. | 14:20 |
kristianpaul | new msd!!, i'll flash it later before dorkbot :-) | 14:23 |
xiangfu | lekernel: http://pastebin.com/tAqXJAqW | 14:26 |
lekernel | well, yeah | 14:26 |
xiangfu | you can see "/flash/wallpapers/a/b/c/" | 14:26 |
lekernel | [/flash/wallpapers] # mkdir a | 14:26 |
lekernel | [/flash/wallpapers] # mkdir a/b | 14:26 |
lekernel | mkdir 'a/b' failed:No such file or directory | 14:26 |
lekernel | this is the bug I'm talking about | 14:26 |
lekernel | fortunately it's a 100% reproducible one :) | 14:27 |
xiangfu | oh. I thought it's lack of rtems :) | 14:27 |
xiangfu | kristianpaul: I still not send out the mail. will do that tomorrow. | 14:28 |
lekernel | [/flash/wallpapers/a/b/c] # cp /flash/wallpapers/Comet.png ./a.png | 14:29 |
lekernel | ./a.png: No such file or directory | 14:30 |
lekernel | same problem here | 14:30 |
lekernel | and with FTP it's similar | 14:30 |
xiangfu | lekernel: ok. I will look into this bug. | 14:33 |
xiangfu | lekernel: and I will try to send the mm-mkyaffs2image patch to yaffs2 upstream. do you have any advice. before I send out the patch? :) | 14:33 |
lekernel | you can also try to upstream the other Milkymist support patches | 14:34 |
xiangfu | kristianpaul: you can also try data partition image. then give some feedback :) http://www.milkymist.org/wiki/index.php?title=Flashing_the_Milkymist_One#flash_data_partition | 14:34 |
lekernel | I tried to do so, was ignored/dismissed, I gave up, then silence for ~2 months, then they came back with a very polite message thanking me for my submission and saying they would merge it | 14:35 |
lekernel | afaik they did not yet | 14:35 |
lekernel | RTEMS patches should be upstreamed too (imo more important than YAFFS, and easier too) | 14:37 |
xiangfu | lekernel: then I can remind them in next few days. | 14:37 |
xiangfu | lekernel: yes RTEMS is more important. write down them to my TODO list. | 14:40 |
lekernel | imo you should just have to diff src/c/lib/libbsp/lm32 | 14:41 |
lekernel | afaik no one else touched it in the RTEMS tree, so my version should always be the most up to date | 14:41 |
lekernel | and I almost didn't touch the rest (platform independent) of the RTEMS code | 14:42 |
xiangfu | is this "Yann Sionneau <yann.sionneau@telecom-sudparis.eu>" also work on Milkymist one. or it's a upstream committer? rtems lm32 maintainer? | 14:49 |
lekernel | he's Fallenou | 14:50 |
xiangfu | oh | 14:50 |
lekernel | the RTEMS LM32 maintainer does nothing... I asked him to upgrade the EVR code to the new RTEMS IRQ API (a simple thing to do btw) when I upgraded this for all LM32 platforms, and that was already too much | 14:51 |
lekernel | answered the LM32 port was "a toy" "nothing serious" or something like that | 14:52 |
lekernel | so, my patches break EVR, but I don't think that's something we should worry about :-) | 14:53 |
xiangfu | oh. we are serious :) | 14:57 |
lekernel | sure. and because of that the LM32 port gets modern IRQ code. if the EVR doesn't, that's not a serious problem. | 14:58 |
roh | whats evr? | 15:01 |
lekernel | the original LM32 system and board from lattice | 15:01 |
roh | ah. who gives a shit | 15:02 |
xiangfu_ | lekernel: same question. what is EVR. (searching...) | 15:12 |
lekernel | the original LM32 system and board from lattice | 15:13 |
xiangfu_ | thanks. | 15:19 |
xiangfu_ | time for sleep. see you | 15:19 |
lekernel | good nigh | 15:19 |
lekernel | t | 15:19 |
rofl0r | greetings | 18:46 |
rofl0r | lekernel, which mtk files specify how stuff is drawn on the screen ? i wanna try to get it to work on directfb | 18:47 |
mw1 | lekernel: is there anything else beside the user/pass i have to set to enable the ftp server? | 20:33 |
Fallenou | mw1: nop | 20:36 |
mw1 | mh doesnt work for me | 20:38 |
mw1 | ping works | 20:38 |
Fallenou | oh strange | 20:41 |
Fallenou | usually just setting uer and pwd is enough | 20:42 |
Fallenou | user* | 20:42 |
mwalle | is the ftp server always enabled? | 20:43 |
mwalle | because i get connection timed out | 20:44 |
Fallenou | don't know more sorry, last time I tested on qemu, I just had to enter the user /pw :x | 21:07 |
mwalle | write(5, "$X400007e0,7e0:5\345\0\200\24\204\0\1<\245\0\2\264}\3\30\0"..., 2048) = 2048 | 21:55 |
lekernel | mwalle: just set user and pwd and theoretically it works | 22:14 |
lekernel | port 21 | 22:14 |
mwalle | --- 192.168.4.77 ping statistics --- | 22:16 |
mwalle | 1 packets transmitted, 1 received, 0% packet loss, time 0ms | 22:16 |
mwalle | rtt min/avg/max/mdev = 0.682/0.682/0.682/0.000 ms | 22:16 |
mwalle | [mw@thanatos ~]$ telnet 192.168.4.77 21 | 22:16 |
mwalle | Trying 192.168.4.77... | 22:16 |
mwalle | telnet: Unable to connect to remote host: Connection timed out | 22:16 |
lekernel | wtf | 22:16 |
lekernel | works for me | 22:16 |
lekernel | is the telnet server broken as well? | 22:17 |
mwalle | yep | 22:18 |
lekernel | uhm, weird... | 22:18 |
lekernel | what binary are you using? msd? | 22:19 |
mwalle | the one you announced today | 22:19 |
lekernel_ | i'm connected to the board just now... both telnet + ftp | 22:20 |
lekernel_ | with the very same binary | 22:20 |
lekernel_ | maybe you have a firewall enabled or something? | 22:21 |
mwalle | iptables -L shows nothing :) theres a fritzbox in between | 22:22 |
mwalle | i'll try it directly tomorrow | 22:22 |
mwalle | lekernel_: a directly connected linux laptop wont work too | 22:31 |
mwalle | gn8 | 22:31 |
lekernel_ | gn8 | 22:31 |
larsc | hmpf, this is new. network-manager is blocking my /dev/ttyUSB0 | 22:34 |
roh | larsc: hrhr.. probing for a modem (gsm) | 22:38 |
roh | should make it free after splitseconds usually | 22:38 |
roh | if not, disconnect the serial device and only plug the usb-serial, then after some seconds the device | 22:38 |
larsc | `apt-get purge modem-manager` solved it... | 22:38 |
roh | hrhr | 22:39 |
lekernel_ | roh: do you think one could make a decent CVBS signal generator out of a 8-bit DAC? | 23:27 |
lekernel_ | hm, with oversampling maybe... the one on MM1 goes up to 140MHz | 23:27 |
lekernel_ | so I see two options: 1) one channel, oversampling, passive low pass filter | 23:28 |
lekernel_ | 2) two or three channels, active analogue circuit to compute 2^16*channel1 + 2^8*channel2 + channel3 | 23:29 |
larsc | lekernel_: do i need a newer vgacore for the clksel register? | 23:30 |
lekernel_ | yes | 23:30 |
larsc | ok | 23:31 |
lekernel_ | you can use the bitstream I just posted | 23:31 |
larsc | i'm using http://www.milkymist.org/msd/msd-apr2011.tar.bz2 | 23:31 |
lekernel | imo oversampling is great... never do in hardware what can be done in software :) | 23:31 |
lekernel | and the oversampling circuit should only be a few dozen LUTs | 23:32 |
lekernel | larsc: good | 23:32 |
larsc | so that one should have support for clksel? | 23:32 |
lekernel | yes | 23:32 |
larsc | ok | 23:33 |
larsc | maybe i did something wrong | 23:33 |
roh | lekernel: decent? nope | 23:34 |
roh | need the sync also | 23:34 |
lekernel | roh: so what would you recommend to get tv-out on milkymist? | 23:35 |
roh | use vga and different timings | 23:35 |
lekernel | oversampling at 140MHz should definitely do the trick imo... CVBS is only 8MHz bandwidth | 23:36 |
roh | generate composite sync on one pin and use an adapter to scart | 23:36 |
lekernel | sync isn't that low compared to active video, is it? | 23:36 |
roh | cvbs itself.. dunno.. i dont really have usecases for that anymore. its like the lowest common denominator in the worst case of video.. besides that... i rather chose any other possibility | 23:36 |
roh | lekernel: not sure. | 23:37 |
lekernel | i'd like to keep the analogue part as simple (cheap) as possible :) | 23:37 |
lekernel | http://en.wikipedia.org/wiki/File:Composite_Video.svg | 23:38 |
larsc | lekernel: ok, works fine now. i just wrote the bitstream to the wrong location... | 23:38 |
lekernel | so sync would use about 26% of the dynamic range of the DAC | 23:38 |
lekernel | mh, otoh oversampling wouldn't do wonders. at 140MHz it would only add 1-2 bits of extra precision | 23:44 |
lekernel | so that's a 9-10 bit DAC | 23:44 |
roh | lekernel: sure your vga dac cant do cvbs as alternative? | 23:47 |
lekernel | it can | 23:47 |
lekernel | it's a dumb DAC | 23:47 |
lekernel | 3x8-bit in, 3x analogue color channels out | 23:47 |
lekernel | but I'm worried about 8-bit not being enough to get a decent picture quality | 23:48 |
lekernel | when used for CVBS | 23:48 |
roh | i see. so it cant do 'cvbs generation from rgb' | 23:48 |
lekernel | so as I said: to gain more resolution, either oversample, or combine the three channels with an analogue circuit | 23:49 |
lekernel | no, but the fpga can | 23:49 |
roh | lekernel: with expensive additional hw | 23:50 |
lekernel | huh? | 23:50 |
roh | i dont really see the need for that anymore (cvbs) | 23:50 |
roh | i think it should be possible to do it with a 'cable mod' | 23:51 |
roh | vga to scart and 'weird' timing | 23:51 |
lekernel | I don't expect the CVBS generator to take more than 1-2% of the FPGA resources | 23:51 |
lekernel | well you need colorspace conversion too | 23:51 |
roh | some resistors or so in the cable to combine H and V sync to feed to the cvbs pin as 'csync' | 23:51 |
lekernel | and color subcarrier generation | 23:52 |
roh | all tv sets fo the last 10 years eat rgb directly and it gives a much better picture than possible on cvbs due to the reduced bandwith there | 23:52 |
lekernel | both can be done as with FPGA DSP | 23:52 |
roh | lekernel: you only need sync on the cvbs pin. r g and b are just wires.. maybe with some voltage divider to 0.7vpp | 23:53 |
lekernel | yup, but I want CVBS, not SCART | 23:53 |
roh | whatfor? | 23:53 |
lekernel | driving cheap video mixers, cables and projectors | 23:53 |
roh | low end people? | 23:53 |
lekernel | not only, some large expensive displays take CVBS too | 23:54 |
roh | then it was not expensive or the buyer maximum stupid. sorry. | 23:54 |
roh | sell them http://www.tradevv.com/vs-vga-to-cvbs-converter/ | 23:55 |
roh | should be <40E in asia | 23:55 |
lekernel | this can be put into the fpga :p | 23:58 |
lekernel | less latency, possibly better picture | 23:58 |
lekernel | what is this VGA to RCA cable you pointed to btw? | 23:59 |
lekernel | when I asked about 720p | 23:59 |
--- Thu Apr 7 2011 | 00:00 |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!