Friday, 2017-03-17

*** tpb has joined #timvideos00:00
*** CarlFK has joined #timvideos00:02
*** ChanServ sets mode: +v CarlFK00:02
*** CarlFK has quit IRC00:45
*** cr1901_modern has joined #timvideos01:36
*** futarisWeb has joined #timvideos01:39
futarisWebshenki: The linux-milkymist git was Linux 3.11, and you rebased it onto 4.9, right? You mentioned something about the serial / IRQ drivers being broken.01:56
futarisWebLooks like I need to make the UAPI changes too: https://lwn.net/Articles/507794/ | https://lwn.net/Articles/519762/ .01:58
tpbTitle: The UAPI header file split [LWN.net] (at lwn.net)01:58
shenkiwe need to write new drivers for the litex peripherals01:59
futarisWebDoes the old linux-milkymist kernel boot in QEMU?01:59
shenkii don't know01:59
shenkii encourage you to try :)01:59
futarisWebOk. Chicken and egg. :)02:00
shenkihrm?02:00
futarisWebI will try to get QEMU working with the old kernel first. QEMU should be already setup for the milkymist peripherals.02:00
shenkiyep02:00
futarisWebThen it's a matter of modifying QEMU & modifying the linux kernel for the new peripherals.02:01
shenkiyep02:01
shenkiuart, clocksource, and irq are the first three02:01
futarisWebAnywhere I can easily see the differences between the milkymist and litex?02:01
shenkii suggest looking at the litex periperhals - the drivers we have for them in the bios/firmware - and writing kernel drivers based on them02:03
shenkiwhat milkymist is doing is not important02:03
shenkifrom what i understood the periperhals have changed enough that the old drivers are not a useful starting point02:03
shenkiespecially considering the kenrel has changed a lot02:03
futarisWebYeah, understood. More just for the QEMU side. Although, you say the BIOS boots in your qemu fork...02:05
shenkiit did02:13
shenkihave you managed to reproduce that?02:13
futarisWebHaven't built the BIOS. I guess I could just get the binary and try it later.02:14
futarisWebPDF of Schematic for PCB: https://github.com/timvideos/HDMI2USB-numato-opsis-hardware/blob/master/doc/Numato-Opsis-v3-prod-3-g83e7bd5.pdf02:34
tpbTitle: HDMI2USB-numato-opsis-hardware/Numato-Opsis-v3-prod-3-g83e7bd5.pdf at master · timvideos/HDMI2USB-numato-opsis-hardware · GitHub (at github.com)02:34
futarisWebPython for BaseSoC: https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/targets/atlys/base.py02:35
tpbTitle: HDMI2USB-litex-firmware/base.py at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com)02:35
futarisWebhttp://www.latticesemi.com/en/Products/DesignSoftwareAndIP/IntellectualProperty/IPCore/IPCores02/LatticeMico32.aspxLatticeMico3202:46
futarisWebhttp://www.latticesemi.com/en/Products/DesignSoftwareAndIP/IntellectualProperty/ReferenceDesigns/ReferenceDesign03/UARTWISHBONECompatible.aspx02:47
tpbTitle: UART (Universal Asynchronous Receiver/Transmitter) - WISHBONE Compatible - Lattice Semiconductor (at www.latticesemi.com)02:47
futarisWebhttp://www.latticesemi.com/en/Products/DesignSoftwareAndIP/IntellectualProperty/IPCore/IPCores02/LatticeMico32.aspx02:48
tpbTitle: LatticeMico32 Processor - Lattice Semiconductor (at www.latticesemi.com)02:48
*** CarlFK has joined #timvideos03:12
*** ChanServ sets mode: +v CarlFK03:12
*** futarisWeb has quit IRC03:18
*** thaytan_ has joined #timvideos03:27
*** thaytan has quit IRC03:31
*** rohitksingh_work has joined #timvideos03:47
mithroDamn missed him again03:55
*** futarisWeb has joined #timvideos04:15
futarisWebmithro: Thanks for clearing up that stuff about the uart. Still in the reading documentation stage at the moment.04:17
futarisWebOther than the source code / python is there any other documentation about the misoc / litex peripherals?04:17
mithrofutarisWeb: So the stuff that key2 did is emulating the LiteX/MiSoC peripherals04:18
mithrofutarisWeb: Not really -- most peripherals are like *super* simple though04:18
futarisWebOk.04:18
mithrofutarisWeb: Have you got a copy of the firmware locally?04:20
futarisWebDon't suppose anyone has a link to the 2.6.23 uClinux kernel used at https://github.com/ubercomp/jslm32 ?04:20
tpbTitle: GitHub - ubercomp/jslm32: Javascript emulator for the LatticeMico platform (at github.com)04:20
mithrofutarisWeb: I contacted the maker of jslm3204:20
mithroIt was basically the stuff Lattice published04:21
futarisWebOk.04:22
futarisWebI've got the Xilinx ISE, but haven't set that up. I did run the download scripts though.04:22
mithrofutarisWeb: You should be able to build the firmware without needing the Xilinx tools04:24
*** nikivi- has quit IRC04:24
mithrofutarisWeb: but you might have to fiddle the setup scripts to it skips checking for it04:24
futarisWebOk.04:25
futarisWebThere is no make target for just firmware?04:25
mithrofutarisWeb: There is, but you have to enter the environment first04:26
futarisWeb(H2U B=opsis) $04:26
mithrofutarisWeb: There you should be able to type "make firmware"04:26
mithrofutarisWeb: Then take a look at the files under build/opsis_video_lm32/software/04:27
futarisWebValueError: Cannot extract CSR name from code, need to specify.04:29
mithrofutarisWeb: What revision are you at?04:30
futarisWebcommit 21efb52f16aba31ebc602e5a5253a5f587c6abd604:31
mithrofutarisWeb: Your on the very old branch04:34
mithrofutarisWeb: I'd recommend removing your repo and cloning fresh04:34
futarisWebOk. Maybe I followed the older instructions... Can you link to the right getting-started?04:37
mithrofutarisWeb: I merged the new repo earlier this morning04:38
mithrohttps://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/getting-started.md04:39
tpbTitle: HDMI2USB-litex-firmware/getting-started.md at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com)04:39
futarisWebCheers.04:39
futarisWebcurl -fsS https://raw.githubusercontent.com/timvideos/HDMI2USB-litex-firmware/master/scripts/bootstrap.sh | bash04:40
*** futarisWeb has quit IRC04:41
*** thaytan_ is now known as thaytan04:55
*** ChanServ sets mode: +v thaytan04:55
*** rohitksingh_work has quit IRC06:25
*** rohitksingh_work has joined #timvideos06:26
*** futaris has joined #timvideos07:09
*** futaris has quit IRC07:20
*** cyrozap has quit IRC07:29
*** cyrozap has joined #timvideos07:32
mithroshenki: Ping?08:46
*** danielki has joined #timvideos09:04
*** rohitksingh_work has quit IRC12:54
*** danielki has quit IRC13:15
*** nikivi has joined #timvideos13:20
CarlFKtumbleweed: review!!!!  soon please.  I want to do more but not until I get this stuff stable18:00
*** psa has joined #timvideos18:45
*** springermac has quit IRC19:16
*** springermac has joined #timvideos19:16
*** psa has quit IRC19:18
*** springermac has quit IRC20:59
*** springermac has joined #timvideos21:03
*** springermac has quit IRC21:09
*** springermac has joined #timvideos21:10
*** springermac has quit IRC21:19
*** springermac_ has joined #timvideos21:19
*** springermac_ is now known as springermac21:19
*** springermac_ has joined #timvideos21:40
*** springermac is now known as Guest4372821:40
*** springermac_ is now known as springermac21:40
*** Guest43728 has quit IRC21:42
*** wanig has quit IRC22:18

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