*** tpb has joined #timvideos | 00:00 | |
*** Guest73014 has joined #timvideos | 00:12 | |
*** HeinzBoettjer has joined #timvideos | 00:30 | |
*** CarlFK has quit IRC | 00:36 | |
*** futarisIRCcloud has joined #timvideos | 00:41 | |
*** bobe29 has joined #timvideos | 01:21 | |
*** bobe29 has quit IRC | 01:23 | |
*** CarlFK has joined #timvideos | 01:37 | |
*** ChanServ sets mode: +v CarlFK | 01:37 | |
*** mniip9 has joined #timvideos | 02:01 | |
*** mniip9 has quit IRC | 02:05 | |
cr1901_modern | tinyfpga: Is tinyprog compatible with B2s running the old bootloader? tinyprog seems to find it just fine | 02:22 |
---|---|---|
cr1901_modern | Not about to test tho :) | 02:22 |
cr1901_modern | (And to reiterate: Is it possible to distinguish BX from B2 if you have both plugged in using a command line switch? Their VID:PID seems to be the same.) | 02:25 |
tinyfpga | cr1901_modern: they have different PIDs....even though it looks like they are the same | 02:26 |
tinyfpga | cr1901_modern: it was a workaround I had to put into tinyprog | 02:26 |
tinyfpga | cr1901_modern: because some BX boards had the wrong PID programmed on them | 02:26 |
tinyfpga | cr1901_modern: but yeah, tinyprog is not compatible with the B2 | 02:27 |
cr1901_modern | tinyfpga: http://ix.io/1lD0 Context is the following | 02:28 |
cr1901_modern | (ignore the comment on tinyprog, it's wrong :)...) | 02:28 |
cr1901_modern | ... actually, nevermind | 02:29 |
cr1901_modern | I think "having two tinyfpgas attached at the same time" is rare enough that this isn't needed | 02:29 |
cr1901_modern | just want "autodetection" to be foolproof | 02:30 |
cr1901_modern | So tinyprog doesn't try accidentally programming a B2 board :P | 02:30 |
tinyfpga | cr1901_modern: I agree... at some point I will disable the workaround on tinyprog and it will no longer detect B2 boards | 02:51 |
tinyfpga | cr1901_modern: : for now you can just assume it’s correct, or you could get the JSON metadata and make sure it’s a BX | 02:52 |
cr1901_modern | Cool... in the interim I added "if not address" to the TinyProgProgrammer class. So you can put address=None and tinyprog will do the work for you :) | 02:53 |
*** CarlFK has quit IRC | 03:15 | |
*** rohitksingh_work has joined #timvideos | 03:52 | |
*** sc00bz1 has joined #timvideos | 04:16 | |
*** sc00bz has quit IRC | 04:21 | |
*** thaytan has quit IRC | 05:33 | |
*** thaytan has joined #timvideos | 05:33 | |
*** ChanServ sets mode: +v thaytan | 05:33 | |
*** exponent has joined #timvideos | 05:53 | |
*** exponent has quit IRC | 05:54 | |
*** Zimmedon25 has joined #timvideos | 05:57 | |
*** Zimmedon25 has quit IRC | 06:01 | |
*** Sove has joined #timvideos | 06:24 | |
*** Sove has quit IRC | 06:28 | |
*** CarlFK has joined #timvideos | 06:57 | |
*** ChanServ sets mode: +v CarlFK | 06:57 | |
*** Guest3579 has joined #timvideos | 07:08 | |
*** rohitksingh_wor1 has joined #timvideos | 07:48 | |
*** rohitksingh_work has quit IRC | 07:50 | |
*** rohitksingh_wor1 has quit IRC | 08:01 | |
*** rohitksingh_work has joined #timvideos | 08:03 | |
*** patate6 has joined #timvideos | 08:03 | |
*** patate6 has quit IRC | 08:08 | |
*** Sigyn has quit IRC | 09:12 | |
*** Sigyn has joined #timvideos | 09:13 | |
*** Brace16 has joined #timvideos | 09:15 | |
*** Brace16 has quit IRC | 09:16 | |
*** futarisIRCcloud has quit IRC | 09:21 | |
*** micolous[m] has quit IRC | 10:57 | |
*** felix[m] has quit IRC | 10:57 | |
*** synaption[m] has quit IRC | 10:57 | |
*** CarlFK[m] has quit IRC | 10:57 | |
*** jfng has quit IRC | 10:57 | |
*** ducky[m] has quit IRC | 10:57 | |
*** jea[m] has quit IRC | 10:57 | |
*** xobs has quit IRC | 10:57 | |
*** nancy[m] has quit IRC | 10:57 | |
*** DSNTravellerbot[ has quit IRC | 10:57 | |
*** futaris[m] has quit IRC | 10:57 | |
*** shivm28[m] has quit IRC | 10:57 | |
*** nbags[m] has quit IRC | 10:57 | |
*** leachim619 has joined #timvideos | 11:03 | |
*** nbags[m] has joined #timvideos | 11:07 | |
*** leachim619 has quit IRC | 11:07 | |
*** twoolie has joined #timvideos | 11:17 | |
*** CarlFK[m] has joined #timvideos | 11:30 | |
*** micolous[m] has joined #timvideos | 11:30 | |
*** futaris[m] has joined #timvideos | 11:30 | |
*** jea[m] has joined #timvideos | 11:30 | |
*** felix[m]1 has joined #timvideos | 11:30 | |
*** DSNTravellerbot[ has joined #timvideos | 11:30 | |
*** ducky[m] has joined #timvideos | 11:30 | |
*** nancy[m] has joined #timvideos | 11:30 | |
*** shivm28[m] has joined #timvideos | 11:30 | |
*** sscout24 has joined #timvideos | 11:33 | |
*** sscout24 has quit IRC | 11:38 | |
*** ManyRaptors22 has joined #timvideos | 11:41 | |
*** ManyRaptors22 has quit IRC | 11:42 | |
*** shenki has quit IRC | 12:06 | |
*** shenki has joined #timvideos | 12:24 | |
*** ChanServ sets mode: +v shenki | 12:24 | |
*** rohitksingh_work has quit IRC | 12:41 | |
*** ducky[m] has quit IRC | 12:54 | |
*** nancy[m] has quit IRC | 12:54 | |
*** futaris[m] has quit IRC | 12:54 | |
*** micolous[m] has quit IRC | 12:55 | |
*** nbags[m] has quit IRC | 12:55 | |
*** felix[m]1 has quit IRC | 12:55 | |
*** DSNTravellerbot[ has quit IRC | 12:55 | |
*** CarlFK[m] has quit IRC | 12:55 | |
*** jea[m] has quit IRC | 12:55 | |
*** shivm28[m] has quit IRC | 12:55 | |
*** nbags[m] has joined #timvideos | 13:05 | |
*** CarlFK[m] has joined #timvideos | 13:27 | |
*** xobs has joined #timvideos | 13:27 | |
*** DSNTravellerbot[ has joined #timvideos | 13:27 | |
*** jfng has joined #timvideos | 13:27 | |
*** futaris[m] has joined #timvideos | 13:27 | |
*** micolous[m] has joined #timvideos | 13:27 | |
*** felix[m]1 has joined #timvideos | 13:27 | |
*** jea[m] has joined #timvideos | 13:27 | |
*** nancy[m] has joined #timvideos | 13:27 | |
*** shivm28[m] has joined #timvideos | 13:27 | |
*** synaption[m] has joined #timvideos | 13:27 | |
*** ducky[m] has joined #timvideos | 13:27 | |
*** sc00bz1 is now known as sc00bz | 14:13 | |
*** twoolie has quit IRC | 14:31 | |
mithro | Morning everyone - back in the US now | 14:42 |
*** mrdata14 has joined #timvideos | 14:46 | |
*** mrdata14 has quit IRC | 14:51 | |
felix_ | hi mithro! in case you haven't read the other channel: the first prototype of the axiom photonsdi board will be sent to production soon :) still need to check a few things, but the design itself should be done | 14:55 |
mithro | felix_: So, how goes the code side? | 14:55 |
felix_ | haven't made that much progress on that side; the hardware ddesign ate way more time than expected :/ | 14:56 |
mithro | felix_: The hardware side whas the least interesting side of things | 14:56 |
mithro | s/whas/was/ | 14:56 |
felix_ | i discussed in #photonsdi if i should focus on the hardware or gateware side first | 14:58 |
felix_ | now that the hardware is more or less done, i'll continue on the gateware side | 14:59 |
mithro | felix_: Okay cool | 15:02 |
*** Whiskey16 has joined #timvideos | 15:32 | |
CarlFK | mithro: back in mtv? | 16:34 |
mithro | yeap | 16:46 |
CarlFK | mithro: welcome back. do you have time to figure out why CI (jenkins?) isn't building opsis/hdmi2usb? | 16:47 |
CarlFK | which may still have: usb stream broken https://github.com/timvideos/HDMI2USB-litex-firmware/issues/431 | 16:49 |
tpb | Title: usb stream broken · Issue #431 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 16:49 |
mithro | CarlFK: I told you why - https://travis-ci.org/timvideos/HDMI2USB-litex-firmware | 16:50 |
mithro | https://travis-ci.org/timvideos/HDMI2USB-litex-firmware/builds | 16:50 |
*** Kripton has quit IRC | 16:51 | |
CarlFK | mithro: im confused. is that the cause or fix? or.. what am I looking at? | 16:56 |
*** Kripton has joined #timvideos | 16:56 | |
mithro | CarlFK: If it isn't green, then it probably didn't successfully build the firmware | 16:56 |
CarlFK | mithro: thanks - I see a build from 4 days ago.. il check it out. | 17:01 |
*** ensyde has joined #timvideos | 17:50 | |
*** ensyde has quit IRC | 17:54 | |
*** bungle29 has joined #timvideos | 18:33 | |
mithro | CarlFK: Hopefully later today I'm going to do a docs cleanup | 18:46 |
*** Sigyn has left #timvideos | 18:53 | |
mithro | cr1901_modern: you get your replacement tinyfpga? | 19:19 |
mithro | CarlFK: when I get this docs updated, can you give them a look over? | 19:20 |
CarlFK | mithro: sure thing | 19:20 |
cr1901_modern | mithro: Yes, BX has the same problem when booting from SPI flash | 19:23 |
mithro | cr1901_modern: were you able to boot lm32 using ROM? | 19:24 |
mithro | We had that working at PyCon Au | 19:25 |
cr1901_modern | mithro: Yes | 19:34 |
cr1901_modern | But micropython will not work on that | 19:34 |
mithro | So, the issue is the memory mapped spiflash? | 19:37 |
cr1901_modern | Correct, but it's not the SPI flash core portion that's failing | 19:38 |
mithro | Have you put a scope in the flash to see the fetches are working okay? | 19:38 |
cr1901_modern | This is what I'm doing now | 19:38 |
mithro | We have the lm32 configuration with spiflash booting on the MimasV2 | 19:39 |
mithro | It's very slow without cache :-P | 19:39 |
cr1901_modern | which is why I said at least I-cache should be enabled | 19:39 |
mithro | But the behaviour should be identical to that of the BX | 19:40 |
cr1901_modern | Different FPGA :P | 19:40 |
cr1901_modern | the ice40lp doesn't like pipelined softcores for some reason | 19:40 |
cr1901_modern | picorv32 seems to work fine | 19:41 |
mithro | Without i-cache you can atleast see every instruction | 19:41 |
mithro | Picorv32 is using a different spiflash controller? | 19:41 |
cr1901_modern | Last time I disabled icache, I had the same problem | 19:42 |
cr1901_modern | No, it's not that | 19:42 |
cr1901_modern | I think picorv32 just doesn't tickle the bug that lm32 does | 19:42 |
mithro | It's the lm32 with spiflash from LiteX that is the problem | 19:43 |
mithro | As lm32 from rom works | 19:43 |
mithro | You got a trace of the spiflash accesses? | 19:44 |
mithro | With the cache disabled you should see each fetch... | 19:45 |
cr1901_modern | I'll do that and get back to you | 19:45 |
cr1901_modern | Btw, I still want to add an "lm32-lite" which has icache enabled | 19:45 |
mithro | Sure | 19:47 |
mithro | You have a MimasV2 right? | 19:48 |
cr1901_modern | yes | 19:48 |
mithro | You should be able to compare the SPI accesses for the same configuration on the MimasV2 and the TinyFPGA BX | 19:48 |
mithro | See how they differ... | 19:48 |
cr1901_modern | True | 19:48 |
tinyfpga | cr1901_modern: make sure the SPI core is issuing a “resume” command to the SPI flash to wake it up first | 19:49 |
mithro | tinyfpga: that was my guess to :-) | 19:50 |
cr1901_modern | tinyfpga: I have the proper switch to disable the final power down on icepack | 19:50 |
tinyfpga | cr1901_modern: the ICE40 will put the SPI flash to sleep after waking it up... the SPI flash will ignore all commands until it receives a “resume” command | 19:50 |
tinyfpga | cr1901_modern: ok | 19:50 |
mithro | Although, who knows if it is working correctly? | 19:50 |
cr1901_modern | tinyfpga: What you described WAS the original incarnation of my tinyfpga woes :) | 19:50 |
tinyfpga | cr1901_modern: yeah, next step is comparing the SPI commands being sent with the commands in the Adesto SPI flash datasheet | 19:51 |
cr1901_modern | mithro: I know it works correctly b/c I've seen traces of the data returned | 19:51 |
mithro | Maybe someone broke out since then :-P | 19:52 |
mithro | S/out/it/ | 19:52 |
cr1901_modern | I saw traces of the data returned since a few days ago :) | 19:52 |
cr1901_modern | I'm pretty confident I've eliminated all the easy sources of error :/ | 19:52 |
mithro | Okay | 19:52 |
cr1901_modern | What I want now is to figure out which nets in the FPGA are the culprit and a "rip out nets that don't matter" mode to create a minimal offending bitstream in nextpnr | 19:53 |
mithro | Lunchtime for me | 19:54 |
CarlFK | mithro: did you say I shouldn't see: Bus 003 Device 043: ID 16c0:06ad Van Ooijen Technische Informatica | 20:04 |
mithro | CarlFK: Depends on when you are seeing it | 20:05 |
CarlFK | flashed image-gateware+bios+firmware.v0.0.4-255-g4a97842.opsis.hdmi2usb.lm32.bin, power cycled opsis, 5 min later | 20:06 |
CarlFK | not sure I have ever seen this before [738275.293613] usb 3-1: SerialNumber: hw_opsis | 20:07 |
CarlFK | but this is the fist time I have flashed something after April | 20:07 |
CarlFK | mithro: syslog http://paste.ubuntu.com/p/zXcfYZ2p86/ | 20:09 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 20:09 |
mithro | CarlFK: This seems like you didn't get the hdmi2usb firmware... | 20:10 |
CarlFK | mithro: hash checks out: sha256sum image-gateware+bios+firmware.v0.0.4-255-g4a97842.opsis.hdmi2usb.lm32.bin | 20:14 |
CarlFK | fcb4315d4aa9ca38202ff6e503f548e0af849daeaa2cbbbd05aeb6ea5aa9a7bf | 20:14 |
CarlFK | https://github.com/timvideos/HDMI2USB-firmware-prebuilt/blob/master/archive/master/v0.0.4-255-g4a97842/opsis/hdmi2usb/lm32/sha256sum.txt | 20:14 |
tpb | Title: HDMI2USB-firmware-prebuilt/sha256sum.txt at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 20:14 |
*** shorne has quit IRC | 20:16 | |
*** shorne has joined #timvideos | 20:18 | |
mithro | CarlFK: Don't know.,.. | 20:21 |
CarlFK | mithro: any guesses what I can do ? | 20:37 |
mithro | Try a different version? | 20:38 |
mithro | I could use help filling out https://docs.google.com/spreadsheets/d/1XTHfdYXuvwoYdPXm4M6qDA0D2fZCPy220-9q6qZpTw4/edit#gid=0 | 22:14 |
tpb | Title: LiteX BuildEnv Support - Google Sheets (at docs.google.com) | 22:14 |
mithro | cr1901_modern: https://docs.google.com/spreadsheets/d/1XTHfdYXuvwoYdPXm4M6qDA0D2fZCPy220-9q6qZpTw4/edit#gid=1326111379 | 22:30 |
tpb | Title: LiteX BuildEnv Support - Google Sheets (at docs.google.com) | 22:30 |
CarlFK | mithro: is nexys_video different from just nexys? | 22:47 |
mithro | Yes | 22:49 |
mithro | Adding nexys support should be pretty easy though | 22:50 |
mithro | It should mostly be data entry | 22:50 |
*** tac-tics has joined #timvideos | 22:55 | |
tac-tics | CarlFK, sure I am | 22:55 |
CarlFK | tac-tics: do you have nexys_video or nexys ? (seems they are 2 different things) | 22:56 |
tac-tics | This is what I have: https://reference.digilentinc.com/reference/programmable-logic/nexys-4/start?redirect=1 | 22:57 |
tpb | Title: Nexys 4 [Reference.Digilentinc] (at reference.digilentinc.com) | 22:57 |
CarlFK | tac-tics: did you dl the 25 gig of Xilinx Vivado ? | 22:58 |
tac-tics | no | 22:59 |
tac-tics | I downloaded 0gigs of no videos. | 22:59 |
CarlFK | https://github.com/timvideos/litex-buildenv/wiki/Xilinx-Vivado | 23:00 |
tpb | Title: Xilinx Vivado · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 23:00 |
CarlFK | hmm, those docs are a little wonky. I updated the file names for the parts I used. | 23:02 |
CarlFK | https://www.xilinx.com/member/forms/download/xef.html?filename=Xilinx_Vivado_SDK_2018.2_0614_1954.tar.gz | 23:02 |
tpb | Title: OAM Login Page Redirect (at www.xilinx.com) | 23:02 |
CarlFK | that's current as of about 2 weeks ago | 23:02 |
tac-tics | I'll hae to play with it when I get home | 23:03 |
tac-tics | Can't seem to create an account on their site >_> | 23:06 |
tac-tics | How dumb | 23:07 |
*** keithn13 has joined #timvideos | 23:07 | |
*** keithn13 has quit IRC | 23:08 | |
*** liori27 has joined #timvideos | 23:18 | |
CarlFK | it may be annoying. but somehow I've done it. | 23:22 |
mithro | CarlFK: https://github.com/timvideos/litex-buildenv/wiki | 23:30 |
tpb | Title: Home · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 23:30 |
*** twoolie has joined #timvideos | 23:40 | |
cr1901_modern | mithro: Internally, HX4k == HX8K :) | 23:42 |
CarlFK | mithro: has the qemu for or1k been .. patched or pulled or whtaever to work with current linux? | 23:45 |
*** tac-tics has quit IRC | 23:45 | |
mithro | CarlFK: mangled? | 23:45 |
CarlFK | lol - yes, that. | 23:45 |
mithro | Dunno | 23:52 |
CarlFK | im guessing it would have been you | 23:55 |
mithro | ? | 23:55 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!