[U-Boot] Small default of 8MB for CONFIG_SYS_BOOTM_LEN

Alexander Holler holler at ahsoftware.de
Thu Oct 28 13:00:00 CEST 2010


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


More information about the U-Boot mailing list