* meta-atmel with custom application
@ 2014-07-15 8:34 dexon_test
2014-07-15 18:01 ` Otavio Salvador
2014-07-22 9:38 ` Alexandre Belloni
0 siblings, 2 replies; 3+ messages in thread
From: dexon_test @ 2014-07-15 8:34 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 2278 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 3895 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: meta-atmel with custom application
2014-07-15 8:34 meta-atmel with custom application dexon_test
@ 2014-07-15 18:01 ` Otavio Salvador
2014-07-22 9:38 ` Alexandre Belloni
1 sibling, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2014-07-15 18:01 UTC (permalink / raw)
To: dexon_test; +Cc: meta-freescale@yoctoproject.org
Hello,
On Tue, Jul 15, 2014 at 5:34 AM, dexon_test <dexon1@dexonsystems.com> wrote:
> 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?
This mailing list is focused in Freescale based processors, I think
you need to ask for their help (or to Atmel itself) in those SoC
specific issues. For Yocto Project general questions you can use the
Yocto Project mailing list[1].
1. https://lists.yoctoproject.org/listinfo/yocto
Best Regards,
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: meta-atmel with custom application
2014-07-15 8:34 meta-atmel with custom application dexon_test
2014-07-15 18:01 ` Otavio Salvador
@ 2014-07-22 9:38 ` Alexandre Belloni
1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2014-07-22 9:38 UTC (permalink / raw)
To: dexon_test; +Cc: meta-freescale
Hi,
On 15/07/2014 at 10:34:18 +0200, dexon_test wrote :
> 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:
>
The best way to get support for meta-atmel is to ask on the at91 forums:
http://www.at91.com/discussions.html
However, your issue is not related to meta-atmel
>
> 3. bitbake -c build dxatmel
>
> -> build is success
>
This step doesn't try to install your package...
> 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'/
>
... but this is exactly the issue. You have to fix your recipe/Makefile.
It is difficult to say more without seeing the logs and/or sources.
Regards,
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-22 9:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-15 8:34 meta-atmel with custom application dexon_test
2014-07-15 18:01 ` Otavio Salvador
2014-07-22 9:38 ` Alexandre Belloni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.