From: Bonnans, Laurent Date: Wed, 31 Jul 2019 08:52:34 +0000 Subject: [U-Boot] [PATCH] rpi: increase SYS_BOOTM_LEN to 64M In-Reply-To: <96b5b0f1-d91c-1cb6-d1fa-7d6decc9c523@gmail.com> References: <20190607150426.1414-1-laurent.bonnans@here.com> <96b5b0f1-d91c-1cb6-d1fa-7d6decc9c523@gmail.com> Message-ID: <3bdb076f-d969-0efb-ab18-d3c68c007280@here.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 7/31/19 9:12 AM, Matthias Brugger wrote: > Hi Laurent, > > On 07/06/2019 17:04, Bonnans, Laurent wrote: >> On AArch64, kernel images are not self-decompressing and easily exceed >> the 8MB limit. >> >> Signed-off-by: Laurent Bonnans >> --- >> include/configs/rpi.h | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/include/configs/rpi.h b/include/configs/rpi.h >> index 9ce41767a9..1a5ae26ae7 100644 >> --- a/include/configs/rpi.h >> +++ b/include/configs/rpi.h >> @@ -55,6 +55,7 @@ >> #define CONFIG_SYS_MEMTEST_START 0x00100000 >> #define CONFIG_SYS_MEMTEST_END 0x00200000 >> #define CONFIG_LOADADDR 0x00200000 >> +#define CONFIG_SYS_BOOTM_LEN SZ_64M >> > Sorry for the late reply. > If it's only needed for ARM64 then we should make it set for this architecture, > right? That seems to be the best call indeed. Then I wonder if we should just set the default larger if CONFIG_ARM64 because the problem should arise almost in all case, I believe. There is a similar define in sunxi-common.h for example. But anyway, that's a larger debate, I'll send another patch with the ARM64 check in the header file. > Next time you send a patch, plese add the maintainers mailinglist. This way I'll > find the patch easier. Yes, sorry about that. Only realized it later... Laurent