Re: [yocto] Native curl and SSL CA certificates

2018-05-09 Thread Alexander Kanavin
On 05/09/2018 09:29 AM, Iván Castell wrote: But I am not fetching nor installing packages over the network during image creation. I just build an image using local recipes (standard procedure). One of those local recipes sets up a remote repository for rpm packages (adding /etc/yum.repos.d/yoct

[yocto] Ptest log

2018-05-09 Thread Somshekar C Kadam
Hi All, I am newbie to the ptest. I have run ptest on ARM and Intel target board. Now I want to have the output format as given in link below https://wiki.yoctoproject.org/wiki/Ptest_f49ee61422c867516db252054e993df29f775136 I use the parser to generate wiki page output provided in qa tools, nex

[yocto] System recovery

2018-05-09 Thread Enrico Bonomi
Hi, I work with Yocto Poky 1.7.3 on an imx6 dual lite SOM. I recently came across a problem with a preexisting system. Infact in a couple of cases, after about one year of work with no problems, file system results corrupted and the machine can't work. So i decide to implement a recovery system th

Re: [yocto] System recovery

2018-05-09 Thread Martin Townsend
Hi Enrico, UBI is only designed to work on raw NAND using the MTD subsystem. MMC will be a standard block device as the SD card will have Flash Translation layer. See the excellent MTD website for more info http://www.linux-mtd.infradead.org/doc/ubi.html In Yocto I believe you can use "sdcard" i

Re: [yocto] [OE-core] [RFT] GCC 8.1

2018-05-09 Thread Martin Jansa
My initial tests show couple issues, but usually caused by other changes in that branch, not the gcc-8 itself. 1) strace-4.22 from http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/gcc-8&id=af33a8b721cc9caebd3f5226b4c5903f666ab654 fails to build with ptest enabled (it builds wit

Re: [yocto] System recovery

2018-05-09 Thread Martin Townsend
On Wed, May 9, 2018 at 11:21 AM, Enrico Bonomi wrote: > Hi Martin, > > I'm newbie in yocto, but i used IMAGE_FSTYPES ="sdcard" to boot the system > from SD card. What i want to obtain is to replace the broken file system > that is located on the NAND with another one that works. A kind of recovery

Re: [yocto] Native curl and SSL CA certificates

2018-05-09 Thread Iván Castell
Thank you very much for your explanation Mr. Alexander, it was really helpfull to understand my issue. I fixed it removing completely my dnf bbappend recipe from my custom layer and adding this variable to my distro.conf file: PACKAGE_FEED_URIS = "https://storage.googleapis.com/my_repo/"; Af

[yocto] Excluding ptest packages from image build

2018-05-09 Thread Erik Nellessen
I would like to exclude some ptest packages from an image build. To include ptest packages in general, my image recipe contains the following line: IMAGE_FEATURES_append = " ptest-pkgs" As a first step, I tried to exclude the acl-ptest package. To do so, I added the following to my image reci

[yocto] [PATCH] Revert "u-boot: Update RPi Zero W defconfig to support DTB."

2018-05-09 Thread Ryan Harkin
This reverts commit 72bc798ff548ba610e8dea53c80e39a37de8e043 The following error was encountered when building the Yocto master: ERROR: u-boot-1_2018.03-r0 do_patch: Command Error: 'quilt --quiltrc /linaro/mbl/workspace-linaro/build-mbl/tmp-mbl-glibc/work/raspberrypi3-oe-linux-gnueabi/u-boot/1_20

Re: [yocto] [PATCH] Revert "u-boot: Update RPi Zero W defconfig to support DTB."

2018-05-09 Thread Ryan Harkin
Apologies all, I forgot to add [meta-raspberrypi] to the subject line. Andrei, Please let me know if you'd like me to resend. Assuming you don't have a fix for this in flight already. Regards, Ryan. On 9 May 2018 at 19:07, Ryan Harkin wrote: > This reverts commit 72bc798ff548ba610e8dea53c80

Re: [yocto] [PATCH] Revert "u-boot: Update RPi Zero W defconfig to support DTB."

2018-05-09 Thread Andrei Gherzan
On Wed, May 9, 2018 at 7:10 PM, Ryan Harkin wrote: > Apologies all, > > I forgot to add [meta-raspberrypi] to the subject line. > > Andrei, > > Please let me know if you'd like me to resend. Assuming you don't have a > fix for this in flight already. > > Regards, > Ryan. > > I was just going to p

[yocto] [PATCH] bitbake: fetch2/gitsm: avoid live submodule fetching during unpack()

2018-05-09 Thread Matt Hoosier
From: Matt Hoosier Although the submodules' histories have been fetched during the do_fetch() phase, the mechanics used to clone the workdir copy of the repo haven't been transferring the actual .git/modules directory from the repo fetched into downloads/ during the fetch task. Fix that, and for

Re: [yocto] [PATCH] bitbake: fetch2/gitsm: avoid live submodule fetching during unpack()

2018-05-09 Thread Andre McCurdy
On Wed, May 9, 2018 at 2:48 PM, Matt Hoosier wrote: > From: Matt Hoosier > > Although the submodules' histories have been fetched during the > do_fetch() phase, the mechanics used to clone the workdir copy > of the repo haven't been transferring the actual .git/modules > directory from the repo f

Re: [yocto] [PATCH] bitbake: fetch2/gitsm: avoid live submodule fetching during unpack()

2018-05-09 Thread Matt Hoosier
On Wed, May 9, 2018 at 6:27 PM, Andre McCurdy wrote: > On Wed, May 9, 2018 at 2:48 PM, Matt Hoosier > wrote: > > From: Matt Hoosier > > > > Although the submodules' histories have been fetched during the > > do_fetch() phase, the mechanics used to clone the workdir copy > > of the repo haven't

Re: [yocto] [PATCH] bitbake: fetch2/gitsm: avoid live submodule fetching during unpack()

2018-05-09 Thread Andre McCurdy
On Wed, May 9, 2018 at 5:40 PM, Matt Hoosier wrote: > On Wed, May 9, 2018 at 6:27 PM, Andre McCurdy wrote: >> >> On Wed, May 9, 2018 at 2:48 PM, Matt Hoosier >> wrote: >> > From: Matt Hoosier >> > >> > Although the submodules' histories have been fetched during the >> > do_fetch() phase, the me

Re: [yocto] How to create a build for ARM Cortex-A8, S5PV210

2018-05-09 Thread Andre McCurdy
On Tue, May 8, 2018 at 1:38 PM, Denis wrote: > Hi. I'm new to yocto. So I have followed a tutorial and now I have crewated > my first yocto distro for i386. > > Now I need to create a build for my device. It is a Samsung S5PV210 device, > Cortex A8. > > Here there is a description > > http://www.f

[yocto] Looking at using Yocto, have General Adoption questions

2018-05-09 Thread Richard Koch
Hello list. I'm looking for some general use cases for how a firmware development team such as ourselves has adopted Yocto in to their non-Yocto based environment. We have a group of firmware developers that currently develop for various iMX6 based controller boards. For those boards we have no

Re: [yocto] Looking at using Yocto, have General Adoption questions

2018-05-09 Thread Khem Raj
Hi Richard On 5/9/18 1:03 PM, Richard Koch wrote: Hello list. I'm looking for some general use cases for how a firmware development team such as ourselves has adopted Yocto in to their non-Yocto based environment. We have a group of firmware developers that currently develop for various iM

Re: [yocto] Excluding ptest packages from image build

2018-05-09 Thread ChenQi
I just checked the codes. I think the ref manual might be a little misleading. "Prevents specific packages from being installed when you are installing complementary packages. " might better be changed to: "Prevents specific packages to install their complementary packages. Items specified by t

Re: [yocto] System recovery

2018-05-09 Thread Enrico Bonomi
Hi Martin, I know that i can create multiple images types, but i don't want an sdcard bootable image. On my first try, the image on sdcard was ubi type because i want to obtain i kind of recovery partition directly on the sdcard. Do you suggest to put the recovery partition directly on the raw NAN