[yocto] wic direct->vhd

2020-09-18 Thread Mauro Ziliani
Hi all. I'm working with dunfell. With wic to create .direct image. Which tool I have to use to convert .direct file to .vhd file? I try to look .vhd and .direct file with 'file' tool, but it seems .direct and .vhd has the same header. Best regards,    Mauro -=-=-=-=-=-=-=-=-=-=-=- Lin

[yocto] File collision: same path from 2 recipes

2020-09-29 Thread Mauro Ziliani
Hi all. There is a QA to test if 2 recipes try to install a file with the same path? In my BSP 2 recipes try install the file ${D}/etc/network/if-up,d/hostapd_restart I'd like receive an error from bitbale Best regards,    MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent

Re: [yocto] File collision: same path from 2 recipes

2020-09-29 Thread Mauro Ziliani
and maybe you are not installing the package which contains the contentious file. Kind Regards, Laurent. On Tue, Sep 29, 2020 at 2:08 PM Mauro Ziliani <mailto:ma...@faresoftware.it>> wrote: Hi all. There is a QA to test if 2 recipes try to install a file with the same pat

[yocto] Yoctoproject ad Qt Commercial License.

2020-11-30 Thread Mauro Ziliani
Hi all. Anyone has experience with Qt Commercial and Yocto Project? Best regards,   Mauro Ziliani -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51595): https://lists.yoctoproject.org/g/yocto/message/51595 Mute This Topic: https

[yocto] PREFERRED_VERSION_pn-: which version is selected?

2021-02-08 Thread Mauro Ziliani
Hi all. I'm working with Krogoth on imx6 I have the same recipe with different versions recipe1_0.9.bb recipe1_1.0.bb In the image recipe I put image-recipe.bb IMAGE_INSTALL_append := " \     recipe1 \ " PREFERRED_VERSION_pn-recipe1 := "0.9" If I do  bitbake -s I get recipe1    :

Re: [yocto] PREFERRED_VERSION_pn-: which version is selected?

2021-02-08 Thread Mauro Ziliani
My purpose is this. For image-recipe_1.0.0 I need recip1 version 0.9 For image-recipe_1.1.0 I need recip1 version 1.0 How I can solve this? Best regards   MZ Il 08/02/21 12:09, Josef Holzmayr ha scritto: Howdy! Am Mo., 8. Feb. 2021 um 11:52 Uhr schrieb Mauro Ziliani : In the image

Re: [yocto] PREFERRED_VERSION_pn-: which version is selected?

2021-02-08 Thread Mauro Ziliani
Thanks all for suggestions ed corrections MZ Il 08/02/21 12:14, Quentin Schulz ha scritto: Hi Mauro, On Mon, Feb 08, 2021 at 11:52:33AM +0100, Mauro Ziliani wrote: Hi all. I'm working with Krogoth on imx6 I have the same recipe with different versions recipe1_0.9.bb recipe1_1.0.bb

[yocto] curl certificate error

2021-02-10 Thread Mauro Ziliani
Hi all I try to download the file https://github.com/google/googletest/archive/release-1.8.0.tar.gz with curl -L inside a devshell of a recipe I get this error curl: (77) error setting certificate verify locations:   CAfile: /Sources/softfx/krogoth/softfx-build/tmp/sysroots/x86_64-linux/etc

Re: [yocto] curl certificate error

2021-02-10 Thread Mauro Ziliani
Now curl works fine Thanks again   MZ Il 10/02/21 13:15, Quentin Schulz ha scritto: Hi Mauro, On Wed, Feb 10, 2021 at 01:11:07PM +0100, Mauro Ziliani wrote: Hi all I try to download the file https://github.com/google/googletest/archive/release-1.8.0.tar.gz with curl -L inside a devshell of

[yocto] Include "my.conf" in conf/local.conf

2021-02-22 Thread Mauro Ziliani
Hi all Is it possible to include a fine in local.conf? MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52422): https://lists.yoctoproject.org/g/yocto/message/52422 Mute This Topic: https://lists.yoctoproject.org/mt/80823970/21656 Group Owner:

