[Buildroot] Checking the size of the output images
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Feb 4 14:24:30 UTC 2017
Hello,
On Fri, 3 Feb 2017 09:17:13 -0500, Patrick Doyle wrote:
> Is there a buildroot standard way to check the size of the zImage file
> produced to ensure that it will fit in a particular flash partition?
>
> I can invent one, but I'd rather follow existing examples, and it
> seems to me that this should probably be a common enough scenario that
> others have already address it.
I guess you can simply write a post-image script that does whatever
checks you want on the images produced by Buildroot (including making
sure the image size is below a given value).
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list