Re: [yocto] Update a recipe to use newer sources

2018-04-10 Thread Vincent Prince
Hi Arno, You can find pretty much everything in mega manual https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#extendpoky Yocto uses layers to override recipes, so there's nothing wrong to use newer version in yours. Regards, Vincent 2018-04-09 12:17 GMT+02:00 Arno Steffens

Re: [yocto] How to write a distro layer?

2018-08-03 Thread Vincent Prince
Hi Uwe, 2018-08-03 10:39 GMT+02:00 Uwe Geuder : > Hi! > > [Disclaimer: I have posted a similar message months ago. There were no > replies. Let's try whether I can express myself clearer this time.] > > One of the few informations I could find about how to create my own > layer was something like

Re: [yocto] How to write a distro layer?

2018-08-03 Thread Vincent Prince
RS = " \ ${BSPDIR}/sources/poky/meta \ ${BSPDIR}/sources/poky/meta-poky \ ${BSPDIR}/sources/meta-openembedded/meta-oe \ " 2018-08-03 15:43 GMT+02:00 Uwe Geuder : > Thanks Vincent for your quick reply! > > On Fri, Aug 3, 2018 at 12:44 PM, Vincent Prince > wrote: &g

Re: [yocto] [oe] Yocto and OpenJDK

2018-12-05 Thread Vincent Prince
Hi Dave, I think this question belong to yocto ML as stated here: http://git.yoctoproject.org/cgit/cgit.cgi/meta-oracle-java/about/ Best regards, Vincent Le lun. 3 déc. 2018 à 22:38, Dave Buchwald a écrit : > I have a question about Java versions for Yocto. As we know, starting in > January 20

[yocto] [meta-oracle-java] Is oracle-jse-jre broken on arm target ?

2017-09-05 Thread Vincent Prince
Hello everyone, I'm trying to add embedded JRE to a custom i.MX6 board, and when I add oracle-jse-jre recipe to my image, it starts to add a lot of native stuff so I think it's broken? As I understand it, the recipe downloads JDK and run jrecreate.sh to generate needed JRE. For me, the only thing

Re: [yocto] Building out of tree module into kernel image

2017-09-06 Thread Vincent Prince
Hi, Where did you put MACHINE_ESSENTIAL_EXTRA_RDEPENDS instruction? Did you try to rename axidma.bb to kernel-module-axidma.bb ? Best Regards, Vincent 2017-09-06 16:13 GMT+02:00 Fan Zhang : > Hi, > > I've followed the Yocto manual here: http://www.yoctoproject.org/ > docs/1.6.1/kernel-dev/kern

Re: [yocto] how to submit a patch

2017-09-08 Thread Vincent Prince
Hi, Usually, I follow instructions in README file found in meta-X layer. For example, for poky, it can be found in section "Where to Send Patches" here: http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/README?h=pyro BR, Vincent 2017-09-08 14:22 GMT+02:00 yahia farghaly : > i found it in pyro

Re: [yocto] [pyro][meta-oracle-java][PATCH 2/2] oracle-java: create directory before creating links

2017-09-15 Thread Vincent Prince
Hi Fabio, I have a non fatal-error on link creation on pyro: ERROR: oracle-jse-jdk-x86-64-native-1.8.0-u131r0 do_populate_sysroot: sstate found an absolute path symlink /home/build/tmp/work/x86_64-linux/oracle-jse-jdk-x86-64-native/1.8.0-u131r0/sysroot-destdir/home/build/tmp/work/x86_64-linux/ora

[yocto] [meta-oracle-java][PATCH] Move RDEPENDS from general include to JRE specific as Embedded JRE is headless and runtime does not depend on graphical libs.

2017-09-15 Thread Vincent Prince
Signed-off-by: Vincent Prince --- recipes-devtools/oracle-java/oracle-jse-jre.inc | 2 ++ recipes-devtools/oracle-java/oracle-jse.inc | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-devtools/oracle-java/oracle-jse-jre.inc b/recipes-devtools/oracle-java/oracle

[yocto] [meta-oracle-java][PATCH] Revert "oracle-jse-ejre: Fix destination" (4eb10648f31539f95110852496b987db6f74df55)

2017-09-26 Thread Vincent Prince
We need to add JRE directly in ${JDK_JRE}${PV}_${PV_UPDATE} as oracle-jse.inc installs all dest folder. Without this patch JRE is installed in /usr/lib/jvm/java-8-oracle/jre/bin/java and /usr/bin/java points to /usr/lib/jvm/java-8-oracle/bin/java Signed-off-by: Vincent Prince --- recipes

Re: [yocto] Procedure for adding driver in Yocto

2017-10-11 Thread Vincent Prince
Hi, If you want to create a kernel module, you can use that kind of recipe meta-x-bsp/recipes-kernel/kernel-module/kernel-module-modulename.bb: SUMMARY = "Kernel loadable module" DESCRIPTION = "This package includes loadable module" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=a04ba2

Re: [yocto] Procedure for adding driver in Yocto

2017-10-16 Thread Vincent Prince
ut how do I edit it to add a new driver. > > Please suggest. > > Thanks > Umamahesh > > -Original Message- > From: Vincent Prince [mailto:vincent.prince...@gmail.com] > Sent: 11 October 2017 12:54 > To: Umamahesh Yelchuruvenkata > Cc: yocto@yoctoproject.org &

[yocto] [meta-oracle-java][PATCH 1/2] Fix do_populate_sysroot: sstate found an absolute path symlink

2017-10-27 Thread Vincent Prince
Signed-off-by: Vincent Prince --- recipes-devtools/oracle-java/oracle-jse-jdk.inc | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc b/recipes-devtools/oracle-java/oracle-jse-jdk.inc index a7210d9..11fe17b 100644

[yocto] [meta-oracle-java][PATCH 2/2] On headless arm, do_package() complains about missing libX11.so.6 provider.

2017-10-27 Thread Vincent Prince
Full JRE created by jrecreate contains awt/swing dynamic libraries linked to libx11. This patch creates a compact JRE without those libraries. Signed-off-by: Vincent Prince --- recipes-devtools/oracle-java/oracle-jse-ejre.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

Re: [yocto] [meta-oracle-java][PATCH 1/2] Fix do_populate_sysroot: sstate found an absolute path symlink

2017-10-27 Thread Vincent Prince
I was mistaken, following patch fixes it for real Signed-off-by: Vincent Prince --- recipes-devtools/oracle-java/oracle-jse-jdk.inc | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc b/recipes-devtools/oracle-java

Re: [yocto] [meta-oracle-java][PATCH 1/2] Fix do_populate_sysroot: sstate found an absolute path symlink

2017-10-27 Thread Vincent Prince
> On Fri, Oct 27, 2017 at 9:47 AM, Vincent Prince > wrote: >> I was mistaken, following patch fixes it for real >> >> Signed-off-by: Vincent Prince >> --- >> recipes-devtools/oracle-java/oracle-jse-jdk.inc | 14 +++--- >> 1 file changed, 7 inserti

[yocto] [meta-oracle-java][PATCH V2 1/2] On headless arm, do_package() complains about missing libX11.so.6 provider.

2017-10-30 Thread Vincent Prince
Full JRE created by jrecreate contains awt/swing dynamic libraries linked to libX11. We patch binaries to remove libX11 dependencies Signed-off-by: Vincent Prince --- recipes-devtools/oracle-java/oracle-jse-ejre.inc | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff

[yocto] [meta-oracle-java][PATCH V2 2/2] Fix do_populate_sysroot: sstate found an absolute path symlink

2017-10-30 Thread Vincent Prince
Signed-off-by: Vincent Prince --- recipes-devtools/oracle-java/oracle-jse-jdk.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc b/recipes-devtools/oracle-java/oracle-jse-jdk.inc index a7210d9..84772e6 100644 --- a/recipes

Re: [yocto] [meta-oracle-java][PATCH] Don't preserve ownership when copying files

2017-11-08 Thread Vincent Prince
Hi Martin, Any reason to give root rights to JDK? Best Regards, Vincent 2017-11-06 15:33 GMT+01:00 Martin Nordqvist : > Don't preserve ownership when copying files. Instead let root be > owner of all files. > --- > recipes-devtools/oracle-java/oracle-jse-jdk.inc | 3 ++- > recipes-devtools/ora

Re: [yocto] [meta-oracle-java][PATCH] Symlink jar and javah in bindir (native)

2017-11-20 Thread Vincent Prince
Hi Martin, There is a warning with absolute path symlinking, I made a patch to replace all occurence of ln -sf ${JDK_HOME}/bin/* by ln -sf ../lib/jvm/${JDK_DIR}/bin/* but didn't get integrated. Best regards, Vincent 2017-11-17 12:47 GMT+01:00 Martin Nordqvist : > Create symlinks in bindir to ja

[yocto] [meta-oracle-java][PATCH] Fix warning in do_populate_sysroot: sstate found an absolute path symlink

2017-11-22 Thread Vincent Prince
Signed-off-by: Vincent Prince --- recipes-devtools/oracle-java/oracle-jse-jdk.inc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc b/recipes-devtools/oracle-java/oracle-jse-jdk.inc index 6b3aabe..1ec172f 100644 --- a

Re: [yocto] how to know Poky kernel version before running it

2017-12-01 Thread Vincent Prince
Something like following command will give you every variables for kernel recipe: bitbake -e virtual/kernel | egrep '^[A-Z][A-Z_]*' You will find prefered version and source url variables. 2017-12-01 18:11 GMT+01:00 Steve Pavao : > Is there a definitive way to know at/after build time what kern

Re: [yocto] How to append to image, not machine?

2017-12-06 Thread Vincent Prince
Hi, One solution is to add a custom action with ROOTFS_POSTPROCESS_COMMAND in one of the image, that will change interfaces file (with sed for example, or symlink, etc ...). Best Regards, Vincent 2017-12-06 14:43 GMT+01:00 Marek Słomiany : > Hi, > > I'm building system that has 2 cpu's which co

Re: [yocto] GPIO configuration in imx6ull

2018-01-15 Thread Vincent Prince
Hi, Are you aware of pin-muxing subject? You can change GPIO settings in U-boot with gpio_* functions. You can change them in DTS with gpio-edm driver from Wandboard kernel ( https://github.com/wandboard-org/linux/blob/4.1-2.0.x-imx/drivers/input/keyboard/gpio_edm.c ) You can also change them in

Re: [yocto] [YOCTO] add a new partition during flash with mfgtools

2018-02-22 Thread Vincent Prince
Hey Thibaut Easiest way is to boot on small ramdisk and do partitioning/flashing with Linux commands. Regards, Vincent 2018-02-19 17:00 GMT+01:00 Thibaut SARRAZIN < sarrazin.thibaut.ce...@gmail.com>: > > Hello everybody, > > > I don't find solution to add a new partition to my emmc directly d

Re: [yocto] [OE-core] Questions about udev rule and systemd-udev,relevant to mounting block device

2018-03-02 Thread Vincent Prince
Hi, I'm not sure what is your use case, but you can check usbmount[1][2] or automount-usb[3] for example on how to use udev with systemd: Regards, Vincent [1]https://github.com/rbrito/usbmount [2] https://github.com/nefethael/meta-random/blob/master/recipes-support/usbmount/usbmount_git.bb [3]ht

Re: [yocto] How to check list of installed packages to stop the build process conditionally

2018-03-26 Thread Vincent Prince
Hi, Maybe you can say A conflicts B and B conflicts A with following variable : https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-RCONFLICTS Best regards, Vincent 2018-03-26 9:54 GMT+02:00 Iván Castell : > Hello forum. > > My layer provides two custom recipes A and B wi

Re: [yocto] How to build two different kernel

2018-03-26 Thread Vincent Prince
Hi , You can look at the following patch https://patchwork.openembedded.org/patch/142675 Best regards, Vincent 2018-03-22 5:47 GMT+01:00 HuaFu 8386 : > Hi, > > I want to build two different images with two different kernel configs, > one for debug version and one for production version, like >

Re: [yocto] Cannot add libsrtp to yocto image

2018-04-07 Thread Vincent Prince
Hi, Did you add meta-multimedia to BBLAYERS as explained here https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#enabling-your-layer BR, Vincent 2018-04-07 8:46 GMT+02:00 Mostafa Farzane : > Hi, > I need to add libsrtp to my yocto image. So I added libsrtp to > "IMAGE_INSTA

[yocto] [meta-selinux] [Warrior] [PATCH] Revert glib-2.0: fix configure error for meson build

2019-10-17 Thread Vincent Prince
On Warrior branch, glib-2.0 is in version 2.58.3 so we need to revert commit [bb0c9c3abcb] until then. Signed-off-by: Vincent Prince --- classes/meson-enable-selinux.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/meson-enable-selinux.bbclass b/classes

[yocto] [meta-selinux] Warrior branch glib/meson problem

2019-10-17 Thread Vincent Prince
Hi Team, I have a problem with meta-selinux layer on warrior branch, especially building glib-2.0 with meson. This commit introduces enabled/disabled flags instead of true/false: http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/commit/?h=warrior&id=bb0c9c3abcb935e4b362eb57985e1ee7fec0bfe0 B

[yocto] [meta-selinux] [Warrior] [PATCH] Revert glib-2.0: fix configure error for meson build

2019-10-17 Thread Vincent Prince
On Warrior branch, glib-2.0 is in version 2.58.3 so we need to revert commit [bb0c9c3abcb] until then. Signed-off-by: Vincent Prince --- classes/meson-enable-selinux.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/meson-enable-selinux.bbclass b/classes

Re: [yocto] meta-selinux | meson-enable-selinux breaks

2019-10-17 Thread Vincent Prince
See patch here https://patchwork.openembedded.org/series/20519/# Le jeu. 17 oct. 2019 à 17:19, Itay Sperling a écrit : > Hi, > I just built Yocto (warrior) with meta-selinux and got this error: > >> meson.build:1:0: ERROR: Value disabled is not boolean (true or false). > > > It appears the file

[yocto] [meta-selinux] zeus branch creation

2019-11-01 Thread Vincent Prince
Hi team, Would it be possible to create zeus branch for meta-selinux layer? Kind regards, Vincent -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] help with meta-java

2019-11-05 Thread Vincent Prince
Hi Tim, There are some pending stuff on meta-java ML openembedded-de...@lists.openembedded.org and layer is not zeus compatible yet. I'm trying to contact layer maintainers for several weeks, i don't know if information is obsolete or if people are too busy/away? Main layer maintainers: Henning