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
Robert Jördens
109ddf919e
flash: tcl-quote paths (c.f. #256 )
2016-05-16 23:15:12 +02:00
Robert Jördens
18878ba050
flash: use the handle
2016-05-16 22:02:11 +02:00
Robert Jördens
3ae44e762f
flash: close files (c.f. #256 )
2016-05-16 21:30:53 +02:00
Sebastien Bourdeauducq
3cfef4264b
frontend: upper-case positional arguments in help messages
2016-04-22 16:33:44 +08:00
Sebastien Bourdeauducq
1ff01a43ff
artiq_flash: clear error message when bin directory is absent
2016-04-05 16:09:41 +08:00
Sebastien Bourdeauducq
ed1c368e73
gateware: name targets consistently. Closes #290
2016-04-05 16:07:29 +08:00
Robert Jördens
6dd1eb2e92
artiq_flash: use term 'gateware'
2016-02-29 20:45:41 +01:00
Sebastien Bourdeauducq
572c49f475
use m-labs setup for defaults
2016-02-29 21:35:23 +08:00
Robert Jördens
10d78a5d0b
flash: grow runtime limit to 512 kB
2016-01-30 14:50:15 -07:00
Robert Jördens
e92d52314b
flash storage: move to flash + 0x70000
...
This requires recompiling and flashing the runtime and the entire
storage area file system (ip address and idle kernel).
* with ppp the runtime is larger than 0x40000 now
* 0x60000 for the runtime should give enough space for a while,
even including a fatter scheduler or runtime components
in other languages
* for both pipistrello and kc705 this leaves the unused space
starting at a nice round number
* the relevant flashes nowadays are 0x1000000 large
2016-01-28 18:08:30 -07:00
Robert Jördens
d1119d7747
artiq_dir: move out of tools to unlink dependencies
2016-01-25 18:15:50 -07:00
Robert Jördens
cf17be92e3
doc: add artiq_flash
2016-01-18 21:41:42 -07:00
Robert Jördens
358ad2e927
artiq_flash: drop redundant instruction, tweak doc
2016-01-06 11:24:05 -07:00
Robert Jördens
9aff99568d
artiq_flash: use openocd, python
2016-01-05 10:20:41 +08:00