[yocto] Memory tracker in c++

2021-03-05 Thread Mauro Ziliani
Hi all I'm looking for a memory track to investigate how many memory my application needs. The application di made with Qt/Qml 5.6 over a Krogoth on Imx6dl board. Do you have some suggestion? I'd initialize the library in the main() Then I run some function to get the memory consumption I try va

[yocto] Remove *-dev packages from final image

2021-03-08 Thread Mauro Ziliani
Hi all. I'm in trouble to remove the *-dev packages from final image. I remove dev-pkgs and dbg-pkgs from EXTRA_IMAGE_FEATURES and IMAGE_FEATURES with lines IMAGE_FEATURES_remove = " \ dbg-pkgs \ dev-pkgs \ " EXTRA_IMAGE_FEATURES_remove = " \ dbg-pkgs \ dev-pkgs \ " But *-dev persists. I suppos

Re: [yocto] Remove *-dev packages from final image

2021-03-09 Thread Mauro Ziliani
Thanks a lot. I'll do it MZ On mar 8 2021, at 7:39 pm, Khem Raj wrote: > > > On 3/8/21 3:59 AM, Mauro Ziliani wrote: > > Hi all. > > I'm in trouble to remove the *-dev packages from final image. > > > > I remove dev-pkgs and dbg-pkgs from EXTRA_IMAGE

[yocto] Swap management: vm.swappiness best values?

2021-03-09 Thread Mauro Ziliani
Hi all. I'm working with Krogoth on a imx6dl board with 1GB of RAM. I don't setup the swap space, but sometimes I see that kswap0 task starts, and the board slow down. I'd like to change the value of vm.swappiness to avoid swap requests The default value of vm.swappiness is 60. There is a minimum

Re: [yocto] Swap management: vm.swappiness best values?

2021-03-09 Thread Mauro Ziliani
to look harder to find available memory). > > I would suggest that when the issue occurs that you first check the current > system memory usage and have a look at which application is using the most > memory and figure out if there is a way to optimize it and reduce the mem

[yocto] Which recipes put qtwebkit in my image?

