Commit Graph

20 Commits

Author SHA1 Message Date
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