--- Log opened Tue Oct 07 00:00:26 2014 | ||
stekern | olofk: all I've done is to whine that it doesn't work | 03:23 |
---|---|---|
drakhogekko | hi | 06:46 |
olofk | stekern: Well, you could see if it works now. I pushed the commit yesterday | 07:05 |
stekern | ok, will do | 07:08 |
olofk | stekern: ok, so I hacked in preliminary support for marking cores as non-cachable | 07:44 |
olofk | Just set 'cachable = false' on the provider section, and the core will be refetched every time. It only works for the github provider for now | 07:45 |
olofk | This is also probably a good time to switch back to cloning the git tree rather than getting a tar.gz archive from github | 07:45 |
stekern | great | 07:47 |
stekern | though, I was falsely accusing the cache mechanism, it was me that hadn't pulled the fifo changes | 07:47 |
olofk | Well, it's mostly the cache mechanism's fault, so I don't blame you :) | 07:48 |
olofk | _franck_: It would be nice if you could put on a version tag on jtag_vpi. | 08:09 |
olofk | stekern: Same goes for you with wb_sdram_ctrl | 08:10 |
olofk | And I'm throwing out mor1kx-dev-env from orpsoc-cores now | 08:11 |
olofk | stekern: Oh, and diila too | 08:14 |
olofk | Or I will kill you | 08:23 |
olofk | hmm... perhaps I should work more on my motivational techniques | 08:24 |
stekern | what about diila? you are throwing it out or you need a version tag? | 08:39 |
stekern | ...and hey, I'm married to a finnish woman. I'm used to that kind of verbal motivation. | 08:44 |
olofk | :) | 08:45 |
olofk | A version tag would be great | 08:46 |
stekern | hmm, but I don't have a version | 08:57 |
stekern | s/version/release | 08:57 |
olofk | ? | 08:58 |
stekern | to put a version tag on | 08:58 |
stekern | what's wrong with the hash? | 08:59 |
stekern | ...and with submodule support, the request is moot anyway ;) | 08:59 |
olofk | Sure, I can use the hash instead. No problems. I just think that tags are pretty :) | 09:02 |
olofk | and I haven't had time to deal with the submodules stuff | 09:02 |
olofk | ahh.. the fusesoc support is already in place. That's good | 09:03 |
stekern | so, what's missing then? | 09:07 |
olofk | Not sure. I'm looking at the pull requests from blueCmd now | 09:08 |
olofk | How do you change which commit a submodule should point to? | 09:09 |
olofk | For example, for mor1kx, I want one submodule that stays at version 2.2, and one that always tracks the head of master | 09:19 |
stekern | you just commit the new hash | 09:20 |
stekern | i.e. checkout the commit you want, and then commit the submodule/ change to the superproject | 09:21 |
olofk | Hmm... | 09:22 |
olofk | So IIRC, either, I will have to push a new version of orpsoc-cores everytime any of the submodules change, or I will let FuseSoC update the submodule locally for all clones. | 09:23 |
olofk | For the second case, will there be any conflicts when the super project is updated? | 09:23 |
olofk | Except...not IIRC, I mean If I have understood correctly | 09:24 |
olofk | IIHUC? | 09:24 |
olofk | AFAIU? | 09:24 |
olofk | Fuck it. I can't keep up with all these fancy acronyms | 09:25 |
stekern | 1) yes, but that's not any different from having the hash in the .core file | 09:27 |
stekern | 2) not if you don't do git submodule update | 09:28 |
stekern | hmm, I just discovered git subtree | 09:31 |
-!- heroux___ is now known as heroux | 09:44 | |
-!- heroux is now known as 7JTAA4WJ5 | 09:44 | |
-!- heroux_ is now known as 16WAAR95O | 09:44 | |
-!- 7JTAA4WJ5 is now known as heroux | 09:45 | |
olofk | subtree looks nice from a first look. The drawbacks seems to be related to merging, which isn't an issue | 10:20 |
stekern | why is cygwin downloading the whole internet when I asked it to install make? | 10:25 |
olofk | Perhaps it does a make all? | 10:41 |
-!- Netsplit *.net <-> *.split quits: aburgess | 10:54 | |
olofk | Do we always set up caches before entering main when we build with newlib? | 11:13 |
olofk | If that is the case, can we change that to let the user explicitly call or1k_cache_init instead, or will that break stuff? | 11:15 |
stekern | why don't you want caches to be enabled? | 11:27 |
olofk | It just takes a lot of time for my small bare-metal test cases | 11:30 |
olofk | And I suppose that we could get smaller binaries as well if we don't use them | 11:31 |
olofk | I think MicroBlaze does it that way | 11:31 |
stekern | run your tests without caches then | 11:33 |
stekern | I doubt that ~10-20 lines of assembly will make a lot of difference sizewise | 11:33 |
stekern | there's one (rather huge) disadvantage with disabling the caches late, you'll have to clear .bss with caches disabled | 11:37 |
stekern | enabling the caches late | 11:38 |
stekern | poke53282: I get this when I try to run ncurses programs: Error opening terminal: vt102. | 12:40 |
stekern | anything you've seen? | 12:40 |
olofk | I suck at these things. Could someone generate a nice sin table for me? | 13:34 |
olofk | 2-complement is a bit like VHDL. It's so stupid so that I have to relearn it every time I need it | 13:49 |
Hesham | Does anyone know how to send a shutdown signal to QEMU (like l.nop 0x1/0xC for or1ksim)? | 14:13 |
stekern | olofk: here's a perl script that generates a vhdl sin-rom: http://git.chokladfabriken.org/?p=sk-synth/.git;a=blob;f=scripts/sinromgen.pl | 14:26 |
stekern | but you should really just keep around 1/4 of it and generate the rest from that | 14:27 |
stekern | bah, why isn't mikmod working? | 15:43 |
stekern | let's see if I have better luck with xmp | 15:49 |
poke53282 | stekern: Try export TERM=linux | 16:07 |
poke53282 | run as root. | 16:08 |
poke53282 | ncurses reads the TERM variable and then chooses the appropriate protocol for the terminal. If this variable is not set it chooses a standard one which is maybe vt102. | 16:09 |
poke53282 | But the vt102 supports a bidirectional channel not only of keyboard input but also of such stuff like current status and width and height of the terminal. | 16:10 |
poke53282 | So, maybe ncurses doesn't get this messages. | 16:10 |
poke53282 | but there are other possibilities. | 16:11 |
poke53282 | Just try to run the program in an xterminal. | 16:12 |
poke53282 | but maybe it is just a "chmod -R a+rw /dev" :) | 16:13 |
poke53282 | Hesham: According to the Linux source code, l.nop 1 is send when you restart, halt or power off the machine. | 16:16 |
poke53282 | But I am not sure if this special option is included in QEMU. | 16:17 |
poke53282 | Hesham. No, the l.nop 1 instruction is not supported by qemu. | 16:40 |
poke53282 | stekern: mikmod works | 16:50 |
poke53282 | http://jor1k.com/jor1k/ | 16:51 |
poke53282 | I compiled already two weeks ago. Sound is disabled. | 16:51 |
poke53282 | Do you want to have my package or the compile scripts :) | 16:52 |
poke53282 | Indeed alsa output might not work | 16:53 |
poke53282 | You have to compile oss pcm support for alsa and use the oss option in mikmod | 16:53 |
poke53282 | stekern: http://pastie.org/9628148 | 16:55 |
stekern | poke53282: (term) yes, I tried TERM=linux (and xterm and some others), but it still didn't work | 17:02 |
stekern | static libncurses works though | 17:03 |
stekern | and mikmod "worked" here, but there is no sound output | 17:03 |
poke53282 | yes, alsa doesn't work. | 17:03 |
poke53282 | but oss | 17:03 |
stekern | do you know why? | 17:03 |
poke53282 | just compile the kernel with oss-pcm support. That's in the alsa options on the first page somewhere. . | 17:04 |
poke53282 | No | 17:04 |
stekern | it does open the "soundcard" (I still have some debug prints in the init functions) | 17:04 |
poke53282 | After it worked flawless with oss I didn't check. | 17:04 |
poke53282 | But I guess it is a bug in the alsa part of mikmod. | 17:04 |
poke53282 | wait, let's see if it works with the dummy audio driver. | 17:05 |
poke53282 | yes, it looks like it works with the alsa dummy driver. | 17:06 |
stekern | xmp needs oss too, so I need to compile in the oss emulation support if I want to try that too | 17:06 |
poke53282 | So I guess, that our drivers have too much limitations somewhere. mikmod tries to get a buffer or something which our sound drivers don't allow. | 17:07 |
poke53282 | So actually, it is a bug in mikmod. | 17:07 |
poke53282 | oss emulation support is not a big deal in the kernel config. | 17:08 |
poke53282 | it is a bug in mikmod, that it does not give an error message about what function fails. | 17:09 |
stekern | yeah, I know. I don't know why I hadn't already enabled it | 17:10 |
stekern | poke53282: I'v merged v3.17 into my smp branch btw | 17:11 |
poke53282 | Ok | 17:11 |
poke53282 | Last week I implemented the shadow gprs as first step to support smp. | 17:11 |
poke53282 | Also I updated my memory heap layout to support smp. | 17:11 |
poke53282 | Yes, I need a heap and have to organize my memory myself in Javascript. Sounds strange, but is true. | 17:12 |
poke53282 | More in my talk. :) | 17:12 |
poke53282 | But I get an error when I try to compile with smp. | 17:13 |
poke53282 | he cannot find a variable. | 17:13 |
poke53282 | I think from the pic. | 17:13 |
poke53282 | one option is not automatically selected in the Kconfig file. | 17:14 |
poke53282 | When you enable smp you should also your pic. | 17:14 |
poke53282 | But I forgot, if that was the real problem. | 17:14 |
poke53282 | next is will be the support of your pic. | 17:18 |
stekern | yes, you need ompic (or something) similar. but it shouldn't be selected automatically, because you theoretically could use any interrupt controller with the right properties | 17:22 |
poke53282 | My browser crashed when I tried to open the commit of 3.17 :). I think he wanted to show me all changes :) | 17:24 |
stekern | currently you need a free running 32-bit timer that can be read at address 0x99000000 too, but I'm trying to find time to fix that | 17:24 |
poke53282 | Well, at the moment I would try to overlap the timers of all cpus. That's easy. | 17:25 |
poke53282 | that ttmr and ttcr overlap. | 17:25 |
poke53282 | So if I start one, all timers are started and are always synchronized. | 17:26 |
poke53282 | Ok, here is one question to the git expert. I want to have my patches always on top of a branch. So I update my repository with a remote branch or something similar, I want that he tries to apply my patches after the merge. | 17:29 |
poke53282 | And it doesn't matter if I break the rules of git. | 17:29 |
poke53282 | At the moment, your patches are hidden somewhere on the second and third page. | 17:30 |
poke53282 | This is really bad. Especially when you want to send those patches to a mailing list, there could be conflicts. | 17:30 |
poke53282 | I guess this is rebasing. | 17:33 |
poke53282 | But why don't you use the feature? | 17:34 |
stekern | yes, if you do 'git pull -r' you get that behaviour | 17:35 |
stekern | if you should do that or not depends on the situation | 17:38 |
stekern | if people use your branch, you simple shouldn't | 17:38 |
stekern | simply | 17:38 |
poke53282 | There are at most three people using your branch I guess. | 17:39 |
stekern | yeah, and I have not promised that you can depend on me not rebasing it neither, so that's not the main reason I haven't | 17:40 |
stekern | my rule of thumb for my personal branches is roughly, if I have a handful of pretty self-contained patches, then I rebase, otherwise I merge. | 17:43 |
stekern | if you want to pull out the diffing patches, it's not that hard to do that seperately | 17:44 |
poke53282 | Yes, but it is nice for me to see just the important patches on the first page on top. I am pretty sure there are options for everything. For you it is Ok, because you know exactly what you did. | 17:50 |
poke53282 | for really official repositories it would be wrong. | 17:52 |
stekern | yeah, I know. if it's mostly the web interface you want to see things in, you can log the arch/openrisc dir | 17:52 |
stekern | or search for me as a committer | 17:52 |
poke53282 | "Do not rebase commits that you have pushed to a public repository. If you follow that guideline, you’ll be fine. If you don’t, people will hate you, and you’ll be scorned by friends and family." | 17:53 |
poke53282 | I like those comments :) | 17:53 |
stekern | haha, yes | 17:53 |
stekern | unrelated question, what happens when the penguins doesn't fit on the first row? | 17:56 |
stekern | I guess that happens when NR_CPUS > 8 | 17:56 |
stekern | for 640x480 | 17:56 |
poke53282 | second row? | 17:56 |
poke53282 | and if you hve that much, that it doesn't fit on the screen, you will get a buffer overlow and crash the kernel. At least, this is what I suspect. So if you have a multi core system make sure, your framebuffer is big enough ;) | 17:58 |
poke53282 | I don't like the limit of 32 cores by the way. | 17:59 |
poke53282 | one bit for each CPU? | 17:59 |
stekern | if you mean the limit in the config option, that's just copy-paste from others. But I guess there might be such a limit as you say as well | 18:01 |
stekern | mikmod didn't work well with oss neither | 18:03 |
poke53282 | Yes, the limit in the config option I mean. | 18:04 |
stekern | xmp works though | 18:04 |
poke53282 | work well? | 18:04 |
poke53282 | No sound output? | 18:04 |
stekern | it complains about the mixing rates | 18:04 |
poke53282 | Ok, mhh. Maybe. But there are configurations options to alter these in mikmod. | 18:04 |
stekern | yes, but I don't understand what it tries to do. I have it set to 44100 and it tries to set it to 11025 or something | 18:05 |
stekern | 95000100.wb_i2s-ssm2602-hifi: ASoC: unmatched rate symmetry: 11025 - 44100 | 18:05 |
stekern | that's what alsa says | 18:05 |
poke53282 | Don't know. I have used 22050 8 bit mono. | 18:06 |
poke53282 | and this is exactly what my sound driver supports. | 18:06 |
poke53282 | sorry, 16 Bit. | 18:07 |
poke53282 | But I use only the top 8 Bit for output. | 18:07 |
poke53282 | I might change my driver to continuously rate setting. | 18:09 |
poke53282 | and make the interpolation myself. | 18:09 |
poke53282 | this is what the dummy driver does. | 18:09 |
poke53282 | or better, the interpolation is done by the AudioContext object of Javascript | 18:11 |
stekern | with samplerate != 44100 mikmod works | 18:14 |
poke53282 | strange. | 18:15 |
stekern | ah, no. it's 16-bit that it doesn't like... which is even more strange | 18:23 |
mor1kx | [mor1kx] bandvig pushed 1 new commit to withfpu: https://github.com/openrisc/mor1kx/commit/0aa649d07d21e1ef1065e50ecea1657391b4c973 | 18:23 |
mor1kx | mor1kx/withfpu 0aa649d Andrey Bacherov: 1) Replace FPU related code in ALU by FPU top level wrapper. 2) Fix various compilation warnings. | 18:23 |
poke53282 | http://lxr.free-electrons.com/source/drivers/video/fbdev/core/fbmem.c#L663 | 18:24 |
poke53282 | Looks like, he shows only one line of logos. | 18:24 |
stekern | hmm, seems like I can't get xmp to not interpolate | 18:28 |
poke53282 | Hmm, let me guess. With floating point numbers. doubles maybe. | 18:28 |
stekern | it has: -i --interpolation {nearest|linear|spline} | 18:30 |
poke53282 | spline :) | 18:30 |
stekern | that's the default | 18:31 |
poke53282 | I am not sure if this is good for sound. You should use an interpolation that works in Fourier space I guess. | 18:31 |
poke53282 | There are people arguing, that linear inpolation is not good for sound because it adds additional frequencies somewhere. | 18:33 |
poke53282 | But for mod files I can understand, that interpolation is always on. | 18:35 |
poke53282 | He has to mix anyhow. | 18:36 |
poke53282 | the sound files are played with different speeds. | 18:36 |
stekern | I found the only mod I've done that I'm not ashamed to claim as mine: http://oompa.chokladfabriken.org/mod/chipsmoddadstek.xm | 18:36 |
poke53282 | :) | 18:37 |
poke53282 | I wouldn't run it in the background. But it's Ok. | 18:38 |
poke53282 | Did you ever try the sid collection for a few hours? | 18:39 |
stekern | poke53282: yes ;) | 18:44 |
poke53282 | https://github.com/s-macke/SIDSpectro/blob/master/index.html#L113 | 18:49 |
poke53282 | At least those are some songs which play on my player and are not that bad. | 18:49 |
poke53282 | At least, these are songs I like. | 18:51 |
stekern | I like the piano roll feature your player has ;= | 18:55 |
poke53282 | Yes, me too. Hynotic. Sometime I can just watch the music for half an hour. | 18:57 |
poke53282 | I should fix the player that it plays more songs. | 18:57 |
poke53282 | More this is difficult. | 18:57 |
poke53282 | I don't want to simulate an cycle accurate C64 here. | 18:58 |
stekern | how do you do it then? | 18:58 |
poke53282 | well, I get close but not perfect. | 18:59 |
poke53282 | Some of them need basic for example, which I don't provide. | 18:59 |
poke53282 | You know, that simulating a C64 is really hard? | 18:59 |
poke53282 | It is different to the OpenRISC emulator. | 19:00 |
poke53282 | but around 80% of the SIDs play. That's good enough for now. | 19:01 |
poke53282 | with one day of work I would get probably another 10%. | 19:01 |
poke53282 | For the next 5% another day and so on. | 19:02 |
stekern | doesn't giana sisters work, or is it just me? | 19:06 |
poke53282 | unfortunetaly not. I know this is sad. | 19:06 |
poke53282 | I know also that this is a must have. | 19:06 |
stekern | =P | 19:06 |
stekern | tinysid could play that | 19:06 |
poke53282 | I am ashamed of me :( | 19:06 |
poke53282 | randomlist.push({url: "MUSICIANS/W/Walt/Giana_Mix.sid", song: 1}); | 19:07 |
poke53282 | randomlist.push({url: "MUSICIANS/R/Roebuck_Kristopher/Great_Giana_Sisters.sid", song: 1}); | 19:07 |
poke53282 | those work | 19:07 |
poke53282 | Hmm, maybe I should spend a few hours and compare with tinysid. | 19:08 |
poke53282 | If you have a favorite list of songs I can add them. | 19:12 |
stekern | poke53282: https://www.youtube.com/watch?v=oe7g5b5EV54 | 19:34 |
stekern | that one ;) | 19:34 |
poke53282 | MUSICIANS/L/Laxity/DNA_Warrior.sid? | 19:36 |
poke53282 | nope | 19:38 |
poke53282 | grep -r "Egeskov" && grep -r "Petersen" && grep -r "Christensen" | 19:40 |
poke53282 | Ahh, it is in the top 100. | 19:40 |
stekern | where it belongs ;) | 19:41 |
poke53282 | Added the first song | 19:44 |
olofk | stekern: You said that wb_mux was a bit resource hungry. Have you tried to increase the address ranges for all the slaves? That might help a bit | 20:55 |
stekern | olofk: I haven't, but you're probably right | 20:59 |
stekern | it might help with the critical paths too | 21:00 |
stekern | but I still want to do the registering. and I have thought a bit more about that, and I think that we should incorporate CDC into that as well | 21:00 |
olofk | I know that the Xilinx GUI for building MicroBlaze SoCs sets a minimum size to 64K or something like that | 21:01 |
olofk | Yeah, sure. We need both of those | 21:01 |
olofk | Wishbone isn't very well suited for CDC unfortunately | 21:02 |
olofk | Unless the delayed ack function is used. But that seems to be something that I just made up | 21:02 |
stekern | =P | 21:02 |
stekern | but for peripheral access it doesn't really matter | 21:02 |
olofk | True | 21:02 |
stekern | if it's not burst accesses I mean | 21:03 |
olofk | And for mem access we probably have a CDC inside of the mem controller anyway and run the user logic on wb_clk | 21:03 |
stekern | yes, that's exactly my thought | 21:03 |
olofk | I've started making a simple wb_sdram_ctrl wrapper generator btw | 21:03 |
stekern | the wb bus to mem should "always" run at CPU speed | 21:04 |
olofk | yep | 21:04 |
olofk | Time to sleep now | 21:05 |
stekern | most of this evening went to listening to old mods instead of being productive though ;) | 21:05 |
poke53282 | :) | 21:40 |
--- Log closed Wed Oct 08 00:00:28 2014 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!