[yocto] [yocto-docs][PATCH] ref-manual: Sync list of image types with source

2019-07-22 Thread Daniel Ammann
hdddirect was removed from openembedded-core in commit 929ba563f1bc7195c4981b8e139c432b2cc388ea. f2fs was added in commit dec029686a47b574edfce4472fe2167db54398fb. container was added in commit e45f074b792a43aa2fd84a5a3f0e20bf1d88ad7e. squashfs-lz4 was added in commit de70799af1a8bfe2fac22b90401

[yocto] /etc/limits with openssh

2019-05-14 Thread Daniel Ammann
beaglebone-yocto with core-image-base with added sshd. This is yocto 2.6. Thanks Daniel -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

[yocto] [poky-container][PATCH] README.md: Add note about using git inside the container

2019-04-23 Thread Daniel Ammann
Fixes bug 11385. Signed-off-by: Daniel Ammann --- README.md | 5 + 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c5276fd..cf49da9 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,11 @@ host. The instructions will be slightly different depending on whether

[yocto] [yocto-docs][PATCH] ref-manual: Fix typo

2019-02-21 Thread Daniel Ammann
Signed-off-by: Daniel Ammann --- documentation/ref-manual/ref-variables.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index d9d0915a8..9a47bcd33 100644 --- a/documentation/ref

[yocto] [meta-security][thud][PATCH] tpm2-abrmd: Fix QA error

2018-12-12 Thread Daniel Dragomir
QA Issue: tpm2-abrmd: Files/directories were installed but not shipped in any package: /usr/share/dbus-1 /usr/share/dbus-1/system-services /usr/share/dbus-1/system-services/com.intel.tss2.Tabrmd.service Signed-off-by: Daniel Dragomir --- meta-tpm/recipes-tpm/tpm2-abrmd/tpm2

[yocto] [meta-security][thud][PATCH] tpm2.0-tss: Remove resourcemgr sub-package

2018-12-07 Thread Daniel Dragomir
move resourcemgr sub-package with it's components. Build will fail when trying sed command on resourcemgr.service (No such file or directory). Signed-off-by: Daniel Dragomir --- meta-tpm/recipes-tpm/tpm2.0-tss/tpm2.0-tss_2.0.1.bb | 19 --- 1 file changed, 19 deletions(

[yocto] loopback interface not brought up on 'ifup -a' automatically

2018-04-26 Thread Daniel Ceusan
terface up automatically. If I define the lo interface: "auto lo iface lo inet loopback" then lo interface is not brought up automatically by "ifup -a", even though from ifupdown's changelog/documentation it says both approaches should work. Anyone else seen this be

Re: [yocto] [Mesa-dev] VC4 not working for me with mesa 17.3.7 - was [meta-raspberrypi] VC4 not working for me with mesa 17.3.7

2018-04-04 Thread Daniel Stone
sted so far was perfectly fine. But >> maybe other graphic drivers are affected. > > Now I'm confused: is the patch needed? Yes and no. It only affects DRI2. Merging the patch fixes DRI2. Using DRI3 avoids the problem altogether, and is better to be doing anyway. I

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-16 Thread Daniel.
ly) did not read Martin's (Jansa) comment on my initial, and my > reply. I already reverted my decision on > downgrading Fedora and other distros. > > Zoran > > On Fri, Dec 15, 2017 at 3:55 PM, Gunnar Andersson > wrote: > >> On Fri, 2017-12-15 at 12:50 -0200, Daniel.

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-15 Thread Daniel.
As I told before, by pass this is a simple matter of running devshell, creating the folder and running running the build again, Paul ask me for more information and so I did, I'll remove that duplicated layer and fire `bitbake -fc cleanall linux-raspberry && bitbake linux-rapsberry` again, if I hi

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-13 Thread Daniel.
PS: I just notice now that I have meta-python duplicated at bblayers.conf, 2017-12-14 0:27 GMT-02:00 Daniel. : > Okay, sorry for the late reply! > > I could reproduce the same error again, I just cleanall and then build > linux-raspberrypi again. Let's go to the logs: > >

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-13 Thread Daniel.
2017-12-11 9:34 GMT-02:00 Daniel. : > I can anticipate some info for you. I'm on version 2.4 Rocko. Building > rpi-hwup-image for MACHINE=rasbiberrypi3-64. Also is worth noting that I'm > running Fedora 27 which wasn't tested... > > I'll try to get the full log

Re: [yocto] VPS for building and serving.

2017-12-11 Thread Daniel.
Thanks for the feedback Paul, I thinking about compiling with own server and only serving the packages online.. Regards, 2017-12-11 9:12 GMT-02:00 Paul Barker : > On Sun, Dec 10, 2017 at 1:15 PM, Daniel. wrote: > > Hi, > > > > Is there anybody using VPS for building and s

[linux-yocto] [PATCH 47/48] kernel/sched: Revert compile fixes

