--- Log opened Sat Mar 12 00:00:30 2016 | ||
_franck_ | shorne: "maint print reggroups" shows you all internals reg groups that you can query with info registers | 00:59 |
---|---|---|
shorne | _franck_: thats right, I have that command in my notes too | 03:38 |
shorne | this too http://repo.or.cz/w/openocd.git/blob/HEAD:/src/target/openrisc/or1k.c | 03:38 |
shorne | location of reg names | 03:38 |
shorne | also things like monitor init, monitor reset | 03:38 |
wallento | shorne: I think ORSoC is lagging on those accounts | 05:07 |
wallento | can anyone remind me what the state of gdb upstreaming was? | 07:52 |
shorne | wallento: I was talking to stekern yesterday about it, binutils, gas etc is upstreamed. gdb is not I recently built gdb from the openrisc github with only minor issues and it works fine | 08:14 |
shorne | required a few patches for the 5.x compiler | 08:14 |
wallento | yes, I noticed | 08:17 |
wallento | already for 4.9 | 08:17 |
wallento | Do you have it in a repo? | 08:17 |
shorne | I made a pull request for this | 08:18 |
shorne | https://github.com/stffrdhrn/or1k-src/commit/1d848725fe1373f88b318a38d5c97f820b6fb2fd | 08:18 |
shorne | you can pull that and it should build (there were some warnings that I fixed too with some hacks, but I think it should build with just that patch) | 08:18 |
wallento | thanks, I missed the PR, any problem with merging blueCmd or stekern? | 08:19 |
wallento | It probably makes sense to fork from binutils-gdb.git and maintain gdb in there | 08:20 |
shorne | I think ideally we could merge all of the gdb upstream changes, not just my two cherypicks | 08:21 |
shorne | yeah, the two repos as they are are not form the same source | 08:21 |
wallento | yep, but or1k-src is not derived from binutils-gdb, right | 08:21 |
shorne | so very hard to keep them up to day | 08:21 |
wallento | okay, I will pick it up | 08:22 |
wallento | which toolchain are you using now? | 08:22 |
shorne | I use or1k-elf- | 08:22 |
shorne | newlib | 08:22 |
wallento | great. I pushed some patches two days ago | 08:22 |
wallento | checking some other issue now | 08:22 |
wallento | but you are using it to build Linux, right? | 08:23 |
shorne | yes, and its working | 08:23 |
shorne | I have 4.5 running on my de0 nano | 08:23 |
shorne | Linux openrisc 4.5.0-rc6-de0_nano-00171-g4628e3b-dirty #55 Wed Mar 9 06:31:59 JST 2016 openrisc GNU/Linux | 08:24 |
wallento | cool! | 08:24 |
wallento | can I test it from somewhere | 08:24 |
wallento | I try to update the de0_nano tutorial and plan one for the Digilent Nexys4 DDR | 08:24 |
wallento | too much confusion around outdated toolchains etc. | 08:24 |
shorne | http://shorne.noip.me/uploads/vmlinux-shorne | 08:25 |
wallento | gdb builds now, thanks! | 08:25 |
wallento | I will send you a mail regarding an updated tutorial | 08:25 |
wallento | thanks for the great work | 08:25 |
shorne | thats my image, it should work. I dont have my kernel fork uploaded anywhere now... its too big | 08:26 |
shorne | FYI, I had to set my sdram refresh to 32ms on the de0 nano, nothing would boot otherwise | 08:26 |
shorne | not even the old images from 3 years ago | 08:27 |
wallento | I remember it was also very unstable this time, thanks for pointing out | 08:27 |
shorne | I have an orpsoc-cores fork with changes to set the time to 32ms here if you need to try... | 08:29 |
shorne | https://github.com/stffrdhrn/orpsoc-cores | 08:29 |
shorne | time for bed | 08:29 |
wallento | great, good night! | 08:30 |
-!- zama_ is now known as zama | 10:50 | |
-!- zama is now known as zama_ | 10:50 | |
-!- zama_ is now known as zama | 10:51 | |
wallento | hi all | 12:15 |
wallento | I created a fork from binutils-gdb | 12:15 |
wallento | https://github.com/openrisc/binutils-gdb/tree/or1k | 12:15 |
wallento | I rebased the work of _franck_ and stekern on top of the current HEAD and fixed some recent changes | 12:16 |
wallento | sim is still missing, will do this tomorrow morning I hope | 12:16 |
wallento | we should be able to retire or1k-src then soon, right? | 12:17 |
wallento | so far I focused on gdb | 12:19 |
stekern | wallento: nice one | 16:41 |
shorne | wallento: great, ill try it out | 17:23 |
shorne | wallento: will it work without sim? I am getting "No rule to make target '../sim/or1k/libsim.a'" | 18:36 |
shorne | nevermind works with '--disable-sim' configure option | 18:40 |
shorne | interesting during install there is an error with 'binutils-gdb/gdb/doc/gdb.texinfo' (node next `MIPS Embedded' in menu `PowerPC Embedded' and in sectioning `OpenRISC 1000' ) | 19:30 |
shorne | dont have time to fix now | 19:32 |
--- Log closed Sun Mar 13 00:00:32 2016 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!