[meta-freescale] meta-freescale Digest, Vol 13, Issue 34

Stuart Weaver stuart.weaver at port.ac.uk
Wed Nov 13 09:04:23 PST 2013


>I'm tryng to build Freescale Yocto Image following "Freescale Yocto Project
>Tutorial" instructions.
>If I use master (or master-next) repository's branch to init repo:
>
>fsl-community-bsp $ repo init \
>-u https://github.com/Freescale/fsl-community-bsp-platform \
>-b master
>
>when I bitbake an image, for example :
>
>build $ bitbake core-image-minimal
>
>bitbake fails and displays following output:
>
>WARNING: Variable sysroot_stage_all contains tabs, please remove these
>(/home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
>linux-fslc_3.12.bb)| ETA:  00:00:19
>NOTE: Error during finalise of
>/home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
>linux-fslc_3.12.bb
>ERROR: ExpansionError during parsing
>/home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
>linux-fslc_3.12.bb: Failure expanding variable sysroot_stage_all:
>IndentationError: unexpected indent (<string>, line 4)
>WARNING: Variable sysroot_stage_all contains tabs, please remove these
>(/home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
>linux-imx_3.0.35.bb)
>NOTE: Error during finalise of
>/home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
>linux-imx_3.0.35.bb
>WARNING: Variable sysroot_stage_all contains tabs, please remove these
>(/home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
>linux-imx_3.5.7.bb)
>NOTE: Error during finalise of
>/home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
>linux-imx_3.5.7.bb
>
>Summary: There were 3 WARNING messages shown.
>Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
>Note, if I use dora repository's branch to init repo, all the task are
>executed successfully and bitbake generates required images.
>
>Can anyone help me to solve this issue ?
>
>
>Thanks.
>Regards
>Fabio

I'm having the same issue with this after doing 'repo sync' today. I
managed to get rid of some of the warnings by taking indents out from
sources/meta-fsl-arm/recipes-kernel/linux/linux-imx.inc at the
'sysroot_stage_all_append()'
but still having issues with the error. Any idea how to solve the error/new
patch for this?

Regards,
Stu


On 13 November 2013 13:11, <meta-freescale-request at yoctoproject.org> wrote:

