Re: [yocto] populate_sdk with my image

2019-11-21 Thread Mauro Ziliani

Thanks.

This is true for a Krogoth based project?

Il 21/11/19 17:40, Mark Hatle ha scritto:

populate_sdk uses the same configuration as the regular image, as well as adding
"dev-pkgs dbg-pkgs src-pkgs" and optionally doc-pkgs.

See:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/populate_sdk_base.bbclass

Lines 3-11, and 22.

If dev-pkgs/src-pkgs isn't inclyding your Qt/Qml development components, then
they may not be packaged properly.

The way dev-pkgs works (like 5) is by taking a list of each package installed in
the system and then trying to add '-dev' to it, and then install that.  
(Roughly)

--Mark


On 11/21/19 10:31 AM, Mauro Ziliani wrote:

Hi all.

I have a recipe for my image with depends from Qt/Qml recipes

When I do

bitbake -c populate_sdk myimage.bb


the sdk doesn't contains the dev version of the Qt/Qml libraries installed in
the final image


I managing the bitbake variables  TOOLCHAIN_TARGET_TASK and TOOLCHAIN_HOST_TASK
adding manually the dependecies.


There is an automatic way to do that?


M


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] populate_sdk with my image

2019-11-21 Thread Mauro Ziliani

Hi all.

I have a recipe for my image with depends from Qt/Qml recipes

When I do

bitbake -c populate_sdk myimage.bb


the sdk doesn't contains the dev version of the Qt/Qml libraries 
installed in the final image



I managing the bitbake variables TOOLCHAIN_TARGET_TASK and 
TOOLCHAIN_HOST_TASK adding manually the dependecies.



There is an automatic way to do that?


M

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Is Yocto the right fit for my project?

2019-11-21 Thread Mauro Ziliani

Hello,

Yocto is a must for your project, regarding the project evolution.


I made a project starting from an intel platform, then I port it on 
raspberry, now on imx6 dual lite.


My application never change, the system services never change.

I need to change only the parts which driver the hardware.

You can achieve this goal playing with layers

If you made a good planning of the layers, the porting will be "easy2.


Good work


Il 20/11/19 14:12, Richard Barrass ha scritto:


Hello,

I am a lead engineer on project where we run a well-known Linux 
distribution on-top of a SBC (Intel Quad Pentium processor based) 
driving a 27” display. We have a 32GB SSD to run from, which we 
partition with multiple EXT4 partitions to help with potential 
corruption mitigation if the device is switched off ‘hard’.


But, with the well-known Linux distribution comes a lot of things we 
don’t need, plus the potential ability to ‘break’ in to our 
application which is running full-screen.


We basically need

QT 5.12 runtime (our application)

SSH

OpenVPN

Wifi

Ethernet

Modem (via Telit modem)

USB-ACM

USB-Memory stick

Is this something I should be looking to the yocto project for, or 
should I be looking at a more ‘traditional’ custom linux distro.


The only other aspect, is that we have future plans to cost reduce the 
application to be running on a Pi based, 10” display system …


Any thoughts and ideas would be appreciated.

Regards

Richard

*--*

*Richard Barrass*

BassettElectronicSystemsLtd_Logo **

*Bassett Electronic Systems Ltd*. /Solutions under one roof./

T: 01793 859974 E: r.barr...@bassettelectronics.com 



Unit 23-25 Whitehill Industrial Estate, Whitehill Lane, Royal Wootton 
Bassett, Wiltshire, SN4 7DB



-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

2019-11-20 Thread Mauro Ziliani

Is it possible to compile tensorflow against python2.7?

Il 20/11/19 16:40, Mauro Ziliani ha scritto:


I forked the repository and I'm tryng to port the layer for Krogoth

M

Il 20/11/19 15:37, Mauro Ziliani ha scritto:


Hi all.

There a port for meta-tensorflow for Krogoth or Sumo?

Mayabe I need to use it on this distribution

Thaks

 M

Il 21/02/19 12:37, Hongxu Jia ha scritto:

Hi RP and Yocto folks,

Currently AI on IoT edge becomes more and more popular, but there is no
machine learning framework in Yocto/OE. With the support of Eric
, Robert
and Randy, after two months effort, I've
integrated TensorFlow to Yocto.

Now, I contribute the patches to Yocto for review, and apply for creating
a layer named `meta-tensorflow' on Yocto.

For test convenient, there is a fork on github:
https://github.com/hongxu-jia/meta-tensorflow

BTW, I have contributed other 11 fundamental recipes to meta-openembedded
and all of them have been merged to master branch.

Please no hesitate to share your suggestion.

//Hongxu

Testing Commands:
-
See README

Testing, Expected Results:
--
See README





-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

2019-11-20 Thread Mauro Ziliani

I forked the repository and I'm tryng to port the layer for Krogoth

M

Il 20/11/19 15:37, Mauro Ziliani ha scritto:


Hi all.

There a port for meta-tensorflow for Krogoth or Sumo?

Mayabe I need to use it on this distribution

Thaks

 M

Il 21/02/19 12:37, Hongxu Jia ha scritto:

Hi RP and Yocto folks,

Currently AI on IoT edge becomes more and more popular, but there is no
machine learning framework in Yocto/OE. With the support of Eric
, Robert
and Randy, after two months effort, I've
integrated TensorFlow to Yocto.

Now, I contribute the patches to Yocto for review, and apply for creating
a layer named `meta-tensorflow' on Yocto.

For test convenient, there is a fork on github:
https://github.com/hongxu-jia/meta-tensorflow

BTW, I have contributed other 11 fundamental recipes to meta-openembedded
and all of them have been merged to master branch.

Please no hesitate to share your suggestion.

//Hongxu

Testing Commands:
-
See README

Testing, Expected Results:
--
See README



-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Error with Pyro and wic

2019-11-06 Thread Mauro Ziliani

Ok I solved.

The problem is the filesystem of destination folder.

The /deploy is a shared vboxsf shared folder.

If build the sdcard in local folder all works


M

Il 06/11/19 09:48, Mauro Ziliani ha scritto:

Hi all.

I'm trying to port udooneo to Pyro.

By now I build core-image-minimal

I try  to make a udoo-sdcard with the command


wic create -e core-image-minimal udoo-sdard -o /deploy/udoo-scard


udoo-sdcard.wks is placed in meta-udoo/scripts/lib/wic/canned-wks

 udoo-sdcard.wks ---

bootloader
part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk 
--no-table --align 1
part u-boot --source rawcopy --sourceparams="file=u-boot.img" --ondisk 
mmcblk --no-table --align 69
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root 
--align 4096


 udoo-sdcard.wks ---


When tryo to build an sdcard with wic I get this errors

 errors 

INFO: Creating image(s)...

Traceback (most recent call last):
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", 
line 389, in _invoke_fiemap

    fcntl.ioctl(self._f_image, _FIEMAP_IOCTL, self._buf, 1)
OSError: [Errno 95] Operation not supported

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", 
line 529, in filemap

    return FilemapFiemap(image, log)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", 
line 363, in __init__

    self.block_is_mapped(0)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", 
line 410, in block_is_mapped

    struct_fiemap = self._invoke_fiemap(block, 1)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", 
line 397, in _invoke_fiemap

    raise ErrorNotSupp(errstr)
wic.filemap.ErrorNotSupp: FilemapFiemap: the FIEMAP ioctl is not 
supported by the file-system


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/mauro/pyro/sources/poky/scripts/wic", line 326, in 
    sys.exit(main(sys.argv[1:]))
  File "/home/mauro/pyro/sources/poky/scripts/wic", line 321, in main
    return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, 
subcommands)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/help.py", line 
97, in invoke_subcommand

    subcommands.get(args[0], subcommand_error)[0](args[1:], usage)
  File "/home/mauro/pyro/sources/poky/scripts/wic", line 259, in 
wic_create_subcommand

    native_sysroot, options)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/engine.py", line 
195, in wic_create

    plugin.do_create()
  File 
"/home/mauro/pyro/sources/poky/scripts/lib/wic/plugins/imager/direct.py", 
line 96, in do_create

    self.assemble()
  File 
"/home/mauro/pyro/sources/poky/scripts/lib/wic/plugins/imager/direct.py", 
line 187, in assemble

    self._image.assemble()
  File 
"/home/mauro/pyro/sources/poky/scripts/lib/wic/plugins/imager/direct.py", 
line 553, in assemble

    sparse_copy(source, self.path, part.start * self.sector_size)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", 
line 537, in sparse_copy

    fmap = api(src_fname)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", 
line 531, in filemap

    return FilemapSeek(image, log)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", 
line 210, in __init__

    self._probe_seek_hole()
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", 
line 245, in _probe_seek_hole

    raise ErrorNotSupp("the file-system does not support "
wic.filemap.ErrorNotSupp: the file-system does not support "SEEK_HOLE" 
and "SEEK_DATA" but only provides a stub implementation




It seems that wic doesn't have some function to handle a part defined 
in wks.


Any suggestions?


Best regards,

  Mauro


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Error with Pyro and wic

2019-11-06 Thread Mauro Ziliani

Hi all.

I'm trying to port udooneo to Pyro.

By now I build core-image-minimal

I try  to make a udoo-sdcard with the command


wic create -e core-image-minimal udoo-sdard -o /deploy/udoo-scard


udoo-sdcard.wks is placed in meta-udoo/scripts/lib/wic/canned-wks

 udoo-sdcard.wks ---

bootloader
part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk 
--no-table --align 1
part u-boot --source rawcopy --sourceparams="file=u-boot.img" --ondisk 
mmcblk --no-table --align 69
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root 
--align 4096


 udoo-sdcard.wks ---


When tryo to build an sdcard with wic I get this errors

 errors 

INFO: Creating image(s)...

Traceback (most recent call last):
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", line 
389, in _invoke_fiemap

    fcntl.ioctl(self._f_image, _FIEMAP_IOCTL, self._buf, 1)
OSError: [Errno 95] Operation not supported

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", line 
529, in filemap

    return FilemapFiemap(image, log)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", line 
363, in __init__

    self.block_is_mapped(0)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", line 
410, in block_is_mapped

    struct_fiemap = self._invoke_fiemap(block, 1)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", line 
397, in _invoke_fiemap

    raise ErrorNotSupp(errstr)
wic.filemap.ErrorNotSupp: FilemapFiemap: the FIEMAP ioctl is not 
supported by the file-system


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/mauro/pyro/sources/poky/scripts/wic", line 326, in 
    sys.exit(main(sys.argv[1:]))
  File "/home/mauro/pyro/sources/poky/scripts/wic", line 321, in main
    return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, 
subcommands)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/help.py", line 
97, in invoke_subcommand

    subcommands.get(args[0], subcommand_error)[0](args[1:], usage)
  File "/home/mauro/pyro/sources/poky/scripts/wic", line 259, in 
wic_create_subcommand

    native_sysroot, options)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/engine.py", line 
195, in wic_create

    plugin.do_create()
  File 
"/home/mauro/pyro/sources/poky/scripts/lib/wic/plugins/imager/direct.py", 
line 96, in do_create

    self.assemble()
  File 
"/home/mauro/pyro/sources/poky/scripts/lib/wic/plugins/imager/direct.py", 
line 187, in assemble

    self._image.assemble()
  File 
"/home/mauro/pyro/sources/poky/scripts/lib/wic/plugins/imager/direct.py", 
line 553, in assemble

    sparse_copy(source, self.path, part.start * self.sector_size)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", line 
537, in sparse_copy

    fmap = api(src_fname)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", line 
531, in filemap

    return FilemapSeek(image, log)
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", line 
210, in __init__

    self._probe_seek_hole()
  File "/home/mauro/pyro/sources/poky/scripts/lib/wic/filemap.py", line 
245, in _probe_seek_hole

    raise ErrorNotSupp("the file-system does not support "
wic.filemap.ErrorNotSupp: the file-system does not support "SEEK_HOLE" 
and "SEEK_DATA" but only provides a stub implementation




It seems that wic doesn't have some function to handle a part defined in 
wks.


Any suggestions?


Best regards,

  Mauro

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Pyro, imx-gpu-viv and libGL.so

2019-10-12 Thread Mauro Ziliani

Hi all.

I'm working with and kivy and SDL2.

My problem is that the recipe imx-gpu-viv installs libGL.so.1.2. in 
/usr/lib, while SDL2 is compiled against libGLESv2.


So when I starts the SDL application from a strange behaviour the libGL 
is loaded, which needs libXdamage.


But the bsp is without X and sdl2 fails.


If I remove libGL.so.1.2 and I symlink libGLESv2.so to libGL.so.1.2, 
this can solve my problem?


There is some recipe which solve di problem?


Mauro

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Force do_package_index

2019-10-10 Thread Mauro Ziliani

I use the deploy/deb as Debian repository for internal upgrade.

So I export over an internal ftp the 4 folders under tmp/deply/deb, and 
I integrate package-management with package_deb.


I need to restore the old buildhistory, because I rebuild some package 
but I have not change anything.



I try bitbake package-index, maybe is what I need


Thanks


Mauro



Il 10/10/19 18:45, Ross Burton ha scritto:

On 10/10/2019 16:35, Mauro Ziliani wrote:

How to force the execuction o do_package_index over an image recipe?


Are you intending to use the deploy directory as a package feed? 
"bitbake package-index" for that.


Ross

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Force do_package_index

2019-10-10 Thread Mauro Ziliani

Goodmorning.

How to force the execuction o do_package_index over an image recipe?


MZ

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] buildhistory revert

2019-10-10 Thread Mauro Ziliani

I find the solution.

I know that I have not modified the packages rebuilded (i.e the kernel)

So I see in prserv.sqlite3.

The table PRMAIN_nohist contains the history of buildhistory for each 
pkg/recipe.


I deleted the  line which the field value i bigger or equal the value I need

The package kernel-4.1.15-2.0.1_4.1.15-r0.17_armhf.deb is built from 
recipe linux-imx


Inside PRMAIN_nohist table there a record with the field "value=18".

I make this from sqlite3 tool

DELETE FROM PRMAIN_nohist WHERE version LIKE 'linux-imx-%' AND value>=13

I rebuild the linux-imx with bitbake linux-imx and magically the package 
kernel-4.1.15-2.0.1_4.1.15-r0.13_armhf.deb is build.



MZ


Il 10/10/19 14:40, Yann Dirson ha scritto:

The PR server takes care not to reuse those versions.
Apart from making sure your recipe's signature matches the one for
0.13, you probably can't (assuming you don't want to mess with your
PR's database).


2019-10-10 10:27 UTC+02:00, Mauro Ziliani :

Hi all

I need to change the build number of a package.

That is: i have the package
kernel-4.1.15-2.0.1_4.1.15-r0.*17*_armhf.deb, but in need to turn back
to kernel-4.1.15-2.0.1_4.1.15-r0.*13*_armhf.deb


Can I setup manually the 17 value to 13?


Mauro




-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] buildhistory revert

2019-10-10 Thread Mauro Ziliani

Hi all

I need to change the build number of a package.

That is: i have the package 
kernel-4.1.15-2.0.1_4.1.15-r0.*17*_armhf.deb, but in need to turn back 
to kernel-4.1.15-2.0.1_4.1.15-r0.*13*_armhf.deb



Can I setup manually the 17 value to 13?


Mauro

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Freetype 2.7.1 pkgconfig

2019-10-05 Thread Mauro Ziliani

Sorry for this post.

I solved

Il 05/10/19 10:18, Mauro Ziliani ha scritto:

Hi all.

I try to use pygame in Pyro.

But pkg-config freetype --modversion give me 19.0.13, while freetype 
is 2.7.1



Which is the reason of this version number?

I know that the field Version o freetype2.pc is assigned to 19.0.13, 
but I don't understand while the package as 2.7.1 version, tje 
freetype2.pc file has the 19.0.13 value



MZ


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Freetype 2.7.1 pkgconfig

2019-10-05 Thread Mauro Ziliani

Hi all.

I try to use pygame in Pyro.

But pkg-config freetype --modversion give me 19.0.13, while freetype is 
2.7.1



Which is the reason of this version number?

I know that the field Version o freetype2.pc is assigned to 19.0.13, but 
I don't understand while the package as 2.7.1 version, tje freetype2.pc 
file has the 19.0.13 value



MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] python3 pygame under Pyro

2019-10-02 Thread Mauro Ziliani

Adding libsdl2 to DEPENDS i get sdl2-config under the folder

tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/python3-pygame/1.9.6-r0/recipe-sysroot/usr/bin/crossscripts/sdl2-config

Il 03/10/19 00:01, Khem Raj ha scritto:

On Wed, Oct 2, 2019 at 2:46 PM Mauro Ziliani  wrote:

Hi all.

I'm trying to build python3-pygame for and imx6dl board in Pyro.

Pygame needs SDL, but I don't know how to tell to bitbake for compile
sdl before pygame.


I put libsdl-native into DEPENDS but doesn't work.


bitbake try to run sdl-config but it cannot find the file.


Any idea?


Does, DEPENDS += "libsdl2" help ?

Best regards,

MZ


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] python3 pygame under Pyro

2019-10-02 Thread Mauro Ziliani

Hi all.

I'm trying to build python3-pygame for and imx6dl board in Pyro.

Pygame needs SDL, but I don't know how to tell to bitbake for compile 
sdl before pygame.



I put libsdl-native into DEPENDS but doesn't work.


bitbake try to run sdl-config but it cannot find the file.


Any idea?


Best regards,

  MZ


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] QtCreator, CMake, fsl-imx-x11 toolchain

2019-10-01 Thread Mauro Ziliani

Hi all.

Maybe this is a post I have already sent.

I'm working with

imx6dlsabresd,  yocto krogoth/jetro, QtCreator, 
fsl-imx-x11-glibc-meta-toolchan-qt4



I configured qtcreator with a kit for this tool chain using gcc g++ and 
from the meta-toolchain package.



If I try to run cmake to generate the project cmake fails because it 
cannot found /lib/ld-linux-armhf.so.3.


This file i in 
/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/cortexa9fh-neon-poky-linux/lib



Cmake anche make try to find it in /lib


Why?


MZ


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Sumo: default is python2 or python3

2019-09-24 Thread Mauro Ziliani

Hi all.

I need to move my application from krogoth to sumo.

Which is the python choosed for sumo, as system python interpreter?


Best regards,

  Mauro

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] meta-toolchain-sd taylored for production image

2019-09-14 Thread Mauro Ziliani

I find it

bitbake image -c populate_sdk

Thanks all


Il 14/09/19 17:23, Mauro Ziliani ha scritto:

Hi all.

Reading the yocto manuales I remeber a command to build a taylored 
sdk+toolchain for the final image



That is:

my image is mysystem-i586-image and a command I get the sdk to use for 
develop applications on it



Which is command?


Best regards,

   Mauro


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] meta-toolchain-sd taylored for production image

2019-09-14 Thread Mauro Ziliani

Hi all.

Reading the yocto manuales I remeber a command to build a taylored 
sdk+toolchain for the final image



That is:

my image is mysystem-i586-image and a command I get the sdk to use for 
develop applications on it



Which is command?


Best regards,

   Mauro

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Image for sassive test for Qt QML

2019-09-13 Thread Mauro Ziliani

Hi all.

I need to check a small diversion on qt5-qtdeclarative package.

I disable SSE2 check feature for qv8engine.


There  is a way to execute a massive test of all QtQuick QML features 
over final platform?



MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Tuning gcc for Geode LX

2019-09-11 Thread Mauro Ziliani

Hi all.

I nee to disable all SIMD mmx sse extensions for the  GCC use to build 
the final image, containing Qt5 libraries


Now I have  tuned qtbase_git.bb by PACKAGECONFIG_CONFARGS adding the  
configure's parameters to disable MMX extensions.


But I need to disable this extensions for every package that can use MMX.


So my desire is to produce a gcc compiler that does'nt supports MMX.


I create  a machine/geode.conf with

DEFAULTTUNE="i586"

include conf/machine/include/tune-i586.inc

But I don't find how to customize the gcc/g++ parameters to disable SIMD 
extensions.



Any idea?


MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] MySql python support in Yocto.

2019-08-27 Thread Mauro Ziliani

Hi all.

There is some library for MariaDB/MySql in Python3 in Yocto?


Best regards.

  MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Python3 scan packages

2019-08-24 Thread Mauro Ziliani

Hi all.

Do you know some class or recipe which can detect the modules used by a 
python application?


Now I have to RDEPENDS every package the application need


MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Conditional include in image recipe.

2019-08-24 Thread Mauro Ziliani

Hi all

I working on a image recipe.

If I include the layer meta-raspberrypi layer  I'd like to include 
recipes-code/images/rpi-basic-image-bb.


While if i not include meta-raspberrypi layer I don't include 
rpi-basic-image.



How can I do that?


I don't understand, but I suppose I need to read bitbake manual.


MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Avoid glibc-dev in the final image

2019-08-22 Thread Mauro Ziliani
Hi all.

I need to understand which recipe put glibc-dev in the production image.

I put

IMAGE_FEATURES_remove =" dev-pkgs dbg-pkgs "

and I remove every reference to some -dev package.


But I have some recipe that include glibc-dev


How can I discover this?


I'm using a mixed Jethto/Krogoth BSP


M

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] libGL missing. Which packages bring it?

2019-08-22 Thread Mauro Ziliani
I try, but don't find it.

So I studied the setup.py of kivy and I set correctly all variables

Now I can build successfulliy Kivy 1.11.1 for raspberrypi3.


MZ

Il 22/08/19 13:55, Erik Hoogeveen ha scritto:
> Hi Mauro,
>
> Have you tried searching the layer index?
> https://layers.openembedded.org/
>
> Cheers,
> Erik
> On 21 Aug 2019, 11:11 +0200, Mauro Ziliani , wrote:
>> Hi all
>>
>> I try to compile kivy for Pyro and Python3 for framebuffer con RPi3.
>>
>> The builder cannot find libGL and -lGL linker fails.
>>
>> Which are the packages that give libGL?
>>
>>
>> Best regards
>>
>>     Mauro
>>
>> --
>> ___
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fyoctodata=02%7C01%7C%7Cc559b878bb3e4a61e35908d7261787b0%7C84df9e7fe9f640afb435%7C1%7C0%7C637019754810083255sdata=ggeG6LliIFYT53MEGDuc2LT%2FuxtGGCIAgpvskS76ro8%3Dreserved=0
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] libGL missing. Which packages bring it?

2019-08-21 Thread Mauro Ziliani
Hi all

I try to compile kivy for Pyro and Python3 for framebuffer con RPi3.

The builder cannot find libGL and -lGL linker fails.

Which are the packages that give libGL?


Best regards

    Mauro

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Final DISTRO_FEATURES value

2019-08-21 Thread Mauro Ziliani
Thanks

I try

Il 21/08/19 08:36, Gabriele Zampieri ha scritto:
> Ciao,
>
> you can inspect the testdata file located next to the generated image,
> under deploy floder.
>
> Best regards,
> Gabriele
>
> Il giorno mer 21 ago 2019 alle ore 08:25 Mauro Ziliani
> mailto:ma...@faresoftware.it>> ha scritto:
>
> Hi all.
>
> How can I inspect the final value of DISTRO_FEATURES when bitbake has
> completed the parse all recipes?
>
>
> Best regards,
>
>    MZ
>
> -- 
> ___
> yocto mailing list
> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Final DISTRO_FEATURES value

2019-08-21 Thread Mauro Ziliani

Hi all.

How can I inspect the final value of DISTRO_FEATURES when bitbake has 
completed the parse all recipes?



Best regards,

  MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Adding dtb to machine.conf extending it

2019-08-10 Thread Mauro Ziliani

Hi all.

I need to add my dtbo to overlays.

I'm using RaspberryPI 3 with pyro and meta-raspberrypi

I have to add tft35a.dtb to /boot/overlays in the file image.


Can I extend raspberrypi3.conf?


MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] meta-rpi vs meta-raspberrypi. Which one?

2019-08-08 Thread Mauro Ziliani

Hi all.

I'm working on a RPi3B with pyro and qt5/qml

Which layer between rpi and raspberrypi?


MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Yocto Pyro, bitbake, git pull for my recipe (Why not?)

2019-08-05 Thread Mauro Ziliani

Hi all.

It seems that bitbake doesn't check the remote git repository of my 
application (terminal is the name of the recipe) every time I do



bitbake  terminal


The recipe is this

#  the recipe -

SRCREV="${AUTOREV}"

SRC_URI = " \

    git://git@server/terminal.git;protocol=ssh;branch=master \

"


S := "${WORKDIR}/git"

inherit qmake5

#  the end of recipe -


Any idea to force git pull?


Best regards,

  MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] installed-vs-shipped

2019-08-05 Thread Mauro Ziliani

Thanks.

My final purpore is install the application into its own home folder: 
/home/terminal


So I have to write

FILES_${PN} += " /home/terminal "


I think that, due to Makefile install: rules which install in 
/usr/local, Yocto can track this has "home folder" for the application



Thansk again

 MZ

Il 02/08/2019 22:05, Khem Raj ha scritto:

Add

FILES_${PN} += "/usr/local/bin"

in recipe. but it would be nicer if it was installed into /usr/bin by
qmake/make files itself

On Fri, Aug 2, 2019 at 11:59 AM Mauro Ziliani  wrote:

Hi all.

This is my problem.

I have my terminal.pro project (qmake5) with target "terminal".

The default destination folder for the binary is /usr/local/bin

With this setup I get installed-vs-shipped error.


Why?

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] installed-vs-shipped

2019-08-02 Thread Mauro Ziliani

Hi all.

This is my problem.

I have my terminal.pro project (qmake5) with target "terminal".

The default destination folder for the binary is /usr/local/bin

With this setup I get installed-vs-shipped error.


Why?

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] do_image_*[depends]: how this works?

2019-06-25 Thread Mauro Ziliani

Hi all.

I don't understand how to use the do_image_wic[] istructions.

Where I can find info about?


I need to customize a syslinux.cfg configuration file, but with 
syslinux_%.bbappend I fail.


I look inside many image recipe the row

do_image_wic[depends] := 


But I don't understand the mean


MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Remove include /usr/include/SDL2

2019-06-25 Thread Mauro Ziliani

Thank for the answer.

I'll look for that.

MZ

Il 24/06/19 19:40, Burton, Ross ha scritto:

The problem is that kivy is ignoring all of the attempts at telling it
to build in a sysroot and *still* looking in /usr.  This is a clear
cut bug in the kivy build system, so you'll have to look at that and
see how to fix it.

Ross

On Mon, 24 Jun 2019 at 18:32, Mauro Ziliani  wrote:

Hi all.

I'm trying to compile kivy inside yocto for a 586 board.

The compilation fails because the i586-cc uses /usr/include and
/usr/local/include paths as INCLUDEDIR (togheter with others paths)


How can avoid this?


I need /usr/include o /usr/local/include for other apps, but I don't
like the /usr/include is involved in yocto


MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Remove include /usr/include/SDL2

2019-06-24 Thread Mauro Ziliani

Hi all.

I'm trying to compile kivy inside yocto for a 586 board.

The compilation fails because the i586-cc uses /usr/include and 
/usr/local/include paths as INCLUDEDIR (togheter with others paths)



How can avoid this?


I need /usr/include o /usr/local/include for other apps, but I don't 
like the /usr/include is involved in yocto



MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] qmake project and installed-vs-shipped QA

2019-06-08 Thread Mauro Ziliani

Hi all.

I built a project with qmake5

In my recipe I inherit qmake5

My application is well installed with "make install" (all file are 
installed correctly).



But bitbake tells me the this files are not shipped, but the application 
exectuable yes.


The executable is installed by "make install" as other files.

The solution is add in FILE_${PN} the  files not shipped.


But there is a way to ship files correctly installed without define 
FILES_${PN} inside the recipe?



Thanks all

MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] How to disable SIMD extensions (mmx, sse3, ...)?

2019-06-04 Thread Mauro Ziliani

Hi all.

I'm working with a Geode LX800, porting an old application Debian-based 
into Yocto Thud.


I need to disable some multimedia SIMD extensions for gcc compiler.

Where I can do this?

I suppose I have to disable SIMD extensions in 
conf/machine/geode_lx800.conf file (the machine descriptor file), but I 
cannot find any document about.



Can you help me?

MZ


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Customize syslinux root=???

2019-05-27 Thread Mauro Ziliani

Hi all.

I'm working with Thud and Ibase ib550f board (AMD Geode arch).

I make the BSP for ib550f an I build the  core-image-minimal image.

Than with wic I try to write the final directdisk file. The ib550f run 
from a CompactFlash.


The CF is mapped into the device /dev/hdb (the boot partition is 
/dev/hb1, the root partition /dev/hdb2).


I read many docs of Yocto but I don't find what I need.


The syslinux is always the bootloader choosen by wic: I'd like to use 
other booloader like grub.


And syslonux get /dev/sda2 has root parameter appended to syslinux.

I try to set SYSLINUX_ROOT := "root=/dev/hdb2" (in local.conf and in 
core-image-minimal.bbappend), but my setup is ignored



How can I customize syslinux to change SYSLINUX_ROOT=/dev/hdb2


Thanks all.

Mauro

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Investigate virtual/kernel assignment

2019-05-24 Thread Mauro Ziliani

Hi all.

How can I ask to bitbake which is the actual value of virtual/kernel?


Thanks all

MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Changing IMAGE_NAME [yocto krogoth]

2019-04-11 Thread Mauro Ziliani
Thanks

I'll try your suggestion

Il 11/04/19 13:12, Alexander Kanavin ha scritto:
> You need to use vardepsexclude (read in the bitbake manual how to).
>
> Generally I am not a fan of putting timestamps into anything
> yocto-built, it's prone to issues like this, breaks reproducibility,
> and also subverts sstate if not managed carefully. I'd almost suggest
> you build the image with a default name, and then rename it after the
> fact when deploying to some artefact storage.
>
> Alex
>
> On Thu, 11 Apr 2019 at 11:30, Mauro Ziliani  wrote:
>> Thanks
>>
>> It was a typing error.
>>
>> In my recipe I set the value as you told me.
>>
>> But the ERROR keep on show
>>
>>
>> Il 10/04/19 11:59, mikko.rap...@bmw.de ha scritto:
>>> On Wed, Apr 10, 2019 at 11:47:42AM +0200, Mauro Ziliani wrote:
>>>> Hi all.
>>>>
>>>> I need to change the default IMAGE_NAME of my image recipe.
>>>>
>>>> I make my image recipe as mysystem-image_1.0.bb and I'd like to produce
>>>> and image (tar) with the name
>>>>
>>>> mysystem-image-1.0-.tar
>>>>
>>>>
>>>> So I setup
>>>>
>>>> IMAGE_NAME := "{IMAGE_BASENAME}-${PV}-${DATETIME}"
>>> Should be:
>>>
>>> IMAGE_NAME := "${IMAGE_BASENAME}-${PV}-${DATETIME}"
>>>
>>> note the added $. I guess that's the bit which confuses bitbake. Been 
>>> there, done that
>>> too :)
>>>
>>> Hope this helps,
>>>
>>> -Mikko
>> --
>> ___
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Changing IMAGE_NAME [yocto krogoth]

2019-04-11 Thread Mauro Ziliani
Thanks

It was a typing error.

In my recipe I set the value as you told me.

But the ERROR keep on show


Il 10/04/19 11:59, mikko.rap...@bmw.de ha scritto:
> On Wed, Apr 10, 2019 at 11:47:42AM +0200, Mauro Ziliani wrote:
>> Hi all.
>>
>> I need to change the default IMAGE_NAME of my image recipe.
>>
>> I make my image recipe as mysystem-image_1.0.bb and I'd like to produce
>> and image (tar) with the name
>>
>> mysystem-image-1.0-.tar
>>
>>
>> So I setup
>>
>> IMAGE_NAME := "{IMAGE_BASENAME}-${PV}-${DATETIME}"
> Should be:
>
> IMAGE_NAME := "${IMAGE_BASENAME}-${PV}-${DATETIME}"
>
> note the added $. I guess that's the bit which confuses bitbake. Been there, 
> done that
> too :)
>
> Hope this helps,
>
> -Mikko
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Stripping debug symbols

2019-04-11 Thread Mauro Ziliani
Hi all.

I worked on my project woth Krogoth, gcc 5.3.0, on imx6dlsabresd board.

My application is build with cmake 3.4.3, shipped with BSP.


I'd like to strip debug symbols from the final binary, but if I prepend
the strip parameter in CMAKE_{C,CXX}_FLAGS_RELEASE in my CMakeLists.txt,
bitbake give me errors.


What is the right path to follow to strip final binary?

With debug info the binary is 109MB, without 5MB


Best regards,

 Mauro

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Changing IMAGE_NAME [yocto krogoth]

2019-04-10 Thread Mauro Ziliani
Hi all.

I need to change the default IMAGE_NAME of my image recipe.

I make my image recipe as mysystem-image_1.0.bb and I'd like to produce
and image (tar) with the name

mysystem-image-1.0-.tar


So I setup

IMAGE_NAME := "{IMAGE_BASENAME}-${PV}-${DATETIME}"


I made some compilation of mysystem with the default IMAGE_NAME.

Than I update the value of IMAGE_NAME.


Now when I rebuild the image bitbke tell me

ERROR: When reparsing mysystem-image_1.0.do_roots, the basehash value
change from  to 

If i restore the IMAGE_NAME to the default value this message disappear


How can I change the IMAGE_NAME as I need and avoi this message?


Best regards,

  MZ

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] How to produce Release.gpg

2019-03-18 Thread Mauro Ziliani

Hi all.

I have a system based on Debian package-management.

I need to sign the Release index in Release.gpg when the debian-like 
repository is made.



If I do

bitbake system-image


in tmp/deploy/deb subfolders a Debian repository is saved, but 
Release.gpg missing. Only Release file is present.



Is it possible to sign Release automatically from bitbake?


Best regards,

  MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] QtCreator +CMake + meta-toolchain-qt5

2019-03-03 Thread Mauro Ziliani
Hi all.

I'd like to use QtCreator to debug the directly in final system.

My project is generated with CMake, under Debian 9.7 amd64

I try every tutorial I found by the behaviour is always the same.

  /lib/ld-linux-armhf.so.3: No such file or directory

The entire log is the following.

- START LOG -

Running
"/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/cmake
/home/mauro/Sviluppo/myapp/src '-GCodeBlocks - Unix Makefiles'
-DCMAKE_BUILD_TYPE:STRING=Debug
-DCMAKE_CXX_COMPILER:STRING=/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++
-DCMAKE_C_COMPILER:STRING=/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
-DCMAKE_PREFIX_PATH:STRING=/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr
-DQT_QMAKE_EXECUTABLE:STRING=/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake"
in /home/mauro/Sviluppo/myapp/build-src-Qt5_IMX-Debug.

-- The C compiler identification is unknown

-- The CXX compiler identification is unknown

-- Check for working C compiler:
/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc

-- Check for working C compiler:
/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
-- broken

CMake Error at
/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/share/cmake-3.4/Modules/CMakeTestCCompiler.cmake:61
(message):

The C compiler

"/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc"

is not able to compile a simple test program.

It fails with the following output:

Change Dir:
/home/mauro/Sviluppo/myapp/build-src-Qt5_IMX-Debug/CMakeFiles/CMakeTmp

Run Build

Command:"/opt/fsl-imx-x11/4.1.15-2.0.1/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/bin/make"

"cmTC_97b71/fast"

/lib/ld-linux-armhf.so.3: No such file or directory

CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

CMakeLists.txt:12 (project)

-- Configuring incomplete, errors occurred!

See also
"/home/mauro/Sviluppo/myapp/build-src-Qt5_IMX-Debug/CMakeFiles/CMakeOutput.log".

See also
"/home/mauro/Sviluppo/myapp/build-src-Qt5_IMX-Debug/CMakeFiles/CMakeError.log".

*** cmake process exited with exit code 1.

- END LOG -

Any idea?

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Update kernel by package-management

2019-02-08 Thread Mauro Ziliani
Hi all.

I know this is a VERY dangerous operation, but I'm curious.

Is it possible to upgrade the kernel & dtb from debian package in Yocto?


That is: there is a recipe  (which produce a deb package) to copy zImage
and imx6dl-sabresd.dtb directly in the boot partition?


I working on a imx6sabresd board.

The root partition is /dev/mmcblk2p1


Mauro

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] GPG key used to authenticate DEB packages

2019-02-04 Thread Mauro Ziliani
Sorry.

Relase.gpg miss in Yocto deploy/deb folders.

I need to build Release.gpg on my own


MZ

Il 04/02/19 16:35, Mauro Ziliani ha scritto:
> Hi all.
>
> My yocto image integrates package-management for package_deb.
>
> I made my own debian repository and all works fine.
>
> I miss only where Yocto save the gpg key  used to sign Release.gpg files.
>
>
> So when I try apt-get update/upgrade onto my production system, apt-get
> tell me that all packages are not recognized as authenticate.
>
>
> Where is the gpg key to copy in production system?
>
>
> Best regards,
>
>   MZ
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] GPG key used to authenticate DEB packages

2019-02-04 Thread Mauro Ziliani
Hi all.

My yocto image integrates package-management for package_deb.

I made my own debian repository and all works fine.

I miss only where Yocto save the gpg key  used to sign Release.gpg files.


So when I try apt-get update/upgrade onto my production system, apt-get
tell me that all packages are not recognized as authenticate.


Where is the gpg key to copy in production system?


Best regards,

  MZ

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Set package DEB priority

2019-02-03 Thread Mauro Ziliani
Find the solution my own.

I put

PRIORITY := "required"

in conf/local.conf to set all packages as "required"

MZ


Il 03/02/19 15:10, Mauro Ziliani ha scritto:
> Hi all
>
> How can I set the priority of ad DEB by my recipes?
>
> I need to mark all packages as required.
>
> Now they are optional
>
>
> Mauro
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Set package DEB priority

2019-02-03 Thread Mauro Ziliani
Hi all

How can I set the priority of ad DEB by my recipes?

I need to mark all packages as required.

Now they are optional


Mauro

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fetch from git every bitbake

2019-01-26 Thread Mauro Ziliani

Hi all.

I try AUTOREV in my recipe, but bitbake doesn't check the git repository 
for newer versions.


I need to do

bitbake app -c cleanall

bitbake app


to update sources from repository.


Where I mistake?


Regards,

  MZ


Il 17/01/19 15:06, Mauro Ziliani ha scritto:

Hi all.

How can I force the pull from git repository of my app every time I do

bitbake app


Best regards,

  MZ


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fetch from git every bitbake

2019-01-18 Thread Mauro Ziliani
I try BB_SRCREV_POLICY in conf/local.conf

First I try

BB_SRCREV_POLICY := "clear"


Then I try

BB_SCREV_POLICY_pn-app := "clear"


app_1.0.bb is the recipe with


SRCREV="${AUTOREV}"

SRC_URI += " \

    file://git@sourcer/app.git \

"


I'm working with a mixed version of Krogoth/Jethro.


Any Idea?



Il 18/01/19 15:00, Mauro Ziliani ha scritto:
> I try AUTOREV in the recipe app_1.0.bb
>
>
> SRCREV := "${AUTOREV}"
>
> But it doesn't work.
>
> Which other variables could inhibit AUTOREV?
>
>
> MZ
>
> Il 17/01/19 15:09, Burton, Ross ha scritto:
>> Look up AUTOREV in the manual, that does exactly what you want.
>>
>> Ross
>>
>> On Thu, 17 Jan 2019 at 14:08, Mauro Ziliani  wrote:
>>> Hi all.
>>>
>>> How can I force the pull from git repository of my app every time I do
>>>
>>> bitbake app
>>>
>>>
>>> Best regards,
>>>
>>>MZ
>>>
>>> --
>>> ___
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fetch from git every bitbake

2019-01-18 Thread Mauro Ziliani
I try AUTOREV in the recipe app_1.0.bb


SRCREV := "${AUTOREV}"

But it doesn't work.

Which other variables could inhibit AUTOREV?


MZ

Il 17/01/19 15:09, Burton, Ross ha scritto:
> Look up AUTOREV in the manual, that does exactly what you want.
>
> Ross
>
> On Thu, 17 Jan 2019 at 14:08, Mauro Ziliani  wrote:
>> Hi all.
>>
>> How can I force the pull from git repository of my app every time I do
>>
>> bitbake app
>>
>>
>> Best regards,
>>
>>MZ
>>
>> --
>> ___
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Fetch from git every bitbake

2019-01-17 Thread Mauro Ziliani

Hi all.

How can I force the pull from git repository of my app every time I do

bitbake app


Best regards,

  MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] How to share buildhistory?

2019-01-16 Thread Mauro Ziliani
Hi all.

I'm working with imx6dlsabresd and krogoth with 2 pc (PC1, PC2) which
commit the sources in  the same git repository

I need to share buildhistory between PC1 and PC2.

That is:

- I build app_1.0.bb on PC1 and I get app_1.0-r0.3_armhf.deb

- I commit/push from PC1 to the git repos.

- In PC2 I pull from git repos

- I bitbake app_1.0.bb and I would get app_1.0-r0.4_armhf.deb


Is it possible to do that?


Often I work with PC1 placed in my office, sometimes I need to keep on
the development with PC2, placed in my customer's office.

But I need to continue on PC2 where I stopped with PC1


Best regards,

 MZ
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Disable SIMD extensions for Geode LX800

2018-12-29 Thread Mauro Ziliani

Hi all.

I need to build Thud for Geode LX800, porting a old application with Yocto.

I need to remove SIMD extensions for qt5 and other libraries that could 
use SIMD extensions (sse2 mmx and so on)



How can I disable the SIMD extension globally for BSP?

I think to use TUNE_FEATURES variable.

Is the right way?


Best regards,

  MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Relase or debug by PACKAGECONFIG or MY_APP_VAR?

2018-12-13 Thread Mauro Ziliani
Hi all.

I have an application made with cmake and qt5 by the recipe my-app.bb


To compile the app in release mode I need set

EXTRA_OECMAKE + = " -DCMAKE_BUILD_TYPE=Release "


while in debug mode I need to set

EXTRA_OECMAKE + = " -DCMAKE_BUILD_TYPE=Debug "


I defined 2 image recipes: one for production (Release) and one for
testing (Debug)

my-system.bb

my-system-debug.bb


Both my-system.bb and my-system-debug.bb have

IMAGE_INSTALL_append = " my-app "


But for my-system-debug.bb I'd like to set CMAKE_BUILD_TYPE=Debug for
my-app.bb


How can I do that?


Now I try to define my-app.bb the variable

...

MY_APP_BUILD_TYPE ?= "Release"

EXTRA_OECMAKE + = " -DCMAKE_BUILD_TYPE=${MY_APP_BUILD_TYPE} "

...


And in my-system-debug.bb I set

MY_APP_BUILD_TYPE = "Debug"


Or I need to use PACKAGECONFIG?


Best regards,

  Mauro




-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] nativesdk-packagegroup-sdk-host not found. Why?

2018-12-10 Thread Mauro Ziliani

Solved.

Th nativesdk-package-sdk-host was not found because in conf/local.conf I 
set DPKG_ARCH="armhf".


Erasing this setup all works.


Mauro


Il 10/12/18 08:13, Mauro Ziliani ha scritto:

Hi all.

I try to rebuild meta-toolchain-qt5 and meta-toolchain, but bitbake 
tells me the it can found nativesdk-packagegroup-sdk-host and on 
populate_sdk task.


Why?


Which configuration variables drive the production of the recipe 
nativesdk-packagegroup-sdk-host.bb?



Thanks all


Mauro


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] nativesdk-packagegroup-sdk-host not found. Why?

2018-12-09 Thread Mauro Ziliani

Hi all.

I try to rebuild meta-toolchain-qt5 and meta-toolchain, but bitbake 
tells me the it can found nativesdk-packagegroup-sdk-host and on 
populate_sdk task.


Why?


Which configuration variables drive the production of the recipe 
nativesdk-packagegroup-sdk-host.bb?



Thanks all


Mauro

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Content of a packagegroup

2018-12-06 Thread Mauro Ziliani

Hi all

There is the possibility to known which recipes are included in a 
packagroup?


Toaster can be the solution or there a cli command to know which recipes 
are in a packagegroup?



MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] connmand+dbus. Which alternatives?

2018-12-05 Thread Mauro Ziliani
Hi all.

I'm working on a imx6dl sabresd project with an usb wifi dongle (edimax
EW7811un)

My app uses Connman by DBus to manage ethernet and wifi connections.

Normally the sytstem works well. Sometimes, randomly, the system freeze
or the app crashes.

I made many test and this happens when the system is connected to a SSID.

So I suspect that the problem is in connamd_1.31+dbus_1.10.6


I'm using Yocto fsl 4.1.5-2.0.1 qith Qt5 5.6.2


Can you suggest me an alternative to connmand?


Best regards,

  MZ

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Copy tar file without expand it

2018-11-21 Thread Mauro Ziliani
Hi all.

I need to copy a tar file from 'files' subdir of my recipe into
/upgrade_file in the file image.

I don't need to expand it, only copy.


How can I do that?


in my recipe I put but myfile.tar will be exploded.


SRC_URI += " \

    file://myfile.tar \

"

do_install_append() {

    install -m 0644 ${WORKDIR}/myfile.tar ${D}/upgrade_file

}


There some options to pass in SRC_URI to avoid tar expansion?


MZ

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Autoincing version every rebuild

2018-11-09 Thread Mauro Ziliani
Hi all.

I'd like increment version number (PV) o release number (PR) every time
I built a recipe.

I use this strategy in debug mode to give a reference to every debug
session.


In production it PV and PR value for the recipe will be fixed.


Any idea?


I'm working with fsl 4.1.15-2.0.1


Best regards,

  Mauro

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Yocto and Debian package repositories

2018-11-07 Thread Mauro Ziliani
Thank you for your answer.

My system is produced only from Yoctk Krogoth with deb package, and
package-management turned on into EXTRAS_DISTRO_FEATURES.

The server repository is only my server and there are only the debs
built with yocto.

So I think the dependecies are always ok, because non other repos are used.


Mauro


Il 30/10/2018 22:21, Khem Raj ha scritto:
> On Tue, Oct 30, 2018 at 8:14 AM Mauro Ziliani  wrote:
>> Hi all.
>>
>> I often work with Debian and I build my own repository accessible with apt.
>>
>> I look that when I build the image recipe many deb pacakages are
>> produced with Packages and Release ready.
>>
>> How can I use this pakcages to upload all packages to a Debian customer
>> server?
> So I am assuming you are thinking of installing these .debs onto a
> debian base target
> if so then its not quite the right direction. with OE build system we
> can generate output packages
> as ipks, rpms, debs and tarballs, its just another output format but
> is not meant to be consumed
> on rpm-like or deb-like linux systems which are built using non-OE
> distros, because packages have
> dependencies and sometimes version specific dependencies which may not
> match between two ecosystems.
>
>> Best regards,
>>
>>   MZ
>> --
>> ___
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Yocto and Debian package repositories

2018-10-30 Thread Mauro Ziliani
Hi all.

I often work with Debian and I build my own repository accessible with apt.

I look that when I build the image recipe many deb pacakages are
produced with Packages and Release ready.

How can I use this pakcages to upload all packages to a Debian customer
server?

Best regards,

  MZ
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Layers for AMD Geode LX 800

2018-10-24 Thread Mauro Ziliani

Hi all.

Do you know if there is some layers ready for the board in subject?

It is an IBASE IB550F.


Thanks all


Mauro


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Software upgrade tools: which?

2018-10-04 Thread Mauro Ziliani
Hi all.

I'm looking for a good layer to add in my BSP to solve the problem of
upgrading the system and the application.

I'm working on a project the involves an imx6dlsabresd derived board and
Krogoth ver 15.0.3.


In the first versione the project used an x86-board and Ubuntu 14.04.
The update system choosed was deb/apt.

Due to quickly change of the main board to an imx6 with yocto, the
package-management is deb/apt even with Yocto.

I need to insert a set of system upgrade tools which can help to restore
the previous versions if something goes wrong during the update.
the update should be mainly by usb pendrive, but online is the next choice.

Can you suggest me some good tools to integrate?

Best regards,
  MZ
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Removing old images

2018-09-26 Thread Mauro Ziliani

Hi all.

How can I remove all unneeded images in tmp/deploy/images/imx6dlsabresd ?

I try a brutal rm -f. but it is not so friendly.


MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] update_icon_cache fails

2018-09-26 Thread Mauro Ziliani

Hi all.

I try to build my own image with Krogoth, imx6dlsabresd.

bitbake tells me a warning about update_icon_cache.

The reason is that it cannot find gdk-pixbuf-query-loaders in 
${BUILDDIR}/tmp/sysroot/x86_64-linux


I look for gdk-pixbuf-query-loaders in 
${BUILDDIR}/tmp/sysroot/x86_64-linux and I find it in 
${BUILDDIR}/tmp/sysroot/x86_64-linux/usr/lib/gdk-pixbuf-2.0



I composing my custom image starting from core-image-minimal, adding 
what I need.


Which recipe I miss to add in IMAGE_INSTALL?


Best regards,

  MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Image with the right version inside

2018-08-10 Thread Mauro Ziliani

Hi all

I need to do this scenario.

I have 2 image recipes:

- final.bb

- testing.bb

final.bb and testing.bb install the same application name app.

For the app I build the recipe app_1.0.bb which downloads the source 
code from git with tag=1.0, app_git.bb which downloads the latest commit.


- in final.bb I'd like to put the production version of the application: 
that is app_1.0.bb


- in testing.bb I'd like to put the testing verstion of the application: 
that is app_git.bb


Now, when I bitbake final, tha app_git is installed. This is not I want.

How can I force final.bb to install app_1.0.bb?

I tryed PREFERRED_VERSION_app="1.0" in final.bb recipe but it seems not 
work.



Thansk all

   Mauro



--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] python-cython_0.25.2 Krogoth: EXCLUDE_FROM_WORLD

2018-07-21 Thread Mauro Ziliani

Hi all

I'd like to add cython 0.25.2 to Krogoth.

I need it to try kivy in Krogoth on IMX6


In my layer under recipes-devtools/python folder I added the recipe

python-cython_0.25.2.bb with this inside


inherit setuptools
require recipes-devtools/python/python-cython.inc


RDEPENDS_${PN} += " \
    python-distribute \
"

If I run

bitbake -s -vD | grep cython


this is the behaviour

mauro@z600:~/Sources/bsp/clini5-build$ bitbake -s  | grep cython
python-cython :0.24-r0
python-cython-native :0.24-r0
python3-cython :0.24-r0
python3-cython-native :0.24-r0

Why the 0.25.2 version is ignored?


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Setting recipe version inside an image recipe

2018-07-19 Thread Mauro Ziliani

Thank you.

Your suggestion is very useful.

The best choice at the end is to have one  recipe every stable version 
of myapp.


So I can freeze the true production recipe for that version.

Maybe in the future the recipe myapp could be evolve with some 
enhancement which could not be compatible with older version.


Good idea.

Best regards,

MZ

Il 19/07/2018 16:02, Paul Eggleton ha scritto:

Hi Mauro

On Thursday, 19 July 2018 2:36:18 PM CEST Mauro Ziliani wrote:

I'm working with Krogoth.

I'd like to do this.

- I have my application added to yocto tree by its own recipe myapp_git.bb

This recipe get the source code from a local git repository setting
SRCREV for the last stable application source code.

SRCREV is fixed in myapp_git.bb


- I have the recipe for the final production image for the embedded
system  myos.bb, which declare

IMAGE_INSTALL_append = " myapp "

The myos.bb compiles myapp with the version declare in myapp_git.bb recipe


I'd like to do that

- prepare a base recipe myos-base.inc  where I define all I need the
produce the final image with

IMAGE_INSTALL_append = " myapp "

- prepare myos.bb recipe where I can fix the version of myapp.bb to a
prpduction version

- prepare myos-test.bb recipre where I can fix the HEAD branch of git
from I can download the  latest source code for test.


I try this

- inside myapp_git.bb I put SRCREV="${MYAPP_SRCREV}"

- inside myos.bb I set MYAPP_SRCREV="prodution-version-X" to download
the tag/branch production-version-X

- inside myos-test.bb I set MYAPP_SRCREV="${AUTOREV}" to download the
latest git commit

You cannot do this I'm afraid - in general you cannot set a variable in one
recipe that will be read by another. See:

https://wiki.yoctoproject.org/wiki/Technical_FAQ#How_do_I_change_how_my_recipe_is_built_depending_on_what_image_I.27m_building.3F

The only real way to do what you're looking for is to have two different
recipes (where the name is actually different, not just the version). e.g. you
could have myapp_git.bb and myapp-test_git.bb. You could use a common
.inc file and "require" that from both .bb files in order to keep the common
parts in one place. Then you can specify the corresponding package name
in each image recipe.

Cheers,
Paul



--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Setting recipe version inside an image recipe

2018-07-19 Thread Mauro Ziliani

Hi all

I'm working with Krogoth.

I'd like to do this.

- I have my application added to yocto tree by its own recipe myapp_git.bb

This recipe get the source code from a local git repository setting  
SRCREV for the last stable application source code.


SRCREV is fixed in myapp_git.bb


- I have the recipe for the final production image for the embedded  
system  myos.bb, which declare


IMAGE_INSTALL_append = " myapp "

The myos.bb compiles myapp with the version declare in myapp_git.bb recipe


I'd like to do that

- prepare a base recipe myos-base.inc  where I define all I need the 
produce the final image with


IMAGE_INSTALL_append = " myapp "

- prepare myos.bb recipe where I can fix the version of myapp.bb to a 
prpduction version


- prepare myos-test.bb recipre where I can fix the HEAD branch of git 
from I can download the  latest source code for test.



I try this

- inside myapp_git.bb I put SRCREV="${MYAPP_SRCREV}"

- inside myos.bb I set MYAPP_SRCREV="prodution-version-X" to download 
the tag/branch production-version-X


- inside myos-test.bb I set MYAPP_SRCREV="${AUTOREV}" to download the 
latest git commit




Any idea?


MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] SRC_URI git from ssh fails

2018-07-10 Thread Mauro Ziliani

Now it works.

But it was a problem of git repository.

I rebuild the SRCREC on the repository and now I acan fetch the source code.


I choose this recipe method.

PV="1.0"

SRCREV="refs/tags/${PV}"


SRC_URI = " \
    git://user@server/repos.git;protocol=ssh \
"

Thanks for the help

MZ

Il 10/07/2018 10:40, Martin Hundebøll ha scritto:

Hi again,

On 2018-07-10 10:37, Martin Hundebøll wrote:

Hi Mauro,

On 2018-07-10 10:31, Mauro Ziliani wrote:

Hi all

I'm working with Krogoth and imx6dlsabresd board.

I'm in trouble fetching source code from a git repository via ssh.

If I get manually the source codes with

git clone ssh://user@server/repos.git -b 0.4

it works


If I put it in myrecipe_git.bb with


SRC_URI = " \

    git://user@server/repos.git;protocol=ssh;tag=0.4 \

"


You might get lucky with a colon instead of the slash:

 git://user@server:repos.git;protocol=ssh;tag=0.4

But it is just a wild guess, and I didn't really test it :)

// Martin



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


the fecth task fails.


I try also SRCREV="0.4" outside SRC_URI and rev=0.4 in place of tag=0.4


Oh, don't base your checkouts on tags, as they can change without 
bitbake noticing.


Put a commit id in SRCREV instead and look into AUTOREV if you need to 
always build the latest and greatest.


// Martin



Where I mistake?


Thanks


MZ








--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] SRC_URI git from ssh fails

2018-07-10 Thread Mauro Ziliani

Hi all

I'm working with Krogoth and imx6dlsabresd board.

I'm in trouble fetching source code from a git repository via ssh.

If I get manually the source codes with

git clone ssh://user@server/repos.git -b 0.4

it works


If I put it in myrecipe_git.bb with


SRC_URI = " \

   git://user@server/repos.git;protocol=ssh;tag=0.4 \

"

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


the fecth task fails.


I try also SRCREV="0.4" outside SRC_URI and rev=0.4 in place of tag=0.4


Where I mistake?


Thanks


MZ


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] checkroot.sh and mountall.sh Krogoth

2018-06-19 Thread Mauro Ziliani

Hi all.

I'm looking inside the boot sequence of Yocto Krogoth in my imx6dlsabresd.


The boot sequence runned is in S level with this order


S03mountall.sh

S06chechroot.sh


in /etc/default/rcS I setup

ENABLE_ROOTFS_FSCK=yes
FSCKFIX=yes

I coverted an ext2 to ext4

After upgrade the system mount the root partition readonly because ext4 
mounter has found some error.


But I expect that checkroot.sh repairs


This is true?


MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Krogoth dpkg_arch=armhf: how?

2018-05-20 Thread Mauro Ziliani

Hi all.

My image works with debian package management.

The image is produced with armel architecture, while sdk with armhf and 
other packages is armhf.


How can I set the correct debian architecture?

I try DPKG_ARCH:="armhf" but seems it doesn't take effect


MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] connman and dhcp

2018-05-19 Thread Mauro Ziliani

Hi all.

I'm working with connmanctl, a dongle wifi EDIMAX EW-7881UN with 
imx6dlsabresd, yocto Krogoth.



By connmanctl I can authenticate the pc, and set the connection for dhcp 
ip assignment.


The device is recognize as wlan0.


connmanctl>  connect wifi_XX

OK


After I try to switch to manual ip, and it works . The new setup is 
active after some second.


connmanctl> config wifi_XX --ipv4 manual ip netmask gw


Then I try to return with dhcp assignment

connmanctl> config wifi_XX --ipv4 dhcp.


After this sequence when I return to dhcp option, The ip isn't renewed 
anymore


I stay with the ip 169.254.86.142


It seems that when I come back to dhcp setup, the dhcp server doens't 
answer, or connman doesn't send dhcp request.



Any idea?


MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Configuration network from qt5

2018-05-17 Thread Mauro Ziliani

Thanks for the answer.

I start with connman because in meta-qt5 there the recipe for it.

I keep on with connman.


MZ


Il 17/05/2018 15:00, Mirza Krak ha scritto:

On 17 May 2018 at 14:18, Mauro Ziliani <ma...@faresoftware.it> wrote:

Hi all.

Which the betst choice to perform the network configuration in Yocto Krogoth
from a qt5 application?

The configuration should be made without external script, using dbus.

Well you probably need to use a network manager that you can control
trough D-Bus. NetworkManager, ConnMan, systemd-networkd etc.

If you are using ConnMan you can use this:
https://git.merproject.org/mer-core/libconnman-qt

There might exist similar libraries for other network managers but I
am not aware of any.



--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Configuration network from qt5

2018-05-17 Thread Mauro Ziliani

Hi all.

Which the betst choice to perform the network configuration in Yocto 
Krogoth from a qt5 application?


The configuration should be made without external script, using dbus.


Best regards,

  MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Set root password from a recipe

2018-05-16 Thread Mauro Ziliani

Sorry

inherit extrausers


Il 16/05/2018 10:46, Mauro Ziliani ha scritto:

Hi all.

I need to set a well know password for root user.

I follow the istruction to do this with


inherit extra_users

EXTRA_USERS_PARAMS = " \

    usermod -P secret root; \

"


But it does not work.

I think the problem i for usermod

I sse the man page and the -p parameter needs the output of crypt(3) 
function.


While -P parameter (p-uppercase) is not a valid parameter for usermod


Any idea?


Thanks

   Mauro



--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Set root password from a recipe

2018-05-16 Thread Mauro Ziliani

Hi all.

I need to set a well know password for root user.

I follow the istruction to do this with


inherit extra_users

EXTRA_USERS_PARAMS = " \

    usermod -P secret root; \

"


But it does not work.

I think the problem i for usermod

I sse the man page and the -p parameter needs the output of crypt(3) 
function.


While -P parameter (p-uppercase) is not a valid parameter for usermod


Any idea?


Thanks

   Mauro

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] FILES autofilling

2018-05-10 Thread Mauro Ziliani

It works.

Thanks you


Il 10/05/2018 22:44, Joshua Watt ha scritto:

On Thu, 2018-05-10 at 22:34 +0200, Mauro Ziliani wrote:

Hi all.

My name's Mauro.

I developed an application with CMake outside Yocto Krogoth.

In CMakeLists.txt I have a lot of install(...) commands.

I produce the final deb package with cpack -G DEB command and al
works fine.

Now I'd like to import my app into Krogoth.

I edited correctly the recipe, but the do_package task fails because
I
have not filled the FILES variable correctly.

I have 656 files to ship with the application.

The application must be installed in its own folder /home/app


Any idea how can I list all files to ship inside FILES variable?

It works recursively on folders:

FILES_${PN} += "/home/app/"



Best regards,

 MZ



--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] FILES autofilling

2018-05-10 Thread Mauro Ziliani

Hi all.

My name's Mauro.

I developed an application with CMake outside Yocto Krogoth.

In CMakeLists.txt I have a lot of install(...) commands.

I produce the final deb package with cpack -G DEB command and al works fine.

Now I'd like to import my app into Krogoth.

I edited correctly the recipe, but the do_package task fails because I 
have not filled the FILES variable correctly.


I have 656 files to ship with the application.

The application must be installed in its own folder /home/app


Any idea how can I list all files to ship inside FILES variable?


Best regards,

   MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Which recipe produce that file?

2018-04-13 Thread Mauro Ziliani

Ok.

Thanks for your help


MZ


Il 13/04/2018 09:49, Zoran Stojsavljevic ha scritto:

Hello Mauro,

Seems that you have somehow included duplicate recipes for xcb-util, 
in form of libxcb-util.


I found the base package xcb-util in my base: meta (Open Embedded) layer:

[user@localhost beaglebone-rocko-18.0.0]$ find . -name xcb-uti*
/*./meta/recipes-graphics/xorg-lib/xcb-util_0.4.0.bb 
<http://xcb-util_0.4.0.bb>*/
./meta/recipes-graphics/xorg-lib/xcb-util-renderutil_0.3.9.bb 
<http://xcb-util-renderutil_0.3.9.bb>
./meta/recipes-graphics/xorg-lib/xcb-util-keysyms_0.4.0.bb 
<http://xcb-util-keysyms_0.4.0.bb>
./meta/recipes-graphics/xorg-lib/xcb-util-wm_0.4.1.bb 
<http://xcb-util-wm_0.4.1.bb>

./meta/recipes-graphics/xorg-lib/xcb-util.inc
./meta/recipes-graphics/xorg-lib/xcb-util-image_0.4.0.bb 
<http://xcb-util-image_0.4.0.bb>

./meta/recipes-graphics/xorg-lib/xcb-util-image
[user@localhost beaglebone-rocko-18.0.0]

Since you are, after all, using imx6dl, you probably included quite a 
few more layers from Frescale/NXP, with doubled libxcb-util package 
included as well.


Please, search for it there.

Best Regards,
Zoran
___

On Fri, Apr 13, 2018 at 6:19 AM, Mauro Ziliani <ma...@faresoftware.it 
<mailto:ma...@faresoftware.it>> wrote:


Hi all.

My name's Mauro and I write from Parma, Italy.


I'm in trouble because recently I get a collision error.

It seems that more than one recipes try to install the same file
in the same path in populate_sdk task

This is an example

--

ERROR: xcb-util-0.4.0-r0 do_populate_sysroot: The recipe xcb-util
is trying to install files into a shared area when those files
already exist. Those files and their manifest location are:

/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/libxcb-util.la
<http://libxcb-util.la>
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/libxcb-util.so
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/libxcb-util.so.1.0.0
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/libxcb-util.a
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/libxcb-util.so.1
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/pkgconfig/xcb-event.pc
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/pkgconfig/xcb-util.pc
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/pkgconfig/xcb-aux.pc
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/pkgconfig/xcb-atom.pc
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/include/xcb/xcb_event.h
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/include/xcb/xcb_util.h
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/include/xcb/xcb_aux.h
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/include/xcb/xcb_atom.h
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/sysroot-providers/xcb-util
--


I'm working with a Jethro distro

How can I solve this problem?


Best regards,

  MZ

-- 
___

yocto mailing list
yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto
<https://lists.yoctoproject.org/listinfo/yocto>




-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Which recipe produce that file?

2018-04-12 Thread Mauro Ziliani

Hi all.

My name's Mauro and I write from Parma, Italy.


I'm in trouble because recently I get a collision error.

It seems that more than one recipes try to install the same file in the 
same path in populate_sdk task


This is an example

--

ERROR: xcb-util-0.4.0-r0 do_populate_sysroot: The recipe xcb-util is 
trying to install files into a shared area when those files already 
exist. Those files and their manifest location are:

/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/libxcb-util.la
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/libxcb-util.so
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/libxcb-util.so.1.0.0
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/libxcb-util.a
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/libxcb-util.so.1
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/pkgconfig/xcb-event.pc
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/pkgconfig/xcb-util.pc
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/pkgconfig/xcb-aux.pc
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/lib/pkgconfig/xcb-atom.pc
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/include/xcb/xcb_event.h
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/include/xcb/xcb_util.h
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/include/xcb/xcb_aux.h
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/usr/include/xcb/xcb_atom.h
 
/media/mauro/Sviluppo/CatellaniGroup/ibr115/bsp/clini5-build/tmp/sysroots/imx6dlsabresd/sysroot-providers/xcb-util
--


I'm working with a Jethro distro

How can I solve this problem?


Best regards,

  MZ

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto