--- Log opened Wed Jan 14 00:00:55 2015 | ||
wallento | olofk: yes, sunny :) thanks | 08:48 |
---|---|---|
wallento | I re-submitted a few patches that did not make it until now into newlib | 08:48 |
wallento | unfortunately we didn't get the entire port into newlib 2.20 | 08:49 |
wallento | 2.21 then :) | 08:49 |
wallento | _franck__: unfortunately only commercial stuff (synopsys), which I cannot share | 08:51 |
poke53282 | ysangkok: Looks like the segmentation fault is induced by the free() command in musl. | 09:07 |
olofk | wallento: Good to hear | 09:11 |
olofk | wallento: Your or1k-newlib should work, right? Do you have any build instructions for that? | 09:12 |
olofk | Hmm... what does it mean if I do an Avalon burst with size == 0? | 09:13 |
wallento | yes | 09:23 |
wallento | http://wallento.github.io/newlib/ | 09:24 |
olofk | wallento: Have you tried that with upstream binutils? | 09:28 |
olofk | I'll give it a go | 09:28 |
olofk | I just updated my list of favorite french people | 09:35 |
olofk | 3. Jean-Luc Picard | 09:35 |
olofk | 2. André the Giant | 09:35 |
olofk | 1. _franck_ | 09:35 |
wallento | nope, haven't tried | 09:38 |
wallento | last parts of the port go upstream right now | 09:38 |
wallento | yeah | 09:38 |
olofk | Wooho!! | 09:39 |
olofk | It stings a little that we probably have to wait a year until the next release | 09:39 |
olofk | Maybe we can convince them to do a point release. I mean, the or1k port isn't really working right now in the official release | 09:40 |
olofk | _franck_: The problem with the local interface was that my IP had maximum burst size set to 4, so when the bridge writes 8 to local_size, the IP masked the highest bit and got 0 instead | 09:45 |
wallento | yes, we need to see | 09:47 |
wallento | otherwise we pack our own release for the moment | 09:47 |
wallento | like 2.20-or1k | 09:47 |
wallento | once everything is in there and running | 09:47 |
olofk | Yeah, that's a good idea | 09:47 |
wallento | I will replay the changes on the 2.20 tag then | 09:48 |
olofk | I think it would be good to use more stable releases instead of relying on git master | 09:48 |
olofk | At least for most things | 09:48 |
wallento | yes, you're right | 09:48 |
olofk | We could perhaps do a snapshot release of gcc too. stekern, blueCmd, any thoughts? | 09:49 |
_franck__ | olofk: good to hear ;) | 09:50 |
wallento | "Applied. Thanks, Corinna" | 09:57 |
wallento | done :) | 09:57 |
wallento | time for a beer | 09:57 |
olofk | Well deserved | 09:57 |
_franck__ | olofk: you might want to look at this: https://github.com/fjullien/orpsoc-cores/commits/wb_altera_wrapper_fixes | 10:23 |
_franck__ | may be we can find more bugs with the new version of wb_bfm | 10:24 |
olofk | _franck_: More bugs is the last things I want to find right now :) | 10:47 |
olofk | But I'll take a look at it. I also have a local version of wb_sdram_ctrl with a lot of modifications that maybe could be used in wb_altera_ddr_wrapper too | 10:50 |
_franck__ | wallento: ok, no problem | 10:59 |
poke53282 | ysangkok: getting closer. The problem is somewhere in tty_term_find | 11:04 |
olofk | or1k-elf toolchain works fine with upstream binutils | 13:05 |
olofk | I want to construct a minimal assembly hack that writes something to the UART. Anyone got experience with setting up the UART? | 13:19 |
wallento | uart should work out of the box | 13:22 |
olofk | wallento: Just write chars to 0x90000000? | 13:22 |
olofk | I thought I had to set up baudrate and crap before that | 13:22 |
wallento | this is all in the board_setup | 13:23 |
wallento | you can call write() | 13:23 |
olofk | Where should I call write? | 13:24 |
wallento | you can overwrite baud rate etc. with the _board symbols | 13:24 |
wallento | in your assembly | 13:24 |
olofk | To clarfiy a bit, I don't have any software | 13:24 |
wallento | ah :) | 13:24 |
olofk | I need something that is small enough to fit in the on-chip RAM, so anything compiled with gcc is out of the question | 13:25 |
wallento | okay | 13:25 |
wallento | i will be back in an hour or so | 13:25 |
olofk | It's basically a led blinker, for uarts | 13:25 |
wallento | I can write up a small piece then | 13:25 |
olofk | Woohoo!!! | 13:25 |
olofk | You're competing with _franck_ on being my favorite guy today :) | 13:26 |
olofk | _franck_ still got the lead though. | 13:26 |
olofk | When I get a bus error and end up on address 0x200. Can I somehow see where I came from? I vaguely remember epcr or something | 13:29 |
olofk | Note to self; Keywords: gdb, registers, help; Problem: Seeing registers in GDB; Solution: info register | 13:31 |
olofk | What happens when a main is finished for a newlib program? | 13:35 |
_franck__ | wallento: how do I trace signals from sub-modules in my systemc setup ? | 13:39 |
_franck__ | my verilated top verilog file doesn't provide access to submodules. In other words, I don't have access to DUT->gpio (where DUT is Vbench *DUT = new Vbench("Vbench" and Vbench is the verilated top module)) | 13:44 |
olofk | or1k-tcltools and signaltap is awesome! | 14:00 |
olofk | oh... I'm not debugging the program flow. I'm debugging or1k-tcltools writing the program to RAM. Whoops | 14:01 |
poke53282 | ysangkok: https://github.com/s-macke/jor1k/issues/56 | 14:10 |
poke53282 | Problemsolved | 14:10 |
ysangkok | poke53282: great work :D did you submit it upstream also? | 14:13 |
poke53282 | gh-pages? | 14:15 |
poke53282 | no | 14:15 |
poke53282 | But I can do it | 14:15 |
poke53282 | After I fixed some problems with the pull requests last week it might be stable again ;) | 14:15 |
ysangkok | poke53282: no i meant to the tmux people... it looks like a tmux bug | 14:16 |
poke53282 | ysangkok: You can test it directly using jor1k.com/jor1k/ | 14:16 |
poke53282 | I send it to the irc chat one minute ago. | 14:16 |
poke53282 | That's easier. If no one cares I will send it to the tmux people | 14:17 |
ysangkok | ok good | 14:18 |
poke53282 | tmux destroys the idle process. When I run it, the IPS increases from 60 kIPS to 900 kIPS. | 14:21 |
poke53282 | That's bad for a terminal multiplexer | 14:22 |
ysangkok | i'm trying tmux on jor1k.com now but it's still segfaulting | 14:24 |
ysangkok | the last-modified header of tmux.bz2 says January 9 | 14:24 |
poke53282 | jor1k.com/jor1k/ | 14:24 |
ysangkok | i disabled the cache | 14:24 |
ysangkok | aah | 14:24 |
ysangkok | it has to be the subdirectory? | 14:24 |
poke53282 | this is my testing folder. | 14:24 |
ysangkok | ah ok | 14:24 |
poke53282 | nothing official. | 14:24 |
poke53282 | the main site of jor1k.com just links to gibhub. | 14:25 |
ysangkok | ah... regarding tmux and idling... yeah that's bad | 14:26 |
ysangkok | screen doesn't impact the IPS though | 14:26 |
ysangkok | so that's good | 14:26 |
poke53282 | I will ask this in the chat too, when I have the opportunity | 14:28 |
rram_ | Do you know ram chip with fast zeroing of all content? | 14:37 |
olofk | rram_: Nothing comes to mind. What kind of RAM, dynamic or static? How large? | 15:03 |
rram_ | pseudo | 15:05 |
olofk | pseudo? | 15:05 |
rram_ | psRAM | 15:06 |
olofk | aha | 15:06 |
olofk | Sorry. Don't know | 15:06 |
olofk | stekern: How many USB ports on your zenbook? | 15:10 |
wallento | olofk: I am back | 16:20 |
wallento | In the beginning you need to set the divisor latch and just set the line control register | 16:21 |
wallento | then you just push characters to the fifo | 16:21 |
stekern | olofk: three | 16:25 |
wallento | l.movhi r14,0x9000 | 16:26 |
wallento | l.sb 3(r14), 0x80 | 16:26 |
wallento | l.sb 0(r14), DIVISOR_LOW | 16:26 |
wallento | l.sb 1(r14), DIVISOR_HIGH | 16:26 |
wallento | l.sb 3(r14), 0x3 | 16:26 |
wallento | l.sb 2(r14), 0xc3 | 16:26 |
wallento | l.sb 1(r14), 0 | 16:26 |
wallento | this is the initialization sequence | 16:26 |
wallento | DIVISOR_HIGH and DIVISOR_LOW are the upper and lower byte of frequency/(baud rate * 16) | 16:27 |
wallento | then its just l.sb 0(r14), <character> | 16:29 |
olofk | wallento: Awesome. Thanks. This will help a lot | 20:08 |
--- Log closed Thu Jan 15 00:00:56 2015 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!