[meta-freescale] [meta-fsl-arm][PATCHv2] mx28-bcb: add utility to generate Boot Control Block

Marek Vasut marex at denx.de
Thu Aug 22 20:15:32 PDT 2013


Dear Otavio Salvador,

> On Thu, Aug 22, 2013 at 11:41 AM, Alexandre Belloni
> 
> <alexandre.belloni at free-electrons.com> wrote:
> > From chapter 12.11.1 of the i.MX28 Applications Processor Reference
> > Manual, Rev. 1, 2010, a Boot Control Block is needed when booting from
> > an SD/MMC card. The mx28_bcb.py utility will generate and write the BCB
> > to a file, it will also write the provided bootstream.
> > 
> > Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
> > ---
> > 
> >  recipes-bsp/mx28-bcb/files/mx28_bcb.py | 56
> >  ++++++++++++++++++++++++++++++++++ recipes-bsp/mx28-bcb/mx28-bcb_1.0.bb
> >    | 20 ++++++++++++
> >  2 files changed, 76 insertions(+)
> >  create mode 100755 recipes-bsp/mx28-bcb/files/mx28_bcb.py
> >  create mode 100644 recipes-bsp/mx28-bcb/mx28-bcb_1.0.bb
> > 
> > diff --git a/recipes-bsp/mx28-bcb/files/mx28_bcb.py
> > b/recipes-bsp/mx28-bcb/files/mx28_bcb.py new file mode 100755
> > index 0000000..ea2038b
> > --- /dev/null
> > +++ b/recipes-bsp/mx28-bcb/files/mx28_bcb.py
> > @@ -0,0 +1,56 @@
> 
> I'd put your copyright here as well.

Why do you not use mxsboot tool from U-Boot instead of re-inventing the wheel?

Best regards,
Marek Vasut



More information about the meta-freescale mailing list