-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release-7: I2C comms failure with Si5324 on Kasli v1.1 #2567
Comments
Commit 2534678 looks like a false positive; a change to the compiler shouldn't have any effect on the Rust runtime. |
Yeah, I noticed the lack of relevant changes in that commit and thought it odd as well. If anything, I would have expected the previous commit to be the culprit, but I've done two builds of that gateware (thanks to my `rm -rf`ing between tests) deployed to two different Kaslis and both worked. Haven't established the breaking commit with the same rigor though.
…________________________________
From: David Nadlinger ***@***.***>
Sent: Friday, August 30, 2024 4:04:10 PM
To: m-labs/artiq ***@***.***>
Cc: Brad Bondurant, Ph.D. ***@***.***>; Author ***@***.***>
Subject: Re: [m-labs/artiq] Release-7: I2C comms failure with Si5324 on Kasli v1.1 (Issue #2567)
Commit 2534678<https://urldefense.com/v3/__https://github.com/m-labs/artiq/commit/25346780bfffe7d6155e58ae2b01403f93eedcf1__;!!OToaGQ!qAFSGZ1yZlYnKPag8uAGUcPAw_mpCcP2mP2VMCpYKL-aBHgfjJ1PTgj2Ya2LMNCMGImyzI27mlt20h9s2_aum1GBmZCxGw$> looks like a false positive; a change to the compiler shouldn't have any effect on the Rust runtime.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/m-labs/artiq/issues/2567*issuecomment-2322254468__;Iw!!OToaGQ!qAFSGZ1yZlYnKPag8uAGUcPAw_mpCcP2mP2VMCpYKL-aBHgfjJ1PTgj2Ya2LMNCMGImyzI27mlt20h9s2_aum1Etnjmniw$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AKM2KYDSWNEMAOOAQPUKEBTZUDF3VAVCNFSM6AAAAABNNAJ3B2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSGI2TINBWHA__;!!OToaGQ!qAFSGZ1yZlYnKPag8uAGUcPAw_mpCcP2mP2VMCpYKL-aBHgfjJ1PTgj2Ya2LMNCMGImyzI27mlt20h9s2_aum1Ffvf46Jg$>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Is the gateware bitstream/firmware build even different at all? I guess with gateware there is always the chance of two non-deterministic optimisation runs resulting in subtly different outcomes… |
Had to leave early to go out of town for the weekend but I'll compare once I get back. I guess I could ramp up nix's sandboxing (`--pure` and `--restrict-eval` off the top of my head) as well.
…________________________________
From: David Nadlinger ***@***.***>
Sent: Friday, August 30, 2024 5:15:32 PM
To: m-labs/artiq ***@***.***>
Cc: Brad Bondurant, Ph.D. ***@***.***>; Author ***@***.***>
Subject: Re: [m-labs/artiq] Release-7: I2C comms failure with Si5324 on Kasli v1.1 (Issue #2567)
Is the gateware bitstream/firmware build even different at all? I guess with gateware there is always the chance of two non-deterministic optimisation runs resulting in subtly different outcomes…
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/m-labs/artiq/issues/2567*issuecomment-2322347736__;Iw!!OToaGQ!tUCSSnDnvBcdpKTDY3rJ2hyA8koyTjRAQx54Ud7gMpQJzakRpltTOJAp09VDEqaHij0yZHHV9-qQLbyfcaa349FOD67vHg$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AKM2KYBXCI5EBDINLDOFDHDZUDOHJAVCNFSM6AAAAABNNAJ3B2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSGM2DONZTGY__;!!OToaGQ!tUCSSnDnvBcdpKTDY3rJ2hyA8koyTjRAQx54Ud7gMpQJzakRpltTOJAp09VDEqaHij0yZHHV9-qQLbyfcaa349H2rl_qSw$>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Bitstream: $ diff -q artiq_kasli_7.8193.c812801/tester_11/gateware/top.bit artiq_kasli_7.8194.2534678/tester_11/gateware/top.bit
Files artiq_kasli_7.8193.c812801/tester_11/gateware/top.bit and artiq_kasli_7.8194.2534678/tester_11/gateware/top.bit differ Runtime: $ diff -q artiq_kasli_7.8193.c812801/tester_11/software/runtime/runtime.bin artiq_kasli_7.8194.2534678/tester_11/software/runtime/runtime.bin
Files artiq_kasli_7.8193.c812801/tester_11/software/runtime/runtime.bin and artiq_kasli_7.8194.2534678/tester_11/software/runtime/runtime.bin differ Building in a more strict environment, $ diff -q artiq_kasli_7.8193.c812801_pure/tester_11/gateware/top.bit artiq_kasli_7.8194.2534678_pure/tester_11/gateware/top.bit
Files artiq_kasli_7.8193.c812801_pure/tester_11/gateware/top.bit and artiq_kasli_7.8194.2534678_pure/tester_11/gateware/top.bit differ
$ diff -q artiq_kasli_7.8193.c812801_pure/tester_11/software/runtime/runtime.bin artiq_kasli_7.8194.2534678_pure/tester_11/software/runtime/runtime.bin
Files artiq_kasli_7.8193.c812801_pure/tester_11/software/runtime/runtime.bin and artiq_kasli_7.8194.2534678_pure/tester_11/software/runtime/runtime.bin differ No clue why 🤷♂️ |
Latest release-8 works fine:
|
Bug Report
One-Line Summary
Newer release-7 gateware/firmware fails to initialize Si5324 on Kasli v1.1, reportedly because of an I2C failure.
Issue Details
We have a Kasli v1.1 running hardware-based unit tests for DAX. I recently updated its gateware (no change in major version, just a newer rev) and was met with the following:
I replicated the same behavior on a second Kasli v1.1. Haven't checked with any newer hardware but I assume it isn't an issue since no one has reported this yet. Haven't checked release-8 yet either.
Searching backward through the release-7 commits, it looks like 2534678 is where things break.
Previous commit, c812801:
@ 2534678:
Full logs with each revision tested: https://pastebin.com/fyDyV8vA
Steps to Reproduce
$ nix develop 'git+https://github.com/m-labs/artiq?ref=release-7&rev=<rev-to-test>'
$ python -m artiq.gateware.targets.kasli_generic tester_11.json
(json here)$ artiq_flash --srcbuild -d artiq_kasli/tester_11/
Expected Behavior
The system initializes.
Actual (undesired) Behavior
The system doesn't initialize.
Your System (omit irrelevant parts)
The text was updated successfully, but these errors were encountered: