Wednesday, 2019-09-18

*** tpb has joined #yosys00:00
*** attie has joined #yosys01:47
*** attie has quit IRC01:51
*** Forty-Bot has quit IRC02:04
*** PyroPeter has quit IRC02:05
*** stzsch has joined #yosys02:14
*** PyroPeter has joined #yosys02:18
*** rohitksingh has quit IRC03:39
*** _whitelogger has quit IRC03:51
*** _whitelogger has joined #yosys03:53
*** Forty-Bot has joined #yosys03:58
*** rohitksingh has joined #yosys04:11
*** Jybz has joined #yosys04:16
*** emeb has quit IRC04:20
*** citypw has joined #yosys05:31
*** Jybz has quit IRC05:35
*** forksand has quit IRC06:04
*** forksand has joined #yosys06:18
*** emeb_mac has quit IRC06:38
*** awordnot has quit IRC06:54
*** awordnot has joined #yosys06:55
*** phantomcircuit has quit IRC07:32
*** phantomcircuit has joined #yosys07:33
*** attie has joined #yosys07:49
*** citypw has quit IRC07:58
*** citypw has joined #yosys08:00
*** rohitksingh has quit IRC08:18
*** dys has joined #yosys08:42
*** PyroPeter has quit IRC09:12
*** PyroPeter has joined #yosys09:26
*** _whitelogger has quit IRC09:33
*** _whitelogger has joined #yosys09:35
*** PyroPeter has quit IRC09:41
*** flaviusb has quit IRC09:56
*** PyroPeter has joined #yosys09:58
janrinzedaveshah: Any chance we will see updated tools that properly write to the flash of ECP5 eval board?11:45
*** PyroPeter has quit IRC11:49
*** PyroPeter has joined #yosys12:02
*** Thorn has quit IRC12:50
*** Thorn has joined #yosys13:38
*** voxadam has quit IRC14:33
ZipCPUjanrinze: What ECP5 eval board are you using?14:39
*** dys has quit IRC14:44
*** Thorn has quit IRC14:51
*** Thorn has joined #yosys14:52
ZipCPUI just ask because ... I've been writing to the external (QSPI) flash chips for some time on Xilinx/Intel/iCE40/ECP5 boards without too much hassle14:52
*** Thorn has quit IRC15:12
*** dys has joined #yosys15:29
janrinzeZipCPU: the one from lattice. http://www.latticesemi.com/ecp5-evaluation15:33
tpbTitle: ECP5 Evaluation Board - Lattice Semiconductor (at www.latticesemi.com)15:33
*** voxadam has joined #yosys15:35
ZipCPUBummer.  I was hoping it would be the one I was working with: http://www.latticesemi.com/Products/DevelopmentBoardsAndKits/ECP5VersaDevelopmentKit.aspx15:36
tpbTitle: ECP5 Versa Development Kit - Lattice Semiconductor (at www.latticesemi.com)15:36
ZipCPUThe problem with a "generic" flash writer is that ... there are so many different incompatible flash devices out there15:36
ZipCPUMy own "generic" solution depends upon software to detect the flash, and then add in special commands for certain flash chips.  It's by no means complete.15:37
ZipCPUhttp://zipcpu.com/blog/2019/03/27/qflexpress.html15:37
tpbTitle: Building a universal QSPI flash controller (at zipcpu.com)15:37
ZipCPUI also just updated the ECP5 demo: https://github.com/ZipCPU/zipversa/tree/dev15:39
tpbTitle: GitHub - ZipCPU/zipversa at dev (at github.com)15:39
janrinzeThe versa board is nice. I prefer stand-alone boards myself.15:45
ZipCPUI'm using it as a stand-alone ;)15:45
ZipCPUI have yet to fire up either the SDRAM or the PCIe interface15:45
ZipCPUThat said, it's not the board that you have, so my work might (or might not) help you :/15:46
*** citypw has quit IRC15:46
janrinzedoes your build flash the design or just upload it to the ecp5?15:50
janrinzeI see in the .cfg that openocd will program the ecp515:50
*** forksand has quit IRC15:52
ZipCPUThe openOCD is used to load the design into the FPGA via JTAG.  The zipload.cpp program (based upon flashdrvr.cpp) is used to actually write to the flash once the design is loaded.15:53
ZipCPUYou can find both zipload.cpp and flashdrvr.cpp in the sw/host directory, since they'll run from an external (PC) host15:54
janrinzewould this work over USB? the versa has PCI-bus, right?15:58
ZipCPUI use it over a USB serial port, yes15:58
janrinzeOkay. interesting. I can try build it and see how that goes,15:59
ZipCPUThis particular design also has some amount of serial port compression going over the command channel15:59
janrinzei remember that compression was particularly difficult with programming the ecp515:59
ZipCPUI didn't say that I was compressing the ECP5 image, just the serial port command channel16:00
janrinzeokay. Does the zipcpu write the flash?16:00
ZipCPUNo16:01
janrinzeah. good.16:01
ZipCPUThe dev branch doesn't even have the ZipCPU enabled in it anymore--the customer wanted a picoRV16:01
ZipCPUThat said, the PicoRV isn't involved in writing the flash either.16:01
ZipCPUYou can see a picture of the serial port command channel processing in Fig 1 of this post: http://zipcpu.com/blog/2017/06/05/wb-bridge-overview.html16:03
tpbTitle: An Overview of a Wishbone-UART Bridge (at zipcpu.com)16:03
*** forksand has joined #yosys16:07
janrinzeso it requires the wishbone-uart bridge.16:14
ZipCPUYou'd need something to communicate data from the PC/host to the FPGA16:15
janrinzein order to make that work, first the design with a wishbone-uart bridge needs to be uploaded to the FPGA, correct?16:15
ZipCPUYes16:16
janrinzeokay, a two stage uploader would work, i guess.16:16
ZipCPUI think that's the way most of the commercial loaders work16:16
janrinzecurrently I use the python script that creates a script for openocd.16:16
*** Thorn has joined #yosys16:28
*** emeb has joined #yosys16:44
*** Jybz has joined #yosys17:30
*** rohitksingh has joined #yosys18:07
*** rohitksingh has quit IRC18:15
*** Jybz has quit IRC18:45
*** rohitksingh has joined #yosys19:10
*** MrBismuth has quit IRC19:22
*** rohitksingh has quit IRC19:23
*** MrBismuth has joined #yosys19:23
*** rohitksingh has joined #yosys20:09
*** emeb_mac has joined #yosys20:53
*** rohitksingh has quit IRC21:07
*** rohitksingh has joined #yosys21:26
*** PyroPeter has quit IRC21:55
*** gnufan_home has joined #yosys22:02
*** PyroPeter has joined #yosys22:08
*** rohitksingh has quit IRC22:11

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