--- Log opened Thu Apr 06 00:00:17 2017 | ||
wallento | mithro, shorne is in Japan | 01:49 |
---|---|---|
mithro | wallento: Must just keep strange hours :-P | 01:49 |
wallento | yeah, late at night I think | 01:53 |
mithro | wallento: We didn't get any bites on the opendebugsoc stuff :-( | 02:41 |
wallento | mithro, yes, sorry, I was a bit snowed recently | 02:45 |
wallento | now I will have some more free time and will have a look at it again | 02:45 |
wallento | I think it was not suited as a GSoC due to the state of things and actually it was not so complex | 02:46 |
wallento | I propose I will pick it up the next two weeks on the mailing list, get the uncommitted features from philipp and then do it myself and/or together with you | 02:46 |
wallento | unfortunately the open soc debug topics didn't attract students in GSoC at all | 02:46 |
mithro | wallento: I'm happy to work together on it with you | 02:47 |
wallento | excellent | 02:47 |
wallento | I am following your stuff for a while now but didn't get hands on it, great chance now :) | 02:48 |
mithro | wallento: It's actually gotten less critical to have now that we have some basic qemu emulation of the SoC going | 02:49 |
wallento | yeah, I read it, this sounds great | 02:49 |
wallento | as philipp said, open soc debug is currently focused on tracing, integrating it together with run control debug in your soc should also help us generalizing our approaches | 02:50 |
wallento | gtg, I will followup soon | 02:50 |
mithro | wallento: It was surprisingly easy to do the hardware emulation stuff -- the hardest part is turning bit banging stuff back into register accesses that qemu uses | 02:50 |
shorne | mithro: yes, in japan. During the week I can only login after work and after my kids go to sleep | 03:11 |
shorne | :) | 03:11 |
shorne | Right now I just logged in via my phone to double check some things | 03:11 |
mithro | shorne: fair enough, if your around in the evening sometime try pinging me | 03:12 |
shorne | ok, usually its betwen 10 and 12 pm Japan time. Ill let you know | 03:12 |
shorne | I checked your device tree, it looks ok but not sure about other things | 03:13 |
shorne | i.e. what does your memory mapp look like for the SoC? do you have the source for it? | 03:13 |
shorne | i.e. is serial really at address 0x9000000 | 03:13 |
shorne | Also, how do you load the OS? via openocd? i.e. load_image? | 03:14 |
shorne | or are you doing via bootloader | 03:14 |
mithro | shorne: I'm currently using qemu - I haven't yet tried loading the kernel I built | 03:17 |
mithro | shorne: The memory map is just DDR starting at 0x4000000 and 64Megabytes big | 03:18 |
mithro | shorne: Our UART isn't compatible with the one used by or1ksim / stock or1k | 03:19 |
shorne | right, but that should just be a change to the device tree | 03:20 |
shorne | use , compatible=<myuart,driver...> | 03:20 |
mithro | shorne: https://github.com/timvideos/HDMI2USB-firmware-prebuilt/blob/master/archive/master/v0.0.3-706-g875e556/mimasv2/base/or1k/software/include/generated/mem.h | 03:20 |
shorne | is your qemu stuff in a repo? | 03:21 |
mithro | Or if you prefer ld script - https://github.com/timvideos/HDMI2USB-firmware-prebuilt/blob/master/archive/master/v0.0.3-706-g875e556/mimasv2/base/or1k/software/include/generated/regions.ld | 03:21 |
mithro | shorne: Not upstream yet -still very hacking, but you can find it at https://github.com/timvideos/qemu-litex | 03:21 |
shorne | cool, if its or1k then I dont need another toolchain | 03:22 |
mithro | shorne: Use the "https://github.com/timvideos/qemu-litex/blob/master/build-litex-qemu.sh" script to get the qmu built | 03:22 |
mithro | shorne: We support both lm32 and the or1k at the moment | 03:22 |
shorne | I can give it a shot afterwork, I cant open links of this device now | 03:22 |
mithro | I can email you the details if you want | 03:23 |
mithro | shorne: Our UART is super simple, it's basically a FIFO with full/empy flags | 03:23 |
shorne | sure, you should have my details? | 03:23 |
shorne | Ill get back to work now | 03:25 |
mithro | shorne: I don't seem to? | 03:25 |
mithro | Ahh found your email via Google :-) | 03:26 |
shorne | mithro: thanks, I got the mail | 11:28 |
shorne | wbx: did you see my patch for qemu shutdown? | 16:59 |
mithro | shorne: I'll probably be around most of this weekend. If you have time available, I'm definitely happy to work around your schedule. | 22:53 |
--- Log closed Fri Apr 07 00:00:18 2017 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!