Skip to content

Commit e92d523

Browse files
committedJan 29, 2016
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
1 parent 4a29f07 commit e92d523

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

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": 0xb70000,
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": 0x1f0000,
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 + 0x70000))
1818
#define STORAGE_SIZE CONFIG_SPIFLASH_SECTOR_SIZE
1919
#define END_MARKER (0xFFFFFFFF)
2020

0 commit comments

Comments
 (0)