From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 74035E00572; Tue, 15 Jul 2014 02:17:15 -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,HTML_MESSAGE 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] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 2564 seconds by postgrey-1.32 at yocto-www; Tue, 15 Jul 2014 02:17:04 PDT Received: from mx8.datanet.hu (mx8.datanet.hu [194.149.13.164]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id F0D53E004FF for ; Tue, 15 Jul 2014 02:17:04 -0700 (PDT) Received: from [192.168.1.120] (unknown [91.120.39.42]) by mx8.datanet.hu (DataNet) with ESMTP id C4EA1EBC9B for ; Tue, 15 Jul 2014 10:34:17 +0200 (CEST) Message-ID: <53C4E78A.5010207@dexonsystems.com> Date: Tue, 15 Jul 2014 10:34:18 +0200 From: dexon_test User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org X-Mailman-Approved-At: Tue, 15 Jul 2014 10:55:43 -0700 Subject: meta-atmel with custom application 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: Tue, 15 Jul 2014 09:17:15 -0000 Content-Type: multipart/alternative; boundary="------------060005010501000208030504" --------------060005010501000208030504 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Hi all, First of all, I am a full beginner when it comes to bitbake, atmel, etc...So, I am sorry if my questions seems stupid, but this one I just can not seem to figure out on my own. I would like to use meta-atmel (https://github.com/linux4sam/meta-atmel) with SAMA5d3xek machine. I could build "atmel-qt4e-demo-image" demo image. Therefore I'd like to create custom apps into this image with these steps: 1. Added my new package ("dxatmel") into atmel-qt4e-demo-image.bb 2. Created my custom package file (dxatmel_1.0.bb): /DESCRIPTION = "DXAtmel QT application" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://main.cpp;endline=14;md5=224c1642c6a9139c8824491e38263cba" DEFAULT_PREFERENCE = "14" PACKAGES = "${PN}-dbg ${PN}" PR = "r0" DEPENDS = "qt4-embedded" SRC_URI = "ftp://www.dx.com/stuff/dxatmel-$(PV).tar.gz" SRC_URI[md5sum] = "77c74ad602bfc25a97dd2e5593c00d5c" SRC_URI[sha256sum] = "eff2bff716602ac21f8ca6a728c1860efd874e7e73d43c9f3f300c0763f2cfa0" S = "${WORKDIR}/dxatmel-${PV}" inherit qt4e pkgconfig FILES_${PN}-dbg = " \ /opt/DXAtmel/.debug \ /opt/DXAtmel/.debug/* \ /usr/* \ /opt/DXAtmel/mainwindow.h \ /opt/DXAtmel/mainwindow.cpp \ /opt/DXAtmel/main.cpp \ /opt/DXAtmel/DXAtmel.pro \ /opt/DXAtmel/moc_mainwindow.cpp \ " FILES_${PN} = " \ /opt/DXAtmel/DXAtmel \ /opt/DXAtmel/DXAtmel.sh \ /opt/ApplicationL* \ " do_install() { make INSTALL_ROOT=${D} install }/ 3. bitbake -c build dxatmel -> build is success 4. bitbake -c build atmel-qt4e-demo-image -> I hit this error msg: /Collected errors: | * opkg_install_cmd: Cannot install package dxatmel. | WARNING: /home/labi/poky/build-atmel/tmp/work/sama5d3xek-poky-linux-gnueabi/atmel-qt4e-demo-image/1.0-r3/temp/run.do_rootfs.2432:1 exit 255 from | opkg-cl ${ipkg_args} install ${package_to_install} | ERROR: Function failed: do_rootfs (log file is located at /home/labi/poky/build-atmel/tmp/work/sama5d3xek-poky-linux-gnueabi/atmel-qt4e-demo-image/1.0-r3/temp/log.do_rootfs.2432) ERROR: Task 7 (/home/labi/poky/meta-atmel/recipes-qt/images/atmel-qt4e-demo-image.bb, do_rootfs) failed with exit code '1'/ Any advice on what I have missed? Lori --------------060005010501000208030504 Content-Type: text/html; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit Hi all,

First of all, I am a full beginner when it comes to bitbake, atmel,  etc...So, I am sorry if my questions seems stupid, but this one I just can not seem to figure out on my own.

I would like to use meta-atmel (https://github.com/linux4sam/meta-atmel) with SAMA5d3xek machine.

I could build "atmel-qt4e-demo-image" demo image. Therefore I'd like to create custom apps into this image with these steps:

1. Added my new package ("dxatmel") into atmel-qt4e-demo-image.bb

2. Created my custom package file (dxatmel_1.0.bb):

DESCRIPTION = "DXAtmel QT application"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://main.cpp;endline=14;md5=224c1642c6a9139c8824491e38263cba"

DEFAULT_PREFERENCE = "14"

PACKAGES = "${PN}-dbg ${PN}"

PR = "r0"

DEPENDS = "qt4-embedded"

SRC_URI = "ftp://www.dx.com/stuff/dxatmel-$(PV).tar.gz"

SRC_URI[md5sum] = "77c74ad602bfc25a97dd2e5593c00d5c"
SRC_URI[sha256sum] = "eff2bff716602ac21f8ca6a728c1860efd874e7e73d43c9f3f300c0763f2cfa0"

S = "${WORKDIR}/dxatmel-${PV}"

inherit qt4e pkgconfig

FILES_${PN}-dbg = " \
  /opt/DXAtmel/.debug \
  /opt/DXAtmel/.debug/* \
  /usr/* \
  /opt/DXAtmel/mainwindow.h \
  /opt/DXAtmel/mainwindow.cpp \
  /opt/DXAtmel/main.cpp \
  /opt/DXAtmel/DXAtmel.pro \
  /opt/DXAtmel/moc_mainwindow.cpp \
"

FILES_${PN} = " \
  /opt/DXAtmel/DXAtmel \
  /opt/DXAtmel/DXAtmel.sh \
  /opt/ApplicationL* \
"

do_install() {
    make INSTALL_ROOT=${D} install
}


3. bitbake -c build dxatmel

   -> build is success

4.  bitbake -c build atmel-qt4e-demo-image

   -> I hit this error msg:

Collected errors:
|  * opkg_install_cmd: Cannot install package dxatmel.
| WARNING: /home/labi/poky/build-atmel/tmp/work/sama5d3xek-poky-linux-gnueabi/atmel-qt4e-demo-image/1.0-r3/temp/run.do_rootfs.2432:1 exit 255 from
|   opkg-cl ${ipkg_args} install ${package_to_install}
| ERROR: Function failed: do_rootfs (log file is located at /home/labi/poky/build-atmel/tmp/work/sama5d3xek-poky-linux-gnueabi/atmel-qt4e-demo-image/1.0-r3/temp/log.do_rootfs.2432)
ERROR: Task 7 (/home/labi/poky/meta-atmel/recipes-qt/images/atmel-qt4e-demo-image.bb, do_rootfs) failed with exit code '1'



Any advice on what I have missed?


Lori

--------------060005010501000208030504--