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
<GitHub98> [artiq] sbourdeauducq reopened issue #711: pre-link scripts conda warning https://github.com/m-labs/artiq/issues/711
<GitHub43> [artiq] sbourdeauducq commented on issue #711: The problematic packages (chardet, prettytable, aiohttp) are now in conda-forge, and the conda-forge versions (which do not have the problem) should be used instead of ours. I will move ours into an ``obsolete`` label so that conda won't easily find them. https://github.com/m-labs/artiq/issues/711#issuecomment-338852429
<GitHub153> [artiq] sbourdeauducq closed issue #711: pre-link scripts conda warning https://github.com/m-labs/artiq/issues/711
sb0 has quit [Quit: Leaving]
bunnie has joined #m-labs
sb0 has joined #m-labs
rohitksingh has joined #m-labs
<sb0> \o/ we got RTMs
<sb0> installing them ...
<sb0> they're up
<rjo> did ken send that email to greg about the other amc/rtm going here?
<sb0> I remember something about this but not any specifics such as your address. I suggest you write to Greg
<rjo> sb0: i can't reproduce your rtio-sed dma issue here BTW.
<sb0> also I don't have Allakis, is that an error or did the plans change and I am unaware of it?
<sb0> so the DMA tests pass on your board?
<sb0> uuuh strange
<sb0> what Vivado version?
<sb0> bb-m-labs, force build --branch=master+rtio-sed artiq
<bb-m-labs> build forced [ETA 1h38m44s]
<bb-m-labs> I'll give a shout when the build finishes
<rjo> 2017.2
<rjo> by the way. i still don't understand xilinx licensing. all the licenses we have should be either expired and not applicable to 2017.2 or are single-device eval. still i can build for the big chips...
<rjo> sb0: just to check, to test this, i am taking master+rio-sed and building/flashing/using nist_clock. that's it?
<sb0> yes, I'm just trying to run that right now on the buildbot
<sb0> I'm not sure if the buildbot ever ran master+rtio-sed. I only saw the bug on rtio-sed. it's whitequark who created master+rtio-sed
<GitHub4> [artiq] jordens pushed 1 new commit to master+rtio-sed: https://github.com/m-labs/artiq/commit/a91a29e96f55fe8a3e247294721f854ea2f90468
<GitHub4> artiq/master+rtio-sed a91a29e Robert Jordens: Merge branch 'master' into rtio-sed...
<rjo> sb0: i merged it again to get the openocd changes
<sb0> re. the xilinx license, it seems that the kind of "expired" we have is "we don't get upgrades anymore"
<rjo> sb0: sure. but the licenses i have should not have gotten the 2017.2 upgrade anymore.
<sb0> considering the bug density in xilinx software, it's possible the license check doesn't work very well
<rjo> i'll try 2017.3...
<rjo> sb0: i take it back. i flashed an old runtime. happens here as well.
<sb0> oh
<sb0> interesting
<sb0> was the DMA sequence correct, nevertheless?
<sb0> if we can narrow this down to a runtime problem, it's already progress
<rjo> "DMA sequence correct"? there was that one failure in the dma test
<sb0> hm, right
<sb0> what if you increase the delay a bit so it doesn't underflow?
<rjo> what i originally wanted to do is back out one or two of the vivado constraints changes that i added to migen to exclude them as the culprit.
<sb0> whitequark suspects that this test should fail on master, but the underflow error is not correctly reported
<rjo> that failing DMA test?
<sb0> yes
<rjo> i'd have to guess what the old runtime was i flashed before...
<bb-m-labs> build #852 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/852
<rjo> you want me to get back to the state with the single DMA failure, the master+rtio-sed gateware and tweak the test so it doesn't fail?
<sb0> yes
<rjo> ok. gimme a minute
<sb0> rjo, well no, don't do that, sorry
<sb0> the reason you don't see the underflows anymore is simply that the CSR that report it have changed between master and rtio-sed
<bb-m-labs> build #1737 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1737
<rjo> sb0: ack.
<sb0> another thing I was suggesting whitequark checks is the time, using the analyzer, between a rtio_log right before the dma trigger and the first DMA write attempt by the DMA core
<sb0> iirc the analyzer should log this information
<rjo> sb0: i want to exclude the migen changes. i'll let you and whitequark play with that other test.
<sb0> also: disconnect the underflow report input from the DMA core, pulse a TTL via DMA, and check if the pulse is emitted. if it is, it means it's not a real underflow, just something is hallucinating
<sb0> okay, I'll do it
<sb0> whitequark, you also saw something about rtio_get_counter() returning bogus information. the first call right after a runtime reboot, both on rtio-sed and master, is that correct?
<sb0> if the RTIO counter is not properly transfered into the system clock domain for some reason, that could also generate bogus underflow
<rjo> that's why i want to exclude changes in timing constraints.
<sb0> the funny thing is, it doesn't happen when the CPU accesses the RTIO core, and according to whitequark it is a _runtime_ reboot (not bitstream reload) that triggers the get_counter() call to fail. could be some nasty issue with internal FPGA crosstalk, weird synthesized circuit or something like that, maybe
<rjo> sb0: no. same errors with the timing constraint changes reverted.
<rjo> whitequark, sb0: do you have a repro for the rtio_counter issue?
sb0 has quit [Quit: Leaving]
kristianpaul has quit [Quit: Lost terminal]
kristianpaul has joined #m-labs
sb0 has joined #m-labs
AceChen has joined #m-labs
<GitHub92> [nu-servo] jordens pushed 2 new commits to master: https://github.com/m-labs/nu-servo/compare/5facbee773e9...0f488a4407e7
<GitHub92> nu-servo/master 0f488a4 Robert Jordens: iir: doc
<GitHub92> nu-servo/master e763724 Robert Jordens: servo: simplify restart logic
<GitHub160> [nu-servo] jordens pushed 1 new commit to master: https://github.com/m-labs/nu-servo/commit/8adb796519e984a863623513beab728af3534873
<GitHub160> nu-servo/master 8adb796 Robert Jordens: doc: add transfer function notebook
<whitequark> sb0: http://syzygyfpga.io/
<whitequark> sb0: no, not the first call
<whitequark> the third call, somehow
<whitequark> let me make a minimal repro
rohitksingh has quit [Quit: Leaving.]
<GitHub48> [smoltcp] whitequark pushed 1 new commit to master: https://git.io/vdjWC
<GitHub48> smoltcp/master 8ee2f7b whitequark: Style fixes.
<travis-ci> m-labs/smoltcp#331 (master - 8ee2f7b : whitequark): The build passed.
<GitHub44> [smoltcp] whitequark pushed 1 new commit to master: https://git.io/vdjKE
<GitHub44> smoltcp/master a3a6565 whitequark: Dump malformed ingress packets at DEBUG log level.
<travis-ci> m-labs/smoltcp#332 (master - a3a6565 : whitequark): The build was broken.
<GitHub11> [smoltcp] whitequark force-pushed master from a3a6565 to b1223bb: https://git.io/vMLjV
<GitHub11> smoltcp/master b1223bb whitequark: Dump malformed ingress packets at DEBUG log level.
<travis-ci> m-labs/smoltcp#333 (master - b1223bb : whitequark): The build is still failing.
<GitHub148> [smoltcp] whitequark force-pushed master from b1223bb to 7c6cd6b: https://git.io/vMLjV
<GitHub148> smoltcp/master 7c6cd6b whitequark: Dump malformed ingress packets at DEBUG log level.
<travis-ci> m-labs/smoltcp#334 (master - 7c6cd6b : whitequark): The build was fixed.
<GitHub153> [smoltcp] whitequark commented on pull request #61 943ab8f: Same as above. https://git.io/vdj5i
<GitHub149> [smoltcp] whitequark commented on pull request #61 943ab8f: This common initialization code can be taken out of the tests and into a setup function. https://git.io/vdj5P
<GitHub105> [smoltcp] whitequark commented on pull request #61 943ab8f: Since we are not testing the packet parsing/construction routines here, do you think you could use `EthernetFrame`/`IpRepr`/`ArpRepr`/etc to construct the bytewise representations? That would make tests much easier to understand and write. https://git.io/vdj5K
<GitHub185> [smoltcp] whitequark commented on pull request #61 943ab8f: A better way to express this would be:... https://git.io/vdj5o
<GitHub114> [smoltcp] whitequark commented on pull request #61 943ab8f: Same as above. https://git.io/vdj56
sb0 has quit [Ping timeout: 255 seconds]
sb0 has joined #m-labs
<GitHub138> [smoltcp] whitequark commented on issue #49: Superseded by #57 I think. https://git.io/vdjbB
<GitHub42> [smoltcp] whitequark closed pull request #49: Move device-specific parts of `EthernetInterface` to new `EthernetDevice` type (master...split-ethernet-interface) https://git.io/vd4Jm
<GitHub106> [smoltcp] whitequark commented on pull request #57 b74258b: I'm curious, is this really the only way to write this? Or would direct access to `self.device` and `self.inner` also work? No objection to this pattern anyway. https://git.io/vdjAG
<GitHub165> [smoltcp] whitequark commented on issue #59: Sorry for the delay. https://git.io/vdjAw
<GitHub183> [smoltcp] whitequark closed issue #58: Add the ability to set the TTL value for a UDP/TCP socket https://git.io/vd1We
<GitHub69> [smoltcp] whitequark closed pull request #59: Implement set_ttl for Tcp and Udp sockets (master...add_ttl) https://git.io/vd16o
<GitHub22> [smoltcp] whitequark pushed 1 new commit to master: https://git.io/vdjAr
<GitHub22> smoltcp/master fea4628 Dan Robertson: Implement set_ttl for Tcp and Udp sockets...
<travis-ci> m-labs/smoltcp#335 (master - fea4628 : Dan Robertson): The build passed.
<GitHub108> [smoltcp] whitequark pushed 2 new commits to master: https://git.io/vdjxM
<GitHub108> smoltcp/master 581e7b3 whitequark: Simplify. NFC.
<GitHub108> smoltcp/master 284db00 whitequark: Small adjustments to TTL code; style, docs, and tests. NFCI.
<travis-ci> m-labs/smoltcp#336 (master - 581e7b3 : whitequark): The build passed.
<GitHub186> [smoltcp] dlrobertson commented on issue #59: No problem https://git.io/vdjp2
<GitHub139> [smoltcp] dlrobertson commented on pull request #61 943ab8f: This would definitely be feasible for the ARP tests. I'm not sure about how feasible it would be for this test since the protocol type is a protocol that isn't in `IpProtocol`. https://git.io/vdjpd
<GitHub107> [smoltcp] dlrobertson commented on pull request #61 943ab8f: Good point https://git.io/vdjpb
<GitHub178> [smoltcp] dlrobertson commented on pull request #61 943ab8f: :+1: https://git.io/vdjpx
<GitHub157> [smoltcp] dlrobertson commented on pull request #61 943ab8f: :+1: https://git.io/vdjpj
<GitHub155> [smoltcp] whitequark commented on pull request #61 943ab8f: `IpProtocol::Unknown(0xwhatever)` https://git.io/vdjhP
Ultrasauce has joined #m-labs
<GitHub166> [smoltcp] whitequark commented on pull request #60 4429f93: Please don't reformat files, this makes it hard to review diffs. https://git.io/vFeeU
<GitHub174> [smoltcp] whitequark commented on pull request #60 4429f93: `data[field::GROUP_ADDRESS].copy_from_slice(addr.as_bytes())` https://git.io/vFeeL
<GitHub28> [smoltcp] whitequark commented on pull request #60 4429f93: The above is just an example, you don't need to add every conceivable error condition. https://git.io/vFeeT
<GitHub18> [smoltcp] whitequark commented on pull request #60 4429f93: Is there any reason to care about report version? Will you ever emit V1 report packets? If no and no, you should drop this field. https://git.io/vFeet
<GitHub37> [smoltcp] whitequark commented on pull request #60 4429f93: This is completely unrelated to IGMP, and should not exist in its current form anyhow. https://git.io/vFeek
<GitHub78> [smoltcp] whitequark commented on pull request #60 4429f93: Missing indent. Also, I sort enums by their numeric value. https://git.io/vFeeI
<GitHub2> [smoltcp] whitequark commented on pull request #60 4429f93: You can just leave this one check, it implies `len < field::CHECKSUM.end`. https://git.io/vFeeq
<GitHub159> [smoltcp] whitequark commented on pull request #60 4429f93: `addr.1` also works. https://git.io/vFeev
<GitHub160> [smoltcp] whitequark commented on pull request #60 4429f93: Maybe check if `eth_frame.dst_addr()` is multicast before trying to do a hash lookup? https://git.io/vFeeJ
<GitHub17> [smoltcp] whitequark commented on pull request #60 4429f93: Should probably be extracted into a function like `keep_ethernet_frame`; we also currently ignore all IPv4 broadcast packets, which is I think a bug. https://git.io/vFeef
<GitHub72> [smoltcp] whitequark commented on pull request #60 4429f93: This is unused. https://git.io/vFeeY