2017-12-11 Thread Daniel Dragomir
From: Charlie Paul These changes were needed for the kernel to compile after applying the three previous revert patches. Signed-off-by: Charlie Paul --- kernel/sched/core.c | 2 +- kernel/sched/rt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/core.c b/

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-11 Thread Daniel.
I can anticipate some info for you. I'm on version 2.4 Rocko. Building rpi-hwup-image for MACHINE=rasbiberrypi3-64. Also is worth noting that I'm running Fedora 27 which wasn't tested... I'll try to get the full log tonight and let you know Regards On Dec 11, 2017 9:26

Re: [yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-11 Thread Daniel.
Yeah but I got to face the error again, maybe tonight when I get home :) On Dec 11, 2017 9:17 AM, "Paul Barker" wrote: > On Sun, Dec 10, 2017 at 5:14 PM, Daniel. wrote: > > Hi everybody, > > > > I'm building a vanilla image for MACHINE=raspberrypi3-64. I

[yocto] .kernel-meta/configs folder missing make linux-raspberrypi to fail

2017-12-10 Thread Daniel.
Hi everybody, I'm building a vanilla image for MACHINE=raspberrypi3-64. I'm doing the build for the first time and faced an error at linux-raspberrypi:do_kernel_configme. I found that .kernel-meta/configs folder was missing, so I fired a devshell and created it. After that everything works as expe

[yocto] VPS for building and serving.

2017-12-10 Thread Daniel.
Hi, Is there anybody using VPS for building and serving packages? What plans you do recommend? Regards -- “If you're going to try, go all the way. Otherwise, don't even start. ..." Charles Bukowski -- ___ yocto mailing list yocto@yoctoproject.org ht

Re: [yocto] Yocto Project Status WW22’17

2017-06-10 Thread Daniel Dickinson
to deprioritize them (but why should be explained, even if it involves uncomfortable conflict, rather than just a silent suppression). Regards, Daniel > > [If anyone has suggestions for other information you’d like to see on > this weekly status update, let us know!] >   > Thanks, >

Re: [yocto] Source Code provision without full git repository history

2017-03-09 Thread Daniel.
There are some tools to automate the testing and delivery that may make the deployment less painfull. Jenkins and Buildbot are examples Regards, 2017-03-09 13:28 GMT-03:00 Daniel. : > I'm not trying to be simplistic here, but, why not package the source > releases to a tarball (with

Re: [yocto] Source Code provision without full git repository history

2017-03-09 Thread Daniel.
I'm not trying to be simplistic here, but, why not package the source releases to a tarball (with git archive or somthing) and provide it through a FTP server? Regards, 2017-03-09 11:29 GMT-03:00 Khem Raj : > > On Thu, Mar 9, 2017 at 5:02 AM Waldvogel, Sebastian > wrote: >> >> Hello, >> >> >> >>

Re: [yocto] How to make a recipe MACHINE specific?

2017-02-11 Thread Daniel.
Thank you so much man! 2017-02-11 23:56 GMT-02:00 Christopher Larson : > > On Sat, Feb 11, 2017 at 6:47 PM, Daniel. wrote: >> >> I have two machines and a recipe that uses MACHINE value to decide, at >> compilation time, proper code to be used. The package (.rpm in my

[yocto] How to make a recipe MACHINE specific?

2017-02-11 Thread Daniel.
Hi, I have two machines and a recipe that uses MACHINE value to decide, at compilation time, proper code to be used. The package (.rpm in my case) ends up at tmp/deploy/rpm/cortex-arm-v6-hf-... folder. I see at my tmp/deploy/rpm/ folder both of my machines folders aside of cortex-arm-v6-hf-... fo

Re: [yocto] Repeteability in image compilation. How to achieve it? How to measure it?

2017-02-03 Thread Daniel.
much* 2017-02-03 13:36 GMT-02:00 Daniel. : > Thank you so mutch Clemens I'll take a look!! > > Regards, > > 2017-02-03 11:31 GMT-02:00 Clemens Lang : > >> Hi, >> >> > On 3 Feb 2017, at 14:11, Daniel. wrote: >> > >> > Hi every

Re: [yocto] Repeteability in image compilation. How to achieve it? How to measure it?

2017-02-03 Thread Daniel.
Thank you so mutch Clemens I'll take a look!! Regards, 2017-02-03 11:31 GMT-02:00 Clemens Lang : > Hi, > > > On 3 Feb 2017, at 14:11, Daniel. wrote: > > > > Hi everybody, > > > > How can I be sure that the same image built by distinct buildi

[yocto] Repeteability in image compilation. How to achieve it? How to measure it?

2017-02-03 Thread Daniel.
Hi everybody, How can I be sure that the same image built by distinct building hosts are trully identical?? Is it possible to measure that? Regards! -- "Do or do not. There is no try" Yoda Master -- ___ yocto mailing list yocto@yoctoproject.org htt

Re: [yocto] Test packages and staging area conflicts

2017-02-01 Thread Daniel.
2017-01-30 18:09 GMT-02:00 Daniel. : > I'm using this little hack: > > do_install[depends] = "${RCONFLICTS_${PN}}:do_cleansstate" > DON'T DO THAT: This will make conflicting packages depend on one each other and don't fix the problem. For the moment I&#x

Re: [yocto] Test packages and staging area conflicts

2017-01-30 Thread Daniel.
I'm using this little hack: do_install[depends] = "${RCONFLICTS_${PN}}:do_cleansstate" But this seems not right... Regards, 2017-01-30 17:56 GMT-02:00 Daniel. : > I've been using testing packages so that they can be built from SCM > testing branches and quickdly depl

[yocto] Test packages and staging area conflicts

2017-01-30 Thread Daniel.
I've been using testing packages so that they can be built from SCM testing branches and quickdly deployed to package repository. This makes new testing releases avaible to software developers and they can installs it by using package manager. The testing packages are the same as production package

Re: [yocto] Making header of out-of-tree module available

2017-01-30 Thread Daniel.
At your kernel-module-.bb :) 2017-01-30 15:13 GMT-02:00 Daniel. : > do_install_append() { > install -d ${D}/usr/include/nrf24/linux/ > install -m 0755 ${S}/include/linux/nrf24.h > ${D}/usr/include/nrf24/linux/ > } > > > Try something like this ^ > > Regard

