forked from sinara-hw/assembly
Add basic Kasli firmware instruction
Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
parent
7c0d5bd858
commit
caa38f24f5
@ -1,3 +1,3 @@
|
||||
# Summary
|
||||
|
||||
- [Chapter 1](./chapter_1.md)
|
||||
- [Build and test firmware](./build_test_firmware.md)
|
||||
|
30
src/build_test_firmware.md
Normal file
30
src/build_test_firmware.md
Normal file
@ -0,0 +1,30 @@
|
||||
# Build and test firmware
|
||||
|
||||
## Kasli standalone
|
||||
|
||||
### Checklist
|
||||
|
||||
1. Build firmware (see commands below)
|
||||
2. Flash firmware and settings
|
||||
3. Test hardware
|
||||
4. Create a flash-drive with `device_db.py` file for customers (FAT32)
|
||||
|
||||
### CLI commands
|
||||
|
||||
```shell
|
||||
mkdir <variant>
|
||||
cd <variant>/
|
||||
git clone git@github.com:m-labs/artiq.git
|
||||
cd artiq/
|
||||
git checkout origin/release-7
|
||||
nix develop
|
||||
artiq_mkfs -s ip 192.168.1.75 kasli.config
|
||||
artiq_flash storage -f kasli.config
|
||||
artiq_ddb_template -o device_db.py <variant>.json
|
||||
python -m artiq.gateware.targets.kasli_generic <variant>.json
|
||||
artiq_flash --srcbuild -d artiq_kasli/<variant>/
|
||||
artiq_sinara_tester
|
||||
```
|
||||
|
||||
Follow `artiq_sinara_tester` instructions for testing the hardware. For more detailed information,
|
||||
you can use this book's pages, or if there is no instruction for testing your hardware, please add them to this book.
|
@ -1 +0,0 @@
|
||||
# Chapter 1
|
Loading…
Reference in New Issue
Block a user