| Fallenou | lekernel: hi | 00:05 |
|---|---|---|
| Fallenou | I am trying to re organize the ethernet driver | 00:05 |
| Fallenou | first to put everything in the softc instead of global variable | 00:06 |
| Fallenou | but I have an array of rxbuffers | 00:07 |
| Fallenou | how can I put this into the struct ? | 00:07 |
| Fallenou | because it muse be initialized with the addresses of the rxbuffers | 00:07 |
| Fallenou | must* | 00:07 |
| Fallenou | and where do I put the rxbuffers declaration ? | 00:07 |
| Fallenou | in the struct ? it would be ugly | 00:08 |
| Fallenou | to have 4 rxbuffers in the struct | 00:08 |
| Fallenou | and then to put their address in an array within init() | 00:08 |
| Fallenou | how can I put the rxbuffN in the struct since they *have* to be declared as global | 00:10 |
| Fallenou | well I think I will initialize everything in the init() and put dma memory in static in the init function | 00:36 |
| CIA-31 | rtems-milkymist: Yann Sionneau master * r03a674b / c/src/lib/libbsp/lm32/shared/milkymist_framebuffer/framebuffer.c : indent fix - http://bit.ly/hUYyu2 | 00:39 |
| CIA-31 | rtems-milkymist: Yann Sionneau master * r11a52f6 / c/src/lib/libbsp/lm32/shared/milkymist_networking/network.c : driver clean-up, we now use a softc and no global variables - http://bit.ly/eDWxa9 | 00:39 |
| Fallenou | hop hop some cleanup | 00:39 |
| Fallenou | I just checked that it compiles | 00:39 |
| Fallenou | time to go to bed, tell me if it's cleaner for you lekernel :) | 00:39 |
| Fallenou | next step, add a pool of rx buffers | 00:40 |
| lekernel | http://www.kickstarter.com/projects/1091976372/open-source-5-axis-cnc-router-and-plasma-machine-p | 02:04 |
| methril | hi guys!! | 16:11 |
| methril | i just paid the MMOne order (few weeks and is in brazil) | 16:12 |
| wolfspraul | I hope we are faster than 'a few weeks' | 16:12 |
| wolfspraul | it will ship on Monday, then let's see how lucky we are with Brazil customs | 16:12 |
| methril | just going to get the most recent gnu-crap (as lekernel name it) | 16:12 |
| methril | wolfspraul, we'll see | 16:13 |
| lekernel | hmm? what gnu-crap? | 16:13 |
| lekernel | the gnu-crap is fortunately a very small amount of what's used in milkymist :) | 16:13 |
| methril | binutils/gcc | 16:13 |
| methril | ;) | 16:13 |
| Action: kristianpaul dislikes the gnu-crap word | 16:14 | |
| lekernel | methril: you can try gcc svn (4.6) - it needs testers :) | 16:14 |
| methril | ok, i hope it works in qemu-lm32 | 16:15 |
| kristianpaul | 4.6? does it compilesfinally ? | 16:15 |
| lekernel | the c++ compiler doesn't build (but it's not such a big issue as it seems didn't even work before) but the c compiler should be ok | 16:15 |
| kristianpaul | ah, good :-) | 16:15 |
| methril | lekernel, is this a gcc issue or only for lm32 port? | 16:16 |
| methril | for the ISE 13, we need all full installer_ | 16:16 |
| methril | ? | 16:16 |
| kristianpaul | webpack | 16:16 |
| lekernel | methril: it's only for the lm32 port | 16:17 |
| lekernel | but lm32 is included in gcc for almost a year now | 16:17 |
| methril | i know | 16:17 |
| methril | i compile some 4.5.x in my own, and deal with some Coldfire v1 problems (+newlib) | 16:18 |
| methril | i'm following the milkymist project since the beginning | 16:18 |
| lekernel | if you can fix lm32 problems in 4.6, I can commit your changes | 16:18 |
| methril | i'll try to get a toolchain working, and later i try to deal with them | 16:18 |
| kristianpaul | lekernel: You think is a valid but ask for Cycle Counter support in lm32-gcc? | 16:22 |
| kristianpaul | yeah i already now, thats it not defined for lm32 in mm1 | 16:22 |
| kristianpaul | s/now/know | 16:22 |
| lekernel | kristianpaul: what does that cycle counter have to do with the compiler? | 16:22 |
| kristianpaul | is not the compiller supposed to support it? | 16:23 |
| lekernel | to do what? | 16:23 |
| lekernel | read from application? you can use inline assembly | 16:23 |
| kristianpaul | i need compile fftw for rtems :-) | 16:23 |
| lekernel | why does fftw need a cycle counter? | 16:23 |
| kristianpaul | In order to perform runtime self-optimization | 16:24 |
| kristianpaul | well i can skip that. i just was asking just in case ;-) | 16:24 |
| kristianpaul | FFTW needs a high-precision timer to measure the cost of different code choices | 16:25 |
| lekernel | and can't you read the cycle counter with inline assembly? why do you need special compiler support? | 16:25 |
| kristianpaul | hmm, yes i could use assembly | 16:25 |
| kristianpaul | yeah, nv | 16:26 |
| wolfspraul | lekernel: one of the cheap cmos cameras I bought for 15 usd says in the manual "programmable ic bus function: color saturation, brightness and contrast ratio, self balance, exposure time and 2 times gain" | 16:26 |
| wolfspraul | do you know what this means? | 16:26 |
| lekernel | well there's no standard for cycle counters afaik, so it shouldn't be in the compiler | 16:26 |
| wolfspraul | there are 2 analog cables coming out, I would think one for composite video, one for audio | 16:26 |
| lekernel | inline assembly is the way to do it | 16:26 |
| wolfspraul | so how can the IC on the other side be 'programmed'? | 16:26 |
| lekernel | let's not add more cruft to gcc than what it already has :) | 16:26 |
| wolfspraul | is there a standard to feed data back into the camera? | 16:26 |
| kristianpaul | lekernel: yes, it make sense for me know ( no standard ) | 16:27 |
| wolfspraul | over the composite video line? | 16:27 |
| lekernel | wolfspraul: not as far as i know | 16:27 |
| wolfspraul | ok. need to find out how this 'programmable ic bus function' is supposed to work then... | 16:28 |
| lekernel | btw, if your camera has audio out, it'd be nice that it could be plugged to the line in with the supplied cables/adapters | 16:28 |
| wolfspraul | could be just a copy/paste manual of course, who knows | 16:28 |
| wolfspraul | I thought you said that's a not-important use case, and we have an internal micro? | 16:29 |
| lekernel | wolfspraul: well, maybe IC= chinese name for I2C and they just mean that some chip inside the camera has I2C :) | 16:29 |
| lekernel | I guess you know how chinese technical docs are sometimes :) | 16:29 |
| lekernel | yeah, it's not important | 16:30 |
| wolfspraul | ok, in 3 lines you first say "it'd be nice" and then "it's not important". so what now? | 16:30 |
| wolfspraul | the microphone will not be very far away from the internal one | 16:31 |
| wolfspraul | m1 has no fans or other noise | 16:31 |
| wolfspraul | and the one in those cheap cameras for sure won't be better than the internal one either, I would think | 16:31 |
| wolfspraul | so that only leaves that it may be a bit more exposed, up in the air a little | 16:31 |
| wolfspraul | will that make a difference? | 16:31 |
| lekernel | well, it just means that if audio out is for free, and if you have a choice of plugs, pick one that is compatible (e.g. jack) | 16:32 |
| wolfspraul | or rather: how much of a difference will that make? | 16:32 |
| wolfspraul | ah ok | 16:32 |
| Action: kristianpaul wonders what is the usabillity of the internal mic | 16:32 | |
| wolfspraul | of course I keep that in mind | 16:32 |
| lekernel | kristianpaul: well I tested it on stage with the acrylic case already, and it does a decent job | 16:32 |
| kristianpaul | lekernel: yeah, but i mean, how is related with flickernoise, ie, if you clamp you a get a custom effecton screen?, or if clap twice i swich a patch.. | 16:34 |
| lekernel | the intended use is beat sync, but you could code something like that too | 16:35 |
| kristianpaul | Any on had tested the Amsterdam Compiler Kit ? | 17:37 |
| kristianpaul | wow pcc 1.0 was released just days ago | 17:39 |
| lekernel | we need to find gsoc mentors... who's in? | 21:00 |
| rejon | http://www.milkymist.org/wiki/index.php?title=GSoC_ideas_2011 | 21:11 |
| rejon | and | 21:11 |
| rejon | ok bbiab | 21:11 |
| wpwrak | (cycle counter) they do seem to be in in POSIX: man 3 clock | 21:14 |
| wpwrak | (cycle counter) you're allows to implement it as return (clock_t) -1; though :) | 21:14 |
| wpwrak | (attacks on irc) may also be some amount of bot-net testing. easily available target that gives feedback and doesn't call the cops | 21:15 |
| lekernel | rejon: that's totally outdated | 21:16 |
| lekernel | almost everything on this list is done except the linux tasks that were replaced with rtems ones | 21:19 |
| lekernel | Gurty: hi | 22:46 |
| lekernel | is that you who has the gcc compile farm? | 22:46 |
| Gurty | hi lekernel, no :o | 22:49 |
| lekernel | uhm, why does the spartan6 have a SPI_ACCESS block that is normally used to read the on-chip flash of FPGAs that have it (spartan6 does not)? | 23:04 |
| lekernel | there's also a completely undocumented "OCT_CALIBRATE" site | 23:08 |
| Fallenou | lekernel: hi | 23:48 |
| Fallenou | lekernel: is this better about the softc/global variables problem in the driver ? | 23:50 |
| Fallenou | https://github.com/fallen/rtems-milkymist/commit/11a52f6f26c1f2438f54ca7335a778f644255f6f | 23:50 |
| --- Sun Mar 6 2011 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!