[LEDE-DEV] [PATCH] cns3xxx: bump SPI partition map kernel size to 2MB

Tim Harvey tharvey at gateworks.com
Tue Sep 6 13:55:19 PDT 2016


On Tue, Sep 6, 2016 at 1:17 PM, Felix Fietkau <nbd at nbd.name> wrote:
> On 2016-09-06 18:38, Tim Harvey wrote:
>> The 4.4 kernel is not easily sized down to below the 1.5MB limit imposed by
>> the SPI flash MTD partition mapping. Increase this to 2MB where it is for
>> NOR flash devices. Additionally add a check that ensures the kernel fits
>> within the 2MB limit.
> How about using mtdsplit to make this dynamic?

Felix,

If this just affects image creation and doesn't require users to
change their bootloader bootscript or flashing method that would be
fine. Can you point me to an example target that uses this in what you
would call a proper way?

Thanks,

Tim



More information about the Lede-dev mailing list