Re: [yocto] Making header of out-of-tree module available

2017-01-30 Thread Daniel.
do_install_append() { install -d ${D}/usr/include/nrf24/linux/ install -m 0755 ${S}/include/linux/nrf24.h ${D}/usr/include/nrf24/linux/ } Try something like this ^ Regards, 2017-01-30 15:05 GMT-02:00 : > Thanks Daniel, > > I’ve given that a try, but the header isn’t appear

Re: [yocto] Making header of out-of-tree module available

2017-01-30 Thread Daniel.
You don't, you make your library depends on your driver, and not on kernel exported headers. In my case I add the header to the -dev package and make the library compilation depend on kernel module. # kernel-module-foo.bb FILES_${PN}-dev = "/usr/include/foo/linux/foo.h" # libfoo.bb DEPENDS = "ker

Re: [yocto] distutils break my shebang, what to do?

2016-12-16 Thread Daniel.
Dec 15, 2016, at 5:49 PM, Daniel. wrote: >> >> Hi, >> >> I've been trying to install cxxtest to nativesdk. After done I went to >> run`cxxtestgen` and got a "bad interpreter" error from bash. I look at >> the script and there was "#! python

[yocto] Reference doc displayed twice at yoctoproject.org/documentation/active

2016-12-16 Thread Daniel.
Am I crazy or I'm seeing reference manual twice at https://www.yoctoproject.org/documentation/active ??? [image: Imagem inline 3] Regards, -- "Do or do not. There is no try" Yoda Master -- ___ yocto mailing list yocto@yoctoproject.org https://li

Re: [yocto] How to get headers installed at target side of SDK?

2016-12-16 Thread Daniel.
Hey Burton! The headers are not in my image. Thank you a lot man! Regards, 2016-12-16 10:21 GMT-02:00 Burton, Ross : > > On 16 December 2016 at 02:54, Daniel. wrote: >> >> Then I tried to append packagegroup-sdk-target adding foo-dev to it >> but still I can't ge

[yocto] How to get headers installed at target side of SDK?

2016-12-15 Thread Daniel.
I'm a little confuse, so I may be about to say non-sense. Correct me if I'm wrong... I'm trying to get some headers installed at SDK so that programs compiled with it see that headers. I tried appending nativesdk-packagegroup-sdk-host adding my nativesdk-foo-dev as dependence to it. With this I go

[yocto] distutils break my shebang, what to do?

2016-12-15 Thread Daniel.
Hi, I've been trying to install cxxtest to nativesdk. After done I went to run`cxxtestgen` and got a "bad interpreter" error from bash. I look at the script and there was "#! python" at first line. I know that this is something that distutils does. I also know that SDK ships its own python interp

Re: [yocto] Multiple Projects from the same build directory

2016-12-15 Thread Daniel.
Create two recipes that fetch from same source but compile A or B. Something like A.bb and B.bb with same SRC_URI but distinct do_compile. So you can bbappend they independently. You can maintain the common parts at a .inc file also to keep DRY principle. Cheers, 2016-12-15 19:46 GMT-02:00 Rick A

Re: [yocto] NFS rootfs: mount: only root can mount proc on /proc

2016-12-15 Thread Daniel.
2016-12-15 12:09 GMT-02:00 Anders Darander : > Hi, > > * John Rama [161215 02:58]: > >> The ideas I can come up with are followings, but those of them are not >> perfect.. >> 1. Run the bitbake as root account >> - would not run as root since the all of generated files are root >> permission e

