Astro astro
astro commented on issue M-Labs/thermostat#10 2020-12-07 07:23:15 +08:00
openocd firmware update

Added to README.md

astro pushed to master at M-Labs/thermostat 2020-12-07 07:22:20 +08:00
5e8bf0e765 README: add Debugging and Flashing
5ddd4d250e channels: swap adc inputs
Compare 2 commits »
astro commented on issue M-Labs/thermostat#11 2020-12-07 06:55:41 +08:00
loop servo time step / PID autotune

The the time unit is the AD7172's sampling interval. I have omitted factoring in a time delta because the PID input is this hardware DAC with supposedly very regular read intervals. Tell me if that…

astro commented on issue M-Labs/nix-scripts#34 2020-12-04 07:39:15 +08:00
artiq package should not depend on rustc

Note: there is also a related removeReferencesTo package in nixpkgs.

astro commented on issue M-Labs/it-infra#4 2020-12-04 07:35:20 +08:00
archive builds on zfs /tank

This corruption still eludes me.

Could please you attach a dump of the HTTP response which contains the actual corruption for the .nar.xz in hydra-bug.tar?

astro closed issue M-Labs/nix-scripts#35 2020-12-03 01:27:48 +08:00
dontFixup board packages
astro pushed to master at M-Labs/nix-scripts 2020-12-03 00:07:54 +08:00
00352b9942 artiq-board, artiq-board-legacy: dontFixup board packages
astro commented on pull request M-Labs/nix-scripts#23 2020-12-03 00:00:12 +08:00
artiq-fast: build gateware from a self-contained separate source derivation

Well yes, Nix needs to find out whether the Vivado input has changed.

Build the firmware in another separate step?

astro deleted branch split-software-gateware-builds from M-Labs/nix-scripts 2020-12-02 22:55:56 +08:00
astro commented on pull request M-Labs/nix-scripts#23 2020-12-02 09:11:20 +08:00
artiq-fast: build gateware from a self-contained separate source derivation

Tested this on the kc705 on rpi-1:

[     0.003844s]  INFO(runtime): software ident 6.7499.3e388330.beta;nist_clock
[     0.010801s]  INFO(runtime): gateware ident…
astro pushed to split-software-gateware-builds at M-Labs/nix-scripts 2020-12-02 08:01:53 +08:00
494a66b6b5 artiq-fast: add nativeBuildInputs to artiq-board-legacy.nix
04fde975ee artiq-board: fix scope of toPythonModule
85c4719f33 artiq-board: use new --gateware-identifier-str
cb83f38ccd artiq-board: use legacy code for artiq<6
a30db2ba2e artiq-board: get/remove/re-add version identifiers
Compare 12 commits »
astro commented on pull request M-Labs/nix-scripts#23 2020-11-30 21:18:50 +08:00
artiq-fast: build gateware from a self-contained separate source derivation

artiq-board-legacy.nix would need these changes 12fbe64616

(Related to #34) Yet I can't find a artiq-board-legacy.nix anywhere in the repository and its history. Please help.

astro commented on pull request M-Labs/nix-scripts#23 2020-11-30 03:59:02 +08:00
artiq-fast: build gateware from a self-contained separate source derivation

Did you test that the buildEnv output from artiq-board.nix can be installed as a Python package as per the example nix-shell file in the manual, and artiq_flash will find the binaries?

Fixed…

astro pushed to split-software-gateware-builds at M-Labs/nix-scripts 2020-11-30 03:55:15 +08:00
81b1af7206 artiq-board: fix scope of toPythonModule
astro pushed to split-software-gateware-builds at M-Labs/nix-scripts 2020-11-27 01:31:45 +08:00
3062eea0e3 artiq-board: use new --gateware-identifier-str
694c42d386 artiq-board: use legacy code for artiq<6
a66df8ff29 artiq-board: get/remove/re-add version identifiers
fb7d4528bc artiq-fast: build gateware from a self-contained separate source derivation
12fbe64616 artiq-fast: add strictDeps=true to fetchcargo.nix, nativeBuildInputs to artiq-board.nix
Compare 82 commits »
astro commented on pull request M-Labs/it-infra#11 2020-11-27 00:56:31 +08:00
nixbld: add hydra-binary-cache-store.patch that is rebased on hydra-restrictdist.patch

I was not aware that Perl will automatically mangle newlines in files. I hope to have solved the corruption issue by adding :raw.

astro pushed to hydra-local-binary-cache at astro/it-infra 2020-11-27 00:54:50 +08:00
73877839b6 nixbld: add :raw for opening .nar.xz in hydra-binary-cache-store.patch
astro pushed to master at M-Labs/nix-scripts 2020-11-27 00:10:42 +08:00
12fbe64616 artiq-fast: add strictDeps=true to fetchcargo.nix, nativeBuildInputs to artiq-board.nix
astro commented on issue M-Labs/nix-scripts#34 2020-11-26 05:02:35 +08:00
artiq package should not depend on rustc

nix show-derivation shows the inputs of a locally built derivation.