From 4f69fb67ee229c7b59ced5db64142b527d74ce7b Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 3 Sep 2024 11:53:15 +0200 Subject: Provide an improved example on early boot stage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This also implied a renaming arch/riscv/bios -> arch/riscv/machine. Signed-off-by: Miquel Sabaté Solà --- arch/riscv/machine/config.ld | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 arch/riscv/machine/config.ld (limited to 'arch/riscv/machine/config.ld') diff --git a/arch/riscv/machine/config.ld b/arch/riscv/machine/config.ld new file mode 100644 index 0000000..7d9bbf5 --- /dev/null +++ b/arch/riscv/machine/config.ld @@ -0,0 +1,10 @@ +MEMORY { + dram_space (rwx) : ORIGIN = 0x80000000, LENGTH = 1024 +} + +SECTIONS { + .text : { + *(.text.bios) + *(.text) + } > dram_space +} -- cgit v1.2.3