Skip to content

Commit

Permalink
Merge branch 'increase-runtime-size'
Browse files Browse the repository at this point in the history
closes #250

* increase-runtime-size:
  flash: grow runtime limit to 512 kB
  RELEASE_NOTES: update
  flash storage: move to flash + 0x70000
jordens committed Jan 31, 2016
2 parents f14fed5 + 10d78a5 commit 9fb5ef4
Showing 3 changed files with 11 additions and 8 deletions.
13 changes: 8 additions & 5 deletions RELEASE_NOTES.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
Release notes
=============

1.0
---
1.0 (unreleased)
----------------

* First release
* Experiments (your code) should use ``from artiq.experiment import *``
(and not ``from artiq import *`` as previously)
* First release
* Experiments (your code) should use ``from artiq.experiment import *``
(and not ``from artiq import *`` as previously)
* Core device flash storage has moved due to increased runtime size.
This requires reflashing the runtime and the flash storage filesystem image
or erase and rewrite its entries.
4 changes: 2 additions & 2 deletions artiq/frontend/artiq_flash.py
Original file line number Diff line number Diff line change
@@ -58,15 +58,15 @@ def main():
"bitstream": 0x000000,
"bios": 0xaf0000,
"runtime": 0xb00000,
"storage": 0xb40000,
"storage": 0xb80000,
},
"pipistrello": {
"chip": "xc6slx45",
"start": "xc6s_program xc6s.tap",
"bitstream": 0x000000,
"bios": 0x170000,
"runtime": 0x180000,
"storage": 0x1c0000,
"storage": 0x200000,
},
}[opts.target]

2 changes: 1 addition & 1 deletion artiq/runtime/flash_storage.c
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@

#if (defined CSR_SPIFLASH_BASE && defined CONFIG_SPIFLASH_PAGE_SIZE)

#define STORAGE_ADDRESS ((char *)(FLASH_BOOT_ADDRESS + 256*1024))
#define STORAGE_ADDRESS ((char *)(FLASH_BOOT_ADDRESS + 0x80000 /* max runtime size */))
#define STORAGE_SIZE CONFIG_SPIFLASH_SECTOR_SIZE
#define END_MARKER (0xFFFFFFFF)

0 comments on commit 9fb5ef4

Please sign in to comment.