make more space in the cramium loader

need code space to handle image verification.

getting kind of heavy, but I think we're almost done.
This commit is contained in:
bunnie 2024-11-21 02:22:08 +08:00
parent 2437712b7b
commit 30cb5f84f7
2 changed files with 3 additions and 3 deletions

View file

@ -73,7 +73,7 @@ pub const FLASH_BASE: usize = utralib::generated::HW_RERAM_MEM;
// location of kernel, as offset from the base of ReRAM. This needs to match up with what is in link.x.
// exclusive of the signature block offset
pub const KERNEL_OFFSET: usize = 0x5_0000;
pub const KERNEL_OFFSET: usize = 0x6_0000;
pub(crate) fn delay(quantum: usize) {
use utralib::{CSR, utra};

View file

@ -1,8 +1,8 @@
MEMORY
{
/* we are using an unsigned loader, so the offset is not 1k offset */
FONTS : ORIGIN = 0x60030000, LENGTH = 128k
FLASH : ORIGIN = 0x60001000, LENGTH = 188k
FONTS : ORIGIN = 0x60040000, LENGTH = 128k
FLASH : ORIGIN = 0x60001000, LENGTH = 252k
RAM : ORIGIN = 0x61000000, LENGTH = 2M
}