2021-03-16 Thread Mauro Ziliani
Hi all.I need to find which recipe installs qtwebkit in my final image. I look in on every recipes I make but I don't find who put qtwebkit in my image. I have the same matter with *-dev packages I use bitbake -g but I don't find the "source" of qtwebkit. Thanks all Mz Sent from Mailspring (http

Re: [yocto] Which recipes put qtwebkit in my image?

2021-03-22 Thread Mauro Ziliani
; > On Tue, Mar 16, 2021 at 04:50:44PM +0100, Mauro Ziliani wrote: > > Hi all.I need to find which recipe installs qtwebkit in my final image. > > > > I look in on every recipes I make but I don't find who put qtwebkit in my > > image. > > I have the same matt

[yocto] Howto read bitbake -g files?

2021-03-25 Thread Mauro Ziliani
Hi all I have to look for the recipes put in my image the *-dev packages. I removed dev-pkgs and dng-pkgs from IMAGE_FEATURES and debug tweaks from DISTRO_FEATURES. I don't IMAGE_INSTALL_append any *-dev packages I generate bitbake -g image, but I don't produce the PDF because is unreadable. So

Re: [yocto] Howto read bitbake -g files?

2021-03-25 Thread Mauro Ziliani
m final image. In pn-depends.dot I see "opencv" -> "opencv-dev" [style=dashed] I understand that opencv generates opencv-dev from the recipe opencv_3.1.bb Sent from Mailspring (https://getmailspring.com/), the best free email app for work On mar 25 2021, at 8:39 am, Mauro Ziliani

Re: [yocto] Howto read bitbake -g files?

2021-03-26 Thread Mauro Ziliani
Thank you for the answer. I analyze the problem. opencv_3.1.bb installs many debug packages by PACKAGES variable Removing unneeded packages for PACKAGES every *-dev packages disappears from production image. MZ On mar 25 2021, at 7:34 pm, Khem Raj wrote: > > > On 3/25/21 3:37 AM, Maur

[yocto] Get PR value of another recipe

2021-03-30 Thread Mauro Ziliani
Hi all. >From an image recipe a-image_1.0.bb with IMAGE_INSTALL_append = " a " defined, >can I get the PR value of recipe a? a_1.0.bb: PR="r5" a-image_1.0.bb: A_PR_VALUE := " " MZ Sent from Mailspring (https://getmailspring.com/), the best free email app for work -=-=-=-=-=-=-=-=-=-=-=- Links

[yocto] Speed up the build

2021-03-31 Thread Mauro Ziliani
Hi all I need to speedup the build. I use package_deb as package method. I see that the bottlenek is gzip When yocto runs gzip the cpu runs to 100%, with xz 600% (the pc has 6 core (12threads)) I'd like to use pigz to parallelize "gzip" too. Is it possible? MZ -=-=-=-=-=-=-=-=-=-=-=- Links: Yo

[yocto] SYSVINIT_ENABLED_GETTYS dynamic setup

2021-03-31 Thread Mauro Ziliani
Hi all. I make two images image1 image1-installer In image1 I don't need any getty so i'd like to put SYSVINIT_ENALED_GETTYS := "" image1.bb give the output image1.sdcard SYSVINIT_ENABLED_GETTYS := "2" IMAGE_INSTALL_append = "sysvinit-inittab " This is /etc/inittab i'd like inside image1.sdcard

[yocto] dpkg-scanpackages from my recipe

2021-04-07 Thread Mauro Ziliani
Hi all. I'd like to use dpkg-scanpackages inside my recipe The recipe copies some deb package into my folder ${D}/myfolder Then I'd like to apply dpkg-scanpackages to ${D}/myfolder I miss last step. Running dpkg-scanpackages ${D}/myfolder ends with and error. Dpkg.pm missing How can I "install"

[yocto] How to use debug symbols from recipe-dbg package?

2021-06-07 Thread Mauro Ziliani
Hi all. I have the recipe myapp.bb, and I get from it the debian packages myapp_1.0-r0_armhf.deb and myapp-dbg_1.0-r0_armhf.deb How can I use the debug symbols in myapp-dbg_1.0-r0_armhf.deb with gdb and the application in myapp_1.0-r0_armhf.deb package? Best regards, MZ Sent from Mailspring (h

[yocto] Managing chinese text input

2021-06-08 Thread Mauro Ziliani
Hi all. I'm coding my own keyboard for a touch screen device based on Qt/Qml 5.6. I'd like to implement a chinese input method. The keyboard is embedded in the software and it is activated only inside the software. The system is based on an old mix of Jethro/Krogoth I know there ibus framework fo

[yocto] Update APTCONF_TARGET manually

2021-06-22 Thread Mauro Ziliani
Hi all I move all TMPDIR in another folder The EXTRA_DISTRO_FETAURES += "package_managent" PACKAGE_CLASS := " package_deb " When I build the image the package_manager try to find the debs in the older folder. I see that this problem is in apt/apt.conf of image working dir. How can I change manual

[yocto] dunfell do_image_wic error

2022-07-04 Thread Mauro Ziliani
Hi all. I update dunfell to last version. But now I get a python exception error on do_image_wic task | Traceback (most recent call last): |   File "/home/yocto/sources/poky/scripts/lib/wic/filemap.py", line 457, in get_mapped_ranges | first_prev, last_prev = next(iterator) | StopItera

Re: [yocto] dunfell do_image_wic error

2022-07-04 Thread Mauro Ziliani
Sorry for missing information I get this error when I do bitbake core-image-minimal MZ On 04/07/22 21:17, Mauro Ziliani wrote: Hi all. I update dunfell to last version. But now I get a python exception error on do_image_wic task | Traceback (most recent call last): |   File "

[yocto] SRC_URI file://f.tar and destination

2022-10-05 Thread Mauro Ziliani
Hi all. I'd like to explod a tar file into subdirectory of source file. The recipe fetch the original source from a git repos. I make a tar of folder I'd like to add to the original sources. SRC_URI := "\     git://git.myserver.com/project.git \     file://added_folder.tar \ " # S is ${WORK

Re: [yocto] SRC_URI file://f.tar and destination

2022-10-06 Thread Mauro Ziliani
Thank you Quentin. This is the right parameter Best regards,   MZ Il 06/10/22 09:47, Quentin Schulz via lists.yoctoproject.org ha scritto: Hi Mauro, On 10/5/22 21:37, Mauro Ziliani wrote: Hi all. I'd like to explod a tar file into subdirectory of source file. The recipe fetc

[yocto] Strange behaviour with quilt and kernel

2022-12-31 Thread Mauro Ziliani
Hi all. I'm working on a board with kirkstone. I update every layers with latest kirkstone branch available, poky layer too. I'm patching the kernel 6.0.8 for debug purpose: 0001-debug.patch I make a patch with quilt as I do in the past (before update of poky) The problem is this: - I do

Re: [yocto] Strange behaviour with quilt and kernel

2023-01-08 Thread Mauro Ziliani
c 4. edit source.c 5. quilt refresh 6. copy patchfile.patch inside the recipe FILEEXTRAPATHS folder Now I'm trying with devtool Il 31/12/22 18:16, Richard Purdie ha scritto: On Sat, 2022-12-31 at 16:02 +0100, Mauro Ziliani wrote: Hi all. I'm working on a board with kirkstone. I

[yocto] recipe e licenses

2023-02-27 Thread Mauro Ziliani
Hi all. I'd like to add a script to my recipes which collect all licenses for all directly shared linked libraries. My recipe build the main application of the system and I need to enum every library used by my application and for each library get the license. I try to look inside DEPENDS

[yocto] Skipping recipes depending on MACHINE

2023-03-08 Thread Mauro Ziliani
Good morning. I made a project for IMX6 platform. Now I ported it to x86. I made a layer for IMX6, but some recipe.bb cannot be compiled fo x86, or some recipe.bbappend has not a mother, so the bibtake stops. I to adapt the layer to x86 architecture I put some BBMASK += "" in my conf/bblaye

Re: [yocto] Inquiry Regarding Kernel GPL License and UI App Source Code Requirement in Yocto Base Image #yocto #qt5 #bitbake #gplv3 #kernel #kernelmodule

2023-05-31 Thread Mauro Ziliani
Hi all. As my personal experience with yocto and qt5 (and Qt Company) if you make an UI application based on Qt5 you have to give the possibility of reverse engineering of your application, due to Qt5 is LGPL. So you are not mandatory to publish the code, but the system must be open for reve

[yocto] Adding python3-compile-native

2019-11-26 Thread Mauro Ziliani
Hi all. How can I add python3-compile-native to my bsp? I working with Krogoth, I llok python-3.5-manifest.inc where FILES_${PN}-compile is defined. I think I need to define FILES_${PN}-compile-native in some way M -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group.

[yocto] Adding libstdc++-dev path?

2019-12-03 Thread Mauro Ziliani
Hi all I'm trying to compile a library which need cstdio. The file is in ${STAGING_INCDIR}/c++/5.3.0 and in ${STAGING_INCDIR}/c++/5.3.0/tr1 I think I need to "include" in my recipe all libstdc++dev package Looking on ${CXX} -v I get --with-gxx-include-dir=/not/exist/usr/include/c++/5.3.0

Re: [yocto] Adding libstdc++-dev path?

2019-12-03 Thread Mauro Ziliani
c 3, 2019 at 11:44 AM Mauro Ziliani <mailto:ma...@faresoftware.it>> wrote: Hi all I'm trying to compile a library which need cstdio. The file is in ${STAGING_INCDIR}/c++/5.3.0 and in ${STAGING_INCDIR}/c++/5.3.0/tr1 I think I need to "include"

Re: [yocto] Adding libstdc++-dev path?

2019-12-03 Thread Mauro Ziliani
#include #include int main(void) {     printf("Hello from %s\n", __func__);     return 0; } And it get built just fine (`bitbake libstdtest`) Gabriele On Tue, Dec 3, 2019 at 12:23 PM Mauro Ziliani <mailto:ma...@faresoftware.it>> wrote: I try, But libstdc++-dev is

[yocto] Remove buildhistory from deb package version

2020-01-21 Thread Mauro Ziliani
Hi all. I need to remove the buildhistory number from final package version Until now I use in local.conf PRSERV_HOST = "localhost:0" BUILDHISTORY_COMMIT = "1" INHERIT += " buildhistory " When the package is built the buildhistory number is appended to the version. i.e.  1.0.0-r0.3 I nee

Re: [yocto] Remove buildhistory from deb package version

2020-01-21 Thread Mauro Ziliani
Thanks, I commented out the PRSERV_HOST but  all packages keep to have a final .0 All packages have ${PV}-${PR}.0 Only the new packages don't have the final .0 number. Maybe this value is cached in some file? MZ Il 21/01/20 18:04, Ross Burton ha scritto: On 21/01/2020 11:58,

[yocto] IMX6DL: Rename dtb in boot partition

2020-03-03 Thread Mauro Ziliani
Hi all. My recipes procude some dtb. imx6dl-sabresd-disp1.dtb imx6dl-sabresd-disp2.dtb The image recipe gives an sdcard file with 2 partition: p1 and p2 p1 is vfat with zImage and imx6dl-sabresd.dtb p2 is ext4 with the applications. In p1 I find imx6dl-sabresd.dtb, imx6dl-sabresd-disp1.dtb

Re: [yocto] IMX6DL: Rename dtb in boot partition

2020-03-03 Thread Mauro Ziliani
cleanall your final image, and rebuild it. Hopefully this will work for you. I hope this helps. Kind regards, Laurent. On Tue, Mar 3, 2020 at 3:16 PM Mauro Ziliani <mailto:ma...@faresoftware.it>> wrote: Hi all. My recipes procude some dtb. imx6dl-sabresd-disp1.dtb imx6d

[yocto] SDKPATH: how to change?

2020-03-12 Thread Mauro Ziliani
Hi all I work woth imx6dl-sabresd and Krogoth. When I build the sdk ( -c populate_sdk) the final .sh file get the installation path as /opt/fsl-imx-x11 ... So I think the path is build from ${DISTRO} var as /opt/${DISTRO} I need to produce 3 sdk with it own final path /opt/fsl-imx-x11-dev

[yocto] python3, pyscard, setuptools ModuleNotFound. Why?

2020-05-30 Thread Mauro Ziliani
Hi all. I'd like to include pyscard from pypi in my bsp. I'm using zeus and python3. The recipe for pyscard is placed in recipes-devtools/python of my layer The recipe name s python3-pyscard_1.9.9.bb This is the recipe # PYScard # # LICENSE="LGPL-2.1" LIC_FILES_CHKSUM = "file://LICENSE;md5

[yocto] Recipe do_install priority

2020-06-05 Thread Mauro Ziliani
Hi all. I'm Mauro. I have to resolve this matter. The recipe  init-ifupdown.bb install file interfaces in /etc/network. I build a library which need to install the same file in the same folder. This library is managed by its own recipe  library.bb in my meta-mylayer. How can I tell to bitb

[yocto] OpenRC

2020-06-09 Thread Mauro Ziliani
Hi all. There is a plan to integrate OpenRC like startup scripts environment? MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49604): https://lists.yoctoproject.org/g/yocto/message/49604 Mute This Topic: https://lists.yoctoproject.org/mt/7477

[yocto] Strange error

2020-06-10 Thread Mauro Ziliani
Hi all. This error NOTE: Executing RunQueue Tasks ERROR: When reparsing .do_rootfs, the basehash value changed from 7419bfc242fa2eee9ce87b18ebf40d25 to 5b2654046d2ac406f3484b3286de0acd. The metadata is not deterministic and this needs to be fixed. Why? Best regards,   MZ -=-=-=-=-=-=-=

Re: [yocto] Strange error

2020-06-11 Thread Mauro Ziliani
Thanks. No i edit the recipes before build. Il 10/06/20 19:50, Rudolf J Streif ha scritto: Did you edit the recipe while a build was running? :rjs On 6/10/20 10:48 AM, Mauro Ziliani wrote: Hi all. This error NOTE: Executing RunQueue Tasks ERROR: When reparsing .do_rootfs, the basehash

Re: [yocto] Strange error

2020-06-11 Thread Mauro Ziliani
} Il 10/06/20 20:44, Josef Holzmayr ha scritto: Howdy! Am 10.06.2020 um 19:48 schrieb Mauro Ziliani: Hi all. This error NOTE: Executing RunQueue Tasks ERROR: When reparsing .do_rootfs, the basehash value changed from 7419bfc242fa2eee9ce87b18ebf40d25 to 5b2654046d2ac406f3484b3286de0a

[yocto] Missing artifact with wic create -e

2020-06-17 Thread Mauro Ziliani
Hi all. When I try to build an image with wic I get always this error NOTE: Executing Tasks NOTE: Setscene tasks completed NOTE: Tasks Summary: Attempted 1355 tasks of which 1355 didn't need to be rerun and all succeeded. INFO: Build artifacts not found, exiting. INFO:   (Please check that the

[yocto] psplash and mountpoint -q

2020-08-05 Thread Mauro Ziliani
Hi all. I'm working woth Zeus on intel platform When the script is run in shutdown I get the error at line 28 26: export TMPDIR=/mnt/.psplash 27: [ -d $TMPDIR ] || mkdir -p $TMPDIR *28: if [ ! mountpoint -q $TMPDIR ]; then* 29:     mount tmpfs -t tmpfs $TMPDIR -o,size=40k 30: fi So I change th

[yocto] [psplash] image format.

2020-09-14 Thread Mauro Ziliani
Hi all. I'm trying to display a splash screen over a 800x600 display, on Geode LX 800 platform (Geode LX FB or Vesa). I make the image with Gimp and saved in 4 version to try. 800x600 in png 16bit rgb, png 16bit rgba, png 8bit rgb, png 8bit rgba The image is not aligned with the display.

[yocto] Building embedded app for host machine

2022-01-20 Thread Mauro Ziliani via lists.yoctoproject.org
Hi all. I have this doubt. Is it possible the make a toolchain which can produce the same app for host machine? I try to explain my think. I produced an app for imx6dlsabresd with qt-5.6.2 using x86_64 as SDKMACHINE  Can I make the same app with the same qt-5.6.2 but running directly on

[yocto] Python3 app install best practice

2022-01-26 Thread Mauro Ziliani via lists.yoctoproject.org
Hi all I'd like to install my python3 application in a custom folder with all local packages and data. The source code folder has this tree ./myapp/__main__.py ./package/__init__.py ./package/pkg.py I manage the application by myapp_1.0.bb recipe. I'd like the myapp_1.0.ipk package con

Re: [yocto] Python3 app install best practice

2022-01-28 Thread Mauro Ziliani via lists.yoctoproject.org
Hi list. I solved my problem working with distutils parameteres inside myapp.bb recipe Mauro On 26/01/22 18:30, Mauro Ziliani via lists.yoctoproject.org wrote: Hi all I'd like to install my python3 application in a custom folder with all local packages and data. The source

[yocto] Where setup KCONF_AUDIT_LEVEL value

2022-01-31 Thread Mauro Ziliani via lists.yoctoproject.org
Hi all. The KCONF_AUDIT_LEVEL variable must be setup in a .conf file or I can change it in a recipe? I try to understand why my file defconfig is not used my kernel configurator MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56030): http

[yocto] features_check and IMAGE_FEATURES or EXTRA_IMAGE_FEATURES

2022-02-27 Thread Mauro Ziliani via lists.yoctoproject.org
Hi all. With he class features_check is it possible to check the content od IMAGE_FEATURES or EXTRA_IMAGE_FEATURES too? Thanks all   MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56297): https://lists.yoctoproject.org/g/yocto/message/562