| kristianpaul | he, now learn how to use wishbone :) | 00:34 |
|---|---|---|
| kristianpaul | hmm, tricy, the minimac2 core, indeed uses conbus and seens to adress directly to a dual ported ram | 01:02 |
| kristianpaul | same as usb.. i dont remenber | 01:02 |
| kristianpaul | and CSR bus seems preferable to control cores | 01:03 |
| kristianpaul | not use the wishbone directly of course, is non-sense | 01:03 |
| wolfspraul | lekernel: what's the URL of that photographer in Cologne (?) that turned out to be too expensive? I cannot find it anymore... | 10:47 |
| lekernel | www.peterginter.de | 11:00 |
| guyzmo | ola | 11:44 |
| guyzmo | what's the feature used by lfterm to upload the kernel ? | 11:45 |
| guyzmo | I could recode it or find it in other console program | 11:45 |
| wolfspraul | excellent, thanks [peterginter] | 11:54 |
| lekernel | guyzmo: it's a custom protocol, if you want to use it on OSX the easiest way is to find out why flterm doesn't work on that platform | 12:04 |
| lekernel | since it apparently fails to receive any character from the serial port, it shouldn't be too hard to find out | 12:04 |
| lekernel | i'd guess it's a problem with poll()/select() | 12:05 |
| guyzmo | ok | 12:10 |
| guyzmo | well, I'm testing it using a linux vm, so at least I'm sure the luam firmware works | 12:11 |
| guyzmo | had a prompt ! | 12:11 |
| guyzmo | kristianpaul - is there a lua function to reboot properly the milkymist ? :) | 12:26 |
| guyzmo | cleanly I mean | 12:26 |
| xiangfu | http://www.milkymist.org/snapshots/2011-04-22/ | 12:34 |
| xiangfu | writing ChangeLog now... | 12:34 |
| xiangfu | guyzmo: I have a small question about lua running in milkymist, lua is a script language(http://www.lua.org/) then it should can not to access the hardware. only can running on milkymist right? | 12:41 |
| xiangfu | it can not write file to NOR flash. can not read NOR flash right? is the LUA linked RTEMS libs? | 12:42 |
| guyzmo | xiangfu - well, I didn't dig into the code, so I can't tell, but lua is indeed linked against rtems | 12:43 |
| xiangfu | guyzmo: (lua linked against rtems) got it. thanks. | 12:44 |
| xiangfu | guyzmo: I found the 'awesome windows manager' is using lua :) | 12:44 |
| guyzmo | xiangfu - and that's the point of my question, whether there is some abstraction to control some basic hardware features | 12:44 |
| guyzmo | xiangfu - as well as the sony PSP :p | 12:44 |
| lekernel | what do you want to control? | 13:01 |
| guyzmo | lekernel - reboot, inputs/outputs... | 13:04 |
| lekernel | you can try controlling DMX with the file I/O functions | 13:04 |
| lekernel | for reboot just press the 3 buttons at the same time | 13:04 |
| lekernel | open /dev/dmx_{in,out}, then seek/read/write | 13:05 |
| lekernel | if you don't have /dev/dmx*, you may need to recompile Lua with the DMX driver in the driver table ... (see how flickernoise does in main.c) | 13:06 |
| guyzmo | ok | 13:15 |
| guyzmo | lekernel - about flterm, it seems macosx treats POLLHUP as POLLIN... | 13:21 |
| lekernel | did you get flterm to work? | 13:21 |
| guyzmo | (from what I've found) | 13:21 |
| guyzmo | not yet, I'm trying this out | 13:21 |
| guyzmo | I was googling over the mailing lists and the known poll() bugs on OSX | 13:22 |
| guyzmo | because we can't be the firsts to encounter that kind of bug :) | 13:22 |
| kristianpaul | guyzmo: (lua prompt) nice | 13:23 |
| kristianpaul | guyzmo: reboot from lua? not implemented.. | 13:24 |
| kristianpaul | xiangfu: (acess hardware with lua) not currently, well sdt input/output (uart) at least, but lua is not hard to custom :-) | 13:26 |
| kristianpaul | s/sdt/standard | 13:27 |
| guyzmo | kristianpaul - but we indeed have /dev/* access as lekernel tells me ? | 13:28 |
| kristianpaul | yes | 13:29 |
| kristianpaul | but not by default i think.. | 13:31 |
| guyzmo | about the poll() bug : http://www.mail-archive.com/bug-gnulib@gnu.org/msg00296.html | 13:32 |
| kristianpaul | good there is a patch.. | 13:34 |
| guyzmo | yup, but still m4 autofsck mess | 13:35 |
| guyzmo | damn gnu people | 13:35 |
| kristianpaul | :/ | 13:37 |
| xiangfu | guyzmo: you decide debug flterm under MacOS :D | 13:39 |
| guyzmo | xiangfu - at least I'm trying | 13:39 |
| guyzmo | but I won't spent too much time on that, though | 13:40 |
| xiangfu | guyzmo: maybe you can create a new 'issue' at https://github.com/milkymist/bugs/issues ? just for other people who want try flterm in macos. we can point him to some URL :) | 13:41 |
| guyzmo | xiangfu - yup, but first I'm trying to point exactly what's wrong | 13:41 |
| guyzmo | and where it blocks | 13:42 |
| lekernel | lol? you can't poll() /dev files on OSX? | 13:44 |
| lekernel | what to use instead? select()? hahaha | 13:45 |
| guyzmo | I hope not :) | 13:45 |
| lekernel | btw that patch seems to be just an autocrap macro to detect whether poll() works with /dev/* or not | 13:46 |
| guyzmo | yup, but it talks about a poll replacement that is no where :-S | 13:46 |
| lekernel | and btw yes it seems one has to use select() | 13:47 |
| kristianpaul | btw for shell and getting hardware support already well made in rtems, lua should no be linked stadalone anymore and luam should be added as rtems custom command | 13:47 |
| kristianpaul | (need to recompile Lua with the DMX driver in the driver table ) ya, too, but lua shell support a filesystem already? | 13:48 |
| kristianpaul | .. | 13:48 |
| lekernel | i think so | 13:55 |
| guyzmo | OMG | 13:55 |
| guyzmo | % man poll | 13:55 |
| guyzmo | [...] | 13:55 |
| guyzmo | BUGS | 13:55 |
| guyzmo | The poll() system call currently does not support devices. | 13:55 |
| lekernel | guyzmo: use linux :) | 13:56 |
| guyzmo | lekernel - that's what I do :) | 13:56 |
| guyzmo | so I can open an issue in the tracker, and directly mark it as 'wontfix' ;) | 13:56 |
| lekernel | well i guess you can replace it with select() | 13:56 |
| guyzmo | I just don't have the time to rollback to select() | 13:57 |
| kristianpaul | bootcamp support linux recently ;) | 13:57 |
| guyzmo | I got a linux vm running | 13:57 |
| kristianpaul | ah, yes Yann do same i think.. | 13:58 |
| guyzmo | but hell, a fscking community of FLOSS developers are able to write a working poll() implementation, and a private held company like next and then apple can't ? | 14:00 |
| kristianpaul | yup :_) | 14:01 |
| lekernel | well there are things that FLOSS developers can't do but apple can. making a nice GUI without X, touchscreens that work, successful hardware products, ... | 14:02 |
| kristianpaul | hum.. i agree in the out-of-the-box/turnkey experience, (not gui, thats software, that doest matter if all works) | 14:04 |
| kristianpaul | ha, wishbone and avalon control signals do almost same just have different less or more explicative names.. | 14:05 |
| lekernel | xiangfu: how's it going with keymap and language support? | 14:49 |
| lekernel | don't worry about the autostart problems, i'll fix those | 14:50 |
| lekernel | and add a register set by the BIOS to indicate rescue boot ...that's one's easy... what is less easy is how to properly read that value back in RTEMS | 14:51 |
| lekernel | there's always the option of making the CRT store it into some global variable, then read that global variable in the app... one more thing that Ralf will hate I think :-) | 14:52 |
| lekernel | http://pixxxel.net/milkymist-open-hardware-vj-station | 15:06 |
| kristianpaul | he yeah, some guys are from lorea | 15:07 |
| xiangfu | lekernel: I meet small bug about three keys. I bought germen/french keyboard today. will get them in next two days. I think I have to get the French keyboard that I can make it working. | 15:15 |
| xiangfu | lekernel: first I will still using the keymap.c layout map. then next step will look into the input.c as you said only one key map in input.c is enough. | 15:15 |
| xiangfu | lekernel: I am working on ben nanonote this week a little. so maybe a little slow. | 15:16 |
| kristianpaul | lekernel: Do you still using distcc in order to do simultaneos map and par ? | 16:35 |
| kristianpaul | is the goal isnt? or.. | 16:35 |
| lekernel | I use the "smartxplorer" xilinx script | 16:36 |
| kristianpaul | k | 16:37 |
| Action: lekernel is in "project promotion" mode today. submitting CFPs, funding applications, email advertising, and bothering people who didn't answer earlier emails. | 16:45 | |
| guyzmo | hum just had an idea of workaround for the poll thing.. I could create a pipe file to the chardev file and open flterm with the pipe :) | 17:43 |
| kristianpaul | ;) | 17:48 |
| kristianpaul | nice workaround i think | 17:48 |
| guyzmo | gonna test that tuesday | 18:05 |
| lekernel | aren't pipes unidirectional? | 18:57 |
| lekernel | also you'd lose baudrate setting etc. | 18:58 |
| kristianpaul | baudrate :/ | 19:15 |
| --- Sat Apr 23 2011 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!