> Send meta-freescale mailing list submissions to
>         meta-freescale at yoctoproject.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.yoctoproject.org/listinfo/meta-freescale
> or, via email, send a message with subject or body 'help' to
>         meta-freescale-request at yoctoproject.org
>
> You can reach the person managing the list at
>         meta-freescale-owner at yoctoproject.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of meta-freescale digest..."
>
>
> Today's Topics:
>
>    1. [meta-fsl-arm][PATCH 07/10] imx6qsabreauto.conf:  Add
>       gpmi-weim DTS (Otavio Salvador)
>    2. [meta-fsl-arm][PATCH 09/10] imx6slevk.conf: Add   ldo device
>       tree (Otavio Salvador)
>    3. [meta-fsl-arm][PATCH 08/10] imx6qsabresd.conf: Add        ldo and
>       hdcp DTS (Otavio Salvador)
>    4. [meta-fsl-arm][PATCH 10/10] imx6solosabresd.conf: Add ldo
>       device tree (Otavio Salvador)
>    5. Re: [meta-fsl-arm-extra][PATCH 1/2] m28evk: Do not        enable
>       GStreamer plugin (Marek Vasut)
>    6. Re: [meta-fsl-arm-extra][PATCH 2/2] m53evk: Do not        enable
>       GStreamer plugin (Marek Vasut)
>    7. Bitbake generates error during parsing (Fabio Labruna)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 12 Nov 2013 22:00:29 -0200
> From: Otavio Salvador <otavio at ossystems.com.br>
> To: meta-freescale Mailing List <meta-freescale at yoctoproject.org>
> Subject: [meta-freescale] [meta-fsl-arm][PATCH 07/10]
>         imx6qsabreauto.conf:    Add gpmi-weim DTS
> Message-ID:
>         <1384300832-11051-7-git-send-email-otavio at ossystems.com.br>
>
> From: Lauren Post <lauren.post at freescale.com>
>
> ENGR00269945: ARM: imx6: add the secondary sabreauto dts for pin conflict
>
> The patch is to solve the pin conflicts between devices that are
> currently added in imx6qdl-sabreauto dts file.  It has ecspi1, i2c3, and
> uart3 enabled while gpmi and weim disabled in the primary
> imx6qdl-sabreauto.dtsi, and creates the secondary
> imx6q/dl-sabreauto dts to have gpmi and weim enabled while others
> disabled.  Since usbh1 and usbotg depend on GPIO from max7310 on i2c3,
> they have to be disabled as well in the secondary sabreauto dts files.
>
> Change-Id: I6338e60fa8c1622b2a73e99aa1e3def0a2555bc2
> Signed-off-by: Lauren Post <lauren.post at freescale.com>
> ---
>  conf/machine/imx6qsabreauto.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/conf/machine/imx6qsabreauto.conf
> b/conf/machine/imx6qsabreauto.conf
> index 4d367db..7455255 100644
> --- a/conf/machine/imx6qsabreauto.conf
> +++ b/conf/machine/imx6qsabreauto.conf
> @@ -7,7 +7,7 @@ require conf/machine/include/imx6sabreauto-common.inc
>
>  SOC_FAMILY = "mx6:mx6q"
>
> -KERNEL_DEVICETREE = "imx6q-sabreauto.dtb"
> +KERNEL_DEVICETREE = "imx6q-sabreauto.dtb imx6q-sabreauto-gpmi-weim.dtb"
>
>  UBOOT_CONFIG ??= "sd"
>  UBOOT_CONFIG[sd] = "mx6qsabreauto_config,sdcard"
> --
> 1.8.4.rc3
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 12 Nov 2013 22:00:31 -0200
> From: Otavio Salvador <otavio at ossystems.com.br>
> To: meta-freescale Mailing List <meta-freescale at yoctoproject.org>
> Subject: [meta-freescale] [meta-fsl-arm][PATCH 09/10] imx6slevk.conf:
>         Add     ldo device tree
> Message-ID:
>         <1384300832-11051-9-git-send-email-otavio at ossystems.com.br>
>
> From: Lauren Post <lauren.post at freescale.com>
>
> ENGR00277895: dts: ARM: imx6: add ldo-enable dts files
>
>   Currently, we use different dts files to support ldo-bypass or
> ldo-enable, then
> we need add both dts files for the boards which can support ldo-bypass
> mode(all
> boards support ldo-enable at least). So for below boards we need add
> ldo-enable
> dts file so that we can use this to easily support ldo-enable mode:
>   1)mx6q-sabresd board:  ldo-bypass dts->mx6q-sabresd.dtb,
>                          ldo-enable dts->mx6q-sabresd-ldo.dtb
>   2)mx6q-sabresd board:  ldo-bypass dts->mx6dl-sabresd.dtb,
>                  ldo-enable dts->mx6dl-sabresd-ldo.dtb
>   3)mx6sl-evk board:     ldo-bypass dts->mx6sl-evk.dtb,
>                  ldo-enable dts->mx6sl-evk-ldo.dtb
>
> Change-Id: I997bf896a3d3fde482fe9c120a92c16d49817adb
> Signed-off-by: Lauren Post <lauren.post at freescale.com>
> ---
>  conf/machine/imx6slevk.conf | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/conf/machine/imx6slevk.conf b/conf/machine/imx6slevk.conf
> index da16c1d..990f48a 100644
> --- a/conf/machine/imx6slevk.conf
> +++ b/conf/machine/imx6slevk.conf
> @@ -8,6 +8,8 @@ include conf/machine/include/tune-cortexa9.inc
>
>  SOC_FAMILY = "mx6:mx6sl"
>
> +KERNEL_DEVICETREE = "imx6sl-evk.dtb imx6sl-evk-ldo.dtb"
> +
>  UBOOT_MACHINE = "mx6slevk_config"
>
>  SERIAL_CONSOLE = "115200 ttymxc0"
> --
> 1.8.4.rc3
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 12 Nov 2013 22:00:30 -0200
> From: Otavio Salvador <otavio at ossystems.com.br>
> To: meta-freescale Mailing List <meta-freescale at yoctoproject.org>
> Subject: [meta-freescale] [meta-fsl-arm][PATCH 08/10]
>         imx6qsabresd.conf: Add  ldo and hdcp DTS
> Message-ID:
>         <1384300832-11051-8-git-send-email-otavio at ossystems.com.br>
>
> From: Lauren Post <lauren.post at freescale.com>
>
> ENGR00274059-02 ARM: Add new dts for imx6q/imx6dl SabreSD hdcp
>
> hdcp ddc pins conflict with i2c2,
> add new dts file for imx6q and imx6dl SabreSD board,
> enable hdcp and disable i2c2 in these dts files.
> Remove hdmi pins property from mx6qdl-sabresd.dtsi.
>
> ENGR00279402-1 ARM: dts: imx6: add wdog reset source seclect in dts
>
> Some boards use another WDOG reset source to reboot system in ldo-bypass
> mode.
> We need add the property in board dts file so that we can easily know the
> WDOG reset source currently.
>
> For Sabresd, WDOG1 for ldo-enable mode(WDOG event), WDOG2 for ldo-bypass
> mode
> (reset external pmic to trigger POR event).
> For sl-evk board, there is no WDOG pin connected with external pmic as
> Sabresd
> , because mx6sl boot at 400Mhz. Then both ldo-enable and ldo-bypass mode
> use
> the common WDOG1 as reset source.
>
> ENGR00277895: dts: ARM: imx6: add ldo-enable dts files
>
>   Currently, we use different dts files to support ldo-bypass or
> ldo-enable, then
> we need add both dts files for the boards which can support ldo-bypass
> mode(all
> boards support ldo-enable at least). So for below boards we need add
> ldo-enable
> dts file so that we can use this to easily support ldo-enable mode:
>   1)mx6q-sabresd board:  ldo-bypass dts->mx6q-sabresd.dtb,
>                          ldo-enable dts->mx6q-sabresd-ldo.dtb
>   2)mx6q-sabresd board:  ldo-bypass dts->mx6dl-sabresd.dtb,
>                  ldo-enable dts->mx6dl-sabresd-ldo.dtb
>   3)mx6sl-evk board:     ldo-bypass dts->mx6sl-evk.dtb,
>                  ldo-enable dts->mx6sl-evk-ldo.dtb
>
> Change-Id: I38fb55249a002888c9da2c5e298acca089759876
> Signed-off-by: Lauren Post <lauren.post at freescale.com>
> ---
>  conf/machine/imx6qsabresd.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/conf/machine/imx6qsabresd.conf
> b/conf/machine/imx6qsabresd.conf
> index f0eff4a..ccac357 100644
> --- a/conf/machine/imx6qsabresd.conf
> +++ b/conf/machine/imx6qsabresd.conf
> @@ -7,7 +7,7 @@ require conf/machine/include/imx6sabresd-common.inc
>
>  SOC_FAMILY = "mx6:mx6q"
>
> -KERNEL_DEVICETREE = "imx6q-sabresd.dtb"
> +KERNEL_DEVICETREE = "imx6q-sabresd.dtb imx6q-sabresd-ldo.dtb
> imx6q-sabresd-hdcp.dtb"
>
>  UBOOT_CONFIG ??= "sd"
>  UBOOT_CONFIG[sd] = "mx6qsabresd_config,sdcard"
> --
> 1.8.4.rc3
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 12 Nov 2013 22:00:32 -0200
> From: Otavio Salvador <otavio at ossystems.com.br>
> To: meta-freescale Mailing List <meta-freescale at yoctoproject.org>
> Subject: [meta-freescale] [meta-fsl-arm][PATCH 10/10]
>         imx6solosabresd.conf:   Add ldo device tree
> Message-ID:
>         <1384300832-11051-10-git-send-email-otavio at ossystems.com.br>
>
> From: Lauren Post <lauren.post at freescale.com>
>
> ENGR00277895: dts: ARM: imx6: add ldo-enable dts files
>
>   Currently, we use different dts files to support ldo-bypass or
> ldo-enable, then
> we need add both dts files for the boards which can support ldo-bypass
> mode(all
> boards support ldo-enable at least). So for below boards we need add
> ldo-enable
> dts file so that we can use this to easily support ldo-enable mode:
>   1)mx6q-sabresd board:  ldo-bypass dts->mx6q-sabresd.dtb,
>                          ldo-enable dts->mx6q-sabresd-ldo.dtb
>   2)mx6q-sabresd board:  ldo-bypass dts->mx6dl-sabresd.dtb,
>                  ldo-enable dts->mx6dl-sabresd-ldo.dtb
>   3)mx6sl-evk board:     ldo-bypass dts->mx6sl-evk.dtb,
>                  ldo-enable dts->mx6sl-evk-ldo.dtb
>
> Change-Id: I261c516495e3921fb1c2d8937d96fb6e3a23e87b
> Signed-off-by: Lauren Post <lauren.post at freescale.com>
> ---
>  conf/machine/imx6solosabresd.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/conf/machine/imx6solosabresd.conf
> b/conf/machine/imx6solosabresd.conf
> index cfc30d2..5782268 100644
> --- a/conf/machine/imx6solosabresd.conf
> +++ b/conf/machine/imx6solosabresd.conf
> @@ -7,7 +7,7 @@ require conf/machine/include/imx6sabresd-common.inc
>
>  SOC_FAMILY = "mx6:mx6s"
>
> -KERNEL_DEVICETREE = "imx6dl-sabresd.dtb"
> +KERNEL_DEVICETREE = "imx6dl-sabresd.dtb imx6dl-sabresd-ldo.dtb"
>
>  PREFERRED_PROVIDER_u-boot = "u-boot-imx"
>  PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx"
> --
> 1.8.4.rc3
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 13 Nov 2013 01:08:09 +0100
> From: Marek Vasut <marex at denx.de>
> To: Otavio Salvador <otavio at ossystems.com.br>
> Cc: meta-freescale Mailing List <meta-freescale at yoctoproject.org>
> Subject: Re: [meta-freescale] [meta-fsl-arm-extra][PATCH 1/2] m28evk:
>         Do not  enable GStreamer plugin
> Message-ID: <201311130108.09698.marex at denx.de>
> Content-Type: Text/Plain;  charset="us-ascii"
>
> Dear Otavio Salvador,
>
> > The kernel used for this board is based in the mainline kernel and
> > does not provide the Freescale specific headers so we cannot build the
> > GStreamer specific plugin.
> >
> > Change-Id: Icd9e08c3e774ea3a0df2c532ef52619d378a4fca
> > Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> > ---
> >  conf/machine/m28evk.conf | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/conf/machine/m28evk.conf b/conf/machine/m28evk.conf
> > index abe7c03..76d5b3d 100644
> > --- a/conf/machine/m28evk.conf
> > +++ b/conf/machine/m28evk.conf
> > @@ -21,3 +21,6 @@ SERIAL_CONSOLE = "115200 ttyAMA0"
> >  KERNEL_IMAGETYPE = "uImage"
> >
> >  MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"
> > +
> > +# Avoid adding gst-fsl-plugin as we use non-FSL kernel
> > +MACHINE_GSTREAMER_PLUGIN_m28evk = ""
>
> Acked-by: Marek Vasut <marex at denx.de>
>
> Best regards,
> Marek Vasut
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 13 Nov 2013 01:08:02 +0100
> From: Marek Vasut <marex at denx.de>
> To: Otavio Salvador <otavio at ossystems.com.br>
> Cc: meta-freescale Mailing List <meta-freescale at yoctoproject.org>
> Subject: Re: [meta-freescale] [meta-fsl-arm-extra][PATCH 2/2] m53evk:
>         Do not  enable GStreamer plugin
> Message-ID: <201311130108.02707.marex at denx.de>
> Content-Type: Text/Plain;  charset="us-ascii"
>
> Dear Otavio Salvador,
>
> > The kernel used for this board is based in the mainline kernel and
> > does not provide the Freescale specific headers so we cannot build the
> > GStreamer specific plugin.
> >
> > Change-Id: I382759bc05a74c638cb80dd61ce950bf896d33cf
> > Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> > ---
> >  conf/machine/m53evk.conf | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/conf/machine/m53evk.conf b/conf/machine/m53evk.conf
> > index e2fbc56..20f0684 100644
> > --- a/conf/machine/m53evk.conf
> > +++ b/conf/machine/m53evk.conf
> > @@ -21,3 +21,6 @@ IMAGE_FSTYPES ?= "tar.bz2 ext3 sdcard"
> >  SERIAL_CONSOLE = "115200 ttymxc1"
> >
> >  MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"
> > +
> > +# Avoid adding gst-fsl-plugin as we use non-FSL kernel
> > +MACHINE_GSTREAMER_PLUGIN_m53evk = ""
>
> Acked-by: Marek Vasut <marex at denx.de>
>
> Best regards,
> Marek Vasut
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 13 Nov 2013 14:10:55 +0100
> From: Fabio Labruna <fabio at siddha.it>
> To: meta-freescale at yoctoproject.org
> Subject: [meta-freescale] Bitbake generates error during parsing
> Message-ID:
>         <CAANnQG11egUo3B03O=fw1T=
> Qaye_UhrnyKhZQ1o1hjCp9e3FpA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I'm tryng to build Freescale Yocto Image following "Freescale Yocto Project
> Tutorial" instructions.
> If I use master (or master-next) repository's branch to init repo:
>
> fsl-community-bsp $ repo init \
> -u https://github.com/Freescale/fsl-community-bsp-platform \
>  -b master
>
> when I bitbake an image, for example :
>
> build $ bitbake core-image-minimal
>
> bitbake fails and displays following output:
>
> WARNING: Variable sysroot_stage_all contains tabs, please remove these
> (/home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
> linux-fslc_3.12.bb)| ETA:  00:00:19
> NOTE: Error during finalise of
> /home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
> linux-fslc_3.12.bb
> ERROR: ExpansionError during parsing
> /home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
> linux-fslc_3.12.bb: Failure expanding variable sysroot_stage_all:
> IndentationError: unexpected indent (<string>, line 4)
> WARNING: Variable sysroot_stage_all contains tabs, please remove these
> (/home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
> linux-imx_3.0.35.bb)
> NOTE: Error during finalise of
> /home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
> linux-imx_3.0.35.bb
> WARNING: Variable sysroot_stage_all contains tabs, please remove these
> (/home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
> linux-imx_3.5.7.bb)
> NOTE: Error during finalise of
> /home/sfera/fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/
> linux-imx_3.5.7.bb
>
> Summary: There were 3 WARNING messages shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
> Note, if I use dora repository's branch to init repo, all the task are
> executed successfully and bitbake generates required images.
>
> Can anyone help me to solve this issue ?
>
> Thanks.
> Regards
> Fabio
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20131113/af53ce3a/attachment.html
> >
>
> ------------------------------
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
>
> End of meta-freescale Digest, Vol 13, Issue 34
> **********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20131113/55db6f99/attachment.html>


More information about the meta-freescale mailing list