36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
From d4546cee228b86b8ade6db23b4310880f7756ae0 Mon Sep 17 00:00:00 2001
|
|
From: David Abdurachmanov <david.abdurachmanov@sifive.com>
|
|
Date: Mon, 13 Sep 2021 03:22:32 -0700
|
|
Subject: [PATCH 4/6] riscv: sifive: unmatched: disable FDT and initrd
|
|
relocation
|
|
|
|
Same as on SiFive Unleashed we need to disable fdt and initrd relocation. Tom
|
|
Rini mentined 18 days ago that it's most likely due to RISC-V lacking
|
|
`arch_lmb_reserve` implementation.
|
|
|
|
The patch seems to be submitted now:
|
|
[PATCH 09/12] lmb: riscv: Add arch_lmb_reserve()
|
|
https://lists.denx.de/pipermail/u-boot/2021-September/460333.html
|
|
|
|
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
|
|
---
|
|
include/configs/sifive-unmatched.h | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/include/configs/sifive-unmatched.h b/include/configs/sifive-unmatched.h
|
|
index fa734a66..e62ad6ac 100644
|
|
--- a/include/configs/sifive-unmatched.h
|
|
+++ b/include/configs/sifive-unmatched.h
|
|
@@ -55,6 +55,8 @@
|
|
"name=system,size=-,bootable,type=${type_guid_gpt_system};"
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
+ "fdt_high=0xffffffffffffffff\0" \
|
|
+ "initrd_high=0xffffffffffffffff\0" \
|
|
"kernel_addr_r=0x84000000\0" \
|
|
"kernel_comp_addr_r=0x88000000\0" \
|
|
"kernel_comp_size=0x4000000\0" \
|
|
--
|
|
2.36.1
|
|
|