[Buildroot] [PATCH 1/3] board/freescale/imx: Add helper to generate fw binary

Xavier Roumegue xroumegue at gmail.com
Tue Apr 28 20:28:37 UTC 2020


On Mon, Apr 27, 2020 at 06:44:09PM -0300, Fabio Estevam wrote:
> Hi Xavier,
>
> On Mon, Apr 27, 2020 at 6:16 PM Xavier Roumegue <xroumegue at gmail.com> wrote:
> >
> > This script aims to create an imx compatible boot image embedding
> > mainline components, using only upstream uboot mkimage tool, avoiding
> > dependencies on proprietary imx mkimage.
> >
> > Mainline u-boot can generate a bootable image, but SPL soc proprietary
> > firmware dependencies have to be copied on uboot root dir.
> >
> > This script prevents additional buildroot uboot recipe hacking to handle
> > custom SoC uboot build process.
> >
> > The script actions summary is:
> > - Append DDR4 firmware to uboot spl binary
> > - Generate imx mkimage configuration file, extracting entry points from
> >   relevant elf files on the fly.
> > - Generate imx boot image using uboot upstream mkimage tool
> >
> > Signed-off-by: Xavier Roumegue <xroumegue at gmail.com>
>
> This is cool :-) I like it!

Hi Fabio
Glad to read you like the idea !
>
> Do you think we can also expand this later to support booting i.MX8QXP
> and i.MX8QM too?
Yes, that's exactly the intention here, supporting all imx8 platforms, relying
on uboot mkimage only.

Xavier


More information about the buildroot mailing list