sb0 changed the topic of #m-labs to: ARTIQ, Migen, MiSoC, Mixxeo & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
<GitHub199> [artiq] whitequark commented on issue #898: This is a bug in artiq_flash that I've fixed long ago. Let me kick off a new build for you. https://github.com/m-labs/artiq/issues/898#issuecomment-359123997
<whitequark> bb-m-labs: force build artiq
<bb-m-labs> build #1969 forced
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #1969 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1969
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
<GitHub-m-labs> [buildbot-config] whitequark pushed 1 new commit to master: https://git.io/vNzRD
<GitHub-m-labs> buildbot-config/master 3d07995 whitequark: Fix around buildbot's inane WithProperties DSL again.
bb-m-labs has joined #m-labs
<whitequark> bb-m-labs: force build artiq
<bb-m-labs> build #1970 forced
<bb-m-labs> I'll give a shout when the build finishes
<GitHub174> [artiq] jbqubit commented on issue #898: I'm sure I'm running artiq_flash from master. I can add 1/0 to source and make it die. ... https://github.com/m-labs/artiq/issues/898#issuecomment-359125076
<whitequark> bb-m-labs: stop build artiq
<bb-m-labs> try 'stop build WHICH <REASON>'
<whitequark> bb-m-labs: force build artiq didn't push
<bb-m-labs> No closing quotation
<whitequark> bb-m-labs: force build artiq ugh
<bb-m-labs> The build has been queued, I'll give a shout when it starts
<whitequark> bb-m-labs: stop build artiq ugh
<bb-m-labs> build 1970 interrupted
<bb-m-labs> build #1970 of artiq is complete: Exception [exception interrupted] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1970
<bb-m-labs> build #1971 forced
<bb-m-labs> I'll give a shout when the build finishes
<whitequark> bb-m-labs: stop build artiq ugh
<bb-m-labs> build 1971 interrupted
<bb-m-labs> build #1971 of artiq is complete: Exception [exception interrupted] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1971
<GitHub58> [artiq] whitequark pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/1c7cb737cac9...934bc53cb5a6
<GitHub58> artiq/master 934bc53 whitequark: artiq_devtool: refactor.
<GitHub58> artiq/master ebd02c4 whitequark: artiq_flash: fix typo.
<GitHub181> [artiq] whitequark commented on issue #898: Sorry, I forgot to push. ebd02c4f4 https://github.com/m-labs/artiq/issues/898#issuecomment-359125285
<GitHub70> [artiq] whitequark closed pull request #901: Add register dump on HMC830 lock timeout. (master...HMC830_reg_dump) https://github.com/m-labs/artiq/pull/901
<GitHub21> artiq/master 37fa3b2 hartytp: firmware: add register dump on HMC830 lock timeout.
<GitHub21> [artiq] whitequark pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/37fa3b29da81f74885cad04f90a3055beaf47fdd
<bb-m-labs> build #1111 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1111
<bb-m-labs> build #694 of artiq-win64-test is complete: Warnings [warnings python_coverage] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/694 blamelist: whitequark <whitequark@whitequark.org>
<bb-m-labs> build #1972 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1972
mumptai has quit [Quit: Verlassend]
AceChen_ has quit [Remote host closed the connection]
<bb-m-labs> build #1112 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1112
<bb-m-labs> build #695 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/695
<GitHub106> [artiq] whitequark pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/37fa3b29da81...f4022ba87234
<GitHub106> artiq/master f4022ba whitequark: remoting: avoid a race condition.
<GitHub106> artiq/master 83278a6 whitequark: artiq_flash: fix a refactoring bug.
<bb-m-labs> build #1973 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1973
<GitHub83> [artiq] jbqubit commented on issue #898: Thanks @whitequark. I can now flash using artiq_flash. https://github.com/m-labs/artiq/issues/898#issuecomment-359135193
<GitHub132> [artiq] jonaskeller opened issue #902: FPGA panics https://github.com/m-labs/artiq/issues/902
<GitHub191> [artiq] jbqubit commented on issue #898: Spoke too soon... AMC works but RTM does not. You got the path wrong for location of RTM .bit.... https://github.com/m-labs/artiq/issues/898#issuecomment-359135709
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<bb-m-labs> build #1113 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1113
<GitHub90> [artiq] whitequark commented on issue #902: Unfortunately there is no backtrace so there's not much I can do. https://github.com/m-labs/artiq/issues/902#issuecomment-359136468
<GitHub62> [sinara] marmeladapk pushed 1 new commit to master: https://git.io/vNzaV
<GitHub62> sinara/master 752331f Paweł: Kasli changes for v1.1 (only schematic changes now)....
<bb-m-labs> build #696 of artiq-win64-test is complete: Warnings [warnings python_coverage] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/696 blamelist: whitequark <whitequark@whitequark.org>
<bb-m-labs> build #1974 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1974
<GitHub57> [artiq] whitequark commented on issue #898: @jbqubit RTM FPGA bitstream is not loaded from flash anyway right now, you have to invoke openocd manually. This will be fixed when the bitstream load is implemented. https://github.com/m-labs/artiq/issues/898#issuecomment-359137251
<GitHub> [pythonparser] whitequark pushed 3 new commits to master: https://github.com/m-labs/pythonparser/compare/49098dee443e...ce013dca02a6
<GitHub> pythonparser/master ce013dc whitequark: Implement stub parsing of Python 3.6.
<GitHub> pythonparser/master 0ac31a8 whitequark: Implement lexing of Python 3.6 (format strings are stubbed out).
<GitHub> pythonparser/master 1f946e8 whitequark: Update lexer/grammar diffs.
<GitHub71> [artiq] whitequark commented on issue #652: > there are hardcoded python3.5 interpreter references in many places (shebang, doc, ...).... https://github.com/m-labs/artiq/issues/652#issuecomment-359138680
<GitHub> [pythonparser] whitequark pushed 1 new commit to master: https://github.com/m-labs/pythonparser/commit/5b391fe86f43bb9f4f96c5bc0532e2a112db2936
<GitHub> pythonparser/master 5b391fe whitequark: Fix merge issue in 0ac31a85.
rohitksingh-demo has joined #m-labs
futarisIRCcloud has joined #m-labs
<sb0> oh amazing, flashmagic works in wine for the sayma serial lpc bootloader
<sb0> the two open source equivalents are junk, though
<sb0> now this thing wants a hex file... is it 1992?
<whitequark> objcopy...
<whitequark> also all windows software still uses hex file.
<whitequark> sb0: we can relax the <3.6 requirement on artiq now if you want
<whitequark> (I updated my system and Debian now has 3.6)
<sb0> whitequark, as long as it doesn't cause a conda mess, that's fine
<sb0> oh, that worked
<sb0> whitequark, but I think it's better to keep conda on 3.5, I can't imagine there won't be bug on 3.6. and no one is paying for 3.6.
<whitequark> sb0: then I will at least remove the check from setup.py.
<sb0> ok
<GitHub140> [artiq] enjoy-digital pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/f4022ba87234...8fe463d4a0b7
<GitHub140> artiq/master 8fe463d Florent Kermarrec: sayma_rtm: add UART loopback to easily know if rtm fpga is alive
<GitHub140> artiq/master 74ce731 Florent Kermarrec: sayma: reduce serwb linerate to 625Mbps (make it work on saymas with 1.8v issue, related?)
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<sb0> _florent_, what sayma with 1.8v issue, sayma1?
sb0 has quit [Quit: Leaving]
<_florent_> sb0: yes
<GitHub73> [artiq] enjoy-digital commented on issue #856: By reducing serwb linerate from 1.25Gbps to 625Mbps, it seems to be reliable on at least a board that has the 1.8v issue. (it's difficult to say if it's related or not). Let's use 625Mbps for now.... https://github.com/m-labs/artiq/issues/856#issuecomment-359146463
<_florent_> sb0: also, on sayma1, when reloading amc with artiq_flash (...) start, rtm fpga is no longer alive
<_florent_> sb0: this is not the case on sayma3
<bb-m-labs> build #1114 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1114
sb0 has joined #m-labs
<bb-m-labs> build #697 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/697
<whitequark> _florent_: probably because of different INIT_B and DONE connections
<whitequark> there are unpopulated resistors on one of those boards (the one that doesn't reset)
<bb-m-labs> build #1975 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1975
<_florent_> whitequark: ok thanks
futarisIRCcloud has joined #m-labs
<sb0> whitequark, for fast JTAG speeds, the FPGA IOs will limit you...
<sb0> (re. your idea of replacing FTDI with FPGA)
<sb0> USB uses this strange serial data format instead of something like 8b10b, which requires very fast CDR locking speeds that need to be done digitally with 4x oversampling
<sb0> so for 480Mbps USB 2.0 you need 1920Mbps IO. you could do it using the transceivers and some analog hacks for bidirectional IO, but it will be messy. or use a ULPI chip.
<whitequark> nah, none of the above
<whitequark> CY7C68013A converting 480Mbps USB 2.0 into a 8-bit bus, some iCE40 FPGA driving JTAG from that
<whitequark> my calculations show that this can saturate USB
<whitequark> and it's extremely cheap too
<sb0> how do you program the 8051? sdcc?
<whitequark> anything. at the level of complexity it needs to be even assembly works
<whitequark> it has to set up two pipes to forward to UARTs and then one more to switch its FIFO between read and write
<whitequark> the entire system firmware can live in its EEPROM, too
<whitequark> what's neat is how once the 8051 is programmed, you never touch that crap again. you can wire any sort of custom logic in the FPGA.
<whitequark> and if we use an iCE40LP1K, then the LED drive pins can be used to get higher slew rates on JTAG :)
<whitequark> the MPSSE is actually trivial, I think I can prototype it in a few hours
<GitHub65> [artiq] sbourdeauducq commented on issue #854: It is set to 1. I have ``GMIICR 18 0x8c80``... https://github.com/m-labs/artiq/issues/854#issuecomment-359151382
<whitequark> this begs the question, why is the FTDI silicon so bad?
<whitequark> did they blow all their money on lawyers instead of engineering or something
<GitHub25> [artiq] whitequark pushed 4 new commits to master: https://github.com/m-labs/artiq/compare/8fe463d4a0b7...115aa0d0d662
<GitHub25> artiq/master 94592c7 whitequark: artiq_flash: unify flash handling in XC7 and Sayma programmers.
<GitHub25> artiq/master 1ffabac whitequark: artiq_flash: use atexit for tempfile cleanup.
<GitHub25> artiq/master ab9eb56 whitequark: setup.py: migen now works on Python 3.6, relax version check.
<GitHub113> [artiq] whitequark commented on issue #898: @jbqubit I've fixed artiq_flash for RTM FPGA, but only for --srcbuild for now, since I'm working on that code. You can use this as a stopgap.... https://github.com/m-labs/artiq/issues/898#issuecomment-359152386
<GitHub43> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/c3323f0d5771f01ef27e93e9882f7740d957070c
<GitHub43> artiq/master c3323f0 Sebastien Bourdeauducq: hmc830: improve lock failure error report
<bb-m-labs> build #1115 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1115
<bb-m-labs> build #1976 of artiq is complete: Failure [failed artiq_flash] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1976 blamelist: whitequark <whitequark@whitequark.org>
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<bb-m-labs> build #1116 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1116
<bb-m-labs> build #1977 of artiq is complete: Failure [failed artiq_flash] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1977 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<GitHub19> [artiq] whitequark pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/8598e475e92ab72347d1fa20e1296745d245e217
<GitHub19> artiq/master 8598e47 whitequark: artiq_flash: fix a refactoring mistake.
<bb-m-labs> build #1117 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1117
<GitHub145> [artiq] sbourdeauducq reopened issue #854: RGMII Ethernet + MiSoC core does not work on Sayma https://github.com/m-labs/artiq/issues/854
<bb-m-labs> build #698 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/698
<bb-m-labs> build #1978 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1978
rohitksingh-demo has quit [Quit: Leaving.]
<GitHub135> [artiq] gkasprow commented on issue #854: OK, I zeroed this register in MII configuration, not RGMII.... https://github.com/m-labs/artiq/issues/854#issuecomment-359160206
mumptai has joined #m-labs
<sb0> rjo, what's the latest on sawg timing?
<GitHub10> [artiq] sbourdeauducq commented on issue #854: Now there is *some* dependence of the packet loss rate (from ping) on the phase of the TX clock, but packet losses stay over 70%. And some packets still get through (80% packet loss) with the TX clock grounded by the FPGA. I don't understand... https://github.com/m-labs/artiq/issues/854#issuecomment-359163121
<GitHub189> [artiq] sbourdeauducq commented on issue #854: Now there is *some* dependence of the packet loss rate (from ping) on the phase of the TX clock, but packet losses (ICMP ping) stay over 70%. And some packets still get through (80% packet loss) with the TX clock grounded by the FPGA. I don't understand... https://github.com/m-labs/artiq/issues/854#issuecomment-359163121
<GitHub64> [artiq] sbourdeauducq commented on issue #854: Is the TX clock still on pin M22 at the FPGA side? https://github.com/m-labs/artiq/issues/854#issuecomment-359163387
<GitHub32> [artiq] sbourdeauducq commented on issue #854: Is the TX clock still on pin M22 of the FPGA? https://github.com/m-labs/artiq/issues/854#issuecomment-359163387
<sb0> I have a rtl8152 USB ethernet stick, is possible to use that to capture raw ethernet traffic, including preambles and frames with broken CRC?
<sb0> meh, can't even see any FCS
<sb0> certainly this will need more yak-shaving such as hooking up a kc705 and writing a NIH sniffer
<sb0> yep. driver just rejects rx-fcs mode. sigh.
<sb0> oh, the NIC on the buildbot motherboard supports it
sb0 has quit [Quit: Leaving]
mumptai has quit [Remote host closed the connection]
rohitksingh-demo has joined #m-labs
<whitequark> sb0: https://hastebin.com/masibureka.py LGTY?
<whitequark> lets me debug FSMs much more easil. https://cloud.whitequark.org/index.php/f/4505
<whitequark> erm
<GitHub80> [artiq] gkasprow commented on issue #854: Yes https://github.com/m-labs/artiq/issues/854#issuecomment-359169355
mumptai has joined #m-labs
sb0 has joined #m-labs
Gurty has quit [Quit: Kooll ~o~ datalove <3³\infty]
<GitHub184> [artiq] gkasprow commented on issue #854: Tx has its own PLL that produces valid clock from 25MHz reference. But without TXCLK you should be not able to write anything to the PHY data register. I have a setup at the university where we can run artiq. In this way I can have a look what the clock signal really looks like. https://github.com/m-labs/artiq/issues/854#issuecomment-359170066
<GitHub16> [artiq] gkasprow commented on issue #854: Another issue could be with lock stability. In PHY devices the reference clock and TX clock frequency cannot differ more than 100ppm. In case of mis-configured PLL in the FPGA this would cause similar effect. Can you drive your TX engine with RX clock just to check if this helps? https://github.com/m-labs/artiq/issues/854#issuecomment-359170242
Gurty has joined #m-labs
rohitksingh-demo has quit [Quit: Leaving.]
rohitksingh-demo has joined #m-labs
<GitHub109> [artiq] sbourdeauducq commented on issue #854: That clock tolerance is due to the elastic buffer, and depends on the packet size and IPG. Here I am only sending short ICMP replies with 64 bytes of payload, so the tolerance is higher than this 100ppm which is designed for 9000-byte jumbo frames. Also, this would not explain why I'm able to send packets at all when I'm grounding the TX clock. https://github.com/m-
<GitHub64> [artiq] sbourdeauducq commented on issue #854: That clock tolerance is due to the elastic buffer, and depends on the elastic buffer size, packet size and IPG. Here I am only sending short ICMP replies with 64 bytes of payload, so the tolerance is higher than this 100ppm which is designed for 9000-byte jumbo frames. Also, this would not explain why I'm able to send packets at all when I'm grounding the TX clock. ht
<GitHub7> [artiq] sbourdeauducq commented on issue #854: My best guess is that with your new MMC firmware, the PHY is not driving the clock pin anymore, but it is not taking it into account either. This doesn't explain well why there is an impact on the packet loss rate, maybe crosstalk (injection pulling) into the oscillator that produces the actual clock, and that crosstalk was not present before as there was contention on the
<GitHub149> [artiq] sbourdeauducq commented on issue #854: My best guess is that with your new MMC firmware, the PHY is not driving the clock pin anymore, but it is not taking it into account either. This doesn't explain well why the TX clock phase has an impact on the packet loss rate, maybe crosstalk (injection pulling) into the oscillator that produces the actual clock, and that crosstalk was not present before as there was
<GitHub116> [artiq] gkasprow commented on issue #854: as I wrote, I cannot test it right now. https://github.com/m-labs/artiq/issues/854#issuecomment-359172835
rohitksingh-demo has quit [Quit: Leaving.]
sb0 has quit [Quit: Leaving]
mumptai_ has joined #m-labs
mumptai_ has quit [Client Quit]
q3k has joined #m-labs
davidc__ has quit [*.net *.split]
mithro has quit [*.net *.split]
davidc__ has joined #m-labs
mithro has joined #m-labs
dlrobertson has quit [Ping timeout: 276 seconds]
_whitelogger has joined #m-labs
futarisIRCcloud has joined #m-labs
mumptai has quit [Remote host closed the connection]