From 05d2f3d6a99a9c7be5f9043adabce8b4854f539f Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 26 Apr 2024 18:15:05 +0800 Subject: [PATCH] configure boot addresses --- loader/src/platform/cramium/link-soc.x | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/loader/src/platform/cramium/link-soc.x b/loader/src/platform/cramium/link-soc.x index 133daecf1..91f1a1b42 100644 --- a/loader/src/platform/cramium/link-soc.x +++ b/loader/src/platform/cramium/link-soc.x @@ -1,13 +1,10 @@ MEMORY { /* we are using an unsigned loader, so the offset is not 1k offset */ - FLASH : ORIGIN = 0x60000000, LENGTH = 4M - FONTS : ORIGIN = 0x60010000, LENGTH = 96k + FONTS : ORIGIN = 0x60020000, LENGTH = 128k + FLASH : ORIGIN = 0x60001000, LENGTH = 124k RAM : ORIGIN = 0x61000000, LENGTH = 2M } -/* -Fonts go from 0x2053_0000 to 0x2097_0000 -*/ REGION_ALIAS("REGION_TEXT", FLASH); REGION_ALIAS("REGION_RODATA", FLASH);