forked from M-Labs/artiq
1
0
Fork 0

firmware: enlarge bootloader partition to 4 sectors.

This commit is contained in:
Sebastien Bourdeauducq 2017-12-29 01:37:11 +08:00
parent 00c9b20d1e
commit 14a90e5386
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ mod imp {
use cache;
use spiflash;
// One flash sector immediately after the bootloader.
// One flash sector immediately before the firmware.
const ADDR: usize = ::mem::FLASH_BOOT_ADDRESS - spiflash::PAGE_SIZE;
const SIZE: usize = spiflash::PAGE_SIZE;

View File

@ -69,8 +69,8 @@ def main():
"start": "xc7_program xc7.tap",
"gateware": 0x000000,
"bios": 0xaf0000,
"storage": 0xb00000,
"runtime": 0xb10000,
"storage": 0xb30000,
"runtime": 0xb40000,
},
}[opts.target]