[Buildroot] genimage raw partition from multiple files

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Aug 2 18:11:36 UTC 2017


Hello,

On Wed, 2 Aug 2017 20:09:01 +0200, Michał Łyszczek wrote:

> > And those two snippets of genimage configuration can be in a single
> > genimage.cfg, and both uboot.img and then sdcard.img will be produced
> > by a single genimage invocation ? Or do we need a first genimage
> > invocation to generate uboot.img, and then a second genimage invocation
> > to generate sdcard.img (which requires uboot.img) ?
> 
> Only one invocation of genimage.sh is needed to generate working
> sdcard.img. Yes! It's that simple! I attach full genimage.cfg I created
> for my port for cyclone5. This genimage.cfg creates fully working
> sdcard.img (including uboot.img), and only external script used is
> support/script/genimage.sh -c genimage.cfg.

Excellent! So I guess you can send a new version of your patch!

Also, don't hesitate to contribute to genimage to improve its
documentation.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list