[yocto] Adding kernel module to yocto core-image-base

2018-06-12 Thread pravas kumar Panda
Hi all, I want to know how to add a kernel module using my own layer and recipe in yocto. Can someone suggest me the step by step process how to do it. how to edit or add new files so that i could build my image and the module should automatically loaded at the time of boot.please reply me with th

Re: [yocto] Adding kernel module to yocto core-image-base

2018-06-12 Thread Iván Castell
Hello. First you need to reconfigure your kernel configuration (ncurses must be properly installed in your host PC): $ bitbake -c menuconfig virtual/kernel After you need to generate a fragment.cfg (containing a diff betweeen your default and your recently customized kernel config): $ b

Re: [yocto] YOCTO kernel PF_CAN feature set and socketCAN layer of the shelf?

2018-06-12 Thread Mirza Krak
On 6 June 2018 at 11:35, Zoran Stojsavljevic wrote: > Hello to YOCTO community, > > I am looking into the new CAN FD (CAN Flexible Data rate) protocol. It > is very similar to classical CAN. > > I am wondering the following (I'll ask very basic questions, just to > see if I am on the right tracks)

Re: [yocto] Target CPU architectures that Yocto Project Support

2018-06-12 Thread Alexander Kanavin
You start by defining 'works'. It can be anything from quickly building an image and booting it on the target hardware to see a login prompt, to running a massive test suite and achieving 100% pass rate. Alex 2018-06-12 2:14 GMT+03:00 Ricardo Ramirez : > Thanks for the reply, Khem! > > What steps

Re: [yocto] Target CPU architectures that Yocto Project Support

2018-06-12 Thread Ricardo Ramirez
Hi Alex, You are right. I didn't define a clear scope for what I wanted to validate. Apologies about that imprecision. If possible, I'd like to divide the validation process into three stages 1. The system has a clean boot up process 2. The system is tested using a C-based benchmark (e.g. SPEC

Re: [yocto] Target CPU architectures that Yocto Project Support

2018-06-12 Thread Alexander Kanavin
On 06/12/2018 04:07 PM, Ricardo Ramirez wrote: You are right. I didn't define a clear scope for what I wanted to validate. Apologies about that imprecision. If possible, I'd like to divide the validation process into three stages 1. The system has a clean boot up process 2. The system is test

[yocto] [meta-mono][PATCH] layer.conf: define LAYERSERIES_COMPAT_mono = "sumo"

2018-06-12 Thread Ioan-Adrian Ratiu
Newer versions of bitbake require each layer to explicitely state their OE/Yocto release compatibility. The consensus is for each layer to use the latest released version codename for the master branch. Signed-off-by: Ioan-Adrian Ratiu --- conf/layer.conf | 2 ++ 1 file changed, 2 insertions(+)

[yocto] Adding package's license to the final image

2018-06-12 Thread Mathieu Alexandre-Tétreault
Howdy, I am working on a project that requires the final image to contain a license manifest for all the packaged installed on the image. At first I though about using the tmp/deploy/licenses/xxx/license.manifest but this file is deployed by the IMAGE_POSTPROCESS_COMMAND_prepend which happens

Re: [yocto] YOCTO kernel PF_CAN feature set and socketCAN layer of the shelf?

2018-06-12 Thread Zoran Stojsavljevic
Hello Mirza, Thank you for giving me the hand here... But now (as we speak), I need to have a short wait for the slipping milestone, before I apply all this what you have given to me. All of these are very/extremely useful info, and I'll report (when time comes) what I got out of it. At least Ope

Re: [yocto] Generating license/manifest for a specific layer?

2018-06-12 Thread Ulf Samuelsson
I have been working on a release-notes bbclass which will for each recipe included in am image extract stuff like package name, license info, cve info, SUMMARY, DESCRIPTION etc. and generate LaTex files. repo diffmanifests is used to extract the difference between a previous manifest and the cur

Re: [yocto] Fwd: image-mklibs.bbclass fails

2018-06-12 Thread Ulf Samuelsson
I am currently upgrading a morty based rootfs to rocko, and today I found that the morty based poky layer had a patch which they sent upstream over one year ago. Author Peter Liu This is similar to what You suggested, and the fix works also in rocko. We will decide tomorrow how to proceed. Best

Re: [yocto] How handle files needing updates in read-only filesystem

2018-06-12 Thread Ulf Samuelsson
Thanks, We want most of /etc to be read-only for security reasons, and the overlayfs will make the whole of /etc writeable. I tried mount —bind /etc/timezone /persistent/etc/timezone, and it complained that they were not directories. Bind mounting /etc again will make all of /etc writeable. Sy

Re: [yocto] Issue when integrating different bsp-layers on a single bblayers.conf

2018-06-12 Thread Ulf Samuelsson
You can BBMASK away that bbappend when you are not building the rockchip machine. Best Regards, Ulf Samuelsson > 7 juni 2018 kl. 16:39 skrev Iván Castell : > > Hello forum. > > I am trying to integrate several BSP-layers for different platforms on a > single Yocto repository to build a Linux

Re: [yocto] Image specific configuration files

2018-06-12 Thread Ulf Samuelsson
You can create three separate recipes that generate three different nginx configurations and include one if them in each image recipe. Best Regards, Ulf Samuelsson > 1 juni 2018 kl. 07:46 skrev Damien LEFEVRE : > > Hi, > > For the same MACHINE I create the following images: > - myimage-produc

Re: [yocto] Issue when integrating different bsp-layers on a single bblayers.conf

2018-06-12 Thread Ulf Samuelsson
Maybe something similar to this in local.conf BBMASK .= "${@base_conditional('MACHINE', '', '','|meta-rockchip/recipes-*', d)}" (did not test) If there are multiple machines in the meta-rockchip layer, you have to look for a unique variable which is true only if a machine in the meta-rockchip la

Re: [yocto] Adding kernel module to yocto core-image-base

2018-06-12 Thread Ulf Samuelsson
There is an example in meta-skeleton/recipes-kernel Best Regards, Ulf Samuelsson > 12 juni 2018 kl. 09:33 skrev Iván Castell : > > Hello. > > First you need to reconfigure your kernel configuration (ncurses must be > properly installed in your host PC): > > $ bitbake -c menuconfig virtual

Re: [yocto] Image specific configuration files

2018-06-12 Thread Ulf Samuelsson
In my current project they have defined bbclass files to allow variants of recipes. The recipe would then contain do_install_append_XYZ’s for each class. BBCLASSEXTEND = ”production rnd retail” would ensure you would get nginx-production, nginx-rnd, nginx-retail ipks. This way you have one rec

Re: [yocto] Patch for custom imager plugin in wic.

2018-06-12 Thread Paul Knopf
Can anybody see this message? lol On Tue, Jun 5, 2018 at 10:05 AM, Paul Knopf wrote: > Can someone instruct me on the proper protocol to request a change? > > On Wed, May 23, 2018 at 1:37 PM, Paul Knopf > wrote: > >> Can this change be merged into master? >> >> On Mon, May 21, 2018 at 5:00 PM,

[yocto] Adding package's license to the final image

2018-06-12 Thread Mathieu Alexandre-Tétreault
Howdy, I am working on a project that requires the final image to contain a license manifest for all the packaged installed on the image. At first I though about using the tmp/deploy/licenses/xxx/license.manifest but this file is deployed by the IMAGE_POSTPROCESS_COMMAND_prepend which happens

[yocto] Adding package's license to the final image

2018-06-12 Thread Mathieu Alexandre-Tétreault
Howdy, I am working on a project that requires the final image to contain a license manifest for all the packaged installed on the image. At first I though about using the tmp/deploy/licenses/xxx/license.manifest but this file is deployed by the IMAGE_POSTPROCESS_COMMAND_prepend which happens

Re: [yocto] Patch for custom imager plugin in wic.

2018-06-12 Thread Anuj Mittal
On 06/13/2018 02:47 AM, Paul Knopf wrote: > From 136d6214b6fc2c1118dac5b7f3e029ed006fab8a Mon Sep 17 00:00:00 2001 > From: Paul Knopf mailto:pauldotkn...@gmail.com>> > Date: Mon, 21 May 2018 16:56:51 -0400 > Subject: [PATCH] Support for changing the imager used in wic. > > --- >  scripts/lib/wic/e

[yocto] QA cycle report for 2.4.3 RC2

2018-06-12 Thread Yeoh, Ee Peng
Hello All, This is the full report for 2.4.3 RC2: https://wiki.yoctoproject.org/wiki/WW24_-_2018-06-12-_Full_Test_Cycle_-_2.4.3_rc2 === Summary The QA cycle for release 2.4.3 RC2 was completed.  Team had found that virtual/kernel build time had increased by 10% and 18% accordingl

Re: [yocto] Adding package's license to the final image

2018-06-12 Thread Andrea Galbusera
Hi! On Tue, Jun 12, 2018 at 8:53 PM Mathieu Alexandre-Tétreault wrote: > > Howdy, > > I am working on a project that requires the final image to contain a license > manifest for all the packaged installed on the image. Take a look at [1]. There's background on licence tacking and a technique to