--- Log opened Tue Sep 23 00:00:06 2014 | ||
stekern | "Die IT-Evolution" has a certain ring to it when read in english | 04:41 |
---|---|---|
olofk | :) | 05:33 |
olofk | hmm... how can I express a negative value with a bit width? 12'd1772 works, but 12'd-587 doesn't | 08:08 |
stekern | olofk: -12'd587 ? | 09:59 |
sb0_ | olofk, if you're doing signed arithmetic, use migen. | 10:53 |
sb0_ | the verilog rules are completely messed up and you *will* write bugs. | 10:53 |
olofk | Gahh.. signaltap is driving me crazy | 11:42 |
olofk | Sorry signaltap. I didn't mean that. My bad | 11:47 |
mithro | olofk / blueCmd: If you added me an owner of the http://freecores.github.io/ I would happily script up and automated push from opencores.org svn to github. I already have most of a script which would do that. I can give you access to the machine which runs it too if you wanted. | 13:53 |
blueCmd | mithro: sure, I'd be happy to do that, but I'd like to review how you do the svn->git conversion first | 13:54 |
mithro | blueCmd: my plan is the following, use svnsync to pull each of the core repos locally, then use git-svn to create the resulting git repo | 13:55 |
blueCmd | also, I'm intrigued how you got around the brokenness of the SVN server, a lot of repositories I tried to migrate just didn't work with that the SVN server either timed out or replied with a HTTP error code (I don't recall the exact code) | 13:56 |
blueCmd | svnsync is pretty clever | 13:56 |
mithro | blueCmd: I think svnsync has been built to deal with crappy links / servers | 13:56 |
blueCmd | git-svn isn't what i've been using though, that will not preserve branches and tags right? | 13:57 |
mithro | blueCmd: as the time you really want to use svnsync is when your on a crappy connection :) | 13:57 |
blueCmd | (I don't think it's git-svn I've been using anyway) | 13:57 |
mithro | blueCmd: dunno what you have been using? | 13:57 |
mithro | blueCmd: have you been using talyor? | 13:57 |
blueCmd | no. I don't recall the name, give me a sec | 13:57 |
blueCmd | svn2git I think | 13:58 |
mithro | blueCmd: from the readme for svn2git | 13:59 |
mithro | blueCmd: It uses git-svn to clone an svn repository and does some clean-up to make sure branches and tags are imported in a meaningful way. | 13:59 |
blueCmd | ~/svn2git/bin/svn2git http://opencores.org/ocsvn/$1/$1 --verbose --log-window-size=1 | 13:59 |
blueCmd | yes | 13:59 |
blueCmd | I know it uses git-svn as a backend | 14:00 |
mithro | blueCmd: okay | 14:01 |
mithro | blueCmd: seems pretty simple for me to use that instead of git-svn directly | 14:01 |
blueCmd | https://github.com/ndim/svn2git/commits/feature/log-window-size with that branch, but that's only because I needed log-window-size to be able to use the crappy server | 14:01 |
blueCmd | yeah | 14:02 |
blueCmd | if you're going to sync it, you will probably want to enable the metadata which svn2git disables by default though | 14:02 |
blueCmd | to not force-push all the time and rewrite everything every push | 14:02 |
mithro | blueCmd: okay | 14:02 |
blueCmd | mithro: are you 'mithro' on github? | 14:03 |
mithro | blueCmd: yeah | 14:03 |
blueCmd | there you go | 14:03 |
blueCmd | please don't wipe all the data :) | 14:03 |
blueCmd | also, thanks for doing this | 14:04 |
mithro | blueCmd: no worries | 14:04 |
mithro | blueCmd: Open Source hardware makes me happy, so I want to help make it happen :) | 14:05 |
blueCmd | well you're in the right place then :) | 14:06 |
mithro | blueCmd: my current primary FOSS project is TimVideos (over in #timvideos) - we are working on trying to record and live stream (plus make it interactive) every FOSS event. Part of that has been working on an FOSS hardware capture system for HDMI/DVI | 14:11 |
blueCmd | mithro: yeah I saw some hdmi2usb thing on your blog | 14:12 |
mithro | blueCmd: ahh cool, stalked me a bit huh? :P | 14:13 |
blueCmd | olofk: I think I'm going to tear out the floating point stuff in GCC tonight and see what the damage is | 14:13 |
blueCmd | mithro: basic background check before I give you commit access :) | 14:14 |
mithro | blueCmd: yeah, due diligence and all | 14:15 |
mithro | blueCmd: I haven't figured out a great way to "backup" the opencores website. I tried httrack and it seems to have done an okay job but it is obviously limited by being a webscraper. It also can't access any of the authenticated only sections. | 14:24 |
blueCmd | mithro: I just used wget I think | 14:36 |
sb0_ | the mixing of temporary/callee-saved registers in the ABI is a (small) mess | 15:33 |
blueCmd | olofk: so GNU assignment office has confirmed that everybody except Matjaz has completed the assignment process | 15:49 |
poke53282 | sb0_: We know. | 15:49 |
blueCmd | olofk: I did get an email from Matjaz and I did ping him 10 days ago, so I think he's just stalling | 15:49 |
blueCmd | not intentionally | 15:50 |
blueCmd | so next step is to find a GCC reviewer | 15:50 |
blueCmd | (middle step is for me to remove the floating point code) | 15:50 |
poke53282 | sb0: But just remember odd and even, and it is more or less Ok. | 15:52 |
sb0_ | meh | 15:57 |
sb0_ | let's see how much bloat, slowness, bugs, design flaws and software toolchain shittiness this riscv thing has... | 15:58 |
poke53282 | :) | 16:09 |
poke53282 | I would like change a lot in the OpenRISC specification. | 16:10 |
poke53282 | but then you have to change all code. | 16:10 |
poke53282 | And I think there is someone missing who does the final decision | 16:14 |
poke53282 | someone build even an riscv emulator in Javascript already. :) | 16:16 |
poke53282 | That was fast. | 16:16 |
poke53282 | Well, I hope hear something at orconf about this cpu. | 16:18 |
poke53282 | sb0_: I will definitely take a look at this cpu. But when I take a look at the javascript I have to say, that OpenRISC is currently ahead. | 16:54 |
poke53282 | not even /proc/cpuinfo works. | 16:59 |
poke53282 | But this is from March this year. | 16:59 |
poke53282 | What I like as a someone who is doing numerics is, that they support quad precision floating point as an option. I wish Intel would do it. | 17:08 |
stekern | ALSA device list: #0: 95000000.wb_i2s-ssm2602-hifi | 17:10 |
stekern | progress at last | 17:10 |
poke53282 | great | 17:11 |
poke53282 | with your DMA implementation? | 17:11 |
stekern | now I just need to make it actually work too... | 17:11 |
stekern | yes, with the dma driver | 17:13 |
poke53282 | I thought about the boot discussion and the dts compiler. I think, I will try it. | 17:32 |
poke53282 | If there is a way to alter the dts text file before boot it would be great. | 17:33 |
olofk | mithro: Have you considered showing up at orconf too? | 17:34 |
olofk | blueCmd: Good news. Have you had time to try removing the fp stuff? | 17:35 |
mithro | olofk: I assume that orconf is not in Australia? | 17:36 |
olofk | mithro: Germany isn't that far off | 17:37 |
mithro | Only a minimum of 22 Ish hours flying. | 17:39 |
PaulfraOSAA | olofk: I don't assume you have a sim file for your lx9 implementation? | 17:39 |
PaulfraOSAA | When I try it, it kinda hangs | 17:39 |
mithro | Are you guys planning on recording the stuff at all? | 17:39 |
olofk | PaulfraOSAA: Ah, there you are. I had some comments on your wiki, but I completely forgot what it was | 17:40 |
PaulfraOSAA | Cool ;) | 17:40 |
olofk | PaulfraOSAA: What do you mean with sim file? | 17:40 |
PaulfraOSAA | I probably did something wrong | 17:40 |
PaulfraOSAA | Wait a mo, just setting the or1ksim environment up | 17:41 |
olofk | aha or1ksim config file? | 17:41 |
olofk | mithro: Yes, we have recorded the previous years | 17:41 |
olofk | No live feeds though | 17:42 |
PaulfraOSAA | yeah, it kinda complains about reading 0x800000 or something | 17:42 |
olofk | Live feeds are for sex shows | 17:42 |
mithro | Cool. Considered live streaming? | 17:42 |
PaulfraOSAA | When using the standard sim stuff | 17:42 |
PaulfraOSAA | I'm still just trying to do the asm stuff | 17:42 |
mithro | Where are the previous recording hosted? | 17:43 |
olofk | hmm.. is that address inside the RAM? | 17:43 |
olofk | mithro: http://opencores.org/or1k/OpenRISC_Project_Meetings_Archive | 17:44 |
olofk | PaulfraOSAA: That address is just outside of an 8MB RAM (which happens to be the default value in or1ksim) | 17:45 |
stekern | poke53282: do you have alsautils et al in some nice packages? | 17:46 |
olofk | Make sure to set the RAM size to 32MB, or whatever is on the lx9 | 17:46 |
PaulfraOSAA | yes, and that is also the size of the [slave mem]size= setting | 17:46 |
poke53282 | yes | 17:46 |
poke53282 | stekern: yes | 17:46 |
poke53282 | stekern: jor1k.com/packages/ | 17:47 |
poke53282 | was already there | 17:47 |
PaulfraOSAA | olofk: anyway I use the pad to 512 option when compiling | 17:47 |
poke53282 | alsa.tar.bz2 and alsa-utils.tar.bz2 | 17:47 |
stekern | great! | 17:47 |
poke53282 | I would suggest to use "speaker-test -t sine" | 17:47 |
olofk | PaulfraOSAA: Hmmm... did I ever get around to fix the memory interface for lx9, or is it still only using block RAM? | 17:48 |
mithro | well it's past my bedtime, time for me to sleep. | 17:48 |
poke53282 | stekern: But I removed some config files from the libalsa package. He doesn't seem to need them for my config. Just in case it asks for some missing file. I have all of them :) | 17:49 |
stekern | ah, I might compile it myself at a later stage | 17:49 |
olofk | mithro: Good night and just ping us if you happen to be in Europe around 11-12 October | 17:50 |
stekern | I just want to get to a point of failure that I can poke at now | 17:50 |
stekern | ;) | 17:50 |
poke53282 | http://pastie.org/9588383 | 17:50 |
poke53282 | This is what I remove | 17:50 |
poke53282 | http://pastie.org/9588385 | 17:51 |
PaulfraOSAA | olofk: well that shouldn't really matter when I'm trying to run 10 lines of assembler in the simulator, now should it? | 17:52 |
poke53282 | stekern: And these are my config options. Completely harmless | 17:52 |
stekern | thanks | 18:01 |
olofk | PaulfraOSAA: Can you send the code? | 18:02 |
olofk | Or the output from or1k-elf-objdump -d if it's just a small asm hack | 18:03 |
poke53282 | stekern: Are these the latest u-boot patches? http://git.openrisc.net/cgit.cgi/stefan/u-boot/ | 18:04 |
PaulfraOSAA | olofk: It's at the wiki now, do you need the url again? | 18:10 |
poke53282 | stekern: I see, the patches are in the mainline. | 18:17 |
stekern | poke53282: yes, everything openrisc related should be in mainline | 18:19 |
stekern | there are a couple of drivers that aren't though... | 18:19 |
stekern | my drivers are starting to fail in a way that makes sense now | 18:21 |
poke53282 | Hehe | 18:21 |
stekern | i.e. it tries to run my stub functions to setup DMA transactions | 18:23 |
poke53282 | You can still try to use my code which I pasted two days ago. Then of course you have to handle the transfer without dma, or you have to program the dma device directly in your sound driver. | 18:30 |
olofk | PaulfraOSAA: Got the address, but don't see any code | 18:31 |
PaulfraOSAA | In the bottom? | 18:31 |
blueCmd | olofk: still @ work | 18:31 |
PaulfraOSAA | olofk: http://osaa.dk/wiki/index.php/OpenRISC#Writing_code_revisited | 18:32 |
olofk | PaulfraOSAA: I can run it in or1ksim, but nothing exciting happens when I do | 18:39 |
PaulfraOSAA | What? | 19:03 |
PaulfraOSAA | Sorry was away soldering | 19:03 |
PaulfraOSAA | How do you run it? | 19:04 |
poke53282 | stekern: cat /proc/cpuinfo doesn't work any longer when I take the smp branch but without smp. I didn't test with smp. | 19:05 |
poke53282 | of course could be my error somewhere. | 19:11 |
poke53282 | I will tell you | 19:11 |
blueCmd | olofk: stekern: https://github.com/openrisc/or1k-gcc/commit/445f80b442e5cae4558009d4242bd5232fc5cc7b | 20:17 |
blueCmd | seems to be working as far as I can see | 20:17 |
blueCmd | please test | 20:18 |
PaulfraOSAA | Hmm, If I say I lost my password on opencores, get a reset password and put in another username, It seems I can access any account I want. I just logged into some poor bloke from Poland's account using that method | 20:25 |
blueCmd | PaulfraOSAA: haha, awesome | 20:26 |
PaulfraOSAA | How do I get the or1k-sim to debug from adress 0x100 | 20:33 |
blueCmd | stekern: what the f* are we going to do about the tests for gcc? | 22:23 |
blueCmd | we want 100% test passing or disabled for everything C and C++ I guess | 22:23 |
poke53282 | blueCmd: Just give me one gcc or g++ testsuite problem that fails. Then I will investigate this. Ok, I have already two from the last three weeks. But they are hard to investigate. Maybe you have a important one that fails. | 22:36 |
blueCmd | poke53282: http://openrisc.debian.net/tmp/gcc-test-jul-25/gcc.fail is what I have, but a lot of those are just test harness failures so verify that they indeed do fail before digging too deep | 22:38 |
blueCmd | but as the path says, that's from jul-25 as well - but I don't know if any real work has been done since | 22:39 |
poke53282 | well, we upgraded to 4.9.1 | 22:39 |
poke53282 | or at least I did | 22:39 |
blueCmd | right, but I don't think that will change much | 22:39 |
poke53282 | me too | 22:39 |
blueCmd | http://openrisc.debian.net/tmp/opencores/opencores.org/or1k/UClibc_tool_chain_test_results.html has some annotations of some older problems that still exists | 22:40 |
blueCmd | I tried automating the testsuite runs, and I got pretty far but since I got timeouts/lockups in qemu's network interface it's hard to run | 22:43 |
blueCmd | anyway, time to sleep | 22:45 |
poke53282 | gcc.c-torture/execute <= this one was already successful executed some time ago. | 22:54 |
poke53282 | and the memcmp.c code works | 22:54 |
poke53282 | this is the first error in your list | 22:54 |
poke53282 | by the way. My network works flawless. | 22:55 |
poke53282 | and those on the uclibc website are also outdated. | 22:59 |
--- Log closed Wed Sep 24 00:00:07 2014 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!