--- Log opened Sat Sep 13 00:00:50 2014 | ||
-!- E11Fangirl is now known as kira | 00:36 | |
-!- kira is now known as Guest43423 | 00:37 | |
-!- Guest43423 is now known as E11fangirl | 00:37 | |
-!- Netsplit *.net <-> *.split quits: Amadiro | 00:38 | |
-!- Netsplit over, joins: Amadiro | 00:45 | |
-!- Netsplit *.net <-> *.split quits: rokka | 00:59 | |
-!- Netsplit *.net <-> *.split quits: enghong, jeremy_bennett | 01:06 | |
-!- Netsplit *.net <-> *.split quits: trevorman | 01:20 | |
poke53281 | Hmm, gtk+ compiles. *Formally* I meet all requirements to compile Firefox. | 01:45 |
---|---|---|
mor1kx | [mor1kx] skristiansson pushed 2 new commits to master: https://github.com/openrisc/mor1kx/compare/64bf7e10a8e3...973f0395ff89 | 05:14 |
mor1kx | mor1kx/master 438e3fc Stefan Kristiansson: change module definitions to verilog 2001 style | 05:14 |
mor1kx | mor1kx/master 973f039 Stefan Kristiansson: cappuccino/lsu: add option to disable store buffer... | 05:14 |
-!- Guest65615 is now known as exparrot | 05:26 | |
stekern | bah... I always forget mor1kx.v | 05:29 |
mor1kx | [mor1kx] skristiansson pushed 2 new commits to master: https://github.com/openrisc/mor1kx/compare/973f0395ff89...d120827dcb62 | 05:37 |
mor1kx | mor1kx/master 88522fa Stefan Kristiansson: top: change module definition to verilog 2001 style | 05:37 |
mor1kx | mor1kx/master d120827 Stefan Kristiansson: add missing FEATURE_STORE_BUFFER to top module... | 05:37 |
exparrot | When compliling the toolchain, i've followed the instructions and built or1k-src with sim but without ork1sim, now I've compiled and installed or1ksim ( some unittest fails btw, is that a good sign?) should I recompile or1k-src (and therefore or1k-gcc) again with --enable-or1ksim? what will it get me? | 06:45 |
helmut | hi. can someone update me on the state of or1k gcc upstreaming? | 06:59 |
-!- lauri__ is now known as lauri | 07:03 | |
poke53281 | stekern: Is it possible to update gcc to 4.9.1? I have an compiler error which is maybe not related to openrisc | 07:05 |
poke53281 | this is the error I get https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61207 | 07:54 |
poke53281 | I can only compile -O0. | 07:57 |
poke53281 | with -O0 | 07:57 |
stekern | poke53281: we can give it a try ;) | 08:10 |
-!- knz_ is now known as knz | 08:18 | |
stekern | poke53281: I've updated the or1k branch and created a musl-4.9.1 branch | 08:56 |
olofk | helmut: blueCmd probably knows the most about this, but I think that we are still missing the copyright assignment from one of the authors | 10:12 |
olofk | exparrot: I *think* that compiling the toolchain with enable-or1ksim just allows you to use or1ksim as the simulator when you run the toolchain regression tests | 10:13 |
olofk | What I normally do is run or1ksim as a stand-alone simulator, in which case there are no dependencies between or1ksim and the toolchain | 10:13 |
olofk | which unittest fails btw? Is that when you run make check? | 10:14 |
olofk | hmm.. I'm getting all kinds of fails when I do make check | 10:16 |
helmut | olofk: the latest thing I heared of was http://openrisc.debian.net/or1k-gcc-patch/or1k-clean.patch | 10:21 |
helmut | olofk: that was an answer from blueCmd, but he went pretty much silent for the past two months | 10:23 |
olofk | helmut: He might show up if we call on him. blueCmd! blueCmd! blueCmd! blueCmd! blueCmd! | 10:26 |
helmut | I guess he'll just be annoyed, because copyright assignment is tedious and boring. Still it is useful to have this code upstream. | 10:27 |
olofk | Anyone familiar with the or1ksim regression tests? I'm getting several failed testcases, but I suspect they are false positives | 10:28 |
helmut | I'm actually asking, because I ponder kicking or1k from CI unless it progresses. (https://jenkins.debian.net/job/rebootstrap_or1k_gcc49/lastBuild/console) | 10:28 |
olofk | The log file seems to have problems with line breaks | 10:28 |
olofk | helmut: It would be great if you could wait with that for a while. We got the annual OpenRISC conference coming up in less than a month. Perhaps we can work something out then | 10:29 |
helmut | with "while" == "1 month"? | 10:32 |
olofk | Yeah, or if blueCmd says otherwise. | 10:34 |
olofk | But looking at the log I see this "*** Configuration or1k-unknown-linux-gnu not supported" | 10:35 |
helmut | yes, that is due to the license clearing aspect | 10:53 |
helmut | the debian gcc maintainer refuses to take patches that are not submitted to gcc upstream. | 10:54 |
helmut | since the or1k gcc changes still haven't the copyright assignment done, they are considered unsubmitted | 10:54 |
helmut | so the "not supported" bit should change fairly quickly when that copyright hassle is done | 10:54 |
blueCmd | olofk: I have been summoned | 11:12 |
blueCmd | I skimmed through the backlog, is this about gcc? | 11:12 |
blueCmd | If so, I still need to reach Yungsook for the floating point stuff, or we need to rewrite that | 11:14 |
helmut | blueCmd: yes. I know it is annoying | 11:14 |
helmut | blueCmd: so is that just one contributor left to do the assignment? | 11:15 |
blueCmd | I sent some blind emails to what a person that used to work at the same company guessed the email would be, no response | 11:15 |
blueCmd | helmut: yep | 11:15 |
blueCmd | helmut: at least that I've been unable to reach | 11:15 |
helmut | ok... any how many still need to actually do the assignment? | 11:16 |
blueCmd | helmut: that's hard to know, I *think* everyone has sent their assignments, but that's only their word | 11:16 |
blueCmd | I might be able to ask assign@gnu | 11:17 |
helmut | I think that it is reasonable to trust contributors when they say they did it | 11:17 |
blueCmd | absolutely | 11:17 |
helmut | thanks for the status update | 11:17 |
blueCmd | np | 11:18 |
helmut | hope you get the last issue sorted out quickly | 11:18 |
blueCmd | there is nothing quick about this :P | 11:18 |
helmut | well, rewriting may be possible. | 11:18 |
helmut | this copyright assignment thingy is annoying. nobody but the fsf get away with that. not even canonical. | 11:20 |
blueCmd | Matjaz needs to confirm his assignment and then it's Yungsook | 11:26 |
blueCmd | helmut: I appriciate that you ping me, sometimes I need a kick in the but | 11:31 |
blueCmd | butt* | 11:31 |
blueCmd | helmut: also, we need a code reviewer for the GCC commit | 11:32 |
blueCmd | which apparently can be a pain to find, but I haven't tried | 11:32 |
helmut | blueCmd: what qualifications are needed? | 11:37 |
blueCmd | helmut: http://4ec074c1fa210da9.paste.se/ that's what I know | 11:40 |
helmut | between the lines, it says that you need a gcc developer | 11:41 |
blueCmd | yea | 11:41 |
helmut | blueCmd: the good thing is that I guess having sent the formal mail is enough for doko to carry the patch in debian for a while. | 11:42 |
blueCmd | helmut: that's probably true yes | 11:42 |
helmut | also note that ppc64el and arm64 are progressing quite well, so that should make some space on d-ports "soon" (I estimate 4 months) | 11:43 |
helmut | otherwise, kick powerpcspe to make space for or1k. :) | 11:43 |
blueCmd | helmut: cool! yes, they are doing very good work that helps openrisc a lot | 11:43 |
helmut | so will you wait indefinitely for Yungsook, or is there some deadline at which point you discard his contributions? | 11:45 |
blueCmd | (her*) | 11:46 |
blueCmd | I just now sent a linkedin message, maybe that will work | 11:46 |
blueCmd | helmut: I'll wait until someone steps up to rewrite the relevant code or that she responds | 11:47 |
blueCmd | I don't think I can rewrite it since I know the code | 11:47 |
helmut | sounds like you should use the openrisc conference to find someone willing to replace that code | 11:53 |
blueCmd | I could, but I'm not going - I had a last minute thing come up that I need to attend :( | 13:01 |
helmut | blueCmd: ok, so the point I was trying to make is that the conference seems like a good deadline. maybe someone else can bring that issue up | 13:29 |
blueCmd | helmut: sounds fair enough | 13:39 |
-!- Netsplit *.net <-> *.split quits: poke53281, trem | 13:55 | |
-!- Netsplit over, joins: simoncook | 13:55 | |
-!- Netsplit *.net <-> *.split quits: sb0, funfunctor | 13:55 | |
-!- Netsplit over, joins: poke53281, trem, sb0 | 13:56 | |
-!- Netsplit *.net <-> *.split quits: kiwichris | 13:56 | |
-!- Netsplit over, joins: funfunctor | 13:57 | |
-!- Netsplit *.net <-> *.split quits: poke53281, hesham | 14:26 | |
-!- Netsplit over, joins: hesham | 14:26 | |
-!- Netsplit over, joins: poke53281 | 14:27 | |
mor1kx | [mor1kx] skristiansson pushed 3 new commits to master: https://github.com/openrisc/mor1kx/compare/d120827dcb62...d7a7d4fc488a | 15:17 |
mor1kx | mor1kx/master 5cfe894 Stefan Kristiansson: cappuccino/wb_mux: remove unused lsu_valid_i input | 15:17 |
mor1kx | mor1kx/master 3f7597f Stefan Kristiansson: execute_alu: remove & {OPTION_OPERAND_WIDTH{1'b1}} from mul... | 15:17 |
mor1kx | mor1kx/master d7a7d4f Stefan Kristiansson: execute_alu: Set result of disabled units to 0... | 15:17 |
stekern | hmmm, I want to kill this: https://github.com/openrisc/mor1kx/blob/master/rtl/verilog/mor1kx_dcache.v#L509 | 15:20 |
-!- mboehnert is now known as martinb1 | 15:21 | |
-!- martinb1 is now known as martinboehnert | 15:22 | |
-!- martinboehnert is now known as hauslude | 15:22 | |
-!- hauslude is now known as martinboehnert | 15:22 | |
stekern | I can't see why I need that, at least after I change the WRITE state to go back to IDLE instead of READ when it's done... | 15:22 |
-!- martinboehnert is now known as huaslude | 15:23 | |
-!- huaslude is now known as hauslude | 15:23 | |
hesham | Are there performance counters that I can use (in or1ksim and/or mor1kx)? It's annoying (and buggy) to use tick timer for both task scheduling and benchmark/profiling results. | 15:29 |
stekern | hesham: what kind of performance do you want to measure? | 15:32 |
hesham | Cache functions | 15:32 |
stekern | what kind of cache functions? | 15:33 |
hesham | There are some tests in RTEMS that tries to estimate some results about cache. First it tests accessing an array (1024 bytes) with cache invalidated, and then access it again when cache is worm. Both functions (with access of this 1024 bytes) need some timing results. | 15:35 |
stekern | to answer your question, mor1kx doesn't implement the performance counters | 15:35 |
stekern | aha, or1ksim will not give sensible results there | 15:35 |
hesham | http://git.rtems.org/rtems/tree/testsuites/sptests/spcache01/init.c | 15:36 |
stekern | but why is it error prone to use the tick timer? | 15:36 |
hesham | Say I am getting the TTCR before the calling a cache function, and then read it again to calculate delta, TTCR may be overflowed during this cache function | 15:37 |
hesham | I am using tick timer restart mode for scheduling | 15:37 |
stekern | but can't you just account for the overflow? | 15:38 |
stekern | and isn't there any time-keeping 'frameworks' in RTEMS? | 15:38 |
stekern | or1ksim is (naturally) slower with caches turned on | 15:39 |
hesham | There is time-keeping for each thread I think, and it's incremented every tick timer interrupt, I may use it. | 15:40 |
hesham | I tried with or1ksim, it does not give reasonable results for cache functions | 15:40 |
hesham | The worm cache time is the same as if was not pre-fetched with data | 15:41 |
hesham | Sense the time-keeping variable in RTEMS is updated every tick timer interrupt, it won't give an accurate result too.. | 15:42 |
hesham | Will QEMU give sensible results ? | 15:49 |
hesham | And how can I be sure that Cache functions are working properly on or1kim and/or QEMU? | 15:55 |
olofk | blueCmd: Sorry to hear that you won't be able to come to orconf | 16:17 |
olofk | stekern: Do you want to get rid of the parameter for simple_dpram_sclk, or just be able to set it to 0 for that instance | 16:18 |
olofk | ? | 16:18 |
poke53281 | Thanks stekern. Toolchain is built. Let's hope the best | 16:25 |
stekern | olofk: I want to be able to set it to 0 for that instance (and the other instance in dcache) | 16:26 |
olofk | ah ok | 16:28 |
olofk | I really should get a proper JTAG adapter. Considering getting a Bus Blaster from Dangerous prototypes | 16:29 |
olofk | otoh | 16:31 |
olofk | All I really need is a breakout board for something like FTDI 2232 | 16:32 |
poke53281 | damn, no luck | 16:36 |
poke53281 | stekern: http://pastie.org/9551161 | 18:15 |
poke53281 | I think this is right | 18:15 |
poke53281 | firefox libraries now and then have headers in which they need such information. | 18:17 |
stekern | poke53281: can you back up a couple of steps ;) | 18:18 |
stekern | but, as far as I can see, those defines are right | 18:18 |
poke53281 | I try to compile the Netscape Portable Runtime (NSPR) | 18:22 |
poke53281 | Well, it's already done | 18:22 |
stekern | oh, I know why I need the bypass now | 18:23 |
poke53281 | And now I try to compile firefox. | 18:23 |
stekern | when there are several non-word writes to the same word coming in serie | 18:24 |
poke53281 | sicnce 20 minutes it compiles. So far, so good. I don't know how long firefox compiles. 1 hour? | 18:25 |
poke53281 | Hmm 54 standard build units | 18:26 |
stekern | but for that, I only need the bypass on the way_data_ram | 18:27 |
stekern | poke53281: I like that we are having two monologues going on at the same time ;) | 18:27 |
poke53281 | well, mybe someone is interested | 18:29 |
stekern | I'm interested, don't get me wrong there, I just don't have anything to respond to what you are saying ;) | 18:31 |
poke53281 | the problem with you monologue is, that I don't know what you are saying. | 18:34 |
stekern | I've sent mor1kx to fat-camp, but sometimes it just breaks down and cries for donuts... basically ;) | 18:39 |
blueCmd | olofk: yeah, me too. it was a hard choice, I'll tell you that | 18:46 |
poke53281 | your FPGAs are too small? | 19:44 |
mor1kx | [mor1kx] skristiansson pushed 2 new commits to master: https://github.com/openrisc/mor1kx/compare/d7a7d4fc488a...77a24c1d4900 | 19:45 |
mor1kx | mor1kx/master ed8f21c Stefan Kristiansson: dcache: minor whitespace fix | 19:45 |
mor1kx | mor1kx/master 77a24c1 Stefan Kristiansson: dcache: disable bypass for tag ram... | 19:45 |
stekern | mine aren't, but others might be ;) | 19:45 |
poke53281 | sooner or later I want to see an SMP system with 32 Cores on an FPGA | 19:47 |
stekern | for that, my FPGAs are too small | 19:48 |
stekern | so in that sense, I'm actually motivated to do the area optimization for myself | 19:49 |
stekern | I might fit 16 on my sockit board | 19:49 |
stekern | ...I think | 19:49 |
stekern | but I should try 4 before that ;) | 19:50 |
poke53281 | r is already pretty nice. | 19:50 |
stekern | r? | 19:51 |
poke53281 | 4 | 19:51 |
stekern | ah | 19:51 |
poke53281 | the keys are next to each other | 19:51 |
stekern | they are | 19:51 |
poke53281 | and high have big fingers | 19:51 |
poke53281 | and I .... | 19:52 |
poke53281 | and my brain is much faster than my fingers. Therefore I always forget to write words in my sentences. | 19:53 |
poke53281 | Finally I have wrote a patch to alter the amount of memory before I boot. No recompiling of the kernel necessary. | 19:56 |
stekern | I do that too, but I think that's just because I get distracted easily | 19:56 |
poke53281 | s/patch/hack/ | 19:56 |
stekern | "alter", in what way? | 19:56 |
poke53281 | set the amount of memory | 19:57 |
stekern | you mean what's in the .dts? | 19:57 |
poke53281 | I analyzed the compiled dts file | 19:57 |
poke53281 | yes | 19:57 |
poke53281 | would be nice to have something like u-boot. | 19:59 |
stekern | you could just keep around several dt blobs and use some small bootloader (or let jor1k do it) that loads it into mem and pass the pointer to it in r3 | 19:59 |
poke53281 | pointer in r3? | 20:00 |
stekern | yes, to the memory where the compiled device tree is | 20:01 |
poke53281 | this is implemented? | 20:01 |
stekern | yes | 20:01 |
poke53281 | nice, didn't know this | 20:01 |
stekern | the kernel looks for a device tree in the memory pointed at by r3, if it doesn't find anything there, it use the built-in | 20:02 |
poke53281 | would be nice if this would work without a compiled device tree | 20:03 |
stekern | yeah, well, the (higher levels) of the kernel expects a blob | 20:04 |
stekern | u-boot and barebox can of course de-compile it and let you do changes | 20:05 |
stekern | not sure how bulky the fdt handling code is by itself, you could take a look if you can rip it out | 20:06 |
poke53281 | hmm, I might take a look. At the moment I am fine with my solution. | 20:13 |
stekern | are you poking at the fdt in the kernel? | 20:16 |
poke53281 | yes, searching for "memory\0" | 20:16 |
poke53281 | I was afraid that they use a checksum. | 20:17 |
stekern | yeah, I'm just trying to push you into a direction of doing something I'd like to have as well ;) | 20:17 |
stekern | for my sockit board, it'd be nice with a mini bootloader that could parse device-tree | 20:19 |
poke53281 | mhh, you are sure u-boot can do this? | 20:20 |
stekern | I could of course just let the ARM core parse it, modify it and then dump it to a known memory area | 20:20 |
stekern | yes, I'm sure, I've used it | 20:20 |
olofk | Any pointers for where to start if I would want to write a kernel driver for wb_streamer? | 20:41 |
olofk | I could always ask Alessandro at orconf :) | 20:41 |
stekern | Alessandro? | 20:42 |
olofk | Rubini, who wrote Linux Device Drivers. He said he'll come and do a presentation about the sdb (self-describing bus) stuff they're doing at CERN | 20:43 |
stekern | ah, cool! | 20:45 |
stekern | in the meantime, I would sniff around drivers/dma to start with if I'd be you | 20:45 |
stekern | I will need a driver too | 20:46 |
stekern | this nostalgia frenzy we are having really need some sound to it | 20:47 |
olofk | So we need an ISA core that we can hook up our old sound blasters to? :) | 20:49 |
stekern | yup | 20:49 |
stekern | speaking of which, someone has already done an OPL2 clone | 20:49 |
olofk | Nice. Is it any good? | 20:50 |
stekern | I don't know, it's part of a x86 clone | 20:52 |
stekern | but *not* zet iirc | 20:52 |
stekern | I should have made a note about it here when I saw it, now I can't find it... | 20:55 |
stekern | https://github.com/alfikpl/ao486 | 20:57 |
olofk | Now it's saved in the cloud :) | 20:57 |
stekern | there it is, a sb 2.0 core ;) | 20:57 |
olofk | hahaha | 20:57 |
stekern | "OPL2 (FM synthesis not fully working)." | 20:58 |
stekern | maybe answers your question | 20:58 |
olofk | Here's my presentation from FPGAWorld if you're interested btw. There are some slides of the board I'm working on adding support for there https://www.dropbox.com/s/f9m2b1ujrgfhv4o/The%20Gates%20are%20Open%20-%20FPGA%20World%202014.pdf?dl=0 | 20:58 |
stekern | haha, I like that you add quotes, with yourself as the author of the quote ;) | 21:02 |
stekern | I think qemu would have been worth noting too | 21:02 |
olofk | ah.. true :/ | 21:03 |
olofk | It worked fine as a base presentation, so it's great with some input on how to improve it for other events | 21:03 |
poke53281 | you can also mention Debian. | 21:04 |
poke53281 | I am only waiting for blueCmd to put that online :) | 21:05 |
olofk | I talked about Debian, but you're right, it's not written anywhere in the presentation | 21:07 |
olofk | Oh well. Time to sleep now | 21:07 |
stekern | but overall, good slides | 21:10 |
-!- Netsplit *.net <-> *.split quits: sb0, rjo | 21:45 | |
-!- Netsplit *.net <-> *.split quits: funfunctor | 22:27 | |
-!- Netsplit *.net <-> *.split quits: jeremypbennett, arokux2 | 22:27 | |
--- Log closed Sun Sep 14 00:00:51 2014 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!