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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user