*** tpb has joined #timvideos | 00:00 | |
*** CarlFK has joined #timvideos | 00:02 | |
*** ChanServ sets mode: +v CarlFK | 00:02 | |
*** CarlFK has quit IRC | 00:45 | |
*** cr1901_modern has joined #timvideos | 01:36 | |
*** futarisWeb has joined #timvideos | 01:39 | |
futarisWeb | shenki: 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 |
---|---|---|
futarisWeb | Looks like I need to make the UAPI changes too: https://lwn.net/Articles/507794/ | https://lwn.net/Articles/519762/ . | 01:58 |
tpb | Title: The UAPI header file split [LWN.net] (at lwn.net) | 01:58 |
shenki | we need to write new drivers for the litex peripherals | 01:59 |
futarisWeb | Does the old linux-milkymist kernel boot in QEMU? | 01:59 |
shenki | i don't know | 01:59 |
shenki | i encourage you to try :) | 01:59 |
futarisWeb | Ok. Chicken and egg. :) | 02:00 |
shenki | hrm? | 02:00 |
futarisWeb | I will try to get QEMU working with the old kernel first. QEMU should be already setup for the milkymist peripherals. | 02:00 |
shenki | yep | 02:00 |
futarisWeb | Then it's a matter of modifying QEMU & modifying the linux kernel for the new peripherals. | 02:01 |
shenki | yep | 02:01 |
shenki | uart, clocksource, and irq are the first three | 02:01 |
futarisWeb | Anywhere I can easily see the differences between the milkymist and litex? | 02:01 |
shenki | i suggest looking at the litex periperhals - the drivers we have for them in the bios/firmware - and writing kernel drivers based on them | 02:03 |
shenki | what milkymist is doing is not important | 02:03 |
shenki | from what i understood the periperhals have changed enough that the old drivers are not a useful starting point | 02:03 |
shenki | especially considering the kenrel has changed a lot | 02:03 |
futarisWeb | Yeah, understood. More just for the QEMU side. Although, you say the BIOS boots in your qemu fork... | 02:05 |
shenki | it did | 02:13 |
shenki | have you managed to reproduce that? | 02:13 |
futarisWeb | Haven't built the BIOS. I guess I could just get the binary and try it later. | 02:14 |
futarisWeb | PDF of Schematic for PCB: https://github.com/timvideos/HDMI2USB-numato-opsis-hardware/blob/master/doc/Numato-Opsis-v3-prod-3-g83e7bd5.pdf | 02:34 |
tpb | Title: HDMI2USB-numato-opsis-hardware/Numato-Opsis-v3-prod-3-g83e7bd5.pdf at master · timvideos/HDMI2USB-numato-opsis-hardware · GitHub (at github.com) | 02:34 |
futarisWeb | Python for BaseSoC: https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/targets/atlys/base.py | 02:35 |
tpb | Title: HDMI2USB-litex-firmware/base.py at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 02:35 |
futarisWeb | http://www.latticesemi.com/en/Products/DesignSoftwareAndIP/IntellectualProperty/IPCore/IPCores02/LatticeMico32.aspxLatticeMico32 | 02:46 |
futarisWeb | http://www.latticesemi.com/en/Products/DesignSoftwareAndIP/IntellectualProperty/ReferenceDesigns/ReferenceDesign03/UARTWISHBONECompatible.aspx | 02:47 |
tpb | Title: UART (Universal Asynchronous Receiver/Transmitter) - WISHBONE Compatible - Lattice Semiconductor (at www.latticesemi.com) | 02:47 |
futarisWeb | http://www.latticesemi.com/en/Products/DesignSoftwareAndIP/IntellectualProperty/IPCore/IPCores02/LatticeMico32.aspx | 02:48 |
tpb | Title: LatticeMico32 Processor - Lattice Semiconductor (at www.latticesemi.com) | 02:48 |
*** CarlFK has joined #timvideos | 03:12 | |
*** ChanServ sets mode: +v CarlFK | 03:12 | |
*** futarisWeb has quit IRC | 03:18 | |
*** thaytan_ has joined #timvideos | 03:27 | |
*** thaytan has quit IRC | 03:31 | |
*** rohitksingh_work has joined #timvideos | 03:47 | |
mithro | Damn missed him again | 03:55 |
*** futarisWeb has joined #timvideos | 04:15 | |
futarisWeb | mithro: Thanks for clearing up that stuff about the uart. Still in the reading documentation stage at the moment. | 04:17 |
futarisWeb | Other than the source code / python is there any other documentation about the misoc / litex peripherals? | 04:17 |
mithro | futarisWeb: So the stuff that key2 did is emulating the LiteX/MiSoC peripherals | 04:18 |
mithro | futarisWeb: Not really -- most peripherals are like *super* simple though | 04:18 |
futarisWeb | Ok. | 04:18 |
mithro | futarisWeb: Have you got a copy of the firmware locally? | 04:20 |
futarisWeb | Don't suppose anyone has a link to the 2.6.23 uClinux kernel used at https://github.com/ubercomp/jslm32 ? | 04:20 |
tpb | Title: GitHub - ubercomp/jslm32: Javascript emulator for the LatticeMico platform (at github.com) | 04:20 |
mithro | futarisWeb: I contacted the maker of jslm32 | 04:20 |
mithro | It was basically the stuff Lattice published | 04:21 |
futarisWeb | Ok. | 04:22 |
futarisWeb | I've got the Xilinx ISE, but haven't set that up. I did run the download scripts though. | 04:22 |
mithro | futarisWeb: You should be able to build the firmware without needing the Xilinx tools | 04:24 |
*** nikivi- has quit IRC | 04:24 | |
mithro | futarisWeb: but you might have to fiddle the setup scripts to it skips checking for it | 04:24 |
futarisWeb | Ok. | 04:25 |
futarisWeb | There is no make target for just firmware? | 04:25 |
mithro | futarisWeb: There is, but you have to enter the environment first | 04:26 |
futarisWeb | (H2U B=opsis) $ | 04:26 |
mithro | futarisWeb: There you should be able to type "make firmware" | 04:26 |
mithro | futarisWeb: Then take a look at the files under build/opsis_video_lm32/software/ | 04:27 |
futarisWeb | ValueError: Cannot extract CSR name from code, need to specify. | 04:29 |
mithro | futarisWeb: What revision are you at? | 04:30 |
futarisWeb | commit 21efb52f16aba31ebc602e5a5253a5f587c6abd6 | 04:31 |
mithro | futarisWeb: Your on the very old branch | 04:34 |
mithro | futarisWeb: I'd recommend removing your repo and cloning fresh | 04:34 |
futarisWeb | Ok. Maybe I followed the older instructions... Can you link to the right getting-started? | 04:37 |
mithro | futarisWeb: I merged the new repo earlier this morning | 04:38 |
mithro | https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/getting-started.md | 04:39 |
tpb | Title: HDMI2USB-litex-firmware/getting-started.md at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 04:39 |
futarisWeb | Cheers. | 04:39 |
futarisWeb | curl -fsS https://raw.githubusercontent.com/timvideos/HDMI2USB-litex-firmware/master/scripts/bootstrap.sh | bash | 04:40 |
*** futarisWeb has quit IRC | 04:41 | |
*** thaytan_ is now known as thaytan | 04:55 | |
*** ChanServ sets mode: +v thaytan | 04:55 | |
*** rohitksingh_work has quit IRC | 06:25 | |
*** rohitksingh_work has joined #timvideos | 06:26 | |
*** futaris has joined #timvideos | 07:09 | |
*** futaris has quit IRC | 07:20 | |
*** cyrozap has quit IRC | 07:29 | |
*** cyrozap has joined #timvideos | 07:32 | |
mithro | shenki: Ping? | 08:46 |
*** danielki has joined #timvideos | 09:04 | |
*** rohitksingh_work has quit IRC | 12:54 | |
*** danielki has quit IRC | 13:15 | |
*** nikivi has joined #timvideos | 13:20 | |
CarlFK | tumbleweed: review!!!! soon please. I want to do more but not until I get this stuff stable | 18:00 |
*** psa has joined #timvideos | 18:45 | |
*** springermac has quit IRC | 19:16 | |
*** springermac has joined #timvideos | 19:16 | |
*** psa has quit IRC | 19:18 | |
*** springermac has quit IRC | 20:59 | |
*** springermac has joined #timvideos | 21:03 | |
*** springermac has quit IRC | 21:09 | |
*** springermac has joined #timvideos | 21:10 | |
*** springermac has quit IRC | 21:19 | |
*** springermac_ has joined #timvideos | 21:19 | |
*** springermac_ is now known as springermac | 21:19 | |
*** springermac_ has joined #timvideos | 21:40 | |
*** springermac is now known as Guest43728 | 21:40 | |
*** springermac_ is now known as springermac | 21:40 | |
*** Guest43728 has quit IRC | 21:42 | |
*** wanig has quit IRC | 22:18 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!