aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/conf
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/conf')
-rw-r--r--arch/riscv/conf/apos.its4
-rw-r--r--arch/riscv/conf/init-link.S3
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/riscv/conf/apos.its b/arch/riscv/conf/apos.its
index 15db4a4..da48860 100644
--- a/arch/riscv/conf/apos.its
+++ b/arch/riscv/conf/apos.its
@@ -12,8 +12,8 @@
arch = "riscv";
os = "apos";
compression = "none";
- load = <0x83800000>;
- entry = <0x83800000>;
+ load = <0x80080000>;
+ entry = <0x80080000>;
hash-1 {
algo = "sha1";
};
diff --git a/arch/riscv/conf/init-link.S b/arch/riscv/conf/init-link.S
index 642e831..53d24ab 100644
--- a/arch/riscv/conf/init-link.S
+++ b/arch/riscv/conf/init-link.S
@@ -1,5 +1,5 @@
OUTPUT_ARCH(riscv)
-ENTRY(main)
+ENTRY(init)
SECTIONS {
. = ABSOLUTE(PM_KERN);
@@ -27,4 +27,5 @@ SECTIONS {
}
__init_end = . ;
+ __kernel_size = <KERNEL_SIZE>;
}