-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
BUILD_SETTINGS_FILE=$HOME/.m-labs/build_settings.sh | ||
[ -f $BUILD_SETTINGS_FILE ] && . $BUILD_SETTINGS_FILE | ||
|
||
SOC_PREFIX=$PREFIX/lib/python3.5/site-packages/artiq/binaries/kc705-phaser | ||
mkdir -p $SOC_PREFIX | ||
|
||
$PYTHON -m artiq.gateware.targets.kc705 -H phaser --toolchain vivado $MISOC_EXTRA_VIVADO_CMDLINE | ||
cp misoc_phaser_kc705/gateware/top.bit $SOC_PREFIX | ||
cp misoc_phaser_kc705/software/bios/bios.bin $SOC_PREFIX | ||
cp misoc_phaser_kc705/software/runtime/runtime.fbi $SOC_PREFIX | ||
|
||
wget -P $SOC_PREFIX https://raw.githubusercontent.com/jordens/bscan_spi_bitstreams/master/bscan_spi_xc7k325t.bit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package: | ||
name: artiq-kc705-phaser | ||
version: {{ environ.get("GIT_DESCRIBE_TAG", "") }} | ||
|
||
source: | ||
git_url: ../.. | ||
|
||
build: | ||
noarch_python: true | ||
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }} | ||
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_DESCRIBE_HASH", "")[1:] }} | ||
|
||
requirements: | ||
build: | ||
- migen 0.2 | ||
- misoc 0.3 | ||
- llvm-or1k | ||
- binutils-or1k-linux >=2.27 | ||
- rust-core-or1k | ||
- cargo | ||
run: | ||
- artiq {{ "{tag} py_{number}+git{hash}".format(tag=environ.get("GIT_DESCRIBE_TAG"), number=environ.get("GIT_DESCRIBE_NUMBER"), hash=environ.get("GIT_DESCRIBE_HASH")[1:]) if "GIT_DESCRIBE_TAG" in environ else "" }} | ||
|
||
about: | ||
home: https://m-labs.hk/artiq | ||
license: GPL | ||
summary: 'Bitstream, BIOS and runtime for Phaser on the KC705 board' |