From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1506DE00473; Thu, 29 Oct 2015 08:45:05 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C92AEE00343 for ; Thu, 29 Oct 2015 08:45:01 -0700 (PDT) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id BC703F811E3; Thu, 29 Oct 2015 09:45:00 -0600 (MDT) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 03CE7F811E2; Thu, 29 Oct 2015 09:45:00 -0600 (MDT) To: meta-freescale@yoctoproject.org References: From: Gary Thomas Message-ID: <56323F3E.5090008@mlbassoc.com> Date: Thu, 29 Oct 2015 09:46:06 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: Build problems with MSC Q7, Yocto and Chromium X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2015 15:45:05 -0000 X-Groupsio-MsgNum: 16510 Content-Type: multipart/mixed; boundary="------------070901090203070604050406" --------------070901090203070604050406 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 2015-10-29 09:10, Gary MacDonald wrote: > Thanks, I'm using the MSC provided build of Yocto which is based on Dizzy, my GCC version is 4.8.4. > > the log file is as follows: > > > Build Configuration: > BB_VERSION = "1.24.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "Ubuntu-14.04" > TARGET_SYS = "arm-poky-linux-gnueabi" > MACHINE = "q7imx6_demo" > DISTRO = "poky" > DISTRO_VERSION = "1.7.1" > TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9" > TARGET_FPU = "vfp-neon" > meta > meta-yocto > meta-yocto-bsp = "dizzy-msc:ff482c2522f7092216a4ac7b335393a5294d97d5" > meta-msc-ldk-core = "MyMscLdk:ea32771751fe4747d3f4bcaaf3587cb024410337" > meta = "master:1c61d459a72806e1277d789f12d696e3bf5d1504" > meta-fsl-arm.git = "dizzy:de09415bac404f1edd25f0d84f90b2dc3ce7bb82" > meta-fsl-demos.git = "dizzy:48cb0bcdd226d2e7eee1fdc222713e1dff93342c" > meta-oe = "dizzy:6413cdb66acf43059f94d0076ec9b8ad6a475b35" > meta-gnome = "master:77582ef1bedd7c36c6aa708ffd474d613e55ad9d" > meta-browser = "master:6ae140b29f0201fe3bb470da8c96c9e142294ebf" > > NOTE: Preparing runqueue > NOTE: Executing SetScene Tasks > NOTE: Executing RunQueue Tasks > NOTE: Running task 5138 of 5140 (ID: 7, /home/ub3/msc-ldk/sources/meta-msc-ldk/meta-msc-ldk-core/recipes-core/images/msc-image-base.bb , do_rootfs) > NOTE: recipe msc-image-base-1.0-r0: task do_rootfs: Started > WARNING: log_check: There is a warn message in the logfile > WARNING: log_check: Matched keyword: [warn] > WARNING: log_check: warning: Schema 'org.freedesktop.gstreamer-0.10.default-elements' has path '/desktop/gstreamer/0.10/default-elements/'. Paths starting with '/apps/', > '/desktop/' or '/system/' are deprecated. > > ERROR: Error: The image creation script '/home/ub3/msc-ldk/build/CE85-demo/tmp/work/q7imx6_demo-poky-linux-gnueabi/msc-image-base/1.0-r0/temp/create_image.sdcard' returned 1: > 0+0 records in > 0+0 records out > 0 bytes (0 B) copied, 1.6863e-05 s, 0.0 kB/s > Model: (file) > Disk /home/ub3/msc-ldk/build/CE85-demo/tmp/deploy/images/q7imx6_demo/msc-image-base-q7imx6_demo-20151027094908.rootfs.sdcard: 726MB > Sector size (logical/physical): 512B/512B > Partition Table: msdos > Disk Flags: > > Number Start End Size Type File system Flags > 1 4194kB 12.6MB 8389kB primary lba > 2 12.6MB 721MB 709MB primary > > 766+1 records in > 766+1 records out > 392400 bytes (392 kB) copied, 0.000782631 s, 501 MB/s > mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows > mkfs.vfat: unable to create /home/ub3/msc-ldk/build/CE85-demo/tmp/work/q7imx6_demo-poky-linux-gnueabi/msc-image-base/1.0-r0/boot.img > mkfs.fat 3.0.26 (2014-03-07) > WARNING: exit code 1 from a shell command. > > ERROR: Function failed: do_rootfs > ERROR: Logfile of failure stored in: /home/ub3/msc-ldk/build/CE85-demo/tmp/work/q7imx6_demo-poky-linux-gnueabi/msc-image-base/1.0-r0/temp/log.do_rootfs.12583 > NOTE: recipe msc-image-base-1.0-r0: task do_rootfs: Failed > ERROR: Task 7 (/home/ub3/msc-ldk/sources/meta-msc-ldk/meta-msc-ldk-core/recipes-core/images/msc-image-base.bb , do_rootfs) failed with exit code '1' > NOTE: Tasks Summary: Attempted 5139 tasks of which 5138 didn't need to be rerun and 1 failed. It's not really clear why this is failing (no error message at the point of failure). Try applying this patch to your meta-fsl-arm tree to see if it helps: commit 928e817c442b0771f89317289046f51c07460b0f Author: Gary Thomas Date: Mon Jun 15 08:41:33 2015 -0600 image_types_fsl: Fix boot.img overwrite error > > On Thu, Oct 29, 2015 at 10:53 AM, Otavio Salvador > wrote: > > Hello Gary, > > On Thu, Oct 29, 2015 at 5:55 AM, Gary MacDonald > wrote: > > I have an MSC Q7 board and I'm trying to build Yocto to include an > > accelerated Chromium. > > > > I seem to be really struggling to get the HW acceleration/GPU to kick in. > > I'm trying to get the OSSystems meta-browser layer to work, but for some > > reason I'm unable to fathom, the build always fails at do_rootfs when I add > > the CORE_IMAGE_EXTRA_INSTALL+="chromium" into the local.conf file. > > The MSC is not supported by FSL Community BSP so it may include subtle > changes which impact this feature, or not. I suggest you to use Fido - > or Jethro with GCC 4.9 - for Chromium as it is known to have issues > with GCC 5.2 at this moment. > > Apart from that, I suggest you to check the rootfs error to see if it > provides any tip where the problem is. > > -- > 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 > > > > -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ --------------070901090203070604050406 Content-Type: text/x-patch; name="0001-image_types_fsl-Fix-boot.img-overwrite-error.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-image_types_fsl-Fix-boot.img-overwrite-error.patch" >From 928e817c442b0771f89317289046f51c07460b0f Mon Sep 17 00:00:00 2001 From: Gary Thomas Date: Mon, 15 Jun 2015 08:41:33 -0600 Subject: [PATCH] image_types_fsl: Fix boot.img overwrite error Recent updates to the MSDOS tools (OE-core is now at 3.0.28) have made it an error to overwrite an image using mkfs.vfat: mkfs.vfat: file XXXX/tmp/work/nitrogen6x-poky-linux-gnueabi/network-demo-image/1.0-r0/boot.img already exists mkfs.fat 3.0.28 (2015-05-16) WARNING: exit code 1 from a shell command. This patch fixes the problem by removing any old/stale images before trying to create the VFAT file system images. Change-Id: I74e02fd512b43315b29698f534192632d7780df2 Signed-off-by: Gary Thomas Signed-off-by: Otavio Salvador --- classes/image_types_fsl.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index 1ebcb06..b542549 100644 --- a/classes/image_types_fsl.bbclass +++ b/classes/image_types_fsl.bbclass @@ -152,6 +152,7 @@ generate_imx_sdcard () { # Create boot partition image BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDCARD} unit b print \ | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 1024 }') + rm -f ${WORKDIR}/boot.img mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin ::/${KERNEL_IMAGETYPE} @@ -255,6 +256,7 @@ generate_mxs_sdcard () { BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDCARD} unit b print \ | awk '/ 2 / { print substr($4, 1, length($4 -1)) / 1024 }') + rm -f ${WORKDIR}/boot.img mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin ::/${KERNEL_IMAGETYPE} if test -n "${KERNEL_DEVICETREE}"; then -- 1.9.1 --------------070901090203070604050406--