Re: [yocto] Krogoth rpm-native download gives me 404, can anybody confirm?

2016-12-04 Thread Daniel.
ain anyway, Regards, 2016-12-04 17:18 GMT-02:00 Paul Eggleton : > Hi Daniel, > > On Fri, 02 Dec 2016 15:28:54 Daniel. wrote: >> I can't download rpm-5.4.15-0.20140824.src.rpm, I have to download it >> from another mirror. :/ >> >> I'm behind a fire

Re: [yocto] Krogoth rpm-native download gives me 404, can anybody confirm?

2016-12-02 Thread Daniel.
I can't download rpm-5.4.15-0.20140824.src.rpm, I have to download it from another mirror. :/ I'm behind a firewall/proxy, so it can be this. Anyway, I download the package from another mirror, put on DL_DIR, clean and then it compiles fine :) Regards, 2016-12-02 14:52 GMT-02

Re: [yocto] Krogoth rpm-native download gives me 404, can anybody confirm?

2016-12-02 Thread Daniel.
Shame on me, the real link was: http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.15-0.20140824.src.rpm Sorry 2016-12-02 14:51 GMT-02:00 Daniel. : > Rectifying: > http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.15-0.20140824.src.rpm;name=srpm;extract=rpm-5.4.15.tar.gz > > 2016-12-02 14:

Re: [yocto] Krogoth rpm-native download gives me 404, can anybody confirm?

2016-12-02 Thread Daniel.
Rectifying: http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.15-0.20140824.src.rpm;name=srpm;extract=rpm-5.4.15.tar.gz 2016-12-02 14:50 GMT-02:00 Daniel. : > Hi every > > I'm trying to build rpm-native and getting this error[1] > > Can anybody confirm if this link[2] is retu

[yocto] Krogoth rpm-native download gives me 404, can anybody confirm?

2016-12-02 Thread Daniel.
Hi every I'm trying to build rpm-native and getting this error[1] Can anybody confirm if this link[2] is returning not found (404)? [1] https://gist.github.com/gkos/9a3596452bd00d6ebba5780e7987fd47 [2] http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.15-0.20140824.src.rpm%3bname=srpm%3bextract=rpm-5.4

Re: [yocto] Extracting PV & PR from Makefile at compilation time.

2016-11-26 Thread Daniel.
Thanks for the advice :) 2016-11-26 13:08 GMT-02:00 Daniel. : > Now I'm using %Y%m plus PR server. > > 2016-11-26 2:12 GMT-02:00 Khem Raj : >> >>> On Nov 24, 2016, at 11:06 AM, Daniel. wrote: >>> >>> Instead of using SVN revision as version

Re: [yocto] Extracting PV & PR from Makefile at compilation time.

2016-11-26 Thread Daniel.
Now I'm using %Y%m plus PR server. 2016-11-26 2:12 GMT-02:00 Khem Raj : > >> On Nov 24, 2016, at 11:06 AM, Daniel. wrote: >> >> Instead of using SVN revision as version I'm trying to use a timestamp like: >> >> PV = "${@time.strftime("%Y%m%d

Re: [yocto] Extracting PV & PR from Makefile at compilation time.

2016-11-24 Thread Daniel.
Instead of using SVN revision as version I'm trying to use a timestamp like: PV = "${@time.strftime("%Y%m%d", time.gmtime())}" Does anybody can tell me if this would taint the sstate at each day, making yocto compile it again? Is this safe at all? Regards, 2016-11-

Re: [yocto] Extracting PV & PR from Makefile at compilation time.

2016-11-24 Thread Daniel.
Of Christopher Larson > Sent: Wednesday, November 23, 2016 19:13 > To: Daniel. > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] Extracting PV & PR from Makefile at compilation time. > > > > > > On Wed, Nov 23, 2016 at 6:26 AM, Daniel. wrote: > > I hav

[yocto] Extracting PV & PR from Makefile at compilation time.

2016-11-23 Thread Daniel.
Hi everybody! I have a Makefile with this header major = 1 minor = 0 patch = 10 release = -beta Which compilates someting like libmylib.so.1.0.10-beta shared object. On recipe I duplicate this information: PV="1.0.10" PR="-beta" Is there anyway to grab that information from Makefile and setti

