| roh | lekernel: did you see the cfp for the camp? | 00:15 |
|---|---|---|
| roh | http://events.ccc.de/camp/2011/ | 00:16 |
| terpstra_ | mwalle, what reference material did you write your gdbstub.c with? | 07:44 |
| terpstra_ | mwalle, i'm translating it into something that drives the monitor, but don't know what some of the packets you send mean. | 07:45 |
| aw_ | xiangfu, when i flashed msd-dec2010/soc-1.0RC2.fpg from msd-apr2011/soc-1.0RC3.fpg; once flash completed, if i used "Shutdown" to select "Reboot", the info will still show SoC 1.0RC3.fpg. | 08:20 |
| aw_ | xiangfu, only exactly power off and power on board again, then platform version info is correct though. | 08:21 |
| aw_ | lekernel, i think that this is because fpga needs to be driven a real signal trigger on PROGRAM_B pins a low level. which h/w RC2 version won't be have this function. right? | 08:28 |
| xiangfu | aw_: that is normal I think. no need warry about that. :) | 08:28 |
| aw_ | xiangfu, um..i know. but this should can be done by s/w? well..i don't know. | 08:30 |
| aw_ | xiangfu, :-) | 08:30 |
| aw_ | xiangfu, hm..it's reasonable now I think. the soc bitstream needs to be load during fpga configuration stage which only LED1 lights after power cycling. :-) good this is the reason. :-) | 08:36 |
| aw_ | so whenever you see the info shows rightly is because address starts from 0x80860000 is regular BIOS/splash/APP(Flickernoise)/data partition. All of them can be directly changed/reloaded by "Reboot" button. :-) | 08:39 |
| xiangfu | hmm... | 08:48 |
| xiangfu | aw_: need look into a little why it's not change after software reboot | 09:13 |
| xiangfu | aw_: the SOC string is read from "0xe000103c". but I don't know why after software reboot. ti's still the old. | 09:25 |
| xiangfu | need lekernel to answer this question :) | 09:26 |
| lekernel | simply, software reboot doesn't reload the bitstream | 10:29 |
| lekernel | mwalle: it seems that the QEMU VNC server doesn't take into account the resolution changes... at 1024x768 the picture is messed up | 12:37 |
| lekernel | who wants to submit a CCC camp talk with me? | 12:38 |
| larsc | mwalle: is bwalle related to you? | 14:44 |
| CIA-8 | rtems-milkymist: Sebastien Bourdeauducq master * r860d0b4 / c/src/lib/libbsp/lm32/shared/milkymist_networking/network.c : Ethernet: get rid of ipalign - http://bit.ly/dVwPAm | 18:23 |
| mwalle | terpstra_: official remote protocol, eg http://sourceware.org/gdb/current/onlinedocs/gdb/Remote-Protocol.html | 18:31 |
| lekernel | ?! wireshark shows outgoing frames of 2962 bytes from my computer (which obviously trigger rtems/milkymist ethernet bugs) | 18:31 |
| mwalle | larsc: nope | 18:31 |
| lekernel | ifconfig shows my mtu is set to 1500 ...wtf? | 18:31 |
| lekernel | hmm... ifconfig mtu 1000 reduced those frames to 1962 | 18:35 |
| lekernel | let me try with a very small mtu :) | 18:35 |
| lekernel | argh... breaks netboot which doesn't handle fragmented UDP | 18:41 |
| lekernel | I don't get it. why does TCP seems to send frames larger than the MTU? | 18:41 |
| lekernel | but not UDP? | 18:41 |
| Action: lekernel is sick of bugs | 19:22 | |
| larsc | arn't we all | 19:43 |
| mwalle | lekernel: it seems that your vncclient doesnt support resizing | 19:45 |
| lekernel | it works for you? | 19:49 |
| lekernel | I connected after resizing | 19:49 |
| lekernel | mwalle: btw ethernet is completely broken for you? | 19:53 |
| lekernel | for me about 1/3 of the "large" (several hundred bytes) frames appear somewhat truncated, maybe by hardware | 19:54 |
| lekernel | instead of having 1500 bytes, they have a random length between 650 and 750 bytes | 19:55 |
| mwalle | lekernel: (vnc) no it doesnt work | 20:03 |
| mwalle | ping works, bot nothing else | 20:03 |
| lekernel | {#~{[! adding printk() in the ethernet ISR RX makes the bug disappear | 20:30 |
| mwalle | lekernel: you could try to print in a buffer | 20:31 |
| lekernel | it could be because printk() makes the ISR a bit slower | 20:32 |
| lekernel | if this is the case and when i'm pissed off enough about that, i'll just add a dummy loop in the ISR lol ;) | 20:33 |
| mwalle | so writing into a buffer wont change the timing too much | 20:33 |
| lekernel | mhahaha yeah, adding 80K NOPs into the ethernet ISR makes it work | 20:35 |
| Fallenou | what's the point of having non-copy things like mbuf if it's to lose time in useless loops | 20:38 |
| Action: Fallenou does not get it | 20:38 | |
| lekernel | mwalle: btw for some reason the bug is never triggered for ping packets, no matter the size and frequency | 20:39 |
| lekernel | Fallenou: making a copy free driver takes one hour. fixing pesky bugs like that take one month or more. | 20:40 |
| mwalle | qemu will have opengl disabled by default | 20:49 |
| lekernel | mwalle: what's the problem btw? linking the opengl nvidia library breaks the x86 emulator? | 20:50 |
| lekernel | can't you only link qemu-system-lm32? | 20:50 |
| mwalle | lekernel: yes seems to break some amd64 archs | 20:51 |
| lekernel | just link the lm32 arch against opengl? | 20:51 |
| mwalle | nah, i dont think thats a good idea | 20:57 |
| lekernel | why not? the other archs don't need it anyway | 20:57 |
| mwalle | that would just be another workaround.. | 20:58 |
| mwalle | which requires more changes | 20:58 |
| mwalle | disabling opengl by default is only a oneliner | 20:58 |
| mwalle | and --enable-opengl wont hurt much | 20:58 |
| mwalle | and maybe there are the same problems for lm32 on amd64 | 20:59 |
| lekernel | ok, but i'm worried that distros would just build the QEMU package with the default options and all will ship qemu-system-lm32 without opengl | 20:59 |
| mwalle | mh, i c | 20:59 |
| lekernel | I have an nvidia card, and opengl+qemu works for me... | 20:59 |
| mwalle | lekernel: are you subscribed to qemu-devel? | 21:00 |
| lekernel | nope... too much traffic | 21:00 |
| mwalle | yeah, lol :) | 21:01 |
| mwalle | almost 30k unread mails in my inbox ;) | 21:01 |
| mwalle | lekernel: ok i suggest to disable opengl by default except for lm32 targets | 21:17 |
| mwalle | this will be an ugly configure hack, arg | 21:17 |
| CIA-8 | milkymist: Sebastien Bourdeauducq master * ref32be1 / (7 files in 2 dirs): Ethernet: simplifications and fixes - http://bit.ly/dNQJDo | 22:48 |
| lekernel | http://ovejanegra77.deviantart.com/art/Oops-Consider-it-gone-27039399 | 23:46 |
| --- Sat Apr 9 2011 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!