--- Log opened Tue Sep 13 00:00:09 2016 | ||
olofk | ok, I finally bit the bullet and started a new fusesoc-cores repo that will replace orpsoc-cores | 03:25 |
---|---|---|
olofk | Slooooowly migrating things there | 03:25 |
shorne | olofk: yeah, I saw that. Are you planning on separating all code out of fusesoc-cores and using it only for .core/.system files? | 08:58 |
olofk | shorne: Yes. I thought I'd take the opportunity to do a cleanup | 09:00 |
olofk | I realized a while ago however, that non-local systems don't work, so I need to fix some things on the FuseSoC side first | 09:01 |
olofk | Also, I plan to deprecate the .system files and move the contents into the .core file instead | 09:01 |
olofk | Have a half-finished patch for that | 09:01 |
shorne | cool, I moved my projects to fusesoc and kind of noticed an strange overlap between .system and .core | 09:02 |
olofk | shorne: Yeah. It turned out to not be a good idea | 09:07 |
olofk | Did you move any publicly available projects to FuseSoC? | 09:07 |
shorne | https://github.com/stffrdhrn/sdram-controller | 09:08 |
shorne | https://github.com/stffrdhrn/digi-recorder | 09:08 |
olofk | Cool | 09:09 |
shorne | those are just some toy projects | 09:09 |
shorne | I was thinking to change them to use cores from orpsoc-cores and use a wb_bus | 09:10 |
olofk | You should :) | 09:10 |
shorne | my problem is that in my sdram_controller.core I put the whole toplevel in there | 09:11 |
shorne | so when I try to use from another project it doesnt really work | 09:12 |
shorne | I need to either | 09:12 |
shorne | 1. separate out 2 cores in sdram_controller, i.e. sdram_controller.core, sdram_controller_toplevel.core, sdram_controller_toplevel.system | 09:12 |
shorne | 2. Create separate github projects for each core | 09:13 |
shorne | I was kind of leaning towards 1, but in the end I was planning to just tranplant everything with orpsoc-cores | 09:14 |
olofk | If see you're using the [verilog] sections instead of the newer filesets | 09:14 |
olofk | Not sure I understand you correctly, but would it help to just mark the sdram_controller top-level private? | 09:14 |
shorne | I guess I copied from old examples | 09:14 |
olofk | Then it would be used when you build sdram-controller, but not if sdram-ctonroller is used as a dependency | 09:15 |
shorne | That sounds ok, Would that work? Basically I want a core where the (core) files are exported and re-usable. | 09:16 |
shorne | But in the same project I want a system that can run on a device to showcase the core | 09:16 |
olofk | Yep. That's exactly what it's for | 09:17 |
shorne | maybe on one project have multiple system, i.e. xilinx abc, altera xyz | 09:17 |
olofk | That way you can hide things like top-levels and testbenches from other cores, but still share the rtl files and test utilities | 09:17 |
shorne | I see, I thought that for testbench, I didn't realize the toplevel stuff was the same | 09:18 |
shorne | cool | 09:18 |
shorne | Let me try that out now... also I can move to filesets | 09:18 |
olofk | http://olofkindgren.blogspot.com/2016/02/fusesoc-14.html | 09:19 |
olofk | In lack of better documentation | 09:19 |
olofk | gtg | 09:21 |
shorne | olofk: looks like I got it to work with fileset and scope=private ( I didnt find scope documented ) | 09:49 |
shorne | but its very useful | 09:49 |
shorne | stekern: I made some notes on the patches | 10:33 |
shorne | https://github.com/stffrdhrn/linux/wiki/commit-batches | 10:33 |
shorne | I remember icache sync change also wanted to go it... but it looks to depend on smp | 10:34 |
shorne | I guess its only an smp issue | 10:35 |
shorne | Also, I did notice the based on your coversation with Alan Cox you started to work on lwa/swa emulation | 10:36 |
shorne | So I added that | 10:36 |
stekern | ah, yes, that is probably more important than the code that makes use of them | 10:39 |
stekern | because userspace may use lwa/swa and it'll be broken without the emulation on implementations that don't support them | 10:39 |
shorne | right, it looks like the patch needs a bit more work | 10:40 |
shorne | You have a fixme on the delay slot, also I am guessing we can remove the Kconfig option | 10:41 |
stekern | yeah, the delay slot fixme isn't that urgent. there is a bunch of other code that assumes delay slot in the kernel atm | 10:42 |
stekern | the comment is more "be aware, this makes this assumption" | 10:43 |
shorne | alright | 10:44 |
shorne | Also, for the support and initramfs.devnodes, I am thinking housing these in a separate project | 10:48 |
shorne | like openrisc-os, as kind of a distribution with build instructions would be good | 10:49 |
shorne | + or1ksim configs etc | 10:49 |
stekern | mmm, that might be a good idea | 10:52 |
shorne | In the future people could just download the mainline kernel + openrisc-os (initramfs, boardconfig) and build | 11:02 |
shorne | just an idea now | 11:03 |
--- Log closed Tue Sep 13 11:12:39 2016 | ||
--- Log opened Tue Sep 13 11:12:47 2016 | ||
-!- Irssi: #openrisc: Total of 48 nicks [0 ops, 0 halfops, 0 voices, 48 normal] | 11:12 | |
-!- Irssi: Join to #openrisc was synced in 14 secs | 11:12 | |
-!- Netsplit *.net <-> *.split quits: clopez, mithro, ZipCPU, _franck_, eliask, andrzejr, SMDhome, jonmasters, rohitksingh, stekern, (+33 more, use /NETSPLIT to show all of them) | 15:17 | |
-!- Netsplit over, joins: zama, julzmb, ssvb, mithro | 15:20 | |
-!- Netsplit over, joins: stekern, blueCmd, SMDwrk, bentley`, jeremybennett, mwfc, nurelin, olofk, SMDhome, eliask (+4 more) | 15:20 | |
-!- Netsplit over, joins: Shentino | 15:21 | |
-!- Netsplit over, joins: Finde, ZipCPU | 15:22 | |
-!- Netsplit over, joins: kc5tja | 15:22 | |
-!- Netsplit over, joins: wallento, jonmasters, andrzejr, Neuron1k, clopez | 15:22 | |
-!- Netsplit over, joins: rokka | 15:23 | |
-!- Netsplit over, joins: rah | 15:23 | |
-!- Netsplit over, joins: rohitksingh, shorne, fotis2 | 15:23 | |
-!- dalias_ is now known as dalias | 15:28 | |
olofk | shorne: Yeah, sorry about the lack of documentation. You can however build html documentation of the available options in the .core files | 15:57 |
olofk | cd doc && make | 15:57 |
olofk | Requires asciidoc | 15:57 |
olofk | shorne: Also, yes, I think that's a great idea to move out initframfs and stuff from our kernel tree. There was some troubles building busybox IIRC, but I got that working eventually | 15:58 |
olofk | Don't think I ever got around to document it though | 15:58 |
olofk | The reason was to see how it would work with only upstream kernel+busybox, just as you propose | 15:59 |
-!- Netsplit *.net <-> *.split quits: rah, oleg-nenashev | 17:27 | |
-!- Netsplit over, joins: rah | 17:28 | |
-!- Dan_ is now known as Guest82457 | 18:12 | |
-!- Guest82457 is now known as ZipCPU | 22:57 | |
--- Log closed Wed Sep 14 00:00:11 2016 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!