Skip to content

Commit

Permalink
flash: grow runtime limit to 512 kB
Browse files Browse the repository at this point in the history
jordens committed Jan 30, 2016
1 parent 3df6752 commit 10d78a5
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.rst
Original file line number Diff line number Diff line change
@@ -9,4 +9,4 @@ Release notes
(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 its data.
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": 0xb70000,
"storage": 0xb80000,
},
"pipistrello": {
"chip": "xc6slx45",
"start": "xc6s_program xc6s.tap",
"bitstream": 0x000000,
"bios": 0x170000,
"runtime": 0x180000,
"storage": 0x1f0000,
"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 + 0x70000))
#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 10d78a5

Please sign in to comment.