[PATCH 2/3] riscv: sifive: unleashed: Set kernel_comp_addr_r for compressed kernel

Leo Liang ycliang at andestech.com
Thu May 26 11:08:20 CEST 2022


On Tue, May 24, 2022 at 12:31:13PM +0800, Bin Meng wrote:
> Set kernel_comp_addr_r and kernel_comp_size for compressed kernel.
> Adjust existing addresses for ramdisk, so that kernel_comp_addr_r
> 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.
> 
> Update unleashed.rst to remove the manual environment configuration
> for compressed kernel boot.
> 
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
> 
>  doc/board/sifive/unleashed.rst     |  2 --
>  include/configs/sifive-unleashed.h | 10 ++++++----
>  2 files changed, 6 insertions(+), 6 deletions(-)

Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list