mirny: add build and flashing instructions #17
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "mwojcik/assembly:mirny-improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It's not easy to figure out how to build this at all - so I'm writing this down before I forget.
I'm leveraging ARTIQ flake for building Mirny here. Yeah it's an overkill, but it's simpler than building an environment from scratch.
@ -18,0 +20,4 @@
Once you get your hands on the firmware, you will need to work around few shortcomings of Nix, mainly not being able to run dynamically linked executables.
You will need:
- Xilinx ISE installed on your system,
add an install path example like "/opt/Xilinx", since by default Xilinx installer use "/tools/Xilinx" iirc
@ -18,0 +23,4 @@
- Xilinx ISE installed on your system,
- an environment with Migen.
One way to do it is to create an FHS environment, like ARTIQ does for Vivado, within ARTIQ (to leverage Migen already being there), by adding these lines:
There are no mention of the file we need to add the lines to, you can add it here e.g. "adding these line to flake.nix" or after the code block
3744c29952
to440f687bac
Since QUARTIQ refuses to add the binary distribution for some reason, would be nice to add it here, so there will be no need to do these flake.nix edits for those, who just needs to update the firmware (who may appear to be far from development).
@ -18,0 +19,4 @@
Here is [Mirny 0.3.1 firmware](../extra/mirny/mirny-0.3.1.zip). It contains a single ``.jed`` file that can be flashed following [flashing instructions](#flashing).
## Building firmware (optional)
Feels like it should be H3 instead of H2
Just add the release to hydra like the others https://nixbld.m-labs.hk/eval/6728
@ -18,0 +25,4 @@
Once you get your hands on the firmware source code, you will need to work around few shortcomings of Nix, mainly not being able to run dynamically linked executables.
You will need:
This better be in
Getting the firmware
There's some overlap (ISE) but not all (no Migen, but xc3sprog). So I just repeated that.
caede1555e
to6bdd0b61ac