From 7df55bb9b58b325b2aaa902c724826e4c30492f1 Mon Sep 17 00:00:00 2001 From: Christophe Leroy Date: Mon, 6 Feb 2023 19:33:53 +0100 Subject: board: MCR3000: Modernise the settings to properly work on lastest u-boot version Both U-boot and Linux kernel have grown over the last releases and don't fit anymore in the 2M EPROM of the board. So, rework the setup to allow storing the Linux kernel image on the UBIFS NAND Flash. Also add support to FIT images as this is what the Linux kernel look like nowadays. Also increase CFG_SYS_BOOTMAPSZ to 32Mbytes and define CONFIG_SYS_BOOTM_LEN with the same value, otherwise it defaults to 8M which is not sufficient anymore with nowadays Linux kernels. And set the netmask to 255.255.255.0 as a class C address is used. Signed-off-by: Christophe Leroy Reviewed-by: FRANJOU Stephane --- include/configs/mcr3000.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/configs/mcr3000.h b/include/configs/mcr3000.h index 8d78fd362a9..6b16b050ff3 100644 --- a/include/configs/mcr3000.h +++ b/include/configs/mcr3000.h @@ -23,10 +23,10 @@ /* * For booting Linux, the board info and command line data - * have to be in the first 8 MB of memory, since this is + * have to be in the first 32 MB of memory, since this is * the maximum mapped by the Linux kernel during initialization. */ -#define CFG_SYS_BOOTMAPSZ (8 << 20) +#define CFG_SYS_BOOTMAPSZ (32 << 20) /* Environment Configuration */ -- cgit v1.2.3