[meta-freescale] [meta-fsl-arm][PATCH] image_types_fsl: mxs: Add support for a barebox bootstream

Otavio Salvador otavio at ossystems.com.br
Thu Aug 22 10:02:04 PDT 2013


On Thu, Aug 22, 2013 at 11:42 AM, Alexandre Belloni
<alexandre.belloni at free-electrons.com> wrote:
> Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
> ---
>  classes/image_types_fsl.bbclass | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>
> diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
> index 1868c41..7048f06 100644
> --- a/classes/image_types_fsl.bbclass
> +++ b/classes/image_types_fsl.bbclass
> @@ -36,6 +36,18 @@ IMAGE_CMD_linux.sb () {
>         rm -f $kernel_bin-dtb
>  }
>
> +# IMX Bootlets barebox bootstream
> +IMAGE_DEPENDS_barebox.sb = "elftosb-native mx28-bcb-native imx-bootlets barebox"
> +IMAGE_LINK_NAME_barebox.sb = ""
> +IMAGE_CMD_barebox.sb () {
> +       barebox_bd_file=imx-bootlets-barebox_ivt.bd-${MACHINE}
> +
> +       # Ensure the file is generated
> +       rm -f ${IMAGE_NAME}.barebox.sb
> +       elftosb -f mx28 -z -c $barebox_bd_file -o ${IMAGE_NAME}.barebox.sb
> +}
> +
> +

Drop one of new lines.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the meta-freescale mailing list