From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Holler Date: Thu, 28 Oct 2010 13:00:00 +0200 Subject: [U-Boot] Small default of 8MB for CONFIG_SYS_BOOTM_LEN In-Reply-To: <4CC954A1.8030009@ahsoftware.de> References: <4CC954A1.8030009@ahsoftware.de> Message-ID: <4CC957B0.5010501@ahsoftware.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 28.10.2010 12:46, schrieb Alexander Holler: > Hello, > > is there a reason why CONFIG_SYS_BOOTM_LEN is defined to 8MB by default? > > I've build me a kernel containing a small initramfs (just busybox and > some modules) and already hit that limit (for having a bootable kernel > which doesn't need anything else). > > If raising that limit doesn't consume any memory, I would like it to > have something around 16MB or even larger. That would eleminate the need > to rebuild u-boot just for such a use case. Sorry, I'm thinking to slowly, so I have to send another mail. Maybe (size of available DRAM)/2 or something similiar would be reasonable. Having looked at some code, it seems it's nowhere checked if that limit hits any other limits (e.g. on machines which just have 8MB). Regards, Alexander