Skip to content

Commit 9fb5ef4

Browse files
committedJan 31, 2016
Merge branch 'increase-runtime-size'
closes #250 * increase-runtime-size: flash: grow runtime limit to 512 kB RELEASE_NOTES: update flash storage: move to flash + 0x70000
2 parents f14fed5 + 10d78a5 commit 9fb5ef4

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed
 

Diff for: ‎RELEASE_NOTES.rst

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
Release notes
22
=============
33

4-
1.0
5-
---
4+
1.0 (unreleased)
5+
----------------
66

7-
* First release
8-
* Experiments (your code) should use ``from artiq.experiment import *``
9-
(and not ``from artiq import *`` as previously)
7+
* First release
8+
* Experiments (your code) should use ``from artiq.experiment import *``
9+
(and not ``from artiq import *`` as previously)
10+
* Core device flash storage has moved due to increased runtime size.
11+
This requires reflashing the runtime and the flash storage filesystem image
12+
or erase and rewrite its entries.

Diff for: ‎artiq/frontend/artiq_flash.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ def main():
5858
"bitstream": 0x000000,
5959
"bios": 0xaf0000,
6060
"runtime": 0xb00000,
61-
"storage": 0xb40000,
61+
"storage": 0xb80000,
6262
},
6363
"pipistrello": {
6464
"chip": "xc6slx45",
6565
"start": "xc6s_program xc6s.tap",
6666
"bitstream": 0x000000,
6767
"bios": 0x170000,
6868
"runtime": 0x180000,
69-
"storage": 0x1c0000,
69+
"storage": 0x200000,
7070
},
7171
}[opts.target]
7272

Diff for: ‎artiq/runtime/flash_storage.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#if (defined CSR_SPIFLASH_BASE && defined CONFIG_SPIFLASH_PAGE_SIZE)
1616

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

0 commit comments

Comments
 (0)