*** tpb has joined #timvideos | 00:00 | |
mithro | shorne: It needed some clean up at the time | 00:01 |
---|---|---|
mithro | shorne: shorne: I think working on getting the qemu emulated environment to user space is probably the first step | 00:01 |
*** micolous has quit IRC | 00:59 | |
*** micolous has joined #timvideos | 01:01 | |
Joelw | 10 | 03:59 |
Joelw | Oopa | 03:59 |
Joelw | Oops! | 03:59 |
*** rohitksingh has joined #timvideos | 05:36 | |
*** rohitksingh has quit IRC | 06:27 | |
*** rohitksingh has joined #timvideos | 08:01 | |
_florent_ | shorne/mithro: yes we can merge it when it will be working/validated/cleaned up. | 08:04 |
*** rohitksingh has quit IRC | 08:19 | |
*** rohitksingh has joined #timvideos | 08:34 | |
*** aps has joined #timvideos | 10:05 | |
shorne | mithro: ok sure | 12:39 |
shorne | qemu first | 12:39 |
shorne | ok, probably I found it... trying one thing | 13:04 |
shorne | ok it doesnt crash now.. but not working | 13:07 |
shorne | I updated | 13:07 |
shorne | build/arty_net_or1k/software/include/generated/csr.h | 13:07 |
shorne | set UART_INTERRUPT 2 | 13:07 |
shorne | hmm let me try again, but updating litex mapping | 13:07 |
*** samsagaz has quit IRC | 13:11 | |
*** samsagaz has joined #timvideos | 13:45 | |
*** ivodd has quit IRC | 16:20 | |
*** ivodd has joined #timvideos | 16:21 | |
*** rohitksingh has quit IRC | 17:01 | |
*** CarlFK has quit IRC | 19:00 | |
*** hyadez has quit IRC | 19:39 | |
*** tsglove has quit IRC | 19:39 | |
*** CarlFK has joined #timvideos | 19:51 | |
*** ChanServ sets mode: +v CarlFK | 19:51 | |
*** tsglove has joined #timvideos | 19:59 | |
*** tsglove2 has joined #timvideos | 20:09 | |
*** tsglove2 has joined #timvideos | 20:10 | |
*** tsglove has quit IRC | 20:12 | |
*** tsglove2 has quit IRC | 20:12 | |
*** tsglove2 has joined #timvideos | 20:12 | |
*** tsglove3 has joined #timvideos | 20:48 | |
*** tsglove2 has quit IRC | 20:51 | |
froztbyte | have we seen http://cineform.blogspot.co.za/2017/10/cineform-goes-open-source.html ? | 21:09 |
tpb | Title: GoPro/CineForm Insider: CineForm Goes Open Source (at cineform.blogspot.co.za) | 21:09 |
froztbyte | ugh, that f'n blogspot hostname change crap | 21:10 |
*** aps has quit IRC | 22:35 | |
mithro | cr1901_modern: ping? | 23:15 |
*** hyadez has joined #timvideos | 23:18 | |
shorne | mithro: so, I think the issue with qemu/kernel is uart interrupts | 23:20 |
mithro | shorne: I would guess that too - it does die around the time uart interrupts get enabled... | 23:21 |
shorne | to problems, we need to set keep_bootcon | 23:21 |
shorne | 2 problems | 23:21 |
shorne | keep_bootcon, I want to eliminate that | 23:21 |
shorne | uart interrupts, they just keep firing, it seems they dont get reset after servicing | 23:21 |
shorne | i.e. the system boots until I hit a key, then it locks up servicing the interrupt | 23:22 |
mithro | shorne: I wouldn't trust the uart driver nor the qemu emulation of it :-P | 23:22 |
shorne | yeah, thats what I suspect | 23:22 |
shorne | one or both, ill have to review both sides | 23:22 |
mithro | shorne: Please do ask for pointers / help | 23:23 |
mithro | shorne: If I can make it quicker for you to understand something, that is a good use of my time... | 23:23 |
shorne | mithro: no problem, I am familiar with the qemu and linux bits, but I will ask | 23:24 |
shorne | 2 questions | 23:24 |
shorne | 1. is there any spec on this uart? | 23:24 |
shorne | 2. does the bios uart software use interrupts? | 23:24 |
mithro | shorne: Nope - no spec, just HDL | 23:26 |
mithro | shorne: I'm unsure | 23:26 |
mithro | shenki might be a good person to poke - he wrote a "minimal" uart driver somewhere to better understand it | 23:26 |
cr1901_modern | mithro: Pong. Kinda multitasking tho (badly) | 23:26 |
mithro | but he is currently riding around Taiwan.... | 23:26 |
shorne | mithro: sure no problem Ill review all and the hdl | 23:27 |
shorne | I guess once we get uart the rest will move quickly | 23:27 |
mithro | shorne: You'll want to look at the "eventmanager" -> https://github.com/enjoy-digital/litex/blob/master/litex/soc/interconnect/csr_eventmanager.py | 23:27 |
tpb | Title: litex/csr_eventmanager.py at master · enjoy-digital/litex · GitHub (at github.com) | 23:27 |
mithro | shorne: Luckily I actually added some documentation for that a while back :-P | 23:28 |
shorne | mithro: ok, what is it? | 23:28 |
shorne | part of uart? | 23:28 |
mithro | shorne: You can think of it as the generic way of doing IRQ like CSR registers | 23:29 |
shorne | i see | 23:29 |
mithro | shorne: "Provide an IRQ and CSR registers for a set of event sources." | 23:29 |
shorne | got to go to work | 23:29 |
mithro | shorne: Okay, I'll probably be in bed by the time you get home | 23:30 |
cr1901_modern | mithro: So I didn't get to work on fixing qemu that much this week. I have an idea to try now though | 23:30 |
cr1901_modern | printf debugging doesn't work in this case b/c stdout is already in use while the xfer is taking place, so I'll use a global/shared buffer to store return codes | 23:32 |
*** CarlFK has quit IRC | 23:57 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!