forked from M-Labs/artiq
firmware: enlarge bootloader partition to 4 sectors.
This commit is contained in:
parent
00c9b20d1e
commit
14a90e5386
|
@ -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;
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue