--- Log opened Mon Dec 01 00:00:21 2014 | ||
--- Day changed Mon Dec 01 2014 | ||
poke53282 | https://github.com/charcole/Z3 | 00:00 |
---|---|---|
poke53282 | Finally ;) | 00:00 |
poke53282 | good, looks like I get it down to 13MB, if I remove every file, which is not accessed during a "make ARCH=openrisc" | 03:29 |
poke53282 | So 5MB seems possible when I do a little bit more bash magic. | 03:31 |
poke53282 | Bad idea. It takes more than 3 hours to compile the kernel. At least it works. | 07:29 |
olofk | poke53282: How can it take longer time? | 10:06 |
olofk | I'm having a tricky wishbone issue. Help appreciated. I want to send data on every 2nd clock cycle (from my 32->64 bit upsizer). The only way I can come up with is to keep cyc and stb asserted and set cti to 111. | 10:08 |
olofk | But what I really want to do is to let cti be 010 and just mark every other word as valid. Is that even possible? | 10:09 |
olofk | I thought that lowering stb in the invalid words would work, but reading through the spec, I can't find any evidence that it should work | 10:10 |
stekern | why not? | 10:10 |
stekern | afaik, that's the only way to do what you are describing | 10:11 |
maxpaln | Hi, does anyone know if Mentor's NucleOS has been ported to the MOR1KX (or OR1200)? - they don't list it on their webpage but they caveat that by saying the custom processor's may be supported but not listed. | 11:13 |
stekern | never heard of it | 11:27 |
maxpaln | stekern: thanks - yeah, me either. But we've had a request. It's an RTOS developed by Mentor Graphics - not sure of it's advantages or why it is required. I am guess the experience of the engineers. | 11:39 |
stekern | I took a quick peek, seems like I need a company with a revenue >1M$ to get the sources | 11:41 |
stekern | err <1M$ | 11:41 |
maxpaln | hmmm, I didn't spot the request for downloading the source. Well, this is a pretty big company they are definitely open to paying for porting work - we are going to propose based on the ORPSOC and some porting of the OS. I know we have a SW contract houses that we've used for this in the past - any other recommendations very welcome. | 12:07 |
poke53282 | olofk: Last week I included some scripts in jor1k to compile a few things like lua, cmatrix and so on. Yesterday I tried to reduce the size of the kernel in order to compile it on jor1k. Unfortunately that is a little bit slower than expected. I hoped, that I can compile withing half an hour. | 17:38 |
poke53282 | Well, I was wrong. | 17:42 |
poke53282 | I can still try to port tcc (Tiny C compiler) to compile it. | 17:55 |
olofk | maxpaln: I did some contract work for a company that used Nucleus. No one there could explain why on earth they used that instead of a free RTOS, so I guess it all comes down to legacy code. I think you will have a hard time finding a port since it's proprietary | 19:38 |
olofk | poke53282: Ah ok. I see | 19:38 |
olofk | stekern: Yes, I assumed that fiddling with stb was the way to go, but I can't actually find it anywhere in the spec | 19:40 |
olofk | And honestly, I haven't ever seen anyone using it. My BFM doesn't handle it, so before adding support for that I wanted to check that it's a real use case | 19:40 |
olofk | And also, should the slave keep the ack signal asserted even when stb is lowered? | 19:41 |
olofk | hmm... observation 3.10 answers the last question | 19:44 |
olofk | But that just makes it more tricky | 19:44 |
olofk | stekern: Or did you mean that setting cti to 111 was the only way to do it? | 19:46 |
olofk | Ahhh. the wishbone spec is so fucking horrible | 19:55 |
olofk | Now they suddenly introduced a signal called lock_o, that is only used in one place and seems to do exactly what cyc does | 19:55 |
olofk | ok, so now it's suddenly ok to keep ack asserted even if stb is lowered | 20:04 |
olofk | At least for bursts. I should probably stop reading now, because this is what I was looking for | 20:04 |
olofk | Ah right. The sel signal isn't allowed to change during a burst. That's a good idea.... said no one EVER! | 20:18 |
stekern | no, I meant stb | 20:18 |
olofk | Someone should just throw wishbone under a bus | 20:18 |
olofk | stekern: Yes, it seems like the right way to do it | 20:19 |
stekern | I don't understand the problem, just de-assert stb when you have no request | 20:19 |
olofk | Problem is that my BFM is cheating a bit there and doesn't look at stb | 20:20 |
stekern | ...and you can of course only de-assert it once the slave has finished the (previous) cycle with an ack (or err) | 20:20 |
stekern | your BFM isn't very wishbone compliant then ;) | 20:20 |
olofk | ...or rty. That's another great signal that gets used a lot | 20:21 |
olofk | No. Lot's of trial and error to get that thing working at all. The code is a complete mess (which maxpaln discovered some time ago) | 20:21 |
olofk | Right now the problem is that I only want to write a half word on the first access, and full words later in the burst | 20:22 |
stekern | rty could maybe be useful... if anything actually supported it ;) | 20:22 |
stekern | I think my SDL2 support for scummvm is about ready to submit... | 20:23 |
olofk | I assume that mor1kx has some fancy logic to resend requests on rty :) | 20:23 |
olofk | stekern: Cool! | 20:23 |
stekern | no, it doesn't use it | 20:23 |
olofk | I think I've seen some slave that just hooks up rty to reset, but no masters ever care | 20:23 |
olofk | But we must amend the requirement that sel isn't allowed to change during a burst. That's just stupid, and I'm pretty sure that all slaves look at sel for every cycle anyway | 20:24 |
stekern | yeah... | 20:31 |
olofk | I should send out a request for that on the wishbone mailing list. Just a bit worried that it will get lost in all the noise there | 20:41 |
stekern | mmm, I know what you mean, I had to filter all those mails into a seperate inbox | 20:57 |
olofk | :) | 20:58 |
olofk | Is really sel used for reads btw? | 20:58 |
stekern | I've never used it for that, but I think I've seen slaves use it | 21:00 |
stekern | where the end interface was 16-bit | 21:00 |
olofk | ah ok. Yeah, that would make sense | 21:01 |
-!- Netsplit *.net <-> *.split quits: wallento, sb0, vagn, poke53282, jonmasters, ams, hno, knz, mboehnert, Amadiro, (+1 more, use /NETSPLIT to show all of them) | 21:35 | |
ysangkok | stekern: are you skristiansson on github? | 22:02 |
ysangkok | i'm having an issue with musl-cross | 22:02 |
ysangkok | seems that i may have an incompatible version of lex/yacc | 22:03 |
ysionneau | 21:58 < olofk> Is really sel used for reads btw? < my minicon sdram controller uses it | 22:06 |
ysangkok | hmm https://gist.github.com/ysangkok/b89fbb83b5f9dee7cc3f | 22:12 |
stekern | ysangkok: do you have flex installed on your system? | 22:13 |
ysangkok | stekern: no but it didn't fail on it, so i disregarded that warning... i'll try with flex now | 22:14 |
ysangkok | stekern: failed again... with flex | 22:14 |
stekern | what is the error now then? | 22:16 |
stekern | the same but without the error? | 22:16 |
ysangkok | stekern: https://gist.github.com/ysangkok/839f11f92cf04df1a168 | 22:16 |
stekern | without the warning I meant | 22:16 |
ysangkok | stekern: i tried also redoing build.sh instead of invoking make myself, but the result is the same, less the interleaved stuff from different make targets | 22:17 |
ysangkok | stekern: it seems i may need to run distclean.. i'll try again http://stackoverflow.com/questions/4262531/trouble-building-gcc-4-6 | 22:18 |
ysangkok | my goal is to try and get the Trinity syscall checker running in jor1k... compilation is too slow in jor1k | 22:21 |
ysangkok | is there no prebuilt or1k cross-compiler that has the linux specific headers? | 22:21 |
ysangkok | stekern: it works now! thanks! i think it would be useful with a hint in the readme.md. would you accept a pull request if i were to submit one detailing this gotcha? | 23:01 |
stekern | sure, but the readme.md is just what came with the original musl-cross | 23:03 |
ysangkok | trinity needs the kernel address and a few other parameters : https://github.com/kernelslacker/trinity/blob/master/include/arch-mips.h | 23:04 |
ysangkok | does anyone happen to know them? or how to find them? | 23:04 |
--- Log closed Tue Dec 02 00:00:53 2014 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!