Thursday, 2019-07-11

*** tpb has joined #litex00:00
*** CarlFK has quit IRC00:13
*** neonking has quit IRC00:27
*** neonking has joined #litex01:30
*** CarlFK has joined #litex02:17
*** CarlFK has quit IRC03:56
*** CarlFK has joined #litex03:56
CarlFKmithro: I've been testing the 'same' build - 60 fail jpeg, 6 pass04:08
mithroCarlFK: well, that is a good set of samples04:09
mithroCarlFK: is this automated?04:09
CarlFKmithro:  the 380's are the fails, the 321 are the pass:    http://paste.ubuntu.com/p/yb6W3NbJF6/04:09
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)04:09
CarlFKyes04:09
mithroCarlFK: That is super helpful. It means when we do fixes we can see if we can get better than 10% success rate...04:10
CarlFKmithro: neat.  I loogged the gst test output, but not the build.  I'll do that and see if I can find anything useful04:12
mithroCarlFK: yes - being able to compare the successful builds verse the failures is useful04:12
mithroCarlFK: Can you just save the whole build/opsis_hdmi2usb_lm32 directory?04:13
CarlFKmithro: sure04:14
*** CarlFK has quit IRC04:34
*** CarlFK has joined #litex05:04
CarlFKmithro: those 6 builds aren't good after all.  - If I run the gst test on the same build enough times, it will pass, but the image is broken: https://veyepar.nextdayvideo.com/static/temp/loopy-1.png05:06
*** CarlFK has quit IRC05:24
*** tweakoz has joined #litex05:49
*** CarlFK has joined #litex06:42
*** tweakoz has quit IRC07:26
*** tweakoz has joined #litex07:26
*** tweakoz has joined #litex07:27
*** tweakoz has quit IRC07:27
*** tweakoz has joined #litex07:28
*** tweakoz has quit IRC07:28
*** tweakoz has joined #litex07:28
*** tweakoz has quit IRC07:29
*** tweakoz has joined #litex07:29
*** tweakoz has quit IRC07:29
*** tweakoz has joined #litex07:30
*** tweakoz has quit IRC07:30
*** tweakoz has joined #litex07:31
*** tweakoz has quit IRC07:31
*** tweakoz has joined #litex07:32
*** tweakoz has joined #litex07:32
*** tweakoz has joined #litex07:33
*** tweakoz has quit IRC07:33
*** tweakoz has joined #litex07:34
*** tweakoz has joined #litex07:35
*** tweakoz has quit IRC07:35
*** tweakoz has joined #litex07:35
*** tweakoz has quit IRC07:36
*** tweakoz has joined #litex07:36
*** tweakoz has joined #litex07:37
*** tweakoz has quit IRC07:37
*** tweakoz has joined #litex07:38
*** tweakoz has quit IRC07:38
*** tweakoz has joined #litex07:39
_florent_CarlFK: i just re-tested linux-on-litex-vexriscv with prebuilt bistream and image and loading with lxterm and it's working here08:10
_florent_daveshah: the easiest way to use LiteScope with a SoC is to create a second serial with spare IO pins + USB<-->RS232 dongle, and then just use this serial for the analyzer08:12
_florent_the rest is similar08:12
_florent_another way is to create a standalone litescope core like here: https://github.com/enjoy-digital/netv2/tree/master/gateware/litescope08:16
tpbTitle: netv2/gateware/litescope at master · enjoy-digital/netv2 · GitHub (at github.com)08:16
_florent_and then just do an instance in your design08:16
keesj_florent_: did you also happen to try the --flash ?08:18
_florent_keesj: yes, just tested it, also working, but Arty is mounted with different SPI flashes, if you have trouble it's probably this: https://github.com/litex-hub/linux-on-litex-vexriscv/issues/15#issuecomment-49320334809:41
tpbTitle: Issue booting linux on ArtyA7 · Issue #15 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com)09:41
_florent_keesj: we need to ease supporting different SPI flashes: https://github.com/enjoy-digital/litex/issues/21509:42
tpbTitle: Improve SpiFlash · Issue #215 · enjoy-digital/litex · GitHub (at github.com)09:42
keesjI see10:23
*** neonking has quit IRC10:53
CarlFK_florent_: using Arty, prebuilt didn't get past Liftoff, but building from source booted and worked13:59
_florent_CarlFK: ok thanks, are you using latest prebuilt (i rebuild things a few days ago)14:00
_florent_?14:00
CarlFK_florent_: hmm, I think so, but i better double check, which will be in about 2 hours14:03
*** rohitksingh has joined #litex14:12
_florent_CarlFK: i just did the test again, being sure to remove all images before copying the prebuilt, and it's working on my setup14:13
*** rohitksingh has quit IRC14:39
*** rohitksingh has joined #litex15:00
CarlFK_florent_: https://github.com/litex-hub/linux-on-litex-vexriscv/issues/29  where should lxterm be?15:13
tpbTitle: readme litex_term.py needs more · Issue #29 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com)15:13
CarlFKI fond it in /home/juser/.local/bin/lxterm - which isn't in my path.15:23
*** rohitksingh has quit IRC15:50
CarlFK_florent_: fresh install,   sim.py worked, Arty stopped at Liftoff16:06
*** tweakoz has joined #litex16:16
*** Dolu has quit IRC16:36
*** Dolu has joined #litex16:37
*** CarlFK has quit IRC16:50
mithro_florent_: I was thinking the BIOS could just use the SPI bitbanging to set the dummy bits register in the SPI flash to match the FPGA gateware?17:38
*** tweakoz has quit IRC17:42
*** CarlFK has joined #litex17:48
*** CarlFK has quit IRC17:49
*** CarlFK has joined #litex17:51
CarlFKmithro: for re-building Opsis-hdmi2usb is there a file I can delete and then run "make image" to just re-run the suspicious part?17:56
mithroCarlFK: not really17:57
CarlFKmithro: does "make clean" do what is needed?17:57
mithroCarlFK: make clean is probably a little aggressive?18:00
mithroCarlFK: mv "build/opsis_hdmi2usb_lm32/" "build/opsis_hdmi2usb_lm32.$(date)/" should work?18:01
CarlFKk18:01
CarlFKmithro: i'm setting up a new box to build hdmi2usb - is this where I should start? https://github.com/timvideos/litex-buildenv/wiki/Bootstrap18:15
tpbTitle: Bootstrap · timvideos/litex-buildenv Wiki · GitHub (at github.com)18:15
mithroCarlFK: updated the wiki with instructions on setting the PLATFORM value19:08
CarlFKmithro: k, thanks19:09
CarlFKmithro:  https://github.com/litex-hub/linux-on-litex-vexriscv/issues/3219:40
tpbTitle: bootstrap: fxload *NOT* found · Issue #32 · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com)19:40
_florent_mithro: yes if that's possible to configure the dummy value in the SPI flash, that's easier20:36
daveshahI don't think all flashes support this though20:38
CarlFK_florent_: any interest in looking into why my prebuilt on Arty fails?  (if I build it works)20:57
*** neonking has joined #litex21:27
*** neonking has joined #litex21:27
CarlFKcan someone point me to a URL to download risk-v?22:12
CarlFKfor my talk, as an example of "we really do download a cpu core"22:13
sorearCarlFK: risc-v is not a core, it’s a specification for cores22:19
CarlFKone URL plese :p22:19
soreardownload it here: https://github.com/riscv/riscv-isa-manual/releases22:20
tpbTitle: Releases · riscv/riscv-isa-manual · GitHub (at github.com)22:20
CarlFKhttps://github.com/chipsalliance/rocket-chip I think thats one of what I want22:25
tpbTitle: GitHub - chipsalliance/rocket-chip: Rocket Chip Generator (at github.com)22:25
somloCarlFK: you can build LiteX with Rocket as its (64-bit) CPU (--cpu-type rocket [--cpu-variant linux])22:53
CarlFKsomlo: I just finshis my 22 slides - do you have 5-10 min to review them?22:54
somlobut all other CPU cores supported by LiteX are also (versions of) CPUs you can download in source form, probably from github as well :)22:54
CarlFKim not downloading anything and I doubt anyone listening to my talk will either - it is more "here is the state of things" and "come to the hackfest in 2 weeks"22:55
somloCarlFK: understood, it's just that hardware these days (very much like software) is "something you write in an editor, then compile". True, for hardware, if you make dedicated silicon ASICs, ther's that last stage of the compilation process that takes 6-12 months and costs $1Bn, but *conceptually* that's just an optimization step of the compiler :)22:58
* somlo is not a *real* hardware engineer, so to those in this channel who are, please-please don't kick me *too* hard :)22:59
CarlFKmithro: (and anyone else) mind reviewing my slides?  https://veyepar.nextdayvideo.com/static/temp/fpga-clug19.pdf23:05
CarlFK23:05
somloCarlFK: when I give talks to audiences not familiar with FPGAs, I tell them "it's like an electronic *breadboard* on a chip, and bits from a special memory tell it how to wire itself up"23:10
somlokinda lame, but works -- feel free to use it :)23:10
CarlFKnot bad - not sure my audience (linux users) really know what a bread board is23:11
CarlFKmithro says "it's a little black thing that pretends to be some other little black thing"23:12
somloI'd hazard a guess that if you show a bunch of linux users the *picture* of a breadboard, they'll recognize it -- may not have the word "breadboard" for it in mind, but they'll know what it's for :)23:13
somloand yes it can all be open source, with the right FPGA (Lattice ECP5 or ice40, and yosys/icestorm/trellis/nextpnr)23:14
somloit can even run linux -- there's enjooy-digital/linux-on-litex-vexriscv on github (32bit Linux), and then there's www.contrib.andrew.cmu.edu/~somlo/BTCP (64bit stock linux on Litex & RocketChip, shameless self-promoting plug :)23:16
somloother than that, it's a pretty decent teaser deck for your hack fest :)23:19
CarlFKyour "all" isn't big enough :p23:19
CarlFKor, something I've never understood - Arty has Atrix-35t - do I have to use Vavado?23:20
somloArty has a xilinx chip, so (for now, modulo SymbiFlow progress I haven't kept up with) -- yes, you need to use Vivado23:22
somloArty, nexys4ddr, and a bunch of other boards are based on the Artix 7 FPGA from Xilinx23:23
somloOTOH, the Lattice FPGAs (normally programmable with Lattice's proprietary tool called "Diamond") have been reverse engineered almost completely, and one can build complex designs for them (e.g. a fully Linux capable Litex) with 100% open source tools (yosys/trellis/nextpnr)23:25
somloThe other *major* FPGA maker is Altera (owned by Intel, iirc), and their toolchain is called "Quartus"23:27
somloif you're US based, it's analogous to Lattice being the T-Mobile to Xilinx's Verizon and Altera's AT&T, or something :D23:27
somlosmallest and hacker-friendliest of the bunch23:28
mithrosomlo / CarlFK - I normal say "It's an IC that can pretend to be other ICs"23:40

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