Update RISC-V offsets again

Memory starts at 0x80000000, but kernel entry point is at 0x80200000,
i.e. 2MB aligned memory address. Also modify kernel_addr_r to be 64MB
away to give enough space for kernel.

Also we can ignore rule that kernel should be mapped into the 1st 128MB
of memory because of CONFIG_AUTO_ZRELADDR. That's ARMv7 specific bit.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2019-04-06 15:39:54 +02:00
parent af139e3d4c
commit 2225e1aa63
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
2 changed files with 10 additions and 8 deletions

View File

@ -1,5 +1,5 @@
diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h
index 2588c5a..d93ce9e 100644
index 2588c5a..b7110ed 100644
--- a/include/configs/qemu-riscv.h
+++ b/include/configs/qemu-riscv.h
@@ -15,7 +15,7 @@
@ -11,18 +11,20 @@ index 2588c5a..d93ce9e 100644
#define CONFIG_STANDALONE_LOAD_ADDR 0x80200000
@@ -42,10 +42,14 @@
@@ -41,11 +41,15 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"fdt_high=0xffffffffffffffff\0" \
"initrd_high=0xffffffffffffffff\0" \
"kernel_addr_r=0x81000000\0" \
- "kernel_addr_r=0x81000000\0" \
- "fdt_addr_r=0x82000000\0" \
- "scriptaddr=0x82100000\0" \
- "pxefile_addr_r=0x82200000\0" \
- "ramdisk_addr_r=0x82300000\0" \
+ "fdt_addr_r=0x85000000\0" \
+ "scriptaddr=0x85100000\0" \
+ "pxefile_addr_r=0x85200000\0" \
+ "ramdisk_addr_r=0x85300000\0" \
+ "kernel_addr_r=0x84000000\0" \
+ "fdt_addr_r=0x88000000\0" \
+ "scriptaddr=0x88100000\0" \
+ "pxefile_addr_r=0x88200000\0" \
+ "ramdisk_addr_r=0x88300000\0" \
BOOTENV
+#define CONFIG_PREBOOT \

View File

@ -2,7 +2,7 @@
Name: uboot-tools
Version: 2019.04
Release: 0.6%{?candidate:.%{candidate}}.3.riscv64%{?dist}
Release: 0.6%{?candidate:.%{candidate}}.4.riscv64%{?dist}
Summary: U-Boot utilities
License: GPLv2+ BSD LGPL-2.1+ LGPL-2.0+
URL: http://www.denx.de/wiki/U-Boot