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
fengling has joined #m-labs
<GitHub179> [rust] whitequark pushed 2 new commits to artiq: https://github.com/m-labs/rust/compare/0095fa4f3db8...f157a76528cd
<GitHub179> rust/artiq 1f64a15 whitequark: Add a min_atomic_width target option, like max_atomic_width....
<GitHub179> rust/artiq f157a76 whitequark: Bring back atomics to OR1K.
<GitHub92> [conda-recipes] whitequark pushed 3 new commits to master: https://github.com/m-labs/conda-recipes/compare/58da0701d9c0...73b858f58d46
<GitHub92> conda-recipes/master 4938e1a whitequark: llvm-or1k: revert to 3.8, bump.
<GitHub92> conda-recipes/master 4e27a34 whitequark: rustc: bump.
<GitHub92> conda-recipes/master 73b858f whitequark: rust-core-or1k: bump.
<GitHub87> [llvm-or1k] whitequark pushed 4 new commits to artiq-3.8: https://github.com/m-labs/llvm-or1k/compare/8fd03fddaa86...362c273eda40
<GitHub87> llvm-or1k/artiq-3.8 7f40dc3 whitequark: [OR1K] Fix formatting in tablegen files (NFC).
<GitHub87> llvm-or1k/artiq-3.8 57c370d whitequark: [OR1K] Emit atomic_{load_{add,sub,and,or,xor,nand},swap,cmp_swap}_32....
<GitHub87> llvm-or1k/artiq-3.8 8e20a5d whitequark: [OR1K] Rename _r[ri] in multiclasses to #NAME#{,I}....
<whitequark> bb-m-labs: force build --props=package=llvm-or1k conda-all
<bb-m-labs> build forced [ETA 8m19s]
<bb-m-labs> I'll give a shout when the build finishes
<whitequark> bb-m-labs: force build --props=package=rustc conda-lin64
<whitequark> bb-m-labs: force build --props=package=rust-core-or1k conda-lin64
<bb-m-labs> The build has been queued, I'll give a shout when it starts
<bb-m-labs> The build has been queued, I'll give a shout when it starts
<whitequark> rjo: I looked at the mork1x implementation and partword accesses are safe, because it snoops the store buffer with 4-byte-granularity
<whitequark> the ISA does not imply that it is safe, since it uses EA[31:0]
<bb-m-labs> build #198 of conda-lin64 is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/198
<bb-m-labs> build forced [ETA 14m16s]
<bb-m-labs> I'll give a shout when the build finishes
<whitequark> bb-m-labs: force build --props=package=llvm-or1k conda-all
<bb-m-labs> build forced [ETA 8m19s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #199 of conda-lin64 is complete: Exception [exception interrupted] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/199
<bb-m-labs> build #200 of conda-lin64 is complete: Exception [exception interrupted] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/200
<bb-m-labs> build #70 of conda-all is complete: Exception [exception] Build details are at http://buildbot.m-labs.hk/builders/conda-all/builds/70
<GitHub52> [conda-recipes] whitequark pushed 1 new commit to master: https://github.com/m-labs/conda-recipes/commit/b8a9e1761d9ce485647c01ff62d5e3fe632d1bcb
<GitHub52> conda-recipes/master b8a9e17 whitequark: llvm-or1k: pin clang checkout to 3.8.
<whitequark> bb-m-labs: force build --props=package=llvm-or1k conda-lin64
<bb-m-labs> build forced [ETA 14m16s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #201 of conda-lin64 is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/201
<whitequark> bb-m-labs: force build --props=package=llvm-or1k conda-lin64
<bb-m-labs> build forced [ETA 14m16s]
<bb-m-labs> I'll give a shout when the build finishes
<GitHub185> [conda-recipes] whitequark force-pushed master from b8a9e17 to 0727eab: https://github.com/m-labs/conda-recipes/commits/master
<GitHub185> conda-recipes/master 0727eab whitequark: llvm-or1k: pin clang checkout to 3.8.
<whitequark> bb-m-labs: force build --props=package=rustc conda-lin64
<bb-m-labs> The build has been queued, I'll give a shout when it starts
<bb-m-labs> build #144 of conda-win64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-win64/builds/144
<bb-m-labs> build #153 of conda-win32 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-win32/builds/153
<bb-m-labs> build #69 of conda-all is complete: Exception [exception] Build details are at http://buildbot.m-labs.hk/builders/conda-all/builds/69
<sb0> kcu105 has arrived
<bb-m-labs> build #202 of conda-lin64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/202
<bb-m-labs> build forced [ETA 31m41s]
<bb-m-labs> I'll give a shout when the build finishes
<whitequark> sb0: are you using kc705?
<whitequark> ah, no
<GitHub108> [conda-recipes] whitequark pushed 1 new commit to master: https://github.com/m-labs/conda-recipes/commit/2e2fbec688dc1a90bf445ad9c276b9101a8ead87
<GitHub108> conda-recipes/master 2e2fbec whitequark: rust-core-or1k: pin to exact rustc build.
<sb0> no, go ahead
<bb-m-labs> build #203 of conda-lin64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/203
<whitequark> bb-m-labs: force build --props=package=rust-core-or1k conda-lin64
<bb-m-labs> build forced [ETA 44m39s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #204 of conda-lin64 is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/204
<whitequark> soooo.... you can do a relational dependency on the version in conda, but not build numebr
<whitequark> and conda won't look into the repository if a local package exists
<whitequark> so, either you waste a lot of time downloading everything over and over, or you waste slightly less time updating the exact dependencies every time you bump a build number for fixing a bug, or you manage its cache manually
<whitequark> such a great design
<whitequark> bb-m-labs: force build --props=package=rust-core-or1k conda-lin64
<bb-m-labs> build forced [ETA 44m39s]
<bb-m-labs> I'll give a shout when the build finishes
<GitHub123> [conda-recipes] whitequark pushed 1 new commit to master: https://github.com/m-labs/conda-recipes/commit/c7181cf7e79edae626eb83a7e0846b57576637b0
<GitHub123> conda-recipes/master c7181cf whitequark: rust-core-or1k: pull in llvm-or1k >=15
<bb-m-labs> build #205 of conda-lin64 is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/205
<whitequark> oh. great. that fucked me over even worse, because we build everything statically
<sb0> maybe something like a caching http proxy could help?
<GitHub88> [conda-recipes] whitequark pushed 1 new commit to master: https://github.com/m-labs/conda-recipes/commit/89cc6552f943cb73e42305b6bc26330513525cb4
<GitHub88> conda-recipes/master 89cc655 whitequark: rustc, rust-core-or1k: bump to pull in llvm-or1k 15.
<whitequark> sb0: I used to have this setup
<whitequark> it also had problems (I don't remember which exactly), and eventually I scrapped it
<whitequark> bb-m-labs: force build --props=package=rustc conda-lin64
<bb-m-labs> build forced [ETA 44m39s]
<bb-m-labs> I'll give a shout when the build finishes
<whitequark> bb-m-labs: force build --props=package=rust-core-or1k conda-lin64
<bb-m-labs> The build has been queued, I'll give a shout when it starts
mumptai has joined #m-labs
<bb-m-labs> build #206 of conda-lin64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/206
<bb-m-labs> build forced [ETA 51m39s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #207 of conda-lin64 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/207
<whitequark> rjo: ^ here's your Arc
<sb0> rjo, what about wrapper classes that can get instantiated instead of the raw TTLs in the device DB?
<sb0> they would take the latency values simply as additional parameters (along with the channel)
<sb0> what about other devices (DDS, PDQ, ...)?
<sb0> maybe not wrapper classes, but derived classes
<whitequark> sb0: the exception handler code is totally fucked
<whitequark> the only valid parameter is pc
<whitequark> all the rest contain garbage or correct register values at the wrong offsets
<whitequark> oh
<whitequark> oh, I misunderstood the layout, ok.
<whitequark> it is not fucked.
<GitHub82> [misoc] whitequark pushed 2 new commits to master: https://git.io/v6arb
<GitHub82> misoc/master 73e0c01 whitequark: libbase: implement a more verbose exception handler.
<GitHub82> misoc/master b527fdb whitequark: Rename compiler_rt to compiler-rt....
<GitHub23> [artiq] whitequark pushed 1 new commit to master: https://git.io/v6arx
<GitHub23> artiq/master 283fc90 whitequark: runtime: follow rename of compiler_rt to compiler-rt in misoc.
<bb-m-labs> build #121 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/121
<GitHub55> [artiq] sbourdeauducq pushed 1 new commit to master: https://git.io/v6aoe
<GitHub55> artiq/master 310acca Sebastien Bourdeauducq: dds: fix docstring, closes #540
<bb-m-labs> build #601 of artiq-kc705-nist_clock is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/601
<bb-m-labs> build #878 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/878
<whitequark> the same conda problem...
<whitequark> oh, surprisingly, a different one
<bb-m-labs> build #602 of artiq-kc705-nist_clock is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/602 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<bb-m-labs> build #879 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/879 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<GitHub50> [artiq] whitequark pushed 1 new commit to master: https://git.io/v6aod
<GitHub50> artiq/master 6c2ca69 whitequark: conda: require misoc 0.2.
sb0 has quit [Quit: Leaving]
<bb-m-labs> build #603 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/603
<bb-m-labs> build #880 of artiq is complete: Failure [failed python_unittest_1] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/880 blamelist: whitequark <whitequark@whitequark.org>
mumptai has quit [Remote host closed the connection]
key2 has joined #m-labs
key2 has quit [Ping timeout: 264 seconds]
key2 has joined #m-labs
<whitequark> so is there a working gdb for or1k?
<whitequark> or is that a trash fire too?
<whitequark> so far I see that it was ripped out of 7.11 or something earlier, but no version where it actually works, including the one the wiki claims does
<whitequark> ok, so there's broken upstream support, and their fork, and the wiki just lies
<whitequark> at least their fork seems to function
<rjo> whitequark: nice!
<whitequark> also I accidentally added debugging support
<whitequark> to the core device
<whitequark> well, sort of. it is more like core dumps, except nothing is dumped anywhere
<rjo> sb0: yes. that latency adjustment pattern needs to work just as well for dds/spi/pdq. (multiple) derived classes looks good to me.
<rjo> whitequark: ha. no blue screen?
<whitequark> rjo: no, I mean you can connect with gdb and introspect the death state
<whitequark> I got way too annoyed deciphering bluescreens by hand
<whitequark> it is probably not too hard to add actual debugging as well
<whitequark> rjo: yep that works
<whitequark> build or1k-elf-gdb (specifically for --target=or1k-elf; other targets don't build) and then
<whitequark> $ or1k-elf-gdb runtime.elf -ex "target remote |ssh http://lab.m-labs.hk 'socat - /dev/ttyUSB0'"
<whitequark> I know a good idiomatic expression to describe a setup with this amount of indirection, but it is too obscene to cite
sb0 has joined #m-labs
<sb0> kcu105 is up and connected to the buildserver
<sb0> haven't looked into programming it yet
<whitequark> sb0: can we raise the UART speed on the SoC by a factor of, say, 10?
<sb0> maybe
<sb0> try it...
<sb0> so the buildserver now has two KC705s, a KCU105 and a pipistrello
<rjo> yay.
<sb0> they've put a Zynq on the KCU105, in addition to the KU. they really want to sell that stuff...
<larsc> sb0: wait until you know what it's function is
<larsc> it is the power-management chip
<larsc> putting the right voltages on the FMC header
<sb0> what?
<sb0> LOL
<sb0> the KC705 already has this ridiculous power supply design with several ARM CPUs; this is another level above it
<larsc> there might be a secondary function
<larsc> but if you don't run the right fw on the zynq the FMC headers is not powered up
<larsc> s/is/are
fengling has quit [Ping timeout: 240 seconds]
<sb0> duh
<larsc> according to the documentation it is also supposed to act as an USB<->UART bridge
<larsc> and no custom fw
<larsc> 'The system controller is delivered as a black-box design that communicates with onboard
<larsc> programmable devices over an I2C interface'
<larsc> 'A Silicon Labs Si570 programmable low-jitter clock is used to provide a system clock for
<larsc> FPGA designers. Through a UART (115200-8-N-1) text interface, the system clock (Si570)
<larsc> can be set to any frequency between 10 MHz and 810 MHz.'
<larsc> I guess having to I2C to program the clock chip was too complicated for most people
<larsc> having to use I2C
flaviusb has quit [Quit: Leaving.]
<rjo> interestingly, bitstream length is exactly the same for ku025, ku035, ku040. does that tell us something?
<rjo> and also, since ku040 bitstreams exactly fill a 128 MBit flash (max for regular 24 bit adresses), i don't have to do too much mucking around with that idiotic dual-quad spi flash setup.
<rjo> ku085 bitstreams are ~40% bigger than ku095.
<sb0> yeah, most likely they have the same silicon in 25-40
<sb0> as they do for artix
<sb0> we can try to hack a ku25 into a ku40
<rjo> ha. and the jtag instruction register length is exactly 6*number_of_dies. that smells like they want that for die-based boundary scan before stacking.
sb0 has quit [Quit: Leaving]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
<whitequark> wtf
<whitequark> gdb-or1k pattern-matches function prologues generated by gcc
<whitequark> why. why would you do this. you have perfectly working debug information right here, and the routines to use it
sb0 has joined #m-labs
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
<sb0> bb-m-labs, force build artiq-kc705-nist_qc1
<bb-m-labs> build forced [ETA 11m39s]
<bb-m-labs> I'll give a shout when the build finishes
<key2> hey I managed to get sdcard to work :)
<sb0> key2, nice! :)
<sb0> I've set up the vivado ultrascale license
<sb0> in /var/lib/buildbot/.Xilinx
<bb-m-labs> build #189 of artiq-kc705-nist_qc1 is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_qc1/builds/189
<sb0> sigh.
<GitHub42> [artiq] sbourdeauducq pushed 1 new commit to master: https://git.io/v6VSO
<GitHub42> artiq/master 538d3e8 Sebastien Bourdeauducq: runtime/dds: disable dds_init_sync completely for non-9914
<sb0> bb-m-labs, force build artiq-kc705-nist_qc1
<bb-m-labs> build forced [ETA 11m39s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #190 of artiq-kc705-nist_qc1 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_qc1/builds/190
<sb0> _florent_, what is the intended separation between "core" and "frontend"
<sb0> ?
<bb-m-labs> build #604 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/604
<key2> Isn't frontend the part where you communicate with the rest of the world ? (DMA / wishbone../)
<xcombelle> +22
<bb-m-labs> build #312 of artiq-win64-test is complete: Failure [failed conda_create] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/312 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<bb-m-labs> build #881 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/881 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
mumptai has joined #m-labs
kuldeep has quit [Ping timeout: 240 seconds]
sandeepkr has quit [Ping timeout: 276 seconds]
sandeepkr has joined #m-labs
kuldeep has joined #m-labs
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
rohitksingh has joined #m-labs
key2 has quit [Ping timeout: 264 seconds]
rohitksingh has quit [Quit: Leaving.]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
mumptai has quit [Quit: Verlassend]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]