Hi!

When building gateware, I assumed it would be safest to check out release-7, activate my environment using nix develop, build the gateware, flash it and then run experiments using the python installation of this environment. However, I get the following warning:

WARNING:artiq.coredevice.comm_kernel:Mismatch between gateware (7.0.beta) and software (7.8164.3acffe8) versions

So I assume by "software" this warning refers to the software running on the PC, so the nix python artiq package. Firstly, I would have assumed that the flake.nix actually ensures the correct python package version. Secondly, I am unsure what the better next step is: Either I switch to master and build the latest gateware (not sure if the master branch is stable), or I downgrade the nix python artiq package somehow to 7.0. What is preferred?

Thanks!

Just tried building the master branch - failed. I guess that changes the question to - how do I downgrade the nix python artiq package to match release-7 😃

It seems you have an old version of the release-7 branch, try git pull.

Everything up to date according to git pull. I assume you are referring to my gateware version being 7.0.beta. I already tried pulling, exiting the dev shell, re-entering and then rebuilding & reflashing. Same result, also in the debug console, soft- and gateware are 7.0.beta.

Booting from flash...
Starting firmware.
[     0.000016s]  INFO(runtime): ARTIQ runtime starting...
[     0.003937s]  INFO(runtime): software ident 7.0.beta;<myvariant>
[     0.009864s]  INFO(runtime): gateware ident 7.0.beta;<myvariant>

Seems the .beta may have come from a default version string - should be fixed now.

  • nx- likes this.

Yep, saw the commit! 7.0 now on the gateware, which also gets rid of the warning. Sorry for my confusion about the versioning. Thanks!