Re: [yocto] undefined references to `__dso_handle'

2016-11-18 Thread Daniel.
Hi, Did you have multilib installed!? Regards, 2016-11-17 15:27 GMT-02:00 Elazar Leibovich : > As far as I know, no customization, I didn't even switch GCC's version. I > installed clang alongside gcc, but didn't change the default. > > Can you refer me to what you have in mind that might be c

Re: [yocto] UTF-89 support

2016-11-07 Thread Daniel.
2016-11-07 9:48 GMT-02:00 Keskinarkaus, Teemu : > Hi, > > > > I tried googling this and reading the manual, but I guess this is too > trivial or I’m doing something wrong. > > > > I’m trying to get UTF-8 support to my image. UTF-8 locale more specific. If > I run locale –a command I get these local

Re: [yocto] Yocto 2.2 Morty supported Linux Distros

2016-11-02 Thread Daniel.
2016-11-01 21:35 GMT-02:00 Khem Raj : > > On Nov 1, 2016, at 4:22 PM, Burton, Ross wrote: > > > On 1 November 2016 at 22:20, Daniel. wrote: > >> Just as a note, I've been using archlinux for about a year and have never >> faced "distro related problems&

Re: [yocto] Yocto 2.2 Morty supported Linux Distros

2016-11-01 Thread Daniel.
Just as a note, I've been using archlinux for about a year and have never faced "distro related problems", except when the gcc6 comes out. Anyway I'm using daisy in my work. I think that making old releases supported by X distro doesn't make any sense... Cheers, 2016-11-01 19:36 GMT-02:00 Bas Mev

Re: [yocto] how to copy a tar file to Root file system

2016-11-01 Thread Daniel.
I have an example of a recipe exploding a tar here: https://gist.github.com/gkos/02eccb8e1e02312327aa6db6cdc9d501 The tar is used as a source. So the bitbake explodes it to ${WORKDIR} and I simply copy it to /opt I hope that this helps :) Regards, 2016-11-01 18:00 GMT-02:00 Paul Eggleton : > On

Re: [yocto] How to add my own c++ project into a Yocto distro

2016-09-23 Thread Daniel.
I'm building libraries at my work with plain makefiles and getting the code from SVN. There is no secret just follow the docs... One thing to know is about compiling using run_oemake instead of simple "make" at do_compile and that you may want to use CFLAGS_prefix = "some flags". Dependencies shoul

Re: [yocto] [meta-raspberrypi] WiFi

2016-09-15 Thread Daniel.
I saw your *name* in this list and you do nice posts, but had *I* never 2016-09-15 11:59 GMT-03:00 Daniel. : > 2016-09-15 10:56 GMT-03:00 Gary Thomas : >> On 2016-09-15 15:32, Daniel. wrote: >>> >>> Garry, if you are facing problems posting and detailed description

Re: [yocto] [meta-raspberrypi] WiFi

2016-09-15 Thread Daniel.
2016-09-15 10:56 GMT-03:00 Gary Thomas : > On 2016-09-15 15:32, Daniel. wrote: >> >> Garry, if you are facing problems posting and detailed description of >> your problem and by detailed I mean "I do X expecting Y but got Z" >> being Z errors, logs, outputs et

Re: [yocto] [meta-raspberrypi] WiFi

2016-09-15 Thread Daniel.
Garry, if you are facing problems posting and detailed description of your problem and by detailed I mean "I do X expecting Y but got Z" being Z errors, logs, outputs etc would help a lot people to help you. 2016-09-15 10:07 GMT-03:00 Gary Thomas : > Any hints on how to get the WiFi to go on the R

Re: [yocto] Adding ntfs3g to image and mouting ntfs partitions!?

2016-09-15 Thread Daniel.
ird errors quite often. > I would advise to use a supported distro, maybe in a chroot/container (or > eventually debian stable with which I never had a problem so far) > > > - Original Message - > From: "Daniel." > To: yocto@yoctoproject.org > Sent: Wednesd

[yocto] Adding ntfs3g to image and mouting ntfs partitions!?

2016-09-14 Thread Daniel.
Hi, I'm trying to compile ntfs-3g but I get "nothing provides ntfs-3g" error, the weird part is that I have that recipe: Some commands and its outputs: [geckos@csi24 build_x11]$ find ../sources/ -name "ntfs*.bb*"../sources/meta-openembedded/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/

Re: [yocto] Fetcher failure

2016-09-14 Thread Daniel.
You're welcome :) 2016-09-14 11:50 GMT-03:00 Burton, Ross : > > On 14 September 2016 at 15:48, Anicic Damir (PSI) > wrote: >> >> it turns out that something HAS changed in my system/libraries (but not >> Python itself), >> influencing python urllib2 to fail, although wget, chrome, firefox, ... >>

Re: [yocto] Fetcher failure

2016-09-14 Thread Daniel.
try: python -c 'import urllib; print urllib.urlopen("http://www.example.com";).read()' I'm running out of ideias :). I already had received "Connection reset by peer" because dupplicate IPs on network. Regards, 2016-09-14 9:58 GMT-03:00 Anicic Damir (PSI) : > Ups, typo. > > It also works > > >

Re: [yocto] Fetcher failure

2016-09-14 Thread Daniel.
Can you connect to "www.example.com" from command line?! Something like `telnet www.example.com 80' !?!? 2016-09-14 9:27 GMT-03:00 Anicic Damir (PSI) : > Sorry, the error message is: > >DEBUG: checkstatus() urlopen failed: Connection reset by peer> > > > -- > _

