See notes below.. thanks
Giovanni -- Dott. Ing. Giovanni Foiani Cell: +39-349-3577515 Phone: +39-0532-97-4106 mail: giovanni.foi...@unife.it CenTec - Corso Guercino, 47 - 44042 Cento (FE) On Wed, Jul 18, 2012 at 7:11 PM, Zhang, Jessica <jessica.zh...@intel.com>wrote: > Please see my comments below…**** > > ** ** > > ** ** > > ** ** > > *From:* Giovanni Foiani [mailto:fno...@unife.it] > *Sent:* Wednesday, July 18, 2012 7:25 AM > *To:* Zhang, Jessica > *Cc:* yocto@yoctoproject.org > *Subject:* Re: [yocto] Problem building Yocto Hello World demo on imx53QSB > **** > > ** ** > > Hi Jessica,**** > > ** ** > > downgrading from Ubuntu 11.04 (32 bit) to Ubuntu 10.04 (32 bit) and > following the ADT manual procedure HelloWorld demo works.**** > > [JZ] This I’m assuming you strictly follow the ADT manual and use the > Yocto project built out toolchain, right? Why downgrade from Ubuntu 11.04 > to 10.04? I don’t think you need to do that unless 10.04 is what you want. > **** > > ** > Yocto warned me that my distribution was not supported so compatibly with this document <https://wiki.yoctoproject.org/wiki/Distribution_Support> I decided to downgrade to Ubuntu 10.04 ** > > ** ** > > I noticed that ADT creates an armv5 tool chain instead building the > toolchain using Freescale layer (because I need to deploy the application > on a iMX53QSB) it creates an armv7 tool chain (that is the right processor > architecture).**** > > Can this create problems?**** > > [JZ] In that case, you need to build out an armv7 toolchain. The key is > to add the Freescale layer and set target MACHINE appropriately. And use > that toolchain for your cross development. It should work. > Yes adding Freescale layer and pointing to the toolchain under the build tree it works. My configuration are: - Toolchain root location: /home/gfoiani/yocto/poky/build - Sysroot location: /home/gfoiani/yocto/poky/build/tmp/sysroots/imx53qsb > **** > > ** ** > > Thanks**** > > ** ** > > Giovanni > **** > > -- > > Dott. Ing. Giovanni Foiani**** > > Cell: +39-349-3577515 > Phone: +39-0532-97-4106 > mail: giovanni.foi...@unife.it**** > > CenTec - Corso Guercino, 47 - 44042 Cento (FE)**** > > > > **** > > On Tue, Jul 17, 2012 at 5:12 PM, Zhang, Jessica <jessica.zh...@intel.com> > wrote:**** > > Hi Giovanni,**** > > **** > > Can you following the ADT manual and use the built 1.2.1 toolchain tar > ball? The meta-ide-support is supposed to be used under build tree instead > of copied over to /opt/poky.**** > > **** > > Cheers,**** > > Jessica**** > > **** > > *From:* yocto-boun...@yoctoproject.org [mailto: > yocto-boun...@yoctoproject.org] *On Behalf Of *Giovanni Foiani > *Sent:* Tuesday, July 17, 2012 2:29 AM > *To:* yocto@yoctoproject.org > *Subject:* [yocto] Problem building Yocto Hello World demo on imx53QSB**** > > **** > > Hi,**** > > **** > > I need to deploy a C application that I have made on a Freescale iMX53 > QSB. **** > > First I wanted to test the cross-compilation environment building the > Hello World demo but I got some issues. **** > > I made the following steps:**** > > - download yocto denzil**** > - source oe-init-build-env**** > - edit local.conf and bblayers.conf files**** > - run 'bitbake meta-ide-support'**** > - copied the resultant sdk in /opt/poky**** > - installed Yocto Eclipse plugin**** > - Configured the plugin as following**** > > > - toolchain root location: /opt/poky/1.2.1**** > - sysroot > location: /opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi > **** > > When I build the project I get the following error:**** > > **** > > *Invoking autogen.sh in build directory: > /home/gfoiani/workspace/idea-c-application***** > > **** > > *Command-line environment variables:***** > > * CFLAGS=" -g -O0 -march=armv7-a -fno-tree-vectorize > -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 > --sysroot=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi" > CXXFLAGS=" -g -O0 -march=armv7-a -fno-tree-vectorize -mthumb-interwork > -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 > --sysroot=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi" > LDFLAGS=" > --sysroot=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi" > CPPFLAGS=" -march=armv7-a -fno-tree-vectorize -mthumb-interwork > -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 > --sysroot=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi"**** > * > > **** > > *sh /home/gfoiani/workspace/idea-c-application/autogen.sh > --with-libtool-sysroot=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi > --target=arm-poky-linux-gnueabi --host=arm-poky-linux-gnueabi > --build=i686-linux > --with-libtool-sysroot=/opt/poky/1.2.1/sysroots/armv7a-vfp-neon-poky-linux-gnueabi > ***** > > *configure.ac:24: error: AC_SUBST: `idea-c-application_CFLAGS' is not a > valid shell variable name***** > > *configure.ac:24: the top level***** > > *autom4te: m4 failed with exit status: 1***** > > *aclocal: autom4te failed with exit status: 1***** > > *configure.ac:24: error: AC_SUBST: `idea-c-application_CFLAGS' is not a > valid shell variable name***** > > *configure.ac:24: the top level***** > > *autom4te: m4 failed with exit status: 1***** > > *configure.ac:24: error: AC_SUBST: `idea-c-application_CFLAGS' is not a > valid shell variable name***** > > *configure.ac:24: the top level***** > > *autom4te: m4 failed with exit status: 1***** > > *autoheader: > '/opt/poky/1.2.1/sysroots/i686-pokysdk-linux/usr/bin/autom4te' failed with > exit status: 1***** > > *configure.ac:24: error: AC_SUBST: `idea-c-application_CFLAGS' is not a > valid shell variable name***** > > *configure.ac:24: the top level***** > > *autom4te: m4 failed with exit status: 1***** > > *automake: autoconf failed with exit status: 1***** > > */home/gfoiani/workspace/idea-c-application/autogen.sh: line 9: > ./configure: No such file or directory***** > > **** > > *Configuration failed with error***** > > **** > > What Am I doing wrong?**** > > **** > > Thanks**** > > **** > > Giovanni**** > > -- > > Dott. Ing. Giovanni Foiani**** > > Cell: +39-349-3577515 > Phone: +39-0532-97-4106 > mail: giovanni.foi...@unife.it**** > > CenTec - Corso Guercino, 47 - 44042 Cento (FE)**** > > **** > > ** ** >
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto