k1: set the load entry of kernel image to 0x600000

Change-Id: I078f1e5865373cc5cef6ccc7028960106499bbb8
Signed-off-by: Nell <xianbin.zhu@spacemit.com>
This commit is contained in:
Nell
2025-06-05 16:47:15 +08:00
committed by 张猛
parent 58fddb55e4
commit 7b7932f6dd
2 changed files with 3 additions and 2 deletions

View File

@@ -51,6 +51,7 @@ CONFIG_SMP=y
CONFIG_NR_CPUS=8
CONFIG_RISCV_SBI_V01=y
# CONFIG_RISCV_BOOT_SPINWAIT is not set
CONFIG_IMAGE_LOAD_OFFSET=0x600000
CONFIG_SUSPEND_SKIP_SYNC=y
CONFIG_CPU_IDLE=y
CONFIG_CPU_FREQ=y

View File

@@ -44,8 +44,8 @@ SYM_CODE_START(_start)
.dword 0
#else
#if __riscv_xlen == 64
/* Image load offset(2MB) from start of RAM */
.dword 0x200000
/* Image load offset(2MB ?) from start of RAM */
.dword CONFIG_IMAGE_LOAD_OFFSET
#else
/* Image load offset(4MB) from start of RAM */
.dword 0x400000