Re: [yocto] Out-of-Tree Modules and __stack_chk_fail()

2016-09-13 Thread Daniel.
Ronald, Was the kernel compiled with -fstack-protector? Try running this on target: cat /proc/kallsyms | grep __stack_chk_fail Does it output the symbol address? Take a look here: http://lxr.free-electrons.com/source/kernel/panic.c#L558 Best regards 2016-09-13 19:14 GMT-03:00 Ronald Oakes : >

Re: [yocto] Naive Questsions about 3rd Party Kernel Module

2016-09-12 Thread Daniel.
Ronald, If you don't make your driver GPL you can't access GPL symbols. This *may* be the reason behind the "Unknown symbols" Regards, 2016-09-12 13:02 GMT-03:00 Lennart Sorensen : > On Fri, Sep 09, 2016 at 04:02:21PM -0600, Ronald Oakes wrote: >> Following up as I've done more investigation and

Re: [yocto] pkg_postinst behavior?

2016-09-08 Thread Daniel.
Hi, I thinking you're messing up packages and recipes names. Mulitple packages can be built from one recipe. Packages are the .rpm .ipk and .deb file generated to be installed on image. Usualy recipes build three packages: ${PN} ${PN}-dev ${PN}-dbg. Other packages can be generated like -doc, -lice

Re: [yocto] Building a Kernel Module that uses /lib/modules//build/Makefile

2016-09-06 Thread Daniel.
Ronald If you have a module developed against 3.10 you may have trouble compiling it against 4.x. You should port the module to 4.x kernel, not kernel to module. If you patch the kernel to compile that module other modules may break. I suggest that you download the kernel and module to some folder

Re: [yocto] arm-*-linux-gnueabi : unrecognized option -Wl, -soname

2016-09-05 Thread Daniel.
$(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION).so > endif > > What's puzzles me is that the same source code builds without problem on > my machine (not cross compiled). > > It might be a question for gRPC developers though > > "Daniel." writ

Re: [yocto] Interested in Helping Out

2016-09-05 Thread Daniel.
https://bugzilla.yoctoproject.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=&content= :) 2016-09-02 18:00 GMT-03:00 nick : > Greetings All, > I am interested in helping out here. In addition I do have some experience > with the project > so just giving me

Re: [yocto] arm-*-linux-gnueabi : unrecognized option -Wl, -soname

2016-09-05 Thread Daniel.
I *guess* that it should be -Wl,-soname=libgpr.so.1 intead of -Wl,-soname,libgpr.so.1. Now from where this flags are comming is a good question.. 2016-09-05 9:17 GMT-03:00 Pietro : > > Hi all, > > I want to cross compile the gRPC library for ARM and I am using the > Yocto build system. > > The bui

Re: [yocto] libSegFault.so crashing on Daisy

2016-09-04 Thread Daniel.
Ohhh you may be right, I'll try it Thanks Richard! 2016-09-04 19:18 GMT-03:00 Richard Purdie : > On Fri, 2016-09-02 at 16:36 -0300, Daniel. wrote: >> Hi everybody, >> >> I was trying to use libSegFault.so to capture stacktraces but the >> libSegFault it self

[yocto] libSegFault.so crashing on Daisy

2016-09-02 Thread Daniel.
Hi everybody, I was trying to use libSegFault.so to capture stacktraces but the libSegFault it self is crashing? Can someone try to reproduce this? 1) Install libc6-dbg. This will give you access to libSegFault.so at /lib/.debug/libSegFault.so 2) Set LD_PRELOAD: export LD_PRELOAD=/lib/.debug/libS

Re: [yocto] Automating imaging building and testing, what aproach to use!?

2016-09-01 Thread Daniel.
: > On 2016-08-31 6:23 PM, Paul Eggleton wrote: >> >> Hi Daniel, >> >> On Tue, 30 Aug 2016 17:18:44 Daniel. wrote: >>> >>> While writing software we're used to delivery packages, libraries and >>> stacks. There are out there a lot of contin

Re: [yocto] u-boot-mkimage in SDK

2016-08-31 Thread Daniel.
I had to add nativesdk-u-boot-mkimage to nativesdk-packagegroup-sdk-host.bbappend RDEPNDS_${PN} variable. [geckos@csi24 yocto-daisy]$ cat ./sources/meta-fsl-arm/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend RDEPENDS_${PN} += " \ nativesdk-elftosb \ nativesdk-mxsldr \

Re: [yocto] Automating imaging building and testing, what aproach to use!?

2016-08-31 Thread Daniel.
p before testing. I would like to hear people solutions for that case since mulitple "setups" are possible testing every possible setup is not feasible. By the way, that LAVA seems promissing! I'll take a closer look on it! Thanks for sharing :) Regards, 2016-08-31 2:59 GMT-03:00 M

[yocto] Automating imaging building and testing, what aproach to use!?

2016-08-30 Thread Daniel.
Hey everybody! While writing software we're used to delivery packages, libraries and stacks. There are out there a lot of continuos integration solutions to automaticaly build and test these kinds of software. But when dealing to images the thing is more tricky. I can't run the tests at the same

Re: [yocto] Is There a easy way to check which version of GCC was been used to a package

2016-08-12 Thread Daniel.
Try executing libc. It shows the version of gcc that was used to be compiled. Here is a sample output from *my workstation*. [geckos@localhost ~]$ /lib/libc-2.24.so GNU C Library (GNU libc) stable release version 2.24, by Roland McGrath et al. Copyright (C) 2016 Free Software Foundation, Inc. This

Re: [yocto] What is the simplest way to test a new kernel configuration in a Yocto Project?

2016-08-08 Thread Daniel.
Hi Patrick, If you are running your image embedded at some board, and have easy access to the board, you can plug it to network and make u-boot download kernel from your machine. So that deploy a new kernel becomes simple as copy the new kernel to the tftp folder, and rebooting target. This is als

Re: [yocto] Yocto rootfs to support auto-login or remove the login prompt

2016-08-05 Thread Daniel.
You'r welcome! :) 2016-08-05 4:53 GMT-03:00 Zhenhua Luo : > Thanks a lot, Daniel, > > I will give a try. > > > Best Regards, > > Zhenhua > >> -Original Message- >> From: Daniel. [mailto:danielhi...@gmail.com] >> Sent: Wednesday, August

Re: [yocto] Yocto rootfs to support auto-login or remove the login prompt

2016-08-02 Thread Daniel.
I don't know if Yocto has something more standard but, you may edit /etc/inittab to spawn something other than getty. You can achieve this by ROOTFS_POSTPROCESS_COMMAND. Take at look at this ancient link: http://www.tldp.org/LDP/sag/html/config-init.html 2016-08-02 5:46 GMT-03:00 Zhenhua Luo : >

Re: [yocto] Docker and Yocto

2016-07-15 Thread Daniel.
s too? Regards, 2016-07-15 11:43 GMT-03:00 Bruce Ashfield : > Yep, that's something that we test consistently with the docker support in > meta-virtualization. > > Bruce > > On Fri, Jul 15, 2016 at 9:56 AM, Daniel. wrote: >> >> Is anybory out there using Docker c

[yocto] Docker and Yocto

2016-07-15 Thread Daniel.
Is anybory out there using Docker containers inside Yocto images? I have some machines running at ARMv7 architeture and I want to know if there is somebody already using Docker on non-x86 embedded platforms and if it can help deploying applications in this case too!? Regards, -- "Do or do not. T

Re: [yocto] [meta-raspberrypi] u-boot doesnt boot kernel

2016-07-11 Thread Daniel.
Hi Hammad, As Paul said the u-boot need some configuration so it can boot the kernel. Usually it looks for bootcmd variable and try to run it so at last this variable need to be setted. User's usually make this one (bootcmd) call a miriad of another commands to retrieve kernel from ftp, or nand, l

Re: [yocto] How to create a directory for an SD-Card mount?

2016-07-06 Thread Daniel.
install -d ${D}/media/sd1 ??? 2016-07-06 11:44 GMT-03:00 : > Hej > > I managed to create and install a rule that should mount a sd card to > "/media/sd1". To finish it, I need to create the directory "sd1" in media. > My recipe for the rule looks like: > ### > SUMMARY = "the udev

Re: [yocto] What keeps sstate from being used?

2016-07-06 Thread Daniel.
Doesn't the sysroots live on tmp/sysroots? Doesn't the crosscompiler and toolchains live in sysroots? Doesn't you need crosscompilers and toolchains to compile everything else? 2016-07-06 8:51 GMT-03:00 Chris Z. : > Hi, > > Check: > http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.htm

Re: [yocto] How to install a service generated by update-rc.d?

2016-07-06 Thread Daniel.
ge the second line to point to proper can_if file :) 2016-07-06 10:11 GMT-03:00 Daniel. : > Isn't "libsocketcan" instead of only "socketcan"!? > > Regards, > > 2016-07-06 6:45 GMT-03:00 Burton, Ross : >> >> On 6 July 2016 at 10:39, Anders Darander wr

Re: [yocto] How to install a service generated by update-rc.d?

2016-07-06 Thread Daniel.
Isn't "libsocketcan" instead of only "socketcan"!? Regards, 2016-07-06 6:45 GMT-03:00 Burton, Ross : > > On 6 July 2016 at 10:39, Anders Darander wrote: >> >> > CONFFILES_${PN} += "${sysconfdir}/init.d/can_if" >> >> If this is the complete recipe, you never install can_if... > > > Which means th

Re: [yocto] baremetal cross-compiler

2016-07-05 Thread Daniel.
That would be interesting, please keep me in CC list :) 2016-07-05 6:02 GMT-03:00 Robert Berger : > Hi, > > According to the release notes it should be possible to build a > baremetal (no glibc/Linux) cross compiler with the YP. I just can't find > any information how this could be done. > > I wou

Re: [yocto] yocto build cross toolchain issue

2016-07-05 Thread Daniel.
I see, well I didn't know about that, thank you very much for pointing me that out. :) 2016-07-05 10:24 GMT-03:00 Burton, Ross : > > On 5 July 2016 at 14:10, Daniel. wrote: >> >> I faced problems with symbols being droped if -l option is passed >> after -Wl,--as

Re: [yocto] yocto build cross toolchain issue

2016-07-05 Thread Daniel.
I faced problems with symbols being droped if -l option is passed after -Wl,--as-needed. To circumvent this I changed my Makefiles to add link options prior $(LDFLAGS) expansion. Cheers 2016-07-05 7:16 GMT-03:00 Burton, Ross : > > On 5 July 2016 at 11:06, Chandra Mishra (chanmish) > wrote: >> >>

Re: [yocto] Shorter build time?

2016-07-04 Thread Daniel.
The only task that I see taking really long is the do_rootfs. And I think that it takes that long because disks are slooow :) 2016-07-04 20:14 GMT-03:00 Takashi Matsuzawa : > By the way, PyPy seems to have some restriction that is not fully compatible > with CPyhon and bitbake scripts may not run

Re: [yocto] Shorter build time?

2016-07-01 Thread Daniel.
So we have full parallelism :) 2016-07-01 14:01 GMT-03:00 Burton, Ross : > > On 1 July 2016 at 17:37, Daniel. wrote: >> >> I read that python can't execute multiple threads simultaneously, but >> that wouldn't be a problem if each python task is executed

Re: [yocto] Shorter build time?

2016-07-01 Thread Daniel.
Hi Takashi, I read that python can't execute multiple threads simultaneously, but that wouldn't be a problem if each python task is executed at its own interpreter instance (process). This last statement is what I don't really know, some experts on Yocto's internals may clarify that, maybe :) Reg

Re: [yocto] setcap using recipe

2016-07-01 Thread Daniel.
s > action at the rootfs creation time, and not on the target as advised by Ross. > > The chapter 5.3.16, "post-installation scripts" in the mega-manual offers > some detailed explanations on how to make it run after the first boot. > > > Regards, > > Mathieu

Re: [yocto] setcap using recipe

2016-07-01 Thread Daniel.
Does your target filesystem support it? ubifs doesn't :( http://www.linux-mtd.infradead.org/doc/ubifs.html#L_xattr 2016-07-01 9:53 GMT-03:00 Kumar, Shrawan : > Hello Ross, > > > > None of the approach is working . I have attached the recipe where I am > trying to execute postinst . It builds suc

Re: [yocto] customizing system configuration files in my image

2016-07-01 Thread Daniel.
After that you can create a image recipe and inherit from that .bbclass. If you don't want to create a .bbclass you can use this same aproach directly on your image recipe :) Regards, 2016-07-01 10:16 GMT-03:00 Daniel. : > Hi Ottavio, > > There is more than way to do it. In you

Re: [yocto] customizing system configuration files in my image

2016-07-01 Thread Daniel.
Hi Ottavio, There is more than way to do it. In your case I would use ROOTFS_POSTPROCESS_COMMAND to modify files prior the creation of the rootfs. You may: - Create a .bbclass for your image inheriting core-image for example. - Create a shell function to do some sed magic. - Setup that function t

Re: [yocto] meta-toolchain build errors

2016-07-01 Thread Daniel.
Did you tried "bitbake -fc cleanall imx6-demo-image && bitbake imx6-demo-image" !? 2016-06-30 12:05 GMT-03:00 Khem Raj : > > > On Thursday, June 30, 2016, Gary Thomas wrote: >> >> On 2016-06-29 17:27, Khem Raj wrote: >>> >>> On Jun 29, 2016 4:10 AM, "Gary Thomas" >> > wr

Re: [yocto] Failed to cross compile kernel with Yocto toolchain

2016-06-30 Thread Daniel.
-l /usr/lib64/ccache/gcc > lrwxrwxrwx 1 root root 16 Jun 29 18:22 /usr/lib64/ccache/gcc -> > ../../bin/ccache > $ ls -l /usr/bin/ccache > -rwxr-xr-x 1 root root 128584 Jan 26 14:58 /usr/bin/ccache > $ > > > Best Regards, > > Zhenhua > >> -Original Message-

Re: [yocto] Installing python scripts at image

2016-06-29 Thread Daniel.
H I replace /usr/bin/python by /usr/bin/evn python and the problem vanished :) I found a email suggesting this at list's archives :). Regards, 2016-06-29 12:09 GMT-03:00 Burton, Ross : > > On 29 June 2016 at 15:43, Daniel. wrote: >> >> It seems that Yocto inspect th

  1   2   3   >