]> Git Repo - J-u-boot.git/commitdiff
riscv: sifive: unmatched: Adjust for big ramdisk image
authorBin Meng <[email protected]>
Tue, 24 May 2022 04:31:12 +0000 (12:31 +0800)
committerLeo Yu-Chi Liang <[email protected]>
Thu, 26 May 2022 10:42:33 +0000 (18:42 +0800)
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 <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
include/configs/sifive-unmatched.h

index 087764666bf6595183224d625ae1054abb16f1ed..fa734a66be7932558167a60d101e47f84025d6e6 100644 (file)
 
 #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" \
This page took 0.036488 seconds and 4 git commands to generate.