[PATCH 1/2] configs: add env. variable to support compressed kernel in qspiboot

Tom Rini trini at konsulko.com
Sun Dec 11 21:42:15 CET 2022


On Sun, Dec 11, 2022 at 11:46:53PM +0800, Jit Loon Lim wrote:

> From: Kah Jing Lee <kah.jing.lee at intel.com>
> 
> Fix qspiboot issue which uncompressed kernel(5.16) overflows to rootfs
> Add 2 env. variables to support compressed kernel in legacy qspiboot:
> setenv kernel_comp_addr_r 0x9000000
> setenv kernel_comp_size 0x01000000
> 
> Signed-off-by: Kah Jing Lee <kah.jing.lee at intel.com>
> Signed-off-by: Jit Loon Lim <jit.loon.lim at intel.com>
> ---
>  include/configs/socfpga_soc64_common.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h
> index f7f3bc1f13..7fe9dced88 100644
> --- a/include/configs/socfpga_soc64_common.h
> +++ b/include/configs/socfpga_soc64_common.h
> @@ -133,6 +133,8 @@
>  #else
>  
>  #define CONFIG_EXTRA_ENV_SETTINGS \
> +	"kernel_comp_addr_r=0x9000000\0" \
> +	"kernel_comp_size=0x01000000\0" \
>  	"qspibootimageaddr=0x020E0000\0" \
>  	"qspifdtaddr=0x020D0000\0" \
>  	"bootimagesize=0x01F00000\0" \

I would really like to see these kind of changes start being introduced
in the text based environment files instead at this point, thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221211/822bab6c/attachment.sig>


More information about the U-Boot mailing list