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
Gurty has joined #m-labs
X-Scale has quit [Ping timeout: 264 seconds]
X-Scale has joined #m-labs
X-Scale has quit [Ping timeout: 256 seconds]
[X-Scale] has joined #m-labs
[X-Scale] is now known as X-Scale
Ultrasauce has quit [Remote host closed the connection]
Ultrasauce has joined #m-labs
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
rohitksingh_work has joined #m-labs
futarisIRCcloud has joined #m-labs
<cr1901_modern> rjo: http://openocd.zylin.com/#/c/4525/ Looks good?
mumptai has joined #m-labs
<rjo> cr1901_modern: what do you mean by "can not be used for debugging a target FPGA"?
<rjo> cr1901_modern: otherwise good.
<cr1901_modern> http://openocd.zylin.com/#/c/4156/ See the comment by Jim Norris here
<cr1901_modern> I just wanted to reduce the chance someone nitpicks since it takes a long time for patches to be accepted/reviewed
<rjo> cr1901_modern: but that's not true. the configuration can be used just fine for debugging the target FPGA (even loaded with the target bitstream and not with the proxy bitstream). what would prevent that?
<cr1901_modern> rjo: I was under the impression that the FPGA part of openOCD only interacted w/ the JTAG commands meant to load a bitstream, and wouldn't let you do anything else like boundary scan (or whatever else you can do w/ it)
<cr1901_modern> If that's incorrect, I'll remove the comment
<rjo> you can do whatever you like as long as its supported by the FPGA: boundary scans, play with the XADC, play svf, read the id, read back configuration.
<cr1901_modern> I did not know this until today ._.
<cr1901_modern> I've only ever used it for programming FPGAs
<cr1901_modern> In any case, removing the comment
<cr1901_modern> Pushed
cr1901_modern has quit [Ping timeout: 264 seconds]
cr1901_modern has joined #m-labs
<cr1901_modern> rjo: Thanks for the +1.
<cr1901_modern> Modem went out to lunch
<GitHub-m-labs> [artiq] enjoy-digital pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/f77bcbebb5c23f0ea1d5ca8e9094d2b51d0c40d8
<GitHub-m-labs> artiq/master f77bcbe Florent Kermarrec: serwb/test_serwb_core: fix
cr1901_modern1 has joined #m-labs
cr1901_modern has quit [Ping timeout: 260 seconds]
<bb-m-labs> build #1527 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1527
cr1901_modern1 has quit [Quit: Leaving.]
cr1901_modern has joined #m-labs
<bb-m-labs> build #2348 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2348 blamelist: Florent Kermarrec <florent@enjoy-digital.fr>
mumptai_ has joined #m-labs
mumptai has quit [Ping timeout: 248 seconds]
<GitHub-m-labs> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/b81b20caf8361c13f091ad85dcee31dd37d11d72
<GitHub-m-labs> artiq/master b81b20c Sebastien Bourdeauducq: conda: use h5py 2.8...
mumptai_ has quit [Remote host closed the connection]
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<bb-m-labs> build #1528 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1528
<bb-m-labs> build #2349 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2349 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
rohitksingh_work has quit [Read error: Connection reset by peer]
rohitksingh_work has joined #m-labs
<GitHub70> [smoltcp] whitequark commented on pull request #214 3d4a881: I think FastRetransmit doesn't need `expires_at`, since it always fires immediately. https://github.com/m-labs/smoltcp/pull/214#discussion_r188573855
rohitksingh_work has quit [Read error: Connection reset by peer]
<rjo> bb-m-labs: force build --props=package=sphinxcontrib-wavedrom conda-lin64
<bb-m-labs> build forced [ETA 24m15s]
<bb-m-labs> I'll give a shout when the build finishes
<bb-m-labs> build #405 of conda-lin64 is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/conda-lin64/builds/405
<whitequark> artiq.coredevice.exceptions.RTIOUnderflow(0): RTIO underflow at 48471217320 mu, channel 21, slack -10048 mu
<whitequark> seems to be getting worse...
<GitHub-m-labs> [artiq] whitequark commented on issue #979: @cjbe I am not able to reproduce this issue. Can you please try again on master? And in case it does happen, can you capture a profile as described in https://github.com/m-labs/artiq/issues/979#issuecomment-386769720? https://github.com/m-labs/artiq/issues/979#issuecomment-389513078
marmelada has joined #m-labs
<marmelada> hey, how can I do delay in rust? I want to add delay Greg mentioned in #472
<whitequark> marmelada: clock::spin_us(microseconds)
<marmelada> whitequark: thanks!
<GitHub-m-labs> [artiq] jordens opened issue #1005: KeyError in compiler when overloading methods https://github.com/m-labs/artiq/issues/1005
<GitHub-m-labs> [artiq] whitequark commented on issue #1005: Right. Overloading is not currently supported. Note that because of static dispatch, even once it's implemented, the results may be surprising. https://github.com/m-labs/artiq/issues/1005#issuecomment-389529456
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1005: Can we just have a better error message? https://github.com/m-labs/artiq/issues/1005#issuecomment-389530132
<GitHub-m-labs> [artiq] whitequark commented on issue #1005: Sure. You don't have to repeat this every time there's an issue in the compiler. You know I take error messages very seriously and fix every instance. https://github.com/m-labs/artiq/issues/1005#issuecomment-389530595
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1005: Note the "just" - I was proposing only improving the error message and not implementing overloading. https://github.com/m-labs/artiq/issues/1005#issuecomment-389531057
<GitHub-m-labs> [artiq] whitequark commented on issue #1005: I don't remember the reason for not having overloading. It might be that once I fix the bug, it'll just work, with the caveat above (which already kicks in under different circumstances). https://github.com/m-labs/artiq/issues/1005#issuecomment-389531539
<GitHub-m-labs> [artiq] whitequark pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/b81b20caf836...a39f8d663487
<GitHub-m-labs> artiq/master a39f8d6 whitequark: artiq_devtool: use CommMgmt instead of shelling out to artiq_coremgmt....
<GitHub-m-labs> artiq/master d446a32 whitequark: frontend: merge core{config,log,boot,debug,profile} into coremgmt.
<sb0> marmelada, so the delay improves things? can you send a patch?
<marmelada> sb0: seems so
<marmelada> sb0: I'll check with synchronized firmware and gateware and I'll post it
<sb0> shouldn't the part that selects SPI be broken out of spi_setup()?
<sb0> it's the "dummy cycle", correct?
<marmelada> sb0: uh oh
<marmelada> it stopped locking
<GitHub-m-labs> [artiq] whitequark pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/a39f8d663487...4d06c1d84bcd
<GitHub-m-labs> artiq/master 4d06c1d whitequark: coredevice.CommKernel: modernize. NFC.
<GitHub-m-labs> artiq/master ca93b94 whitequark: firmware: move config requests to management protocol....
<GitHub-m-labs> artiq/master 1364cd2 Sebastien Bourdeauducq: firmware/hmc830_7043: break out HMC830 SPI mode selection
<GitHub-m-labs> artiq/master 0aadd3a Sebastien Bourdeauducq: firmware/hmc830_7043: improve messaging
<GitHub-m-labs> [artiq] sbourdeauducq pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/4d06c1d84bcd...1364cd294822
<kristianpaul> how do you compile gcc for lm32 lately?
<sb0> haven't tried for years
<bb-m-labs> build #1529 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1529
<marmelada> ok, so using 4d06c1d8 I get stuck on waiting for serwb bridge
<sb0> marmelada, using that commit id for both amc and rtm?
<marmelada> ooh, you got me!
<marmelada> thanks!
<sb0> _florent_,
<sb0> [ 10.450389s] INFO(board_artiq::ad9154): AD9154-1 SYSREF scan:
<sb0> [ 10.464949s] INFO(board_artiq::ad9154): phase: 0, sync error: 493
<sb0> [ 11.057044s] INFO(board_artiq::ad9154): phase min: Some(0), phase max: Some(57)
<sb0> [ 11.051901s] INFO(board_artiq::ad9154): phase: 58, sync error: 494
<sb0> I'm getting min_phase=0 ...
<GitHub-m-labs> [artiq] sbourdeauducq pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/1364cd294822...a64004184432
<GitHub-m-labs> artiq/master a640041 Sebastien Bourdeauducq: firmware: improve ad9154/hmc830/hmc7043 messaging
<GitHub-m-labs> artiq/master fedf7f0 Sebastien Bourdeauducq: firmware/ad9154: cleanup sysref scan and run everytime
<marmelada> sb0: is there any other method to remove cs in spi other than dummy write?
<sb0> marmelada, is there a problem with the dummy write?
<marmelada> it produces one clock cycle
<marmelada> afaict it's now the only difference between artiq and greg's init sequence
<marmelada> since this is during chip resetting itself such clk may cause weird issues
<kristianpaul> sb0: lol me either, but honestly lm32 is so simple to use that i'll give it a try again ;)
<sb0> marmelada, I'm not completely up-to-date about how the SPI core and the HMC830 work; but maybe playing with CS polarity (cs_polarity_write) can toggle CS without touching the other signals?
<marmelada> ok I'll try it tommorow
<marmelada> bye!
marmelada has quit [Quit: Page closed]
<GitHub190> [smoltcp] barskern commented on pull request #214 3d4a881: Would returning `None` in `poll_at` imply that we want to be polled immidiately?... https://github.com/m-labs/smoltcp/pull/214#discussion_r188676851
<GitHub183> [smoltcp] barskern commented on pull request #214 3d4a881: Would returning `None` in `poll_at` imply that we want to be polled immidiately? The tests pass using the following code.... https://github.com/m-labs/smoltcp/pull/214#discussion_r188676851
<GitHub65> [smoltcp] whitequark commented on pull request #214 3d4a881: No, that's an accident. The return value for "polled immediately" is `Some(Instant::from_millis(0))`. You could actually put that in `Retransmit { expires_at }`, but `FastRetransmit` is definitely cleaner. https://github.com/m-labs/smoltcp/pull/214#discussion_r188680184
rohitksingh has joined #m-labs
<GitHub188> [smoltcp] barskern commented on pull request #214 3d4a881: But isn't the return value from `poll_at` supposed to be an absolute value? So we're kinda returning that it should have been polled in the future? https://github.com/m-labs/smoltcp/pull/214#discussion_r188683027
<GitHub116> [smoltcp] barskern commented on pull request #214 3d4a881: But isn't the return value from `poll_at` supposed to be an absolute value? So we're kinda returning that it should have been polled in the future?
<GitHub34> [smoltcp] pothos commented on pull request #214 3d4a881: I'm not a reviewer, but I think I can answer your question. The return value of `poll_at` lands in `poll_delay` which is used for `wait`. `None` means to block until a packet arrives but a timeout of 0 will return immediately. `poll_delay` will do this for all return values of `poll_at` that are older than the current time given to `poll_delay`. To be sure I
<GitHub116> [smoltcp] dlrobertson commented on pull request #214 3d4a881: See the implementation for UDP socket [here]. `Some(Instant::from_millis(0))` would be some time in the past, which means poll now AFAIK.... https://github.com/m-labs/smoltcp/pull/214#discussion_r188684161
mumptai has joined #m-labs
<GitHub85> [smoltcp] pothos commented on pull request #214 3d4a881: (Oh, wrote my answer before all the other comments but did not see them.) https://github.com/m-labs/smoltcp/pull/214#discussion_r188685143
rohitksingh has quit [Ping timeout: 260 seconds]
rohitksingh has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
<GitHub16> [smoltcp] whitequark commented on pull request #214 3d4a881: It might actually be a good idea to make a enum for `poll_at`. Something like `enum PollAt { Never, Now, At(Instant) }`. The current situation is too opaque. https://github.com/m-labs/smoltcp/pull/214#discussion_r188692772
<GitHub-m-labs> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/99f7672c79b4fd9e3fa400caeea16d33155b62ff
<GitHub-m-labs> artiq/master 99f7672 Robert Jordens: ad53xx: tweak spi readback
<GitHub141> [smoltcp] barskern commented on pull request #214 3d4a881: Yeah that would be just perfect! I was actually thinking about proposing it because like you say, currently it's non-intuitive. https://github.com/m-labs/smoltcp/pull/214#discussion_r188707520
<GitHub84> [smoltcp] whitequark commented on pull request #214 3d4a881: Do you think you can make a PR doing that? https://github.com/m-labs/smoltcp/pull/214#discussion_r188709142
<bb-m-labs> build #2350 of artiq is complete: Failure [failed artiq_corelog] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2350 blamelist: whitequark <whitequark@whitequark.org>
<GitHub59> [smoltcp] barskern commented on pull request #214 3d4a881: It's on the way. I'll wait with implementing the rest of this PR until the new `poll_at` is defined. https://github.com/m-labs/smoltcp/pull/214#discussion_r188709768
<bb-m-labs> build #2351 of artiq is complete: Failure [failed lit_test] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2351 blamelist: whitequark <whitequark@whitequark.org>, Robert Jordens <jordens@gmail.com>, Sebastien Bourdeauducq <sb@m-labs.hk>
<GitHub26> [smoltcp] barskern opened issue #215: Change signature of `poll_at` for sockets https://github.com/m-labs/smoltcp/issues/215
<GitHub148> [smoltcp] barskern commented on pull request #214 3d4a881: I was thinking it would be appropriate to discuss the signature hence started #215. https://github.com/m-labs/smoltcp/pull/214#discussion_r188715340
<GitHub25> [smoltcp] whitequark commented on issue #215: > the program is blocked until a new packet arrives... https://github.com/m-labs/smoltcp/issues/215#issuecomment-389608583
<GitHub159> [smoltcp] whitequark commented on issue #215: > the program is blocked until a new packet arrives... https://github.com/m-labs/smoltcp/issues/215#issuecomment-389608583
<GitHub151> [smoltcp] barskern commented on issue #215: Yeah I like that signature better. Ingress is a new word to me, however it fits the need. When looking up the definition it makes sense.... https://github.com/m-labs/smoltcp/issues/215#issuecomment-389611585
<GitHub198> [smoltcp] whitequark commented on issue #215: > Isn't the smoltcp::phy::sys::wait there for providing this? I know it's conditionally compiled, however it is re-exported within smoltcp.... https://github.com/m-labs/smoltcp/issues/215#issuecomment-389620991
<GitHub29> [smoltcp] whitequark commented on issue #215: > Isn't the smoltcp::phy::sys::wait there for providing this? I know it's conditionally compiled, however it is re-exported within smoltcp.... https://github.com/m-labs/smoltcp/issues/215#issuecomment-389620991
<GitHub43> [smoltcp] barskern commented on issue #215: Ah okay, then I understand that `Block` is misleading. Using you're latest proposal for now:... https://github.com/m-labs/smoltcp/issues/215#issuecomment-389622931
<GitHub177> [smoltcp] barskern opened pull request #216: Implement new return type for `poll_at` (master...feature/poll-at-type) https://github.com/m-labs/smoltcp/pull/216
<GitHub98> [smoltcp] whitequark commented on issue #216: @m-labs-homu r+ https://github.com/m-labs/smoltcp/pull/216#issuecomment-389640541
<GitHub93> [smoltcp] m-labs-homu commented on issue #216: :pushpin: Commit 786f043 has been approved by `whitequark`
<GitHub12> [smoltcp] m-labs-homu pushed 1 new commit to auto: https://github.com/m-labs/smoltcp/commit/805e11b551f8e7e9c7bfd2541fbaec0fc0ab665b
<GitHub12> smoltcp/auto 805e11b Ole Martin Ruud: Implement new type for `poll_at`...
<GitHub154> [smoltcp] m-labs-homu commented on issue #216: :hourglass: Testing commit 786f043bbb25a652107666bef609b80ab6534c76 with merge 805e11b551f8e7e9c7bfd2541fbaec0fc0ab665b... https://github.com/m-labs/smoltcp/pull/216#issuecomment-389640635
<travis-ci> m-labs/smoltcp#943 (auto - 805e11b : Ole Martin Ruud): The build was broken.
<GitHub-m-labs> [buildbot-config] whitequark pushed 1 new commit to master: https://git.io/vpFp2
<GitHub-m-labs> buildbot-config/master 9de06a6 whitequark: Fix artiq_corelog invocation to use artiq_coremgmt.
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
bb-m-labs has joined #m-labs
<GitHub35> [smoltcp] barskern commented on issue #216: The failed tests on Travis are because of the function `is_ingress`, which is currently only being used in the `TcpSocket`. I was thinking that this function will probably be useful in other contexts aswell to filter out non-interesting sockets. It is just to make that check a bit less verbose. I could add a attribute to conditionally compile it, but wouldn't that require un
<GitHub146> [smoltcp] barskern commented on issue #216: The failed tests on Travis are because of the function `PollAt::is_ingress`, which is currently only being used in the `TcpSocket`. I was thinking that this function will probably be useful in other contexts aswell to filter out non-interesting sockets. It is just to make that check a bit less verbose. I could add a attribute to conditionally compile it, but wouldn't that
<GitHub60> [smoltcp] whitequark commented on issue #216: I would suggest simply introducing this function in a PR which uses it. https://github.com/m-labs/smoltcp/pull/216#issuecomment-389656936
<GitHub40> [smoltcp] whitequark commented on issue #216: I would suggest simply introducing this function in a PR which uses it. https://github.com/m-labs/smoltcp/pull/216#issuecomment-389656936
<GitHub91> [smoltcp] whitequark commented on issue #216: Sorry, I misread. We typically use conditional compilation in these cases. https://github.com/m-labs/smoltcp/pull/216#issuecomment-389657128
<GitHub-m-labs> [artiq] whitequark pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/99f7672c79b4...3b61b7c30b08
<GitHub-m-labs> artiq/master 3b61b7c whitequark: compiler: fix tests after 4d06c1d8.
<GitHub-m-labs> artiq/master 31c6c79 whitequark: firmware: implement an edge profiler....
<GitHub27> [smoltcp] whitequark commented on issue #216: @m-labs-homu r+ https://github.com/m-labs/smoltcp/pull/216#issuecomment-389683597
<GitHub66> [smoltcp] m-labs-homu commented on issue #216: :pushpin: Commit e035aa5 has been approved by `whitequark`
<GitHub180> [smoltcp] m-labs-homu force-pushed auto from 805e11b to 3fb0c22: https://github.com/m-labs/smoltcp/commits/auto
<GitHub180> smoltcp/auto 3fb0c22 Ole Martin Ruud: Add conditional compile attr to `is_ingress`...
<GitHub180> smoltcp/auto 839dd9c Ole Martin Ruud: Implement new type for `poll_at`...
<GitHub33> [smoltcp] m-labs-homu commented on issue #216: :hourglass: Testing commit e035aa5c4a98d122313185674305aadba6b141de with merge 3fb0c22fd4edcecd75f4c6767a86b0333cac9366... https://github.com/m-labs/smoltcp/pull/216#issuecomment-389683654
<travis-ci> m-labs/smoltcp#945 (auto - 3fb0c22 : Ole Martin Ruud): The build was fixed.
<GitHub60> [smoltcp] m-labs-homu commented on issue #216: :sunny: Test successful - [status-travis](https://travis-ci.org/m-labs/smoltcp/builds/379948201?utm_source=github_status&utm_medium=notification)
<GitHub135> [smoltcp] m-labs-homu merged auto into master: https://github.com/m-labs/smoltcp/compare/9a7318d1e6ae...3fb0c22fd4ed
<GitHub148> [smoltcp] m-labs-homu closed pull request #216: Implement new return type for `poll_at` (master...feature/poll-at-type) https://github.com/m-labs/smoltcp/pull/216
<GitHub177> [smoltcp] m-labs-homu commented on issue #214: :umbrella: The latest upstream changes (presumably 3fb0c22fd4edcecd75f4c6767a86b0333cac9366) made this pull request unmergeable. Please resolve the merge conflicts. https://github.com/m-labs/smoltcp/pull/214#issuecomment-389685453
<travis-ci> m-labs/smoltcp#946 (master - 3fb0c22 : Ole Martin Ruud): The build passed.
<bb-m-labs> build #1530 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1530
mumptai has quit [Quit: Verlassend]
<bb-m-labs> build #2352 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2352 blamelist: whitequark <whitequark@whitequark.org>