whitequark
11a8b84355
Merge the build trees of sayma_amc and sayma_rtm targets.
...
This also makes them a single artiq_flash target, and a single
conda package.
2018-01-27 19:54:31 +00:00
whitequark
0b9c551962
artiq_flash: implement flash read functionality.
2018-01-27 19:54:31 +00:00
whitequark
eed2db3a98
artiq_flash: make the proxy action unnecessary.
2018-01-27 15:43:27 +00:00
Sebastien Bourdeauducq
ca4d5ae73e
artiq_flash: add kasli drtio variants
2018-01-25 00:00:07 +08:00
Sebastien Bourdeauducq
25f3feeda8
refactor targets
2018-01-22 18:25:10 +08:00
whitequark
8598e475e9
artiq_flash: fix a refactoring mistake.
2018-01-20 08:30:42 +00:00
whitequark
115aa0d0d6
artiq_flash: support load action for Sayma RTM FPGA.
2018-01-20 07:23:50 +00:00
whitequark
94592c7a4c
artiq_flash: unify flash handling in XC7 and Sayma programmers.
2018-01-20 07:23:50 +00:00
whitequark
1ffabac06f
artiq_flash: use atexit for tempfile cleanup.
2018-01-20 07:23:50 +00:00
whitequark
83278a6edb
artiq_flash: fix a refactoring bug.
2018-01-20 01:30:44 +00:00
whitequark
ebd02c4f43
artiq_flash: fix typo.
2018-01-19 18:53:49 +00:00
whitequark
1c7cb737ca
artiq_flash: refactor.
2018-01-19 17:45:49 +00:00
whitequark
bcc39a8c9d
artiq_flash: add --dry-run option.
2018-01-19 17:45:49 +00:00
whitequark
4fd236d234
artiq_flash: cache transferred artifacts.
2018-01-19 08:28:04 +00:00
whitequark
b553804e5a
artiq_flash: implement network transparency.
2018-01-19 07:39:55 +00:00
whitequark
f77aa9b78f
artiq_flash: rename sayma to sayma_amc to fix bitstream discovery.
...
Fixes #895 .
2018-01-17 01:45:47 +00:00
whitequark
a536d6df12
artiq_flash: add sayma_rtm support.
2018-01-17 01:21:19 +00:00
Robert Jördens
1c15124c5e
artiq_flash: add kasli
2018-01-15 14:17:40 +01:00
Sebastien Bourdeauducq
a1b8bca1e6
Revert "artiq_flash: ignore RTM FPGA"
...
Naive optimism.
This reverts commit 100bda2582
.
2017-12-31 13:29:36 +08:00
Sebastien Bourdeauducq
100bda2582
artiq_flash: ignore RTM FPGA
...
It has no flash connected, and attempting to detect it causes unnecessary program failure when the RTM is not present.
2017-12-31 12:10:16 +08:00
Sebastien Bourdeauducq
38ce1f1d5d
artiq_flash: support flashing satman
...
A bit ugly and ad-hoc but I cannot think of an easy and better option right now.
2017-12-31 12:09:18 +08:00
whitequark
55cfdec644
firmware: enlarge bootloader partition to 4 sectors.
2017-12-28 14:39:26 +00:00
whitequark
acd13837ff
firmware: implement the new bootloader.
2017-12-28 13:18:51 +00:00
whitequark
d7cb4963e1
firmware: prepare config block for access from BIOS/bootloader.
...
* remove liballoc dependency from mod config,
* move mod config to libboard,
* move config sector immediately after BIOS sector.
2017-12-27 21:28:40 +00:00
whitequark
188764693e
runtime: we're growing, put storage at 1M instead of 512K.
2017-12-26 03:34:16 +00:00
whitequark
e2513a2401
runtime: ensure flash storage never overlaps with runtime sections.
2017-12-26 03:31:37 +00:00
Sebastien Bourdeauducq
cbd69287a7
artiq_flash: select Sayma standalone variant by default
2017-12-22 16:54:06 +08:00
Sebastien Bourdeauducq
71db953ea0
artiq_flash: add srcbuild option to look into MiSoC source build trees. Closes #868
2017-12-14 10:36:32 +08:00
Robert Jördens
2917208d89
artiq_flash: fix sayma flashing
...
* do not include jtagspi as it already instantiates a flash bank
instead define the target manually
* erase before writing
* verify written images
2017-12-13 21:20:16 +08:00
Robert Jördens
5dc131636d
artiq_flash: adapt to bit2bin
2017-11-09 18:10:15 +01:00
Robert Jördens
62320432a5
artiq_flash: fix sayma amc tap/pld index
2017-11-01 14:45:07 +01:00
Sebastien Bourdeauducq
bfd36e7340
artiq_flash: update for Sayma OpenOCD changes
2017-11-01 20:11:18 +08:00
Sebastien Bourdeauducq
4a57b52241
artiq_flash: add preinit-command option
2017-11-01 17:34:10 +08:00
Sebastien Bourdeauducq
6089d44fd0
artiq_flash: update Sayma flash proxy bitstream name
2017-11-01 14:57:30 +08:00
Robert Jördens
7edff48b6d
conda/artiq_flash: use proxy bitstream package
...
fix #841
2017-10-23 15:21:54 +02:00
Sebastien Bourdeauducq
d92cca9712
artiq_flash: fix target_file handling
2017-08-31 12:16:52 +08:00
Sebastien Bourdeauducq
e94d0803e1
artiq_flash: fix Sayma load addresses
2017-08-20 18:21:36 -04:00
Sebastien Bourdeauducq
261b6fb42e
artiq_flash: fix AMC_DR_LEN
2017-08-20 18:20:51 -04:00
Sebastien Bourdeauducq
9f4c9fc14b
artiq_flash: Sayma support
2017-08-20 17:23:56 -04:00
whitequark
86c027e9c5
artiq_flash: don't require binaries to merely restart FPGA.
2017-07-04 18:55:38 +00:00
Sebastien Bourdeauducq
9ab63920e0
Remove Pipistrello support
...
Closes #658
Closes #381
2017-05-15 17:17:44 +08:00
Sebastien Bourdeauducq
43aad0914e
python3.5 -> python3
...
Many things also work with Python 3.6.
2017-01-30 09:24:43 +08:00
Robert Jördens
143f784291
artiq_flash: fix scripts_path
2017-01-26 21:52:59 +01:00
Robert Jördens
653eee071d
artiq_flash: make scripts_path a function (for doc generating)
2017-01-26 17:53:33 +01:00
Sebastien Bourdeauducq
5fc3a52189
artiq_flash: expose scripts_path
2016-07-25 10:05:10 +08:00
Sebastien Bourdeauducq
0590021790
artiq_flash: support using alternative OpenOCD config files
2016-07-19 15:35:50 +08:00
Robert Jördens
a7e101af8d
artiq_flash: fix openocd scripts path ( #513 )
2016-07-15 15:31:33 +02:00
whitequark
57be065c15
artiq_flash: explicitly pass path within conda env to openocd datarootdir.
...
By default, openocd searches for scripts in DATAROOTDIR/openocd/scripts.
This of course makes it not relocatable. Conda has a flag to try to
detect and fix such hardcoded paths, but it does not work on openocd
(likely because the .rodata contains an already concatenated path,
which cannot be padded with zeroes from the right).
So, we pass the path explicitly instead.
2016-06-06 19:01:39 +00:00
Sebastien Bourdeauducq
65c835e991
Revert "flash: close tempfile before deleting ( #256 )"
...
This reverts commit 5f11dbf319
.
2016-05-21 00:19:54 +08:00
Sebastien Bourdeauducq
5f11dbf319
flash: close tempfile before deleting ( #256 )
2016-05-21 00:09:31 +08:00