[PATCH 3/3] riscv: qemu: Set kernel_comp_addr_r for compressed kernel

Leo Liang ycliang at andestech.com
Thu May 26 11:09:15 CEST 2022


On Tue, May 24, 2022 at 12:31:14PM +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.
> 
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
> 
>  include/configs/qemu-riscv.h | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
>
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list