1
0
Fork 0

Add basic Kasli firmware instruction

Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
Egor Savkin 2023-02-03 17:58:13 +08:00
parent 7c0d5bd858
commit caa38f24f5
3 changed files with 31 additions and 2 deletions

View File

@ -1,3 +1,3 @@
# Summary # Summary
- [Chapter 1](./chapter_1.md) - [Build and test firmware](./build_test_firmware.md)

View 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.

View File

@ -1 +0,0 @@
# Chapter 1