* [Buildroot] Checking the size of the output images
@ 2017-02-03 14:17 Patrick Doyle
2017-02-04 14:24 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Patrick Doyle @ 2017-02-03 14:17 UTC (permalink / raw)
To: buildroot
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.
--wpd
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Checking the size of the output images
2017-02-03 14:17 [Buildroot] Checking the size of the output images Patrick Doyle
@ 2017-02-04 14:24 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-02-04 14:24 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-04 14:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-03 14:17 [Buildroot] Checking the size of the output images Patrick Doyle
2017-02-04 14:24 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox