public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/3] riscv: sifive: unmatched: Adjust for big ramdisk image
@ 2022-05-24  4:31 Bin Meng
  2022-05-24  4:31 ` [PATCH 2/3] riscv: sifive: unleashed: Set kernel_comp_addr_r for compressed kernel Bin Meng
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Bin Meng @ 2022-05-24  4:31 UTC (permalink / raw)
  To: Rick Chen, Leo Liang, U-Boot Mailing List; +Cc: Green Wan, Pragnesh Patel

Move kernel_comp_addr_r to an address that comes before the ramdisk
image, since the decompressed kernel size is known to us. This way
we can allow big ramdisk image to be loaded.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 include/configs/sifive-unmatched.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/configs/sifive-unmatched.h b/include/configs/sifive-unmatched.h
index 087764666b..fa734a66be 100644
--- a/include/configs/sifive-unmatched.h
+++ b/include/configs/sifive-unmatched.h
@@ -56,12 +56,12 @@
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"kernel_addr_r=0x84000000\0" \
-	"fdt_addr_r=0x88000000\0" \
-	"scriptaddr=0x88100000\0" \
-	"pxefile_addr_r=0x88200000\0" \
-	"ramdisk_addr_r=0x88300000\0" \
-	"kernel_comp_addr_r=0x90000000\0" \
+	"kernel_comp_addr_r=0x88000000\0" \
 	"kernel_comp_size=0x4000000\0" \
+	"fdt_addr_r=0x8c000000\0" \
+	"scriptaddr=0x8c100000\0" \
+	"pxefile_addr_r=0x8c200000\0" \
+	"ramdisk_addr_r=0x8c300000\0" \
 	"type_guid_gpt_loader1=" TYPE_GUID_LOADER1 "\0" \
 	"type_guid_gpt_loader2=" TYPE_GUID_LOADER2 "\0" \
 	"type_guid_gpt_system=" TYPE_GUID_SYSTEM "\0" \
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-26  9:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-24  4:31 [PATCH 1/3] riscv: sifive: unmatched: Adjust for big ramdisk image Bin Meng
2022-05-24  4:31 ` [PATCH 2/3] riscv: sifive: unleashed: Set kernel_comp_addr_r for compressed kernel Bin Meng
2022-05-26  9:08   ` Leo Liang
2022-05-24  4:31 ` [PATCH 3/3] riscv: qemu: " Bin Meng
2022-05-26  9:09   ` Leo Liang
2022-05-26  9:06 ` [PATCH 1/3] riscv: sifive: unmatched: Adjust for big ramdisk image Leo Liang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox