Saturday, 2017-10-28

*** tpb has joined #timvideos00:00
*** puck has quit IRC00:55
*** shenki has quit IRC00:55
*** puck has joined #timvideos00:59
*** shenki has joined #timvideos01:03
*** ChanServ sets mode: +v shenki01:03
mithro\o/ \o/ https://usercontent.irccloud-cdn.com/file/Jt6Y8Ech/image.png03:15
jeaexciting!03:16
mithroMeans I should be able to merge it03:38
*** rohitksingh has joined #timvideos06:16
shornemithro: I only get patches I can hack when the kids and wife are sleeping/away :)06:53
shornegot to go06:54
shorneok, got a bit of progress09:08
shornethere is something wrong with litex_uart_console_putchar : uart_out32(ch, LITEX_UART_TX, port);09:09
shornein earlycon it uses a writeb (byte)  but here is 32 bits09:09
shorneif I change to writeb I get the real console driver to actually output09:10
shorneinput is not working yet09:10
shornebut its better09:10
shorneAlso, the request_irq i changed flag from IRQF_TRIGGER_LOW to 009:11
shornethe openrisc IRQ PIC does not support that I think09:11
shornewith that off IRQs work partly (i.e. I get an IRQ when I hit a button) but thats it...)09:12
shornewill be away09:12
shorne...12:43
shorneOK, now I see something more intersting in the uart isr when we read the ev_pending register I see12:44
shorne 0x0200000012:44
shornewhich should be EV_RX12:44
shornebut... thats LE and openrisc is BE12:44
shornewhich would explain why it doesnt work12:45
shornehmm, that doesnt make sense though12:55
shorneoh... and I get a console now13:06
shornegreat, I just switched writel and readl to iowrite32be and ioread32be13:06
shorneits a bit of a hack13:06
shornebut finally all working13:06
shornetime for bed... Ill clean this up and send patches13:12
shorneI am not so clear, do we need to do the be/le changes on the kernel side or qemu?13:13
shorneI guess kernel since bios works fine13:13
*** rohitksingh has quit IRC19:40
mithroshorne: \o/19:48
mithroCarlFK: ping? I did a massive merge last night and probably broke everything. Can you do some user testing ASAP?19:49
mithrohttps://travis-ci.org/timvideos/HDMI2USB-litex-firmware/builds/29405219719:50
mithroSupport for Arty, NetTV2 and Nexys Video boards added19:50
CarlFK[m]Sure, next 24 hrs19:58

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!