[Buildroot] [PATCH 1/4] board/minnowboard-max: Rework to generate SD card image

Ezequiel Garcia ezequiel at vanguardiasur.com.ar
Wed Apr 13 20:05:34 UTC 2016


On 13 April 2016 at 16:59, Peter Korsgaard <peter at korsgaard.com> wrote:
>>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:
>
>  > On 04/12/16 07:29, Ezequiel Garcia wrote:
>  >> Let's rework the board and config files to use genimage
>  >> to generate the SD card image directly.
>  >>
>  >> Signed-off-by: Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>
>
>  > Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
>
>  >> ---
>  >> board/minnowboard-max/genimage.cfg  | 34 ++++++++++++++++++++++++++++++++
>  >> board/minnowboard-max/post-image.sh | 13 +++++++++++++
>
>  >  If you feel up to it: I think it would be nice to add an fs/genimage
>  > infra that runs genimage at the end of the build with a user-specified
>  > config file. All the post-image scripts we have for the defconfigs are
>  > identical.
>
> Yes, I also think the time has come to add support for this.

I've just sent a patchset :-)

> Perhaps we
> should also add explicit sub options to pull in the needed dependencies
> (E.G. host-dosfstools/mtools for vfat, host-mtd for jffs2/ubifs,
> .. which isn't directly obvious).
>

Yeah, I thought about this, but went for the KISS (lazy?) option: just keep the
stuff as it is, and add the infra to make only the genimage call.
-- 
Ezequiel García, VanguardiaSur
www.vanguardiasur.com.ar


More information about the buildroot mailing list