[meta-freescale] [PATCH 1/2] image_types_fsl.bbclass: add uboot.mxsboot-nand image generation
Otavio Salvador
otavio at ossystems.com.br
Mon Jun 2 14:49:36 PDT 2014
Hello Alexey,
Thanks for sending this for upstreaming. Please see the comments below...
On Mon, Jun 2, 2014 at 10:24 AM, Alexey Ignatov <lexszero at gmail.com> wrote:
Please describe it more extensively in the commitlog, something as:
image_types_fsl.bbclass: Add U-Boot NAND support for i.MX23/i.MX28
This adds support to generate the U-Boot image for use with NAND
(uboot.mxsboot-nand) and allows for custom params to be given for
mxsboot using the MXSBOOT_NAND_ARGS variable which should be defined
in the machine definition file.
Signed-off-by:...
> diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
> index dfa55e4..d585512 100644
> --- a/classes/image_types_fsl.bbclass
> +++ b/classes/image_types_fsl.bbclass
...
> +IMAGE_CMD_uboot.mxsboot-nand = "mxsboot ${MXSBOOT_ARGS} nand \
...
Change it to MXSBOOT_NAND_ARGS as we may want MXSBOOT_SD_ARGS or others later.
You need to add a week definition of MXSBOOT_NAND_ARGS in the began of
the class as:
# Extra params to pass for MXSBOOT_NAND_ARGS
MXSBOOT_NAND_ARGS ?= ""
--
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