Re: [yocto] Inquiry Regarding Kernel GPL License and UI App Source Code Requirement in Yocto Base Image #yocto #qt5 #bitbake #gplv3 #kernel #kernelmodule
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 reverse engineerig. A final user can replace your qt5 libraries with its own qt5 libraries modified M Il 31/05/23 14:32, Michael Opdenacker via lists.yoctoproject.org ha scritto: Hi Rohith On 31.05.23 at 11:04, Rohith wrote: Since the base image of Yocto has the Kernel license type as GPL, if I include my UI Application binary in the Yocto Base image will I need to expose my UI App source code? No, the same applies to desktop GNU/Linux distributions. You can develop, use and ship software with the license of your choice (including proprietary), you don't extend GPL software or link with it. Otherwise, only GPL compatible licenses would exist in the Linux world. The GPL FAQ address this kind of questions: https://www.gnu.org/licenses/gpl-faq.en.html Cheers Michael. -- linkedin: https://www.linkedin.com/in/mauroziliani -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60153): https://lists.yoctoproject.org/g/yocto/message/60153 Mute This Topic: https://lists.yoctoproject.org/mt/99238217/21656 Mute #qt5:https://lists.yoctoproject.org/g/yocto/mutehashtag/qt5 Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #gplv3:https://lists.yoctoproject.org/g/yocto/mutehashtag/gplv3 Mute #kernel:https://lists.yoctoproject.org/g/yocto/mutehashtag/kernel Mute #kernelmodule:https://lists.yoctoproject.org/g/yocto/mutehashtag/kernelmodule Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Skipping recipes depending on MACHINE
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/bblayers.conf for x86 build environment and I excluded every unneeeded file for x86. Can I put the BBMASK in some conf file inside the layer to do the same, dependig on MACHINE, using OVERRIDE? The first idea was put BBMASK in layer.conf, like this BBMASK_intel-corei7-64 = " \ \ " I'd like to became my layer "auto-configurable" about MACHINE value Any idea? Best regards, MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#59371): https://lists.yoctoproject.org/g/yocto/message/59371 Mute This Topic: https://lists.yoctoproject.org/mt/97491481/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] recipe e licenses
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 variable but there other references then libraries Any idea? Best regards, MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#59312): https://lists.yoctoproject.org/g/yocto/message/59312 Mute This Topic: https://lists.yoctoproject.org/mt/97271980/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Strange behaviour with quilt and kernel
I try to look for PATCHTOOL variable for virtual/kernel recipe and the variable is set to quilt. But inside log.do_patch I see that task try to use 'git am' I wa use to patch the kernel with 1. bitbake -c devshell virtual/kernel 2. quilt new patchfile.patch 3. quilt add source.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 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 "bitbake -c devshell virtual/kernel" and I get the terminal prompt on kernel-source folder: i check and the patch is applied - I do "quilt top" and quilt tell me "No series file found" Where is my patch? Is the kernel using git to handle patches instead of quilt? Cheers, Richard -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58935): https://lists.yoctoproject.org/g/yocto/message/58935 Mute This Topic: https://lists.yoctoproject.org/mt/95972146/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Strange behaviour with quilt and kernel
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 "bitbake -c devshell virtual/kernel" and I get the terminal prompt on kernel-source folder: i check and the patch is applied - I do "quilt top" and quilt tell me "No series file found" Where is my patch? Best regards, MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58890): https://lists.yoctoproject.org/g/yocto/message/58890 Mute This Topic: https://lists.yoctoproject.org/mt/95972146/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] SRC_URI file://f.tar and destination
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 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 ${WORKDIR}/git Now added_folder.tar is exploded in ${WORKDIR} but I'd like to explod it in ${WORKDIR}/git There is some parameter for file:// fetcher? Can you try ;subdir= parameter? c.f. https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-fetching.html#the-unpack Cheers, Quentin -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58280): https://lists.yoctoproject.org/g/yocto/message/58280 Mute This Topic: https://lists.yoctoproject.org/mt/94143218/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] SRC_URI file://f.tar and destination
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 ${WORKDIR}/git Now added_folder.tar is exploded in ${WORKDIR} but I'd like to explod it in ${WORKDIR}/git There is some parameter for file:// fetcher? Best regards, MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58270): https://lists.yoctoproject.org/g/yocto/message/58270 Mute This Topic: https://lists.yoctoproject.org/mt/94143218/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] dunfell do_image_wic error
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 "/home/yocto/sources/poky/scripts/lib/wic/filemap.py", line 457, in get_mapped_ranges | first_prev, last_prev = next(iterator) | StopIteration | | The above exception was the direct cause of the following exception: | | Traceback (most recent call last): | File "/home/yocto/sources/poky/scripts/wic", line 542, in | sys.exit(main(sys.argv[1:])) | File "/home/yocto/sources/poky/scripts/wic", line 537, in main | return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, subcommands) | File "/home/yocto/sources/poky/scripts/lib/wic/help.py", line 83, in invoke_subcommand | subcmd[0](args, usage) | File "/home/yocto/sources/poky/scripts/wic", line 219, in wic_create_subcommand | engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, | File "/home/yocto/sources/poky/scripts/lib/wic/engine.py", line 190, in wic_create | plugin.do_create() | File "/home/yocto/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 96, in do_create | self.create() | File "/home/yocto/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 180, in create | self._image.prepare(self) | File "/home/yocto/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 354, in prepare | part.prepare(imager, imager.workdir, imager.oe_builddir, | File "/home/yocto/sources/poky/scripts/lib/wic/partition.py", line 182, in prepare | plugin.do_prepare_partition(self, srcparams_dict, creator, | File "/home/yocto/sources/poky/scripts/lib/wic/plugins/source/rawcopy.py", line 68, in do_prepare_partition | sparse_copy(src, dst) | File "/home/yocto/sources/poky/scripts/lib/wic/filemap.py", line 539, in sparse_copy | for first, last in fmap.get_mapped_ranges(0, fmap.blocks_cnt): | RuntimeError: generator raised StopIteration MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#57442): https://lists.yoctoproject.org/g/yocto/message/57442 Mute This Topic: https://lists.yoctoproject.org/mt/92171800/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] dunfell do_image_wic error
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) | StopIteration | | The above exception was the direct cause of the following exception: | | Traceback (most recent call last): | File "/home/yocto/sources/poky/scripts/wic", line 542, in | sys.exit(main(sys.argv[1:])) | File "/home/yocto/sources/poky/scripts/wic", line 537, in main | return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, subcommands) | File "/home/yocto/sources/poky/scripts/lib/wic/help.py", line 83, in invoke_subcommand | subcmd[0](args, usage) | File "/home/yocto/sources/poky/scripts/wic", line 219, in wic_create_subcommand | engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, | File "/home/yocto/sources/poky/scripts/lib/wic/engine.py", line 190, in wic_create | plugin.do_create() | File "/home/yocto/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 96, in do_create | self.create() | File "/home/yocto/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 180, in create | self._image.prepare(self) | File "/home/yocto/sources/poky/scripts/lib/wic/plugins/imager/direct.py", line 354, in prepare | part.prepare(imager, imager.workdir, imager.oe_builddir, | File "/home/yocto/sources/poky/scripts/lib/wic/partition.py", line 182, in prepare | plugin.do_prepare_partition(self, srcparams_dict, creator, | File "/home/yocto/sources/poky/scripts/lib/wic/plugins/source/rawcopy.py", line 68, in do_prepare_partition | sparse_copy(src, dst) | File "/home/yocto/sources/poky/scripts/lib/wic/filemap.py", line 539, in sparse_copy | for first, last in fmap.get_mapped_ranges(0, fmap.blocks_cnt): | RuntimeError: generator raised StopIteration MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#57441): https://lists.yoctoproject.org/g/yocto/message/57441 Mute This Topic: https://lists.yoctoproject.org/mt/92171800/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] features_check and IMAGE_FEATURES or EXTRA_IMAGE_FEATURES
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/56297 Mute This Topic: https://lists.yoctoproject.org/mt/89426082/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Where setup KCONF_AUDIT_LEVEL value
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): https://lists.yoctoproject.org/g/yocto/message/56030 Mute This Topic: https://lists.yoctoproject.org/mt/88809656/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Python3 app install best practice
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 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 contains /home/apps/myapp/__main__.py /home/apps/package/__init__.py /home/apps/package/pkg.py I try setup.py and inherit setuptools3 in my myapp_git.bb but 'packages' is installed under python system folder. There is a way to customize the path of python package installation? MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#56018): https://lists.yoctoproject.org/g/yocto/message/56018 Mute This Topic: https://lists.yoctoproject.org/mt/88702098/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Python3 app install best practice
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 contains /home/apps/myapp/__main__.py /home/apps/package/__init__.py /home/apps/package/pkg.py I try setup.py and inherit setuptools3 in my myapp_git.bb but 'packages' is installed under python system folder. There is a way to customize the path of python package installation? MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55983): https://lists.yoctoproject.org/g/yocto/message/55983 Mute This Topic: https://lists.yoctoproject.org/mt/88702098/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Building embedded app for host machine
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 x86_64? Now i make this, building the same qt version for host machine, but outside yocto ring [I hope to be clear, mu english is terrible] Best regards, MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55932): https://lists.yoctoproject.org/g/yocto/message/55932 Mute This Topic: https://lists.yoctoproject.org/mt/88560927/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Update APTCONF_TARGET manually
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 manually the value of APTCONF_TARGET? Where the APTCONF_TARGET value is stored? Best regards, MZ Sent from Mailspring (https://getmailspring.com/), the best free email app for work -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53937): https://lists.yoctoproject.org/g/yocto/message/53937 Mute This Topic: https://lists.yoctoproject.org/mt/83709635/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Managing chinese text input
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 for this, but it is not included in yocto bsp. Any idea about? Best regards, MZ Sent from Mailspring (https://getmailspring.com/), the best free email app for work -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53792): https://lists.yoctoproject.org/g/yocto/message/53792 Mute This Topic: https://lists.yoctoproject.org/mt/83395256/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] How to use debug symbols from recipe-dbg package?
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 (https://getmailspring.com/), the best free email app for work -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53777): https://lists.yoctoproject.org/g/yocto/message/53777 Mute This Topic: https://lists.yoctoproject.org/mt/83373742/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] dpkg-scanpackages from my recipe
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" Dpkg.pm so I can use dpkg-scanpackages directly from my recipe? Best regards, MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#53048): https://lists.yoctoproject.org/g/yocto/message/53048 Mute This Topic: https://lists.yoctoproject.org/mt/81911865/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] SYSVINIT_ENABLED_GETTYS dynamic setup
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 2:2345:respawn:/sbin/getty 38400 tty2 In image1-installer I need only getty1 so i'd like to setup SYSVINIT_ENABLED GETTYS := "1" image1-installer.bb give the output image1-installer.sdcard SYSVINIT_ENABLED_GETTYS := "1" IMAGE_INSTALL_append = " sysvinit-inittab " The /etc/inittab in image1-installer.sdcard contains 1:2345:respawn:/sbin/getty 38400 tty1 There is a way to "configure" sysvinit-inittab_%.bb to make a different output using a PACKAGECONFIG o others variables? By now I have setup SYSVINIT_ENABLED_GETTYS := "" and than add 2:2345:respawn:/sbin/getty 38400 tty2 or 1:2345:respawn:/sbin/getty 38400 tty1 in the recipe There is another way? MZ Sent from Mailspring (https://getmailspring.com/), the best free email app for work -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52991): https://lists.yoctoproject.org/g/yocto/message/52991 Mute This Topic: https://lists.yoctoproject.org/mt/81762631/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Speed up the build
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: You receive all messages sent to this group. View/Reply Online (#52988): https://lists.yoctoproject.org/g/yocto/message/52988 Mute This Topic: https://lists.yoctoproject.org/mt/81751834/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Get PR value of another recipe
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: You receive all messages sent to this group. View/Reply Online (#52965): https://lists.yoctoproject.org/g/yocto/message/52965 Mute This Topic: https://lists.yoctoproject.org/mt/81720653/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Howto read bitbake -g files?
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, Mauro Ziliani wrote: > > An example about my question > > > > Inside package-depends.dot I see this > > > > "opencv-dev" [label="opencv-dev(opencv) > > :3.1+gitAUTOINC+92387b1ef8-r0\n/Sources/softfx/krogoth/sources/meta-openembedded/meta-oe/recipes-support/opencv/opencv_3.1.bb"] > > > > I need to remote opencv-dev from final image. > > > > In pn-depends.dot I see > > > > "opencv" -> "opencv-dev" [style=dashed] > > this should only happen if opencv-dev has a .so which is not a symlink > and there is a program in opencv package which depends on it. Can you > expand the content of opencv-dev and see whats in there ? > secondly you can also look at content of opencv package and readelf -d > over the binaries in it and see if some binary is dependent on .so from > -dev package. > > you can do this inside opencv build tree under packages-split/ area. > of a built tree. > > > > > 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 wrote: > > > > 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 I read the dot source. I use dot and I know the syntax. > > > > But I don't how to read the graph. > > > > > > MZ > > > > > > > > > > Sent from Mailspring <https://getmailspring.com/>, the best free > > email app for work > > > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52924): https://lists.yoctoproject.org/g/yocto/message/52924 Mute This Topic: https://lists.yoctoproject.org/mt/81596894/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Howto read bitbake -g files?
An example about my question Inside package-depends.dot I see this "opencv-dev" [label="opencv-dev(opencv) :3.1+gitAUTOINC+92387b1ef8-r0\n/Sources/softfx/krogoth/sources/meta-openembedded/meta-oe/recipes-support/opencv/opencv_3.1.bb"] I need to remote opencv-dev from 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 wrote: > 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 I read the dot source. I use dot and I know the syntax. > But I don't how to read the graph. > > MZ > > > > Sent from Mailspring (https://getmailspring.com/), the best free email app > for work > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52878): https://lists.yoctoproject.org/g/yocto/message/52878 Mute This Topic: https://lists.yoctoproject.org/mt/81596894/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Howto read bitbake -g files?
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 I read the dot source. I use dot and I know the syntax. But I don't how to read the graph. MZ Sent from Mailspring (https://getmailspring.com/), the best free email app for work -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52876): https://lists.yoctoproject.org/g/yocto/message/52876 Mute This Topic: https://lists.yoctoproject.org/mt/81596894/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Which recipes put qtwebkit in my image?
Hello. I find it. Inside a software there two executables programs which need QtWebKit. So yocto warn me to include QtWebKit in the imge. MZ Sent from Mailspring (https://getmailspring.com/), the best free email app for work On mar 16 2021, at 4:56 pm, Quentin Schulz wrote: > Hi Mauro, > > 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 matter with *-dev packages > > > > I use bitbake -g but I don't find the "source" of qtwebkit. > > > > oe-pkgdata-util lookup-recipe qtwebkit > could help. Or if you know which file you don't want in your fs and want > to know which package is installing it: > > oe-pkgdata-util find-path '*qtwebkit*' > (provided the file you're looking for has qtwebkit in its filename) > > Hope this helps, > Cheers, > Quentin > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52788): https://lists.yoctoproject.org/g/yocto/message/52788 Mute This Topic: https://lists.yoctoproject.org/mt/81379532/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Which recipes put qtwebkit in my image?
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 (https://getmailspring.com/), the best free email app for work -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52737): https://lists.yoctoproject.org/g/yocto/message/52737 Mute This Topic: https://lists.yoctoproject.org/mt/81379532/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Swap management: vm.swappiness best values?
Thank you for the answer. May be I explain my problem not so well :-( I don't have enabled swap partition in fstab and if I run swapon nothing is shown. The swap partition is not defined anywhere in the system. Only the manager is available in the kernel. I made an analisys of memory usage before posting this, and I see that when the free ram drop under 600MB the kernel thread mmcq/2 and kswap0 starts to work. I see the this 600MB is 60% of 1GB, and vm.swapping=60. So I ask here if someone has some experience. with vm.swappiness value on embedded. You have centered perfecly the matter about the slow-down: when memory drop to low, the system is tired to work. I cannot explain why even if no swap spaces are defined, kswap0 works Now I try to put vm.swappiness=6 and it seems to work well MZ On mar 9 2021, at 12:17 pm, Laurent Gauthier wrote: > Ciao Mauro, > > Sounds more like a pure Linux/UNIX question than a yocto one :-) > > As you most likely know on an embedded system which uses permanent storage > (NAND flash or eMMC) that is subject to wear it is important to completely > turn off swap. > > At runtime if the system is up and running then you should issue the "swapoff > -a" command. > > But the proper fix is to remove any entry from your /etc/fstab designating a > swap partition. > > However I would be surprised if you had a swap partition configured in your > system as most embedded systems don't have one. > > Instead what I am thinking is that you are likely seeing a system slow-down > due to your system's memory usage coming close to 100% of the available RAM, > which in turn causes all calls to memory allocation functions to slow down > (algorithms have 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 memory > usage. > > Kind regards, Laurent. > On Tue, Mar 9, 2021 at 10:03 AM Mauro Ziliani (mailto:ma...@faresoftware.it)> wrote: > > 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 value for vm.swappiness? > > Best regards, > > MZ > > > > > > > > > -- > Laurent Gauthier > Embedded Linux Systems & Software > Phone: +33 630 483 429 > https://soccasys.com > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52630): https://lists.yoctoproject.org/g/yocto/message/52630 Mute This Topic: https://lists.yoctoproject.org/mt/81197150/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Swap management: vm.swappiness best values?
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 value for vm.swappiness? Best regards, MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52617): https://lists.yoctoproject.org/g/yocto/message/52617 Mute This Topic: https://lists.yoctoproject.org/mt/81197150/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Remove *-dev packages from final image
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_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 suppose there is some package-group which installs *-dev > > > > In the image recipe I includes > > > > require recipes-sato/images/core-image-sato.bb > > require recipes-fsl/images/fsl-image-multimedia-full.bb > > > > and I force a remove with > > > > IMAGE_INSTALL_remove = " \ > > packagegroup-fsl-tools-gpu \ > > imx-gpu-sdk \ > > packagegroup-core-x11-sato-games \ > > attr-dev \ > > alsa-lib-dev \ > > base-file-dev \ > > connman \ > > " > > > > Even if I remove alsa-lib-dev I find it in the manifest. > > > > I'm working with a Krogoth > > > > Any idea? > > you might find the dependency with bitbake -g and > insepcting the generated dependecy files. > > > > > Thanks all > > MZ > > > > > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52616): https://lists.yoctoproject.org/g/yocto/message/52616 Mute This Topic: https://lists.yoctoproject.org/mt/81171890/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Remove *-dev packages from final image
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 suppose there is some package-group which installs *-dev In the image recipe I includes require recipes-sato/images/core-image-sato.bb require recipes-fsl/images/fsl-image-multimedia-full.bb and I force a remove with IMAGE_INSTALL_remove = " \ packagegroup-fsl-tools-gpu \ imx-gpu-sdk \ packagegroup-core-x11-sato-games \ attr-dev \ alsa-lib-dev \ base-file-dev \ connman \ " Even if I remove alsa-lib-dev I find it in the manifest. I'm working with a Krogoth Any idea? Thanks all MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52608): https://lists.yoctoproject.org/g/yocto/message/52608 Mute This Topic: https://lists.yoctoproject.org/mt/81171890/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Memory tracker in c++
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 valgrind but it is too heavy for the poor imx Thanks all MZ Sent from Mailspring (https://getmailspring.com/), the best free email app for work -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52591): https://lists.yoctoproject.org/g/yocto/message/52591 Mute This Topic: https://lists.yoctoproject.org/mt/81112257/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Include "my.conf" in conf/local.conf
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+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] curl certificate error
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/ssl/certs/ca-certificates.crt CApath: none I miss some dependency? I'm working on an old Krogoth Thanks all MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52282): https://lists.yoctoproject.org/g/yocto/message/52282 Mute This Topic: https://lists.yoctoproject.org/mt/80529947/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] PREFERRED_VERSION_pn-: which version is selected?
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 In the image recipe I put image-recipe.bb IMAGE_INSTALL_append := " \ recipe1 \ " PREFERRED_VERSION_pn-recipe1 := "0.9" Yocto chant #1: Recipe data is local, conf data is global. In other words, you cannot modify other recipes from one recipe. Since image recipes are recipes, your PREFERRED_VERSION ni your image recipe is effectively a no-op. On a side note, := operator is rarely seen outside of FILESEXTRAPATHS_prepend in bbappend, try to keep it this way. If I do bitbake -s I get recipe1 :1.0-r0 If I do bitbake image-recipe in image-recipe.manifest I look recipe1 1.0-r0 Why is not selected the preferred version? How can I choose the recipe's version I'd like? In a configuration file: local.conf, distro.conf, machine.conf. Though, it is heavily discouraged to use local.conf for anything except debugging sessions, as it is meant only for **local** configuration and isn't supposed to be versioned. Cheers, Quentin -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52264): https://lists.yoctoproject.org/g/yocto/message/52264 Mute This Topic: https://lists.yoctoproject.org/mt/80474452/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] PREFERRED_VERSION_pn-: which version is selected?
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 recipe I put image-recipe.bb IMAGE_INSTALL_append := " \ recipe1 \ " PREFERRED_VERSION_pn-recipe1 := "0.9" As usual, recipe data is local, conf data is global. Setting things that should affect other recipes (like PREFERRED_VERSION) does not work inside a recipe - and an image recipe is still just a recipe. This needs to go into the DISTRO config, usually. Greetz -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52263): https://lists.yoctoproject.org/g/yocto/message/52263 Mute This Topic: https://lists.yoctoproject.org/mt/80474452/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] PREFERRED_VERSION_pn-: which version is selected?
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 :1.0-r0 If I do bitbake image-recipe in image-recipe.manifest I look recipe1 1.0-r0 Why is not selected the preferred version? How can I choose the recipe's version I'd like? Best regards, MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52259): https://lists.yoctoproject.org/g/yocto/message/52259 Mute This Topic: https://lists.yoctoproject.org/mt/80474452/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Yoctoproject ad Qt Commercial License.
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://lists.yoctoproject.org/mt/78611730/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] File collision: same path from 2 recipes
Thanks for your help. I'm working with an old Krogoth. This checks is true even with Krogoth? MZ Il 29/09/20 14:17, Laurent Gauthier ha scritto: Hi Mauro, From my experience there should be an error reported during the image creation as long as the two *packages* that contain a file with the same name are BOTH installed in the root filesystem. If you don't receive an error I would suspect that for some reason the file is really only installed by one of the two packages. Another source of your issue is that there can be more than one package created by one recipe, 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 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 -- Laurent Gauthier Embedded Linux Systems & Software Phone: +33 630 483 429 http://soccasys.com -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50870): https://lists.yoctoproject.org/g/yocto/message/50870 Mute This Topic: https://lists.yoctoproject.org/mt/77194296/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] File collision: same path from 2 recipes
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 to this group. View/Reply Online (#50867): https://lists.yoctoproject.org/g/yocto/message/50867 Mute This Topic: https://lists.yoctoproject.org/mt/77194296/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] wic direct->vhd
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 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50730): https://lists.yoctoproject.org/g/yocto/message/50730 Mute This Topic: https://lists.yoctoproject.org/mt/76931073/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] [psplash] image format.
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. 1. To "center" the splash in the screen I need to create a 800x700 image 2. this is the result on the display https://drive.google.com/file/d/1OHbUr-WxR_weU6JilhFcUO64onb7F3-f/view?usp=sharing Any idea? Best regards, MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50669): https://lists.yoctoproject.org/g/yocto/message/50669 Mute This Topic: https://lists.yoctoproject.org/mt/76845604/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] psplash and mountpoint -q
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 the line so 28: if [ ! `mountpoint -q $TMPDIR` ]; then Is this ok? MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50205): https://lists.yoctoproject.org/g/yocto/message/50205 Mute This Topic: https://lists.yoctoproject.org/mt/76004130/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Missing artifact with wic create -e
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 build artifacts for the machine INFO: selected in local.conf actually exist and that they INFO: are the correct artifacts for the image (.wks file)). ERROR: ("The artifact that couldn't be found was %s:\n %s", 'rootfs-dir', '/home/mauro/yocto/zeus/epilmax-build/tmp-glibc/work/geode_lx500-oe-linux/epilmax-image/1.0-r0/rootfs') The epilmax-imagr/1.0-r0/rootfs doesn't exists Which is my error? Mauro -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49662): https://lists.yoctoproject.org/g/yocto/message/49662 Mute This Topic: https://lists.yoctoproject.org/mt/74935827/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Strange error
In the image recipe i write ${DATETIME} in ${IMAGE_ROOTFS}/etc/buildtime by a function. This is the part of recipe ROOTFS_POSTPROCESS_COMMAND_append = " \ mark_os_buildtime; \ " mark_os_buildtime() { echo "${PV} ${DATETIME}" > ${IMAGE_ROOTFS}/etc/buildtime } 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 5b2654046d2ac406f3484b3286de0acd. The metadata is not deterministic and this needs to be fixed. Why? Maybe some script / part of the recipe is dependent on the execution time or evaluation order? The error basically tells you that your build is not reproducible across runs. Greetz -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49624): https://lists.yoctoproject.org/g/yocto/message/49624 Mute This Topic: https://lists.yoctoproject.org/mt/74802412/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Strange error
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 value changed from 7419bfc242fa2eee9ce87b18ebf40d25 to 5b2654046d2ac406f3484b3286de0acd. The metadata is not deterministic and this needs to be fixed. Why? Best regards, MZ -- - Rudolf J Streif CEO/CTO ibeeto +1.855.442.3386 x700 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49623): https://lists.yoctoproject.org/g/yocto/message/49623 Mute This Topic: https://lists.yoctoproject.org/mt/74802412/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Strange error
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 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49617): https://lists.yoctoproject.org/g/yocto/message/49617 Mute This Topic: https://lists.yoctoproject.org/mt/74802412/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] OpenRC
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/74774301/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Recipe do_install priority
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 bitbake to install library after init-ifupdown in final image? The best for me should be drive this behavoir in the recipe-image.bb in this way library:do_install after init-ifupdown:do_install that means run do_install of library.bb afger do_install of init-ifupdown.bb Any idea? MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#49587): https://lists.yoctoproject.org/g/yocto/message/49587 Mute This Topic: https://lists.yoctoproject.org/mt/74690593/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] SDKPATH: how to change?
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-dev1 /opt/fsl-imx-x11-dev2 /opt/fsl-imx-x11-dev3 The form should be /opt/${DISTRO}-${MYDEVICE} So I'd like to use a common .inc and change the MYDEVICE But I don't find where the final sdk path is combined Any idea? MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#48747): https://lists.yoctoproject.org/g/yocto/message/48747 Mute This Topic: https://lists.yoctoproject.org/mt/71902591/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] IMX6DL: Rename dtb in boot partition
You are right. I have not think about linux-imx:do_install_append Thanks for the help MZ Il 03/03/20 15:44, Laurent Gauthier ha scritto: Ciao Mauro, My best guess is that you should do the following: 1. Create a linux-imx_%.bbappend recipe in your layer (assuming you have one). 2. Add a do_install_append function which overrides $D/boot/imx6dl-sabresd.dtb linux-imx is the name of the kernel recipe if you are using an NXP BSP. If you are using another BSP the name of the kernel recipe might be different, please adjust as required. Prior to proceeding to this you should check that you can see your files in your Yocto build directory under: * .../tmp/work/imx*/linux-imx/*/packages-split/kernel-devicetree/ The content of the /boot partition normally includes content from the kernel-devicetree package (created by the kernel recipe), because these are installed under /boot in the rootfs. After making the changes suggested above just cleanall + rebuild your kernel and verify that the DTB file has been properly overwritten (look again at this same directory I point you to above, compare file checksums to ensure the copy worked). If that worked, then just 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 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 and imx6dl-sabresd-disp2.dtb I need to replace imx6dl-sabresd.dtb with that imx6dl-sabresd-disp1.dtb I'd like to do this cp -f imx6dl-sabresd-disp1.dtb imx6dl-sabresd.dtb How can I do that? There is a way to rename imx6dl-sabresd-disp1.dtb in imx6dl-sabresd.dtb inside some task? do_rootfs, do_image or others? Best regards, MZ -- Laurent Gauthier Phone: +33 630 483 429 http://soccasys.com -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#48675): https://lists.yoctoproject.org/g/yocto/message/48675 Mute This Topic: https://lists.yoctoproject.org/mt/71700896/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] IMX6DL: Rename dtb in boot partition
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 and imx6dl-sabresd-disp2.dtb I need to replace imx6dl-sabresd.dtb with that imx6dl-sabresd-disp1.dtb I'd like to do this cp -f imx6dl-sabresd-disp1.dtb imx6dl-sabresd.dtb How can I do that? There is a way to rename imx6dl-sabresd-disp1.dtb in imx6dl-sabresd.dtb inside some task? do_rootfs, do_image or others? Best regards, MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#48668): https://lists.yoctoproject.org/g/yocto/message/48668 Mute This Topic: https://lists.yoctoproject.org/mt/71700896/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Remove buildhistory from deb package version
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, Mauro Ziliani wrote: 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 That's not buildhistory, that's the PR service. Comment out PRSERV_HOST. Ross -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#48071): https://lists.yoctoproject.org/g/yocto/message/48071 Mute This Topic: https://lists.yoctoproject.org/mt/69954642/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Remove buildhistory from deb package version
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 to remove .3 from version. So I commented out #PRSERV_HOST = "localhost:0" #BUILDHISTORY_COMMIT = "1" #NHERIT += " buildhistory " But now every package has always .0 has buildhistory number i.e. 1.0.0-r0.3 is 1.0.0-r0.0 always. How can I get 1.0.0-r0? Best regards, MZ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#48065): https://lists.yoctoproject.org/g/yocto/message/48065 Mute This Topic: https://lists.yoctoproject.org/mt/69954642/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Adding libstdc++-dev path?
Sorry. I sleep over the keyboard. The solution is adding manually the location of /usr/include/c++/5.3.0 /usr/include/c++/5.3.0/arm-poky-linux-gnueabi where library foldes. Your recipe is usefull to test my problem Thans. M Il 03/12/19 13:59, Gabriele Zampieri ha scritto: Forget about the DEPENDS, I used that in another scenario. I tried the following recipe: FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI = "file://main.cpp" do_compile() { # For example purpose use only ${CXX} ${CXXFLAGS} ${WORKDIR}/main.cpp -o ${B}/${PN} } With a simple main: #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 procudes by gcc-runtime recipe. I try to put gcc-runtime in DEPENDS e RDEPENDS_${PN} but this doesn't. Finally I put manually the -I${STAGING_INCDIR}/c++/5.3.0 -I${STAGING_INCDIR}/c++/5.3.0/${CC_PREFIX} in the Makefile. CC_PREFIX=arm-poky-linux-gnueabi Il 03/12/19 11:55, Gabriele Zampieri ha scritto: Hi, have you tried adding libstdc++-dev to the recipe dependencies? DEPENDS += " libstdc++-dev" This will bring libstdc++ package into recipe sysroot and no extra actions will be needed on compilation flags. Regards, Gabriele On Tue, Dec 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" 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 How can I use stdc by recipe? Mauro -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#47516): https://lists.yoctoproject.org/g/yocto/message/47516 Mute This Topic: https://lists.yoctoproject.org/mt/65707284/3618237 Group Owner: yocto+ow...@lists.yoctoproject.org <mailto:yocto%2bow...@lists.yoctoproject.org> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [gabbla.mal...@gmail.com <mailto:gabbla.mal...@gmail.com>] -=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#47521): https://lists.yoctoproject.org/g/yocto/message/47521 Mute This Topic: https://lists.yoctoproject.org/mt/65707284/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] Adding libstdc++-dev path?
I try, But libstdc++-dev is procudes by gcc-runtime recipe. I try to put gcc-runtime in DEPENDS e RDEPENDS_${PN} but this doesn't. Finally I put manually the -I${STAGING_INCDIR}/c++/5.3.0 -I${STAGING_INCDIR}/c++/5.3.0/${CC_PREFIX} in the Makefile. CC_PREFIX=arm-poky-linux-gnueabi Il 03/12/19 11:55, Gabriele Zampieri ha scritto: Hi, have you tried adding libstdc++-dev to the recipe dependencies? DEPENDS += " libstdc++-dev" This will bring libstdc++ package into recipe sysroot and no extra actions will be needed on compilation flags. Regards, Gabriele On Tue, Dec 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" 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 How can I use stdc by recipe? Mauro -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#47516): https://lists.yoctoproject.org/g/yocto/message/47516 Mute This Topic: https://lists.yoctoproject.org/mt/65707284/3618237 Group Owner: yocto+ow...@lists.yoctoproject.org <mailto:yocto%2bow...@lists.yoctoproject.org> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [gabbla.mal...@gmail.com <mailto:gabbla.mal...@gmail.com>] -=-=-=-=-=-=-=-=-=-=-=- -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#47518): https://lists.yoctoproject.org/g/yocto/message/47518 Mute This Topic: https://lists.yoctoproject.org/mt/65707284/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Adding libstdc++-dev path?
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 How can I use stdc by recipe? Mauro -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#47516): https://lists.yoctoproject.org/g/yocto/message/47516 Mute This Topic: https://lists.yoctoproject.org/mt/65707284/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[yocto] Adding python3-compile-native
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. View/Reply Online (#47425): https://lists.yoctoproject.org/g/yocto/message/47425 Mute This Topic: https://lists.yoctoproject.org/mt/61958439/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-