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
rohitksingh has joined #m-labs
ylamarre has quit [Quit: ylamarre]
rohitksingh has quit [Ping timeout: 276 seconds]
evilspirit has joined #m-labs
rohitksingh has joined #m-labs
<cr1901_modern> whitequark: What's liballoc? Is that a malloc you decided to write?
<whitequark> yes
<cr1901_modern> Guess openmem didn't fit your needs?
<cr1901_modern> Hrm, where is root initialized?...
<whitequark> static variables are initialized to NULL
<whitequark> openmem is too complex
<cr1901_modern> While I didn't actually know that, I was referring to how one gives root a valid initial memory address. Looks like it's in alloc_give()
<cr1901_modern> So e.g. alloc_give() would be part of the startup code I'm guessing
<whitequark> grep it...
<cr1901_modern> Should prob build a SoC. In any case, that's cool... probably one of the simplest possible mallocs!
FabM has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
bentley` has quit [Ping timeout: 255 seconds]
bentley` has joined #m-labs
acathla has quit [Ping timeout: 246 seconds]
acathla has joined #m-labs
FabM has quit [Remote host closed the connection]
FabM has joined #m-labs
acathla has quit [Quit: Coyote finally caught me]
acathla has joined #m-labs
acathla has quit [Changing host]
acathla has joined #m-labs
acathla has quit [Quit: Coyote finally caught me]
acathla has joined #m-labs
acathla has quit [Changing host]
acathla has joined #m-labs
acathla has quit [Quit: Coyote finally caught me]
evilspirit has quit [Ping timeout: 240 seconds]
acathla has joined #m-labs
acathla has quit [Changing host]
acathla has joined #m-labs
acathla has quit [Quit: Coyote finally caught me]
acathla has joined #m-labs
acathla has quit [Changing host]
acathla has joined #m-labs
acathla has quit [Client Quit]
acathla has joined #m-labs
acathla has quit [Changing host]
acathla has joined #m-labs
acathla has quit [Quit: Coyote finally caught me]
acathla has joined #m-labs
acathla has quit [Changing host]
acathla has joined #m-labs
acathla has quit [Client Quit]
acathla has joined #m-labs
acathla has quit [Changing host]
acathla has joined #m-labs
evilspirit has joined #m-labs
ylamarre has joined #m-labs
sb0 has joined #m-labs
sb0 has quit [Ping timeout: 265 seconds]
ylamarre has quit [Ping timeout: 260 seconds]
sb0 has joined #m-labs
ylamarre has joined #m-labs
sb0 has quit [Quit: Leaving]
rohitksingh has joined #m-labs
balrog has quit [Read error: Connection reset by peer]
balrog has joined #m-labs
rohitksingh has quit [Ping timeout: 250 seconds]
<rjo> cr1901_modern: the proxy bitstreams are just one register and one gate. they don't care what files you write, not do they even understand spi. it just happens that spi and jtag are pretty much the same and thus "jtagspi" for openocd is merely a flash writing and reading tool. also there it does not care what you write. it is just that the fpgas expect the raw bitstream in the flash, not the .bit (which just has a bit of trivial metadata attached to it). special
rohitksingh has joined #m-labs
<cr1901_modern> rjo: Ack. Incidentally, your bitstreams do not work with xc3sprog, but I don't have time to figure out why
<whitequark> iirc they're different for xc3sprog and openocd
<rjo> yes. that is intentional. little in the xc3sprog proxy bitstreams makes sense but is expected by xc3sprog.
<cr1901_modern> Is it documented how to build a xc3sprog bitstream? I mean, I'd love to use OpenOCD for all my JTAG needs but it does not appear to support programming Spartan 3 boards (yet)
FabM has quit [Quit: ChatZilla 0.9.92 [Firefox 43.0.4/20160105164030]]
<cr1901_modern> _florent_: It's very possible I'm misremembering, but didn't litescope use to exist as part of MiSoC? https://github.com/m-labs/misoc/search?utf8=✓&q=litescope
mumptai has joined #m-labs
rjo2 has joined #m-labs
rjo2 has quit [Client Quit]
rjo2 has joined #m-labs
<rjo2> spartan3 should not be more than a handful of tcl lines.
<cr1901_modern> rjo2: While I could still be wrong, there was something else that made me put off porting. The Spartan6 OpenOCD code relies on a specific driver that seems family-specific to actually load the code.
<cr1901_modern> rjo2: Here we go http://openocd.zylin.com/gitweb?p=openocd.git;a=blob;f=tcl/cpld/xilinx-xc6s.cfg;h=9ce7ad4918d43924bc0aa6316faf8bd53ab221cc;hb=08a32a52f7724374ef5b6966f9a6bc2e9610133d#l26
<cr1901_modern> virtex2 is the only driver supported
<rjo2> spartan6 is also not virtex2 nor is kintex7. I would just try it.
<cr1901_modern> According to the history, you wrote that line :P. But if you don't remember why, I guess I'll try and see what happens. Note that it's a PLD command
<cr1901_modern> rjo2: This is a stupid question, but... how do you get a TCL REPL in OpenOCD? XD
<cr1901_modern> Okay nevermind... it appears telnet is the proper way
<rjo2> yes. FPGA is a pld. the virtex2 thing was generic enough for s3 and s6
<rjo2> aeh. s6 And k7
<rjo2> I would guess it also works for s3
<rjo2> just starting openocd gives you a reply, iirc
<cr1901_modern> I had to open a telnet session to actually get a REPL... that's fine (on Windows). Well, I'll try s3 and see what happens, and hopefully submit a patch soon
<whitequark> sb0__: ah you're going to love my solution for that issue
evilspirit has quit [Ping timeout: 250 seconds]
<rjo2> cr1901_modern: are you doing openocd on windows for artiq?
<rjo2> is openocd on windows very painful?
<cr1901_modern> rjo2: Well, I'm doing openocd on Windows to test HDMI2USB firmware (get acquainted w/ building it), and also test-driving it for my other micros and FPGA boards.
<cr1901_modern> It's not anymore painful than any autoconf-based piece of software that assumes POSIX is the One True Standard
<cr1901_modern> To access FTDI-based chips, I have to use the Zadig driver
<cr1901_modern> well, any chip besides FT2232 (sic), where one of the channels can use the standard driver as a UART
<cr1901_modern> Whatever MSYS2 uses for terminal input and output doesn't really work all that well, so I can't actually use OpenOCD from a terminal
<cr1901_modern> I have to open a telnet session using PuTTY, which I don't really mind
<cr1901_modern> This is the board I'm using for programming when the JTAG headers are exposed: http://int3.cc/products/the-shikra
<whitequark> mmmm, miscompilation bugs. I like those
<larsc> if you can't trust the compiler whom can your really trust?
<larsc> you
<bb-m-labs> build #52 of artiq-pipistrello-nist_qc1 is complete: Failure [failed conda_build] Build details are at http://m-labs-buildserver.lan/buildbot/builders/artiq-pipistrello-nist_qc1/builds/52 blamelist: whitequark <whitequark@whitequark.org>
sb0 has joined #m-labs
rjo2 has quit [Quit: AtomicIRC: The nuclear option.]
<whitequark> sb0__: wow, that vsnprintf code is seriously crappy
<rjo> cr1901_modern: i actually remember having openocd talk to a s3.
<sb0> rjo, i think you probably wrote this. could you answer this email? https://ssl.serverraum.org/lists-archive/artiq/2016-January/000686.html
<rjo> sb0: sure. already had it tagged.
<rjo> oh. are you on NISTGuest or the like?
<sb0> NIST-Visitor, yes
<rjo> i suspect that might be an advantage of not having the plastic badge...
<sb0> for some reason, it seems it has become easier to get wifi accounts and harder to get no-escort badges...
<rjo> yep. if you need me for pyqt5 discussions (and the talk is over), let me know.
<rjo> i think the two are also mutually exclusive
<sb0> talk is still going, then there is the phone conf at 2
<rjo> there or in the small conf room here?
<GitHub36> [misoc] whitequark pushed 2 new commits to master: https://github.com/m-labs/misoc/compare/8e401f1c01a7...4db0c6ad853e
<GitHub36> misoc/master 39146c9 whitequark: libbase: fix completely broken vsnprintf.
<GitHub36> misoc/master 4db0c6a whitequark: Import fdlibm.
<bb-m-labs> build #101 of artiq is complete: Failure [failed] Build details are at http://m-labs-buildserver.lan/buildbot/builders/artiq/builds/101 blamelist: whitequark <whitequark@whitequark.org>
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
bb-m-labs has joined #m-labs
bb-m-labs has quit [Client Quit]
bb-m-labs has joined #m-labs
<GitHub128> [buildbot-config] whitequark pushed 1 new commit to master: https://github.com/m-labs/buildbot-config/commit/3b8b7b99d567653fdb249e38f7f7c970363bbfcd
<GitHub128> buildbot-config/master 3b8b7b9 whitequark: Raise conda build timeout to four hours.
<whitequark> rjo: I will need to think about it, there are many subtle potential issues with your proposal
<whitequark> not sure if it's viable just yet.
<whitequark> in principle I made the new compiler from the start so that it would support workloads like this
<whitequark> ... but it's entirely possible that some soundness bug will prevent clever things like this from working.
<GitHub179> [artiq] whitequark pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/1b9713115c7e8a770eb027b3c6e2ffec6a12918d
<GitHub179> artiq/master 1b97131 whitequark: runtime: link libm and libbase-nofloat where appropriate.
<bb-m-labs> build #102 of artiq is complete: Success [build successful] Build details are at http://m-labs-buildserver.lan/buildbot/builders/artiq/builds/102
ylamarre has quit [Quit: ylamarre]
<rjo> whitequark: multiple kernels (at least one being "staged" by the comms-cpu and one being executed by the kernel-cpu and then "fast" flip between the two) will need to land anyway.
<whitequark> rjo: no, flipping is simple.
<whitequark> it's calling which is harder.
sb0 has quit [Quit: Leaving]
<rjo> whitequark: ack.
<whitequark> rjo: I would really like to hear what will this be used for
<whitequark> at least this will guide the feature, at most it should be replaced with something else entirely
<whitequark> generally, what you want has very many correctness hazards. host objects not being updated, LIFO ordering on kernels not being maintained, very complicated liveness analysis for allocated objects
<bb-m-labs> build #53 of artiq-pipistrello-nist_qc1 is complete: Success [build successful] Build details are at http://m-labs-buildserver.lan/buildbot/builders/artiq-pipistrello-nist_qc1/builds/53
sb0__ has quit [Ping timeout: 252 seconds]
mumptai has quit [Quit: Verlassend]
ylamarre has joined #m-labs
ylamarre has quit [Client Quit]
<GitHub89> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/a9cf89215bb3d7fc5b947eb7be9e9e937bdfecf6
<GitHub89> artiq/master a9cf892 Sebastien Bourdeauducq: coredevice/dds: use explicit 64-bit ints for ftw computations
<bb-m-labs> build #57 of artiq-kc705-nist_qc2 is complete: Failure [failed conda_build] Build details are at http://m-labs-buildserver.lan/buildbot/builders/artiq-kc705-nist_qc2/builds/57 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
sb0 has joined #m-labs
<whitequark> complete according to this
<whitequark> so, it's an anaconda bu.
<whitequark> bug.
<bb-m-labs> build #58 of artiq-kc705-nist_qc2 is complete: Success [build successful] Build details are at http://m-labs-buildserver.lan/buildbot/builders/artiq-kc705-nist_qc2/builds/58