2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

firmware: enlarge bootloader partition to 4 sectors.

This commit is contained in:
whitequark 2017-12-28 14:38:56 +00:00
parent a9ad4f08e9
commit 55cfdec644
2 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@ mod imp {
use spiflash;
use super::Error;
// 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

@ -195,8 +195,8 @@ def main():
"variants": ["nist_clock", "nist_qc2"],
"gateware": (0, 0x000000),
"bootloader": (0, 0xaf0000),
"storage": (0, 0xb00000),
"runtime": (0, 0xb10000),
"storage": (0, 0xb30000),
"runtime": (0, 0xb40000),
},
"sayma": {
"programmer_factory": ProgrammerSayma,
@ -204,8 +204,8 @@ def main():
"variants": ["standalone"],
"gateware": (0, 0x000000),
"bootloader": (1, 0x000000),
"storage": (1, 0x010000),
"runtime": (1, 0x020000),
"storage": (1, 0x040000),
"runtime": (1, 0x050000),
},
}[opts.target]