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

Eric Bénard eric at eukrea.com
Thu Aug 22 03:19:38 PDT 2013


Hi Alexandre,

Le Thu, 22 Aug 2013 12:14:05 +0200,
Alexandre Belloni <alexandre.belloni at free-electrons.com> a écrit :

> 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/COPYING     | 340 +++++++++++++++++++++++++++++++++
>  recipes-bsp/mx28-bcb/files/mx28_bcb.py |  56 ++++++
>  recipes-bsp/mx28-bcb/mx28-bcb_1.bb     |  21 ++
>  3 files changed, 417 insertions(+)
>  create mode 100644 recipes-bsp/mx28-bcb/files/COPYING
>  create mode 100755 recipes-bsp/mx28-bcb/files/mx28_bcb.py
>  create mode 100644 recipes-bsp/mx28-bcb/mx28-bcb_1.bb
> 
> diff --git a/recipes-bsp/mx28-bcb/files/COPYING b/recipes-bsp/mx28-bcb/files/COPYING
> new file mode 100644
> index 0000000..6d45519
> --- /dev/null
> +++ b/recipes-bsp/mx28-bcb/files/COPYING
.../...
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
> +
LIC_FILES_CHKSUM =
"file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"

and you can avoid to include COPYING in the recipe (md5 are differents
because the files have different layout but content is the same).

Eric



More information about the meta-freescale mailing list