Dear Roger,


On 04/01/18 18:18, Roger Pueyo Centelles | Guifi.net wrote:

Dear LiMers,

I've been recently using the lime-sdk tool (actually, a fork) to generate images for a number of devices. 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.


Actually the Kernel is not built but comes with the LEDE-SDK. This is in one side a feature (because we use the same Kernel as official LEDE release so we can use the same Kmods and stuff) but in the other side the Kernel image cannot be modified, so there are some options for reducing space which cannot be enabled.

Look at the libremesh flavors, what we do to reduce space is, for instance, to change hostapd-mini for wpad-mini.

Apart from these tricks there is nothing more that you can do.

Cheers.

Cheers,

Roger



_______________________________________________
lime-dev mailing list
lime-dev@lists.libremesh.org
https://lists.libremesh.org/mailman/listinfo/lime-dev