From 9ddf6beae60688b05cf1aae7a58a9eab28f23b04 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sat, 6 Dec 2025 18:23:10 +0800 Subject: [PATCH] move the kernel start address this correctly gives the loader 256k of space, which is what its link file specifies. The loader was previously under 128k by chance, but with glitch hardening it's grown past that boundary. --- libs/bao1x-api/src/offsets/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/bao1x-api/src/offsets/common.rs b/libs/bao1x-api/src/offsets/common.rs index d0300f0d2..bfcfeaefb 100644 --- a/libs/bao1x-api/src/offsets/common.rs +++ b/libs/bao1x-api/src/offsets/common.rs @@ -10,7 +10,7 @@ pub const BOOT1_START: usize = 0x6002_0000; pub const LOADER_START: usize = 0x6006_0000; pub const BAREMETAL_START: usize = LOADER_START; // kernel needs to start on a page boundary, so eat into the loader area a bit to allow that to happen. -pub const KERNEL_START: usize = 0x6008_0000 - crate::signatures::SIGBLOCK_LEN; +pub const KERNEL_START: usize = 0x600A_0000 - crate::signatures::SIGBLOCK_LEN; // total storage area available in RRAM. Above this are reserved vectors for security apparatus. pub const RRAM_STORAGE_LEN: usize = 0x3D_A000;