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
<GitHub104> [artiq] sbourdeauducq commented on issue #854: @gkasprow Thanks! Looks good. Please double-check that the particular SFP/RJ45 module you are shipping works with Sayma in the MII configuration. https://github.com/m-labs/artiq/issues/854#issuecomment-354217182
<sb0> whitequark, did you test your changes on sayma?
<sb0> oh it's generating it for both C and Rust...
<sb0> this gets complicated. who's using LM32 anyway?
* cr1901_modern raises hand
<cr1901_modern> also mithro is
<cr1901_modern> Not to mention I wasn't able to compile the or1k toolchain on Windows last I tried
<whitequark> sb0: why wouldn't it work on sayms?
<whitequark> *sayma?
<whitequark> or rather which changes do you mean specifically?
<sb0> sdram
<sb0> change of flash addresses
<whitequark> sdram generates the byte-for-byte identical output for sdram_phy.h
<whitequark> except for whitespace
<sb0> ok
<whitequark> change of flash addresses, no, but it seems unlikely to break
<whitequark> what's the software workflow with sayma? I never touched it
<sb0> same as kc705, except that the boards fail from time to time and need power-cycling the relay on ttyACM0
<whitequark> oh ok
<sb0> and the vivado trash uses much more RAM and CPU time, too
<whitequark> cr1901_modern: mithro: sb0: *devilish grin* how about we port rust to lm32 and then just kill gcc and c in misoc completely
<sb0> whitequark, no time for this
<whitequark> not a serious suggestion
<cr1901_modern> whitequark: Although it is not a serious suggestion, I am not against this
<whitequark> though I've eliminated all C code in ARTIQ except for unwinder and libm
<whitequark> (not all pushed yet, and not all tested yet, but soon)
<whitequark> it'll have its own bootloader, and compiler-rt and the rest of the support junk is already all ported to rust
<whitequark> i'm really looking forward to being able to just point lldb to `target remote kc705:1234` and debug the panicked system instead of the perversion we have right now
<sb0> early in Sayma I suggested we keep a kintex-7, and of course this is causing problems right now in the form of additional vivado bloat (and code like sdram, gth, etc. that needed to be rewritten)...
<GitHub68> [compiler-builtins] whitequark created artiq (+49 new commits): https://github.com/m-labs/compiler-builtins/compare/02ea9e5f540c^...97916b17ca54
<GitHub68> compiler-builtins/artiq 02ea9e5 est31: Update the gcc crate to 0.3.53 and disable compilation warnings...
<GitHub68> compiler-builtins/artiq 38ffaf9 bors: Auto merge of #187 - est31:master, r=alexcrichton...
<GitHub68> compiler-builtins/artiq 9d536cf Tamir Duberstein: Remove unused rustbuild feature...
<GitHub130> [smoltcp] LuoZijun opened pull request #108: Update tcpdump.rs (master...patch-1) https://github.com/m-labs/smoltcp/pull/108
<sb0> whitequark, in https://github.com/m-labs/artiq/commit/d7cb4963e16a78f756509fea8ee1f51da54c4fee you specified byteorder 1.0 but Cargo.lock has 1.2.1... is that normal?
<whitequark> yes
<whitequark> cargo follows semver
<whitequark> so `byteorder = "1.0"` means byteorder >=1.0 & < 2.0
<GitHub190> [artiq] sbourdeauducq pushed 3 new commits to release-3: https://github.com/m-labs/artiq/compare/d419ccdecab8...00c9b20d1ea1
<GitHub190> artiq/release-3 8c19d90 Sebastien Bourdeauducq: firmware: prepare config block for access from BIOS/bootloader....
<GitHub190> artiq/release-3 00c9b20 Sebastien Bourdeauducq: firmware: remove bitflags references from Cargo.lock...
<GitHub190> artiq/release-3 135c138 whitequark: runtime: remove borrow_mut!() in favor of backtraces.
<whitequark> um
<whitequark> what did you just do
<whitequark> oh, you actually tried to merge Cargo.lock manually?
<whitequark> I just erase it and run build
<sb0> yes. sometimes I have luck with manual merge.
<GitHub171> [artiq] whitequark pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/68f128944a63...7687a34285e3
<GitHub171> artiq/master 7687a34 whitequark: firmware: remove dependency on compiler-rt.
<GitHub171> artiq/master 4dfe716 whitequark: firmware: remove dependency on libbase.
<whitequark> the libm dependency comes mostly from printf and is annoying
<sb0> why are you including the sdram phy header in libboard?
<sb0> the artiq firmware will only ever run from sdram, so it cannot mess with the phy
<whitequark> sb0: the new ARTIQ bootloader will depend on libboard
<GitHub102> [smoltcp] LuoZijun opened issue #109: About example tcpdump https://github.com/m-labs/smoltcp/issues/109
<sb0> whitequark, hmm...
<whitequark> since it wants to read config from the config block, use ethmac (which needs to be moved into libboard), etc
<sb0> libboard contains a lot of artiq-specific stuff, like HMC clock setup
<whitequark> yes
<whitequark> I think libboard needs to be split into libboard and libartiq_board
<whitequark> I'm about to do that
<sb0> whitequark, is it the most urgent thing to do right now?
<sb0> libboard would also have to move to misoc
<whitequark> why?
<sb0> then there is still the unresolved lm32 question
<whitequark> bios and the ARTIQ bootloader can coexist
<sb0> you want to put another alternative bootloader just into artiq?
<sb0> sigh
<whitequark> it can migrate to misoc once the lm32 question gets resolved
<whitequark> I would *very* much like to be able to e.g. grab the core device log via TCP after a panic
<whitequark> or even have a ring buffer with the last received network packets or something like that
<sb0> hmm ok
<whitequark> and you mentioned some horrifying hacks to get ethernet working in bios on sayma, right?
<whitequark> si5324 and something
<whitequark> that is very easy if it can just depend on libboard
<sb0> I think we won't need those
<whitequark> good.
<bb-m-labs> build #994 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/994
<GitHub167> [smoltcp] whitequark commented on issue #109: TCP checksum offload. https://github.com/m-labs/smoltcp/issues/109#issuecomment-354228025
<GitHub23> [smoltcp] whitequark pushed 1 new commit to master: https://github.com/m-labs/smoltcp/commit/d1ac62c2a2c2768420ff62bf5de7dc36e9ff024a
<GitHub23> smoltcp/master d1ac62c 寧靜: Update examples/tcpdump.rs.
<GitHub72> [smoltcp] whitequark closed pull request #108: Update tcpdump.rs (master...patch-1) https://github.com/m-labs/smoltcp/pull/108
<whitequark> hahaha, CJK author name
<whitequark> I wonder how much software will this break. can y'all's terminals render those?
<sb0> works fine here
<sb0> (konsole)
<whitequark> yeah, konsole here too
<whitequark> but linux is good at utf-8
<sb0> kde + new firefox is faster and less buggy than gnome3 + chrome I was using before
<sb0> sometimes software gets better with time, amazingly
<whitequark> mozilla has spent like four years ("project quantum") on making firefox faster
<whitequark> that includes rust components
<whitequark> i don't know what happened in kde but kde 5, to my great surprise, is actually a usable DE
<cr1901_modern> I wonder if it's mostly multithread perf improvements
<travis-ci> m-labs/smoltcp#543 (master - d1ac62c : 寧靜): The build passed.
<whitequark> not only it works as a DE but it has modern features like integration with my phone (KDE Connect)
<sb0> yes, I'm quite happy with those new firefox developments, it has very little bugs too
<bb-m-labs> build #652 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/652
<whitequark> and things like bluetooth headphones and wifi work flawlessly, too
<whitequark> it can even automatically switch between speakers and bluetooth headphones once they appear
<whitequark> it's like it's made for humans!
<sb0> ah, bluetooth is still crippled with bugs here
<sb0> but that's always been the case with linux ime
<whitequark> don't you have some weird winlaptop?
<whitequark> you know, like winmodems...
<bb-m-labs> build #1872 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1872
<sb0> I do, but the driver seems OK
<sb0> also there is nothing wrong with winmodems, except they lacked documentation, and FOSS people sucked at signal processing back then. the latter issue seems to have significantly changed.
<cr1901_modern> Is winmodem support not shit anymore?
<whitequark> ah, okay
<sb0> from a purist FOSS perspective, winmodems are actually a good thing: it can replace proprietary DSP with free software
<cr1901_modern> Support for them was awful the last time I tried it (2011s) and I figured they would've gone the way of the dodo by now
<whitequark> well yes, we have LTE modems now, which have linux with way more proprietary DSP on them
<whitequark> in a way it's even worse
<whitequark> sb0: am I right in that I can make a "bitstream" that solely sets the USR_ACCESS primitive?
<sb0> whitequark, from my understanding of xilinx architecture yes
<whitequark> ok
<sb0> try using rjo3's python tool
<sb0> but this will have to be supported on ultrascale (sayma), artix-7 (kasli), and kintex-7 (kc705)
<whitequark> yes, I have that in open tabs
<sb0> sounds like a bit of hassle
<whitequark> well
<whitequark> I guess, but I want to have a reliable debug/boot/flash flow
<whitequark> right now e.g. if the firmware goes into a bootloop, it's a pain
<whitequark> I have to go do the typical embedded recovery shit
<bb-m-labs> build #995 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/995 blamelist: whitequark <whitequark@whitequark.org>
<bb-m-labs> build #1873 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1873 blamelist: whitequark <whitequark@whitequark.org>
<whitequark> sb0: how about a magic UDP packet that asserts CPU reset and flips a flag somewhere in ethmac registers?
<whitequark> the BIOS would put the MAC address into another ethmac register so that it'll know when to trigger
<GitHub161> [smoltcp] dlrobertson opened pull request #110: Add Timestamp type (master...add_timestamp) https://github.com/m-labs/smoltcp/pull/110
<GitHub136> [smoltcp] whitequark commented on pull request #110 728415e: Ummmm, no. The *whole point* of having newtypes here is so that *timestamps* (absolute) and *intervals* (relative) cannot be accidentally mixed (which happened several times). https://github.com/m-labs/smoltcp/pull/110#discussion_r158898150
<GitHub126> [smoltcp] dlrobertson commented on issue #110: I wanted to get feedback on the actual `Timestamp` structure before substituting all of the `timestamp: u64` locations with it. I wasn't entirely sure what all of the requirements were for this type. At the moment the assumption is that it is a little more than a fancy integer. https://github.com/m-labs/smoltcp/pull/110#issuecomment-354230063
<GitHub117> [smoltcp] whitequark commented on pull request #110 728415e: Look at how libstd implements this. We need more or less the same thing, but simpler (it only has to handle milliseconds, and it doesn't have to hide its internals quite as ardently). https://github.com/m-labs/smoltcp/pull/110#discussion_r158898188
<GitHub150> [smoltcp] LuoZijun commented on issue #109: @whitequark ... https://github.com/m-labs/smoltcp/issues/109#issuecomment-354230159
<GitHub153> [smoltcp] LuoZijun commented on issue #109: @whitequark ... https://github.com/m-labs/smoltcp/issues/109#issuecomment-354230159
<GitHub36> [smoltcp] LuoZijun commented on issue #109: @whitequark ... https://github.com/m-labs/smoltcp/issues/109#issuecomment-354230159
<GitHub58> [smoltcp] whitequark commented on issue #109: Google "TCP checksum offload". Basically, the OS puts zero in the checksum field, and since tcpdump is receiving packets from the OS, it also gets packets with such timestamps. But the NIC, before transmitting the packet, calculates the actual timestamp and substitutes it just in time. https://github.com/m-labs/smoltcp/issues/109#issuecomment-354230256
<GitHub161> [misoc] whitequark pushed 2 new commits to master: https://github.com/m-labs/misoc/compare/4126dedf24e9...c69cb371ad62
<GitHub161> misoc/master e0bbe81 whitequark: software: export environment variables for the Rust cc crate.
<GitHub161> misoc/master c69cb37 whitequark: software: use rm -rf to remove build artifacts....
<GitHub99> [smoltcp] LuoZijun commented on issue #109: okay, thank u let me know that.... https://github.com/m-labs/smoltcp/issues/109#issuecomment-354230710
<bb-m-labs> build #322 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/322
<GitHub36> [smoltcp] whitequark commented on issue #109: Yes, hypervisors are typically capable of handling checksum offload. https://github.com/m-labs/smoltcp/issues/109#issuecomment-354230880
<GitHub153> [smoltcp] whitequark closed issue #109: About example tcpdump https://github.com/m-labs/smoltcp/issues/109
<GitHub82> [artiq] whitequark pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/7687a34285e3...c626456030a3
<GitHub82> artiq/master b443fbd whitequark: runtime: remove #[repr(simd)] hack.
<GitHub82> artiq/master c626456 whitequark: conda: bump misoc dependency.
<sb0> whitequark, I thought this was for the buildbot?
<whitequark> sb0: what was?
<sb0> the USR_ACCESS thing
<whitequark> oh
<whitequark> it's for several things
<whitequark> hmm, now that I think about it, you're right
<whitequark> UDP packet is useful for debugging and USR_ACCESS is useful for buildbot
<whitequark> if only it wasn't as annoying to make these bitstreams... hm
<GitHub104> [smoltcp] dlrobertson commented on pull request #110 728415e: > Ummmm, no. The whole point of having newtypes here is so that timestamps (absolute) and intervals (relative)... https://github.com/m-labs/smoltcp/pull/110#discussion_r158899037
<GitHub171> [smoltcp] dlrobertson commented on pull request #110 728415e: like libstd's `Duration` and `Timespec` https://github.com/m-labs/smoltcp/pull/110#discussion_r158899050
<GitHub35> [smoltcp] whitequark commented on pull request #110 728415e: Exactly. https://github.com/m-labs/smoltcp/pull/110#discussion_r158899054
<sb0> whitequark, try it, maybe the difference between the three FPGAs is not that big
<sb0> whitequark, by the way, having TCP in BIOS would also enable easy tunneling over TCP of microscope LA data
<whitequark> sure
<sb0> plus logging over ethernet, i.e. you would not need the uart anymore, except if ethernet is broken
<whitequark> yes. that's the idea. have a single BIOS TCP endpoint that lets you do everything.
<sb0> put a webserver in it! ;)
<whitequark> won't fit in 65k I think
<whitequark> let's see how smoltcp really is...
<sb0> yeah, kidding.
<whitequark> but now I'm curious.
<sb0> by the way: when flash is broken, which happened with sayma (of course), we need to fit the BIOS inside the FPGA
<sb0> in this case, TCP probably should be disabled
<whitequark> sure, it can be a feature
<bb-m-labs> build #996 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/996
luozijun has joined #m-labs
luozijun_ has joined #m-labs
luozijun has quit [Client Quit]
luozijun_ has quit [Client Quit]
luozijun has joined #m-labs
<whitequark> sb0: also, there's no reason the TCP protocol cannot be run over serial.
<whitequark> so you could get the same result even without ethernet, just by using socat /dev/ttyUSB ...
<whitequark> the magic of high-level languages...
<whitequark> sb0: what is the "cdelay" function in sdram.c?
<whitequark> it doesn't actually delay for `i` cycles, since there are at least four instructions per cycle involved
<whitequark> in fact you don't even need that nop, you can just do __asm__ volatile("");
<sb0> whitequark, it delays for at least i cycles
<sb0> obviously with a huge margin
<whitequark> ok
luozijun has quit [Remote host closed the connection]
<GitHub7> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/6801921fc067147631efb28561f52d46f97b4752
<GitHub7> artiq/master 6801921 Sebastien Bourdeauducq: drtio: instrument GTH transceiver
<sb0> whitequark, you broke satman again
<GitHub47> [artiq] whitequark pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/ca419aa3c23c1466811f8998a12b1d0f2c86f741
<GitHub47> artiq/master ca419aa whitequark: firmware: split out libboard_artiq from libboard.
<sb0> cargo/or1k-unknown-none/debug/libsatman.a(vectors.o): In function `_cache_init':
<sb0> /home/sb/artiq_drtio/artiq/firmware/libboard/vectors.S:269: multiple definition of `_cache_init'
<sb0> ../libbase/crt0-or1k.o:(.text+0x1154): first defined here
<sb0> Makefile:15: recipe for target 'satman.elf' failed
<whitequark> moment
<whitequark> sb0: how do you test satman builds?
<sb0> build the sayma_amc_drtio_satellite target
<bb-m-labs> build #653 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/653
<bb-m-labs> build #1874 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1874
<whitequark> sb0: migen.build.generic_platform.ConstraintError: Resource not found: sfp_tx_disable_n:0
<sb0> update migen
<sb0> whitequark,
<sb0> cargo/or1k-unknown-none/debug/libruntime.a(runtime-8b379030d5675146.runtime0.rust-cgu.o): In function `backtrace_artiq::backtrace<closure>':
<sb0> /home/sb/artiq_drtio/artiq/firmware/libbacktrace_artiq/lib.rs:25: undefined reference to `_Unwind_Backtrace'
<sb0> hmm, git submodules didn't update
<sb0> as usual submodules never work
<sb0> okay fixed
<whitequark> sb0: uhm
luozijun has joined #m-labs
<whitequark> git config fetch.recurseSubmodules on-demand
<whitequark> git config push.recurseSubmodules on-demand
<whitequark> --global etc
<GitHub8> [artiq] sbourdeauducq closed issue #858: Gateware bitstream build fail on artiq 2.5, recipe for target 'libunwind.o' failed https://github.com/m-labs/artiq/issues/858
luozijun has quit [Ping timeout: 264 seconds]
<GitHub60> [artiq] whitequark pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/ca419aa3c23c...3b18ece3b788
<GitHub60> artiq/master d3066e5 whitequark: firmware: oops, misoc #[cfg]s were missing from libboard_artiq.
<GitHub60> artiq/master 3b18ece whitequark: satman: update for changes in firmware elsewhere.
<whitequark> sb0: satman fixed
<sb0> thanks
luozijun has joined #m-labs
<bb-m-labs> build #997 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/997
<sb0> whitequark, well now it's the drtio runtime that is broken...
<sb0> I'll fix it
<GitHub73> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/4ea801b2ea4267f79d8839e79a67f6dc62eddb83
<GitHub73> artiq/master 4ea801b Sebastien Bourdeauducq: firmware: si5324 moved to board_artiq
luozijun has quit [Ping timeout: 256 seconds]
<bb-m-labs> build #1875 of artiq is complete: Failure [failed python_coverage_1] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1875 blamelist: whitequark <whitequark@whitequark.org>, Sebastien Bourdeauducq <sb@m-labs.hk>
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 265 seconds]
<sb0> whitequark, sayma runtime with sawg is broken too
<sb0> whitequark, please test those things. sayma is enough of a pain on its own already.
<whitequark> sb0: there are way too many configurations and none of them are tested on CI.
<whitequark> I told you we need to do that...
<whitequark> well anyway, I don't plan any more refactoring like that
<sb0> error[E0432]: unresolved import `clock`
<sb0> --> /home/sb/artiq_drtio/artiq/firmware/libboard_artiq/ad9154.rs:2:5
<sb0> | ^^^^^ no `clock` in the root
<sb0> 2 | use clock;
<sb0> |
<sb0> error[E0432]: unresolved import `csr`
<sb0> --> /home/sb/artiq_drtio/artiq/firmware/libboard_artiq/hmc830_7043.rs:120:9
<sb0> |
<sb0> 120 | use csr;
<sb0> | ^^^ no `csr` in the root
<whitequark> how do I build this one?
<sb0> artiq/gateware/targets/sayma_amc_standalone.py --with-sawg
<sb0> nb: if you let it run, that's almost 2 hours of the vivado trash grinding its bits
<whitequark> of course I only build the firmware...
<whitequark> I don't even have vivado locally, I don't have enough time to waste it on that
<whitequark> this laptop will probably spend more than 2 hours too
<sb0> ah and you need to build sayma_rtm before (just the CSV)
<bb-m-labs> build #998 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/998
<sb0> _florent_, the CPLL does not lock
luozijun has joined #m-labs
<bb-m-labs> build #654 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/654
<whitequark> sb0: fixed
<GitHub107> [artiq] whitequark pushed 3 new commits to master: https://github.com/m-labs/artiq/compare/4ea801b2ea42...fcc438524c38
<GitHub107> artiq/master 8f33061 whitequark: firmware: fix sayma_amc_standalone build with sawg.
<GitHub107> artiq/master 1b9b560 whitequark: firmware: use libbuild_misoc in libdrtioaux. NFC.
<GitHub107> artiq/master fcc4385 whitequark: firmware: use main.rs as the root source for non-library crates. NFC.
<bb-m-labs> build #1876 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1876
<bb-m-labs> build #1877 of artiq is complete: Exception [exception interrupted conda_remove] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1877 blamelist: whitequark <whitequark@whitequark.org>
luozijun has quit [Ping timeout: 252 seconds]
<GitHub164> [artiq] whitequark pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/d94db1de5dbf8b183c57ef3cdb93daf7b1b8a57d
<GitHub164> artiq/master d94db1d whitequark: Revert accidentally committed parts of 1b9b5602.
<GitHub20> [microscope] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/microscope/commit/2812bd029584fbbbd2ce26d5091538b54bba86fb
<GitHub20> microscope/master 2812bd0 Sebastien Bourdeauducq: add ProbeAsync
<GitHub15> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/c0861497824a2fd458a5f8df0092ef1a06d72539
<GitHub15> artiq/master c086149 Sebastien Bourdeauducq: drtio/gth: use async microscope probes
<GitHub92> [microscope] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/microscope/commit/6320503525a283e2277cca542a59a95af09616ee
<GitHub92> microscope/master 6320503 Sebastien Bourdeauducq: import add_probe_async by default
luozijun has joined #m-labs
<GitHub41> [microscope] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/microscope/commit/66951df1b9766781e5d44a448b071baefe0b21f6
<GitHub41> microscope/master 66951df Sebastien Bourdeauducq: add support for ProbeAsync in config
<sb0> Compiling logger_artiq v0.0.0 (file:///home/sb/artiq_drtio/artiq/firmware/liblogger_artiq)
<sb0> note: link against the following native artifacts when linking against this static library
<sb0> note: This list will not be printed by default. Please add --print=native-static-libs if you need this information
<sb0> why does it print this "note"?
<whitequark> it's an issue
<whitequark> it is fixed in rustc 1.24.0
<bb-m-labs> build #999 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/999
luozijun has quit [Ping timeout: 272 seconds]
luozijun has joined #m-labs
<whitequark> sb0: > for(i=0;i<DFII_PIX_DATA_SIZE/2;i++) {
<whitequark> why /2 ?
luozijun has quit [Ping timeout: 248 seconds]
<sb0> I don't remember off the top of my head. DDR maybeß
<sb0> ?
<sb0> it would simply seem that whatever the definition of DFII_PIX_DATA_SIZE is, DFII_PIX_DATA_SIZE/2 is the number of DQS lines
<whitequark> ahhh
<bb-m-labs> build #655 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/655
<GitHub56> [misoc] sbourdeauducq pushed 2 new commits to master: https://github.com/m-labs/misoc/compare/c69cb371ad62...9910f54c8786
<GitHub56> misoc/master 9910f54 Sebastien Bourdeauducq: liteeth/mii: use explicit BUFG clock buffers
<GitHub56> misoc/master 60e0bc1 Sebastien Bourdeauducq: liteeth: move board-specific code away
<bb-m-labs> build #1878 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1878
<whitequark> this ddr stuff is some high test black magic
<whitequark> it doesn't help that it's written in fairly convoluted C...
<sb0> it's not black magic
<sb0> just not thoroughly documented
<sb0> the write leveling procedure is, though, in micron datasheets
<bb-m-labs> build #323 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/323
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 256 seconds]
<whitequark> sb0: ohhhhh
<whitequark> you need write levelling because DQ/DQS is point-to-point and CA is a shared bug
<sb0> CA?
<sb0> ah shared bus
<sb0> yes
<sb0> that's how DDR3 works, this is explained in much detail in micron docs
<whitequark> I don't want much detail, I just want an overview
<whitequark> that's enough for now...
<bb-m-labs> build #1000 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1000
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 272 seconds]
<GitHub123> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/8153cfa88fccabbd3ed00e45398c9bebea86fab3
<GitHub123> artiq/master 8153cfa Sebastien Bourdeauducq: drtio/gth: add probes on {tx,rx}_init.done
luozijun has joined #m-labs
<bb-m-labs> build #656 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/656
luozijun has quit [Ping timeout: 264 seconds]
<bb-m-labs> build #1879 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1879
<sb0> whitequark, can you go over the si5324 code and check that it does enable both outputs?
<sb0> at least we have a si5324 and not some other incompatible beast that greg or joe found, but the clock output connection to the fpga of course had to be made incompatible
<GitHub35> [microscope] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/microscope/commit/bf14ecc118db5008c54e078b301b933cb955b91b
<GitHub35> microscope/master bf14ecc Sebastien Bourdeauducq: demo: add another single probe
<bb-m-labs> build #1001 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1001
<whitequark> sb0: let me finish what I'm doing and I'll do that
<bb-m-labs> build #657 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/657
luozijun has joined #m-labs
<bb-m-labs> build #1880 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1880
<sb0> oh this is fucking amazing
<sb0> the vivado trash miscompiles microscope on sayma
<sb0> is there any SINGLE fucking thing that works on this board without 2 months of yak shaving?
luozijun has quit [Ping timeout: 240 seconds]
<sb0> this is 2017.2. anyone has the latest version?
<sb0> ah, they have 30-day evaluations...
<sb0> this ultrascale stuff is such a pile of rubbish
<sb0> 38GB for a minimal installation
<whitequark> wtf
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 240 seconds]
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 246 seconds]
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 248 seconds]
<larsc> the more byte, the more value, obviously
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 248 seconds]
<whitequark> new bootloader.
<whitequark> though, right now there's nothing ARTIQ-specific in it...
<larsc> "Reverse Engineering FPGAs" in 5 minutes at http://streaming.media.ccc.de/34c3/hallc
luozijun has joined #m-labs
luozijun has quit [Read error: Connection reset by peer]
<whitequark> moment of truth...
<GitHub112> [artiq] whitequark pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/8153cfa88fcc...acd13837ffdc
<GitHub112> artiq/master b9754e7 whitequark: firmware: deduplicate libbuild_misoc and libbuild_artiq.
<GitHub112> artiq/master acd1383 whitequark: firmware: implement the new bootloader.
<whitequark> sb0: si5324 code in sayma, right?
<whitequark> bb-m-labs: stop build artiq
<bb-m-labs> try 'stop build WHICH <REASON>'
<whitequark> bb-m-labs: stop build artiq meh
<bb-m-labs> build 1881 interrupted
<bb-m-labs> build #1881 of artiq is complete: Exception [exception interrupted] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1881 blamelist: whitequark <whitequark@whitequark.org>
luozijun has joined #m-labs
<GitHub71> [misoc] whitequark pushed 1 new commit to master: https://github.com/m-labs/misoc/commit/9b3ccd9ccf1c00ef381e78eced653d82599a9b75
<GitHub71> misoc/master 9b3ccd9 whitequark: integration: make spin_cycles pub in sdram_phy.rs.
luozijun has quit [Ping timeout: 264 seconds]
luozijun has joined #m-labs
rjo3 is now known as rjo
luozijun has quit [Ping timeout: 260 seconds]
<rjo> i'm back. working on spi now.
<bb-m-labs> build #324 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/324
<GitHub109> [artiq] whitequark pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/a9ad4f08e9b64cdb4ca0d42ccfb728b336019a5f
<GitHub109> artiq/master a9ad4f0 whitequark: conda: bump misoc dependency.
luozijun has joined #m-labs
luozijun has quit [Read error: Connection reset by peer]
d_n|a has joined #m-labs
<d_n|a> sb0: Just out of curiosity, what was the miscompilation issue on the Ultrascale?
<bb-m-labs> build #1002 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1002
d_n|a_ has joined #m-labs
d_n|a has quit [Ping timeout: 248 seconds]
<bb-m-labs> build #658 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/658
<whitequark> sb0: the smallest smoltcp configuration is 44kB, bringing the total to 70kB
<whitequark> just over 1 sector.
<whitequark> so I think we should enlarge the space for BIOS by 1 more sector in 3.2 too.
<bb-m-labs> build #1882 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1882
luozijun has joined #m-labs
luozijun has quit [Read error: Connection reset by peer]
<GitHub175> [artiq] whitequark pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/a9ad4f08e9b6...33e0393e4ad0
<GitHub175> artiq/master 55cfdec whitequark: firmware: enlarge bootloader partition to 4 sectors.
<GitHub175> artiq/master 33e0393 whitequark: firmware: move mod ethmac to libboard.
<whitequark> bb-m-labs: stop build artiq needs conda update
<bb-m-labs> build 1883 interrupted
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 256 seconds]
<bb-m-labs> build #1003 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1003
<bb-m-labs> build #1883 of artiq is complete: Exception [exception] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1883 blamelist: whitequark <whitequark@whitequark.org>
<GitHub42> [misoc] whitequark pushed 1 new commit to master: https://github.com/m-labs/misoc/commit/eba459e9dc39cfb85a9e72622916f7032286e906
<GitHub42> misoc/master eba459e whitequark: targets: adjust flash_boot_address to expand bootloader partition.
<bb-m-labs> build #325 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/325
<GitHub110> [artiq] whitequark pushed 3 new commits to master: https://github.com/m-labs/artiq/compare/33e0393e4ad0...35058781769d
<GitHub110> artiq/master 6d0168e whitequark: conda: bump misoc dependency.
<GitHub110> artiq/master 3505878 whitequark: bootloader: add basic network support.
<GitHub110> artiq/master d2687ce whitequark: firmware: fix a typo replacing spiflash::SECTOR_SIZE with PAGE_SIZE.
<GitHub98> [artiq] whitequark commented on commit 55cfdec: This should go into 3.2 too. https://github.com/m-labs/artiq/commit/55cfdec644d953ce31ef9a04ccbfeabfd2f6eb58#commitcomment-26520596
<whitequark> sb0: you said this will take long. took me just one day to add sdram and network support...
luozijun has joined #m-labs
luozijun has quit [Read error: Connection reset by peer]
d_n|a_ has quit [Ping timeout: 240 seconds]
<bb-m-labs> build #1004 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1004
<GitHub144> [misoc] jordens pushed 1 new commit to master: https://github.com/m-labs/misoc/commit/1dc68b0d0b19ecb35878d345034b2f0853a10bb8
<GitHub144> misoc/master 1dc68b0 Robert Jordens: spi: register clk output, close #65...
<GitHub71> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/37f9c0b10c47a826b88bd6ff6cb9551f80e49e34
<GitHub71> artiq/master 37f9c0b Robert Jordens: spi: register clk...
<GitHub48> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/605da18684bd73a81a48f51c602f542451bfbfcf
<GitHub48> artiq/master 605da18 Robert Jordens: conda/artiq-dev: bump misoc (spi)
<bb-m-labs> build #326 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/326
<bb-m-labs> build #659 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/659
<bb-m-labs> build #1884 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1884
luozijun has joined #m-labs
luozijun has quit [Read error: Connection reset by peer]
<bb-m-labs> build #1005 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1005
<bb-m-labs> build #660 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/660
<bb-m-labs> build #1885 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1885
d_n|a has joined #m-labs
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 240 seconds]
<sb0> whitequark, there is only one si5324 code, but yes, this is for sayma
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 248 seconds]
mumptai has joined #m-labs
<sb0> bb-m-labs, force build artiq
<bb-m-labs> build forced [ETA 34m24s]
<bb-m-labs> I'll give a shout when the build finishes
<sb0> trying the new vivado
<cr1901_modern> sb0: Do you know whether Xilinx FPGAs put the SPI flash into deep sleep mode after loading the bitstream?
<rjo> cr1901_modern: they don't
<cr1901_modern> Okay, thank you. That's actually very important info
<rjo> cr1901_modern: at least not into a mode that requires any particular wake up sequence.
<cr1901_modern> ice40 FPGAs _do_ and this breaks a SoC mithro wanted me to design
<rjo> cr1901_modern: i'd expect that to be an option that you can turn off.
<mithro> cr1901_modern: I believe _florent_ is also working on this, you should make sure you are collaborating with him
<cr1901_modern> mithro: Yes, we've been talking in privmsg
<mithro> cr1901_modern: You should chat in the channel so I can follow along :-P
<cr1901_modern> rjo: If it is a toggle-able option, it's not documented: http://www.clifford.at/icestorm/format.html
<cr1901_modern> mithro: Fair
<sb0> okay, vivado 2017.4 is still a piece of trash
<sb0> ah, what a great idea it was to put this ultrascale garbage on the boards
<GitHub75> [microscope] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/microscope/commit/ddfdff2af2a64f48d918c9a74d325205da9757d7
<GitHub75> microscope/master ddfdff2 Sebastien Bourdeauducq: fix imux.sel loading
<GitHub179> [artiq] sbourdeauducq pushed 4 new commits to release-3: https://github.com/m-labs/artiq/compare/00c9b20d1ea1...4ae93d4fd82a
<GitHub179> artiq/release-3 e6306b7 whitequark: firmware: fix a typo replacing spiflash::SECTOR_SIZE with PAGE_SIZE.
<GitHub179> artiq/release-3 14a90e5 Sebastien Bourdeauducq: firmware: enlarge bootloader partition to 4 sectors.
<GitHub179> artiq/release-3 66d1647 Robert Jordens: spi: register clk
<bb-m-labs> build #1006 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1006
<bb-m-labs> build #1886 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1886
<GitHub104> [microscope] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/microscope/commit/46747b9fba22eaae109e96614863b4a81dc24e72
<GitHub104> microscope/master 46747b9 Sebastien Bourdeauducq: increase timeout
<bb-m-labs> build #1007 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1007 blamelist: whitequark <whitequark@whitequark.org>, Robert Jordens <rj@m-labs.hk>, Sebastien Bourdeauducq <sb@m-labs.hk>
<bb-m-labs> build #1887 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1887 blamelist: whitequark <whitequark@whitequark.org>, Robert Jordens <rj@m-labs.hk>, Sebastien Bourdeauducq <sb@m-labs.hk>
d_n|a has quit [Ping timeout: 240 seconds]
<cr1901_modern> rjo: I lied, it is documented in Lattice's manuals; thanks for the hint.
<cr1901_modern> Idk if the FOSS tools support it as-is though
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 265 seconds]
<sb0> rjo, how you much do you care about this output coloring?
<sb0> only python 3.6 seems to have a nice way to deal with this bug
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 240 seconds]
<rjo> sb0: quite a bit. why?
<rjo> sb0: assuming you mean the xilinx output coloring.
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 265 seconds]
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 272 seconds]
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 268 seconds]
<GitHub3> [smoltcp] dlrobertson commented on issue #110: Still need to fill out the `TimeInterval` type, but is this more like what we're looking for? https://github.com/m-labs/smoltcp/pull/110#issuecomment-354354708
luozijun has joined #m-labs
<GitHub195> [artiq] jordens commented on issue #860: m-labs/misoc#65 is fixed https://github.com/m-labs/artiq/issues/860#issuecomment-354356771
luozijun has quit [Ping timeout: 265 seconds]
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 248 seconds]
d_n|a has joined #m-labs
<GitHub143> [smoltcp] jordens commented on pull request #110 ae84b39: Are the ~600 years range of a plain `u64` nanoseconds not enough? https://github.com/m-labs/smoltcp/pull/110#discussion_r159001311
<GitHub41> [migen] jordens pushed 1 new commit to master: https://github.com/m-labs/migen/commit/e459800124ce5bc3cf887791f91ddbf470d726a9
<GitHub41> migen/master e459800 Robert Jordens: tools: make coloring robust w.r.t. encoding...
<GitHub99> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/f26d08fed3f0b63fde35997d8a1dabe2d918339e
<GitHub99> artiq/master f26d08f Robert Jordens: conda/artiq-dev: bump migen (color vivado 2017.4)
<bb-m-labs> build #223 of migen is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/migen/builds/223
<GitHub43> [smoltcp] dlrobertson commented on pull request #110 ae84b39: My goal here was to implement something similar to `Timespec` and `Duration` from libstd. This is what `Timespec` and `Duration` do, so it is what I used. We certainly could use `TimeStamp(u64)`, but it wasn't that much work to add a seconds and nanoseconds member and most other implementations I found use something like this instead of `TimeStamp(u64)`
<bb-m-labs> build #1008 of artiq-board is complete: Exception [exception interrupted] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1008 blamelist: Robert Jordens <rj@m-labs.hk>
<bb-m-labs> build #1888 of artiq is complete: Exception [exception] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1888 blamelist: Robert Jordens <rj@m-labs.hk>
d_n|a has quit [Remote host closed the connection]
<GitHub178> [migen] jordens pushed 1 new commit to master: https://github.com/m-labs/migen/commit/8d68a3df38bc052d28f08c1504b014c9303abe29
<GitHub178> migen/master 8d68a3d Robert Jordens: build/tools: ignore bad encoding when coloring...
<bb-m-labs> build #1009 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1009
<bb-m-labs> build #1889 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1889
<rjo> "WARNING: [Synth 8-6040] Register �_r driving address of a ROM cannot be packed in BRAM/URAM because of presence of initial value." including the messed up name...
<bb-m-labs> build #224 of migen is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/migen/builds/224
<GitHub195> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/6f27ca81fb665c6dd060e762bb305c7a0b6d04d0
<GitHub195> artiq/master 6f27ca8 Robert Jordens: conda/artiq-dev: bump migen (color xilinx, colorama)
<bb-m-labs> build #1010 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1010 blamelist: Robert Jordens <rj@m-labs.hk>
<bb-m-labs> build #1890 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1890 blamelist: Robert Jordens <rj@m-labs.hk>
luozijun has joined #m-labs
luozijun has quit [Ping timeout: 240 seconds]