[U-Boot] [PATCH 2/2] arm: am57xx: Allow bootm to load larger	kernels
    Igor Opaniuk 
    igor.opaniuk at gmail.com
       
    Fri Jul 12 09:41:44 UTC 2019
    
    
  
Hi Sam,
On Tue, Jul 2, 2019 at 8:56 PM Sam Protsenko <semen.protsenko at linaro.org> wrote:
>
> linux-mainline with multi_v7_defconfig + Android configs takes more
> space than regular TI Android kernel and bootm will fail to load it.
> Let's increase max kernel size up to 64 MiB to make it possible to run
> such kernel.
>
> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
> ---
>  include/configs/am57xx_evm.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
> index 2c651aab17..9a39cd6351 100644
> --- a/include/configs/am57xx_evm.h
> +++ b/include/configs/am57xx_evm.h
> @@ -24,6 +24,8 @@
>  #define CONFIG_ENV_OFFSET_REDUND       (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
>  #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
>
> +#define CONFIG_SYS_BOOTM_LEN           SZ_64M
> +
>  #define CONSOLEDEV                     "ttyO2"
>  #define CONFIG_SYS_NS16550_COM1                UART1_BASE      /* Base EVM has UART0 */
>  #define CONFIG_SYS_NS16550_COM2                UART2_BASE      /* UART2 */
> --
> 2.20.1
>
Reviewed-by: Igor Opaniuk <igor.opaniuk at gmail.com>
-- 
Best regards - Freundliche GrĂ¼sse - Meilleures salutations
Igor Opaniuk
mailto: igor.opaniuk at gmail.com
skype: igor.opanyuk
+380 (93) 836 40 67
http://ua.linkedin.com/in/iopaniuk
    
    
More information about the U-Boot
mailing list