From 6f8e5772d17d277842be3f6162ddd665a17e5be9 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 20 Dec 2021 14:53:44 +0200 Subject: More sensible init + Who knew some reservations were a good thing? (at least relativelyy speaking) --- arch/riscv/conf/apos.its | 4 ++-- arch/riscv/conf/init-link.S | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'arch/riscv/conf') 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 = ; } -- cgit v1.3