Dear LiMers,
I've been recently using the lime-sdk tool (actually, a fork
<https://dev.qmp.cat/projects/qmp-cooker/>) to generate images for a
number of devices
<https://dev.qmp.cat/projects/qmp-cooker/repository/revisions/master/entry/qmp.profiles.conf#L1>.
Overall it's been very successful but, with some of them, I've faced
some trouble.
Take the example of the Alfa N5 outdoor wireless CPE
(target=ar71xx/generic, profile=ALFANX), which has 8 MB of flash (enough
to fit a lot of packages). Once the additional packages are built
(./cooker -b ar71xx/generic --force-local) I cook the image (./cooker -c
ar71xx/generic --profile=ALFANX) but the process fails: the kernel built
locally is too big to fit in the device's partition scheme.
I guess the problem comes from the fact that the SDK builds packages
with some extra options (debug, symbols, etc.) compared to the
Buildroot. Have you experienced this behaviour? Do you have any idea on
how to overcome this? The lime-sdk cooker is a wonderful tool, and it
would be very nice to make it work with all the devices.
Cheers,
Roger