*** tpb has joined #timvideos | 00:00 | |
*** ewen has joined #timvideos | 00:09 | |
ewen | Knock! Knock! Can someone open outer door of hackfest? Thanks. | 00:09 |
---|---|---|
*** medicalwei has quit IRC | 00:40 | |
*** medicalwei has joined #timvideos | 00:47 | |
mithro | cr1901_modern: did I mention that I wanted to support sdcard in SPI mode via bitbanging? (IE a super slow mode?) - the gateware for that should be super simple (IE just a couple of CSR registers right) | 01:35 |
*** rohitksingh-demo has joined #timvideos | 02:39 | |
ewen | mithro: rohitksingh-demo: Current status of https://github.com/timvideos/litex-buildenv/pull/12 (Elbert v2 attempt) is that "make firmware" builds a firmware.elf with some ugly #ifdefs, and a linker.ld hack, but "make gateware" fails due to design issues all around clocks/PLL I think. | 02:44 |
tpb | Title: WIP: Numato Elbert V2 support by mithro · Pull Request #12 · timvideos/litex-buildenv · GitHub (at github.com) | 02:44 |
ewen | mithro: rohitksingh-demo: All the clocks/PLL bits in elbertv2/base.py was cargo culted from mimasv2; I'm unclear which bits are actually needed (especially with no SDRAM), and which bits need changes for Spartan 3A versus Spartan 6; pull request has "make gateware" error messages for reference. | 02:45 |
*** futarisIRCcloud has joined #timvideos | 02:54 | |
rohitksingh-demo | ewen: yup, since we are using 12MHz clock, the PLL parameters are gonna change. I'll look into that | 02:56 |
ewen | rohitksingh-demo: Thanks! I did adjust a couple of them for 100 / 12, but was just wildly guessing what should be there. | 03:02 |
felix_ | spartan 3 doesn't have plls | 03:03 |
felix_ | iirc they had those dcm things | 03:03 |
felix_ | so you need to instanciate 03:53 < rohitksingh-demo> ewen: yup, since we are using 12MHz clock, the PLL parameters are gonna change. I'll look into that | 03:04 |
rohitksingh-demo | fleix_: yup, we probably need to use dcm | 03:04 |
felix_ | meh | 03:04 |
felix_ | you need to instantiate a dcm instead of the pll | 03:05 |
ewen | felix_: Aha. That'd explain the build errors. Unfortunately I'm out of my depth with "instantiate a dcm" so if one of you can figure out what is needed that'd be much appreciated. | 03:11 |
xfxf | stefanor: changes needed (rails may have already PR'ed them): r6mix/r8mix need hw:1,0 alsa source and 2000ms delay | 04:18 |
rails | Will be Pring in 10 mins | 04:19 |
xfxf | stefanor: https://github.com/xfxf/HDMI2USB-misoc-firmware/tree/dvisampler-debug-fix | 04:26 |
tpb | Title: GitHub - xfxf/HDMI2USB-misoc-firmware at dvisampler-debug-fix (at github.com) | 04:26 |
mithro | xobs: try this -> http://hopper.mithis.com/~tim/gcc-lm32-elf-nostdc-5.4.0-20180118_145621.tar.bz2 | 05:45 |
mithro | felix_: https://github.com/enjoy-digital/transceiver_test | 05:45 |
tpb | Title: GitHub - enjoy-digital/transceiver_test: Test of transceivers for board to board communication (at github.com) | 05:45 |
xobs | mithro: I'm missing libisl.so.10. Trying to figure out where to get it from. | 05:46 |
mithro | xobs: Ahh yeah - that is why we statically link -- which causes the other issue... | 05:46 |
xfxf | mithro: that fix worked btw, made a PR | 05:46 |
mithro | xfxf: Yeah - just waiting for travis to confirm | 05:47 |
*** CarlFK has quit IRC | 05:52 | |
*** sb0 has quit IRC | 05:53 | |
xobs | mithro: It got further when I added LD_LIBRARY_PATH=$CONDA_DIR/lib:$LD_LIBRARY_PATH to enter_env.sh | 05:54 |
xobs | Now I'm trying to fix "as: unrecognized option '-mmultiply-enabled'" | 05:54 |
mithro | xobs: Further means? | 05:54 |
mithro | xobs: I think that means its using the wrong as | 05:55 |
mithro | xobs: Because that should be lm32-elf-as or something, right? | 05:55 |
xobs | The archive you posted has no as | 05:58 |
mithro | xobs: conda install binutils-lm32-elf or something? | 06:09 |
mithro | xfxf: Your patch is merged | 06:11 |
*** CarlFK has joined #timvideos | 06:12 | |
*** ChanServ sets mode: +v CarlFK | 06:12 | |
mithro | ha - https://github.com/azonenberg/protohdl | 06:15 |
tpb | Title: GitHub - azonenberg/protohdl: Streaming FPGA/ASIC code generator for Google Protocol Buffers. (at github.com) | 06:15 |
*** sb0 has joined #timvideos | 06:52 | |
*** mcarden has quit IRC | 06:52 | |
CarlFK[m] | name:Marc Merlin: Getting conned into writing IoTuz/ESP32 drivers and example code (while being held prisoner in a share house in Hobart, Tasmania) | 06:52 |
CarlFK[m] | django.db.utils.DataError: value too long for type character varying(135) | 06:52 |
ewen | rohitksingh-demo: Papilio Duo schematic: https://github.com/GadgetFactory/Papilio-DUO/blob/master/Papilio_DUO_Schematic.pdf | 07:06 |
tpb | Title: Papilio-DUO/Papilio_DUO_Schematic.pdf at master · GadgetFactory/Papilio-DUO · GitHub (at github.com) | 07:06 |
ewen | rohitksingh-demo: https://github.com/GadgetFactory/Papilio-DUO | 07:11 |
tpb | Title: GitHub - GadgetFactory/Papilio-DUO: Papilio DUO FPGA board (at github.com) | 07:11 |
CarlFK[m] | name | character varying(170) | not null | 07:11 |
ewen | rohitksingh-demo: This appears to be the full four pages: http://www.papilio.cc/uploads/Papilio/Papilio_DUO.pdf?raw=true | 07:14 |
mithro | felix_: https://github.com/peteut/migen-misc/tree/master/src/migen_misc | 07:32 |
tpb | Title: migen-misc/src/migen_misc at master · peteut/migen-misc · GitHub (at github.com) | 07:32 |
ewen | rohitksingh-demo: This seems to be the Papilio Loader: https://github.com/GadgetFactory/Papilio-Loader/ | 07:33 |
tpb | Title: GitHub - GadgetFactory/Papilio-Loader: Java and command line apps to load Xilinx Bit files to Papilio FPGA boards. (at github.com) | 07:33 |
ewen | AFAICT the papilio-prog directory has the C/C++ source for the loader (rest seems to be Java GUI wrapper) | 07:34 |
ewen | rohitksingh-demo: Interestingly it looks like when I try "sudo openocd" it's both disassocating my Wifi and also resetting the Papilio Duo USB (eg, it reports failure to setup, and disconnects). | 07:38 |
ewen | [Tue Jan 16 12:42:54 2018] usb 1-2: device descriptor read/64, error -71 | 07:38 |
ewen | [Tue Jan 16 12:45:16 2018] usb 1-2: Device not responding to setup address. | 07:38 |
mithro | xobs: https://japaric.github.io/embedded-hal/embedded_hal/index.html | 07:39 |
tpb | Title: embedded_hal - Rust (at japaric.github.io) | 07:39 |
ewen | rohitksingh-demo: Maybe it found it run with sudo? Info : JTAG tap: xc6s.tap tap/device found: 0x24001093 (mfg: 0x049 (Xilinx), part: 0x4001, ver: 0x2) | 07:41 |
ewen | But that seems to be trigger of USB bus resets | 07:41 |
ewen | (I'm guessing Wifi is also on USB bus.) | 07:41 |
ewen | rohitksingh-demo: .... relevant bits of openocd file .... | 07:44 |
ewen | # iManufacturer 1 Gadget Factory | 07:44 |
ewen | # iProduct 2 Papilio DUO | 07:44 |
ewen | # iSerial 3 100000000000 | 07:44 |
ewen | interface ftdi | 07:44 |
ewen | #ftdi_device_desc "Papilio DUO" | 07:44 |
ewen | ftdi_vid_pid 0x0403 0x7bc0 | 07:44 |
ewen | # channel 1 does not have any functionality | 07:44 |
ewen | ftdi_channel 0 | 07:44 |
ewen | # just TCK TDI TDO TMS, no reset | 07:44 |
ewen | ftdi_layout_init 0x0008 0x008b | 07:44 |
ewen | reset_config none | 07:44 |
ewen | adapter_khz 10000 | 07:44 |
ewen | source [find cpld/xilinx-xc6s.cfg] | 07:45 |
ewen | source [find cpld/jtagspi.cfg] | 07:45 |
ewen | rohitksingh-demo: Done, all but some comments | 07:45 |
mithro | rohitksingh-demo: Did you want me to do the command which does the ident stuff? | 07:49 |
rohitksingh-demo | mithro: yes please! I do not know how to add it | 07:50 |
ewen | rohitksingh-demo: FYI, these are the URLs I found for board | 08:01 |
ewen | # Papilio Duo with Xilinx Spartan-6 FPGA | 08:01 |
ewen | # | 08:01 |
ewen | # http://papilio.cc/index.php?n=Papilio.PapilioDUOHardwareGuide | 08:01 |
ewen | # https://www.seeedstudio.com/Papilio-DUO-2MB-p-2329.html | 08:01 |
tpb | Title: PapilioDUOHardwareGuide (at papilio.cc) | 08:01 |
tpb | Title: Papilio DUO-2MB - FPGA - Seeed Studio (at www.seeedstudio.com) | 08:01 |
rohitksingh-demo | ewen: great! I added the first one | 08:02 |
*** ewen has quit IRC | 08:10 | |
mithro | rohitksingh-demo: This is what it looks like -> https://github.com/timvideos/HDMI2USB-litex-firmware/pull/400 | 08:17 |
tpb | Title: make: Always pass an ident value. by mithro · Pull Request #400 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 08:17 |
rohitksingh-demo | mithro: great! I'll test it in a moment! | 08:23 |
*** futarisIRCcloud has quit IRC | 08:24 | |
*** rqou_ has joined #timvideos | 08:30 | |
*** puck has quit IRC | 08:30 | |
*** rqou has quit IRC | 08:31 | |
*** rqou_ is now known as rqou | 08:31 | |
*** puck has joined #timvideos | 08:36 | |
rohitksingh-demo | mithro: https://github.com/timvideos/conda-hdmi2usb-packages/pull/25/files | 08:43 |
tpb | Title: openocd: Add patch files for neso, saturn, waxwing and papilio-duo by rohitk-singh · Pull Request #25 · timvideos/conda-hdmi2usb-packages · GitHub (at github.com) | 08:43 |
mithro | rohitksingh-demo: Looks good to me! | 08:44 |
rohitksingh-demo | mithro: yay! | 08:45 |
rohitksingh-demo | mithro: and how to submit to openocd upstream? | 08:45 |
mithro | rohitksingh-demo: http://openocd.org/doc-release/doxygen/patchguide.html | 08:46 |
tpb | Title: OpenOCD: Patch Guidelines (at openocd.org) | 08:46 |
mithro | Talk to PaulFester in #openocd too | 08:46 |
rohitksingh-demo | mithro: thanks! | 08:49 |
*** rqou has quit IRC | 09:01 | |
cr1901_modern | mithro: You did mention that you wanted an SPI mode, but that's not gonna help w/ my current issues, since the command set is basically the same in SPI mode. | 09:07 |
cr1901_modern | At this point I would just like something working before the conf for the mimasv2. | 09:07 |
cr1901_modern | Also, my sleep schedule has some semblance of normalcy now, yay1 | 09:09 |
mithro | cr1901_modern: Well, we are not really using the mimasv2 at the conference... | 09:19 |
mithro | We are using the Arty | 09:20 |
cr1901_modern | Oh right, you did mention that. | 09:20 |
mithro | cr1901_modern: But I don't think you have a pmod->microsd right? | 09:21 |
cr1901_modern | mithro: No, but I do have a pmod breadboard and sd card breakout board from sparkfun | 09:22 |
cr1901_modern | mithro: Lemme look something up quickly | 09:23 |
rohitksingh-demo | mithro: http://openocd.zylin.com/#/c/4359/ any comments? good/bad/horrible? | 09:24 |
tpb | Title: Gerrit Code Review (at openocd.zylin.com) | 09:24 |
mithro | rohitksingh-demo: LGTM! You should mention you tested on real hardware | 09:24 |
rohitksingh-demo | mithro: okay | 09:25 |
rohitksingh-demo | hold one | 09:25 |
rohitksingh-demo | *on | 09:25 |
*** rqou has joined #timvideos | 09:38 | |
mithro | rohitksingh-demo: Poke PaulFester in #openocd for review - tell him I sent you | 09:44 |
rohitksingh-demo | mithro: pinged him...doesn't seem to be online now...anyways adding him as reviewer too | 09:53 |
CarlFK[m] | mithro: kick the AC | 09:56 |
CarlFK[m] | mithro: kick the ACmithro: kick the AC | 10:05 |
CarlFK[m] | mithro: kick the AC | 10:14 |
mithro | CarlFK[m]: done - but why is it so important? | 10:15 |
CarlFK[m] | My phone kept reminding me to reset the AC | 10:17 |
*** aps has joined #timvideos | 10:21 | |
mithro | xobs: you should have build/conda/bin/lm32-elf-as | 10:22 |
mithro | from binutils-lm32-elf | 10:22 |
mithro | export PATH=$PWD/conda/bin:$PATH ; conda install <xxx.tar.bz2> | 10:25 |
mithro | opps | 10:25 |
mithro | I mean | 10:25 |
mithro | export PATH=$PWD/build/conda/bin:$PATH ; conda install <xxx.tar.bz2> | 10:25 |
*** sb0 has quit IRC | 10:51 | |
mithro | xobs: libusb-win32 0.1.12.2 is released just because of the reason you mentioned, to address the OpenOCD/libftdi problems where people want to use the JTAG and Serial port feature at the same time --> which | 10:56 |
mithro | means libusb0.sys should only be the driver for the JTAG interface, not the whole device, 0.1.12.1 has the bugs that it does not work well with this option. | 10:56 |
cr1901_modern | mithro: (Still looking stuff up), I've been having trouble getting my external LA to capture SD card signals in pulseview, but all the issues I've had this past week basically devolve to this: | 11:07 |
cr1901_modern | The SD cards I have on hand are too old, and _florent_'s firmware doesn't account for them. | 11:07 |
cr1901_modern | Embarrassing, right? Unfortunately, there was no way I would've figured this out on my own w/o delving into the spec | 11:08 |
cr1901_modern | (embarrassing as in: It took me long enough to figure this out) | 11:08 |
mithro | xobs: http://visualgdb.com/UsbDriverTool/ ? | 11:09 |
tpb | Title: Automatic USB driver installe (at visualgdb.com) | 11:09 |
mithro | xobs: you have to claim the first interface first (interface 0, or channel A). -- Ref: http://msdn.microsoft.com/en-us/library/windows/hardware/ff540245(v=vs.85).aspx | 11:13 |
CarlFK[m] | micolous: https://dpaste.de/WcRH | 11:21 |
tpb | Title: dpaste (at dpaste.de) | 11:21 |
mithro | xobs: https://github.com/timvideos/litex-buildenv/wiki/Bash-On-Windows | 11:22 |
tpb | Title: Bash On Windows · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 11:22 |
mithro | xobs: You might enjoy this -> https://github.com/timvideos/litex-buildenv/wiki/Notes-and-Tips :-P | 11:23 |
tpb | Title: Notes and Tips · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 11:23 |
micolous[m] | CarlFK: https://dpaste.de/WcRH#L47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94 | 11:24 |
tpb | Title: dpaste (at dpaste.de) | 11:24 |
mithro | cr1901_modern: How does that mimasv2 platform match the one in litex-buildenv? | 11:24 |
micolous[m] | >>> ','.join((str(x) for x in range(47,95))) | 11:24 |
cr1901_modern | mithro: I copied and pasted from litex-buildenv and removed the HDMI2USB/litex-buildenv specific constants | 11:25 |
CarlFK[m] | mithro (IRC): we bothered to create the list of lines you can ignore because it is wonky conerence api data, so you should at least click to see the fruity labor: https://dpaste.de/WcRH#L47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94 | 11:35 |
tpb | Title: dpaste (at dpaste.de) | 11:35 |
mithro | tumbleweed: https://github.com/conda/conda/issues/6747 | 11:35 |
tpb | Title: Due to glibc 2.12 limitation, static executables that use time(), cpuinfo() and maybe a few others cannot be run on systems that do not support or use `vsyscall=emulate` · Issue #6747 · conda/conda · GitHub (at github.com) | 11:35 |
mithro | tumbleweed: Try "conda install http://hopper.mithis.com/~tim/gcc-lm32-elf-nostdc-5.4.0-20180118_145621.tar.bz2" | 11:38 |
CarlFK[m] | micolous: tumbleweed: https://github.com/CarlFK/veyepar/blob/master/setup/nodes/pxe/shaz/var/www/pxe.py | 11:41 |
tpb | Title: veyepar/pxe.py at master · CarlFK/veyepar · GitHub (at github.com) | 11:41 |
rohitksingh-demo | mithro: http://diamondman.github.io/Adapt/cable_digilent_adept.html | 11:47 |
tpb | Title: Adapt (at diamondman.github.io) | 11:47 |
*** jea has quit IRC | 11:47 | |
*** jea has joined #timvideos | 11:47 | |
micolous[m] | https://github.com/micolous/streamchicken all the backend coedz | 11:48 |
tpb | Title: GitHub - micolous/streamchicken: backend components for new timvideos.us streaming site (at github.com) | 11:48 |
micolous[m] | CarlFK: https://wilmer.gaa.st/main.php/giggity.html | 11:49 |
tpb | Title: Wilmer.Gaa.st - Non-geek stuff (at wilmer.gaa.st) | 11:49 |
rohitksingh-demo | mithro: Xilinx Platform Cable too: http://diamondman.github.io/Adapt/cable_xilinx_PCU.html | 11:51 |
tpb | Title: Adapt (at diamondman.github.io) | 11:51 |
tumbleweed | mithro: your proposal to skip the vsyscall optimisation seems reasonably sensible | 11:52 |
mithro | tumbleweed: I have yet to figure out how to make it work.... | 11:56 |
*** TimGremalm has quit IRC | 12:29 | |
*** TimGremalm has joined #timvideos | 12:30 | |
*** techman83 has quit IRC | 12:32 | |
*** techman83 has joined #timvideos | 12:33 | |
*** ChanServ sets mode: +v techman83 | 12:33 | |
CarlFK[m] | mithro (IRC): Warning: API rate limit exceeded for 72.14.231.0. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) | 12:58 |
*** mcarden has joined #timvideos | 13:16 | |
*** rohitksingh-demo has quit IRC | 13:21 | |
felix_ | mithro: oh, the transceiver test repo seems to have the proper reset sequence now. seems like i wasted my time looking at how to do that properly *sigh* | 13:24 |
felix_ | my apporach would have been quite different though | 13:25 |
*** rohitksingh-demo has joined #timvideos | 13:33 | |
*** CarlFK has quit IRC | 13:34 | |
_florent_ | felix_: the old code was working but we were bypassing part of the initialization | 13:52 |
_florent_ | felix_: now it should be following xilinx recommandations | 13:53 |
felix_ | yes. i was beginning to implement this all in firmware | 13:54 |
felix_ | small wrapper around the drp and synchronizer for the resets | 13:54 |
felix_ | the issue the workaround is for is btw. that some internal state doesn't get properly reset when the fpga interface is 16 or 32 bit; for 20 or 40 bit the workaround doesn't change things | 13:56 |
felix_ | don't know the details though | 13:57 |
_florent_ | felix_: there is also this: https://github.com/m-labs/misoc/blob/master/misoc/cores/a7_gtp.py | 13:57 |
tpb | Title: misoc/a7_gtp.py at master · m-labs/misoc · GitHub (at github.com) | 13:57 |
_florent_ | and https://github.com/m-labs/misoc/blob/master/misoc/cores/liteeth_mini/phy/a7_1000basex.py | 13:58 |
tpb | Title: misoc/a7_1000basex.py at master · m-labs/misoc · GitHub (at github.com) | 13:58 |
_florent_ | felix_: i don't think you need phase alignment for sdi, so reusing misoc's core is probably better | 13:59 |
felix_ | i started litegt to properly implement the support fot the gtp | 14:02 |
felix_ | for sdi i don't need much features, but since the gtps seemed to be quite a cause of pain, i wanted to implement the support properly once and be able to reuse that | 14:03 |
felix_ | not having some state machine poking registers, but doing that in firmware, would also eliminate the need for drp arbitration that is needed when the runtime needs to adjust gtp setting | 14:05 |
_florent_ | the initialization is a bit tricky and i think you will still have things to do in the gateware | 14:07 |
felix_ | sure, to get the timing of the reset signals right, some gateware is needed | 14:09 |
*** rohitksingh-demo has quit IRC | 14:23 | |
mithro | xobs: non-static libs uploaded | 14:27 |
*** hyadez has quit IRC | 14:42 | |
mithro | xobs: http://hopper.mithis.com/~tim/ | 14:42 |
tpb | Title: Index of /~tim (at hopper.mithis.com) | 14:42 |
*** CarlFK has joined #timvideos | 14:57 | |
*** ChanServ sets mode: +v CarlFK | 14:57 | |
*** sb0 has joined #timvideos | 15:19 | |
*** hyadez has joined #timvideos | 15:21 | |
*** aps has quit IRC | 18:35 | |
*** samsagaz has joined #timvideos | 19:47 | |
*** CarlFK has quit IRC | 21:05 | |
*** futarisIRCcloud has joined #timvideos | 21:51 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!