Re: [yocto] [ptest-runner][PATCH] Add SPDX-License-Identifier: GPL-2.0-or-later to source files
On Mon, 2019-06-03 at 13:39 -0500, Aníbal Limón wrote: > Signed-off-by: Aníbal Limón > --- > main.c | 2 ++ > ptest_list.c | 2 ++ > ptest_list.h | 2 ++ > tests/main.c | 2 ++ > tests/ptest_list.c | 2 ++ > tests/utils.c | 2 ++ > utils.c| 2 ++ > utils.h| 2 ++ > 8 files changed, 16 insertions(+) > > diff --git a/main.c b/main.c > index e963efe..83cd8f2 100644 > --- a/main.c > +++ b/main.c > @@ -15,6 +15,8 @@ > * along with this program; if not, write to the Free Software > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, > MA 02110-1301, USA. > * > + * SPDX-License-Identifier: GPL-2.0-or-later > + * > * AUTHORS > * Aníbal Limón > */ Looks good to me, thanks! Cheers, Richard -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [linux-yocto] [kernel-cache][PATCH 0/1] Add SCSI debug configuration for util-linux ptest
merged, and SRCREV bumps sent to the oe-core list. Bruce On Sat, Jun 1, 2019 at 6:32 PM Mariano López wrote: > > Hi Bruce, > > This will add the configuration options to enable the SCSI debug module > that is needed by the util-linux ptest package. This is needed to add > KERNEL_FEATURES in the linux-yocto kernels. The idea is to conditional > add the feature if the ptest DISTRO_FEATURE is present as you and > Richard recommeded (thanks for that by the way). > > Would be possible to add this to master, yocto-5.0 and yocto-4.19. > > Thanks! > > The following changes since commit 2cfc982103b9a4554ea68cf735f9c3912a97cce3: > > features: move ftrace to before arch/arm (2019-06-01 14:33:19 -0400) > > are available in the Git repository at: > > git://github.com/justanotherboy/yocto-kernel-cache bug13301 > https://github.com/justanotherboy/yocto-kernel-cache/tree/bug13301 > > Mariano López (1): > Add SCSI debug configuration for util-linux ptest > > features/scsi/scsi-debug.cfg | 1 + > features/scsi/scsi-debug.scc | 4 > 2 files changed, 5 insertions(+) > create mode 100644 features/scsi/scsi-debug.cfg > create mode 100644 features/scsi/scsi-debug.scc > > -- > 2.21.0 > > -- > ___ > linux-yocto mailing list > linux-yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/linux-yocto -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto
Re: [linux-yocto] v4.18.x - stable updates comprising v4.18.40
Thanks Paul, this is now merged. Bruce On Thu, May 30, 2019 at 10:24 PM Paul Gortmaker wrote: > > Bruce, Yocto kernel folks: > > Here is the next 4.18.x stable update "extension" primarily created > for the Yocto project, continuing from the previous v4.18.39 release. > > There are about 260 commits here, based on commits chosen from what were > used in the 4.19.42/44/45 stable releases -- so another "batch" release. > The 4.19.43 content was the MDS stuff we handled in an expidited fashion > a couple releases ago. No one subsystem is over-represented, so we can > count this as another "normal" stable release case. > > I've put this 4.18.x queue through the usual testing; build testing > on x86-64/32, ARM-64/32, PPC and MIPS, plus some static analysis > and finally some sanity runtime tests on x86-64. > > I did the signed tag just as per the previously released versions. > Please find a signed v4.18.40 tag using this key: > > http://pgp.mit.edu/pks/lookup?op=vindex=0xEBCE84042C07D1D6 > > in the repo in the kernel.org directory here: > > > https://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux-4.18.y.git/?h=linux-4.18.y > git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux-4.18.y.git > > for merge to standard/base in linux-yocto-4.18 and then out from there > into the other base and BSP branches. > > For those who are interested, the evolution of the commits is here: > > https://git.kernel.org/cgit/linux/kernel/git/paulg/longterm-queue-4.18.git/ > > This repo isn't needed for anything; it just exists for transparency and > so people can see the evolution of the raw commits that were originally > selected to create this 4.18.x release. > > Paul. -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II -- ___ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto
Re: [yocto] Potential (?) systemd YOCTO problems
On Mon, Jun 03, 2019 at 07:38:47PM +0200, Zoran Stojsavljevic wrote: Still. I expected to see the following on the target (my BBB): /etc/init.d/networking script, I would have a look at the values of DISTRO_FEATURES_BACKFILL_CONSIDERED as well as VIRTUAL-RUNTIME_initscripts. My understanding is that if the former is set to "sysvinit", it causes any redundant SysVinit scripts to be removed, and further, that if the latter is set to "", then all initscripts are removed from the image altogether. - Morné -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [ptest-runner][PATCH] Add SPDX-License-Identifier: GPL-2.0-or-later to source files
Signed-off-by: Aníbal Limón --- main.c | 2 ++ ptest_list.c | 2 ++ ptest_list.h | 2 ++ tests/main.c | 2 ++ tests/ptest_list.c | 2 ++ tests/utils.c | 2 ++ utils.c| 2 ++ utils.h| 2 ++ 8 files changed, 16 insertions(+) diff --git a/main.c b/main.c index e963efe..83cd8f2 100644 --- a/main.c +++ b/main.c @@ -15,6 +15,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + * SPDX-License-Identifier: GPL-2.0-or-later + * * AUTHORS * Aníbal Limón */ diff --git a/ptest_list.c b/ptest_list.c index 3e393d5..d48349f 100644 --- a/ptest_list.c +++ b/ptest_list.c @@ -15,6 +15,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + * SPDX-License-Identifier: GPL-2.0-or-later + * * AUTHORS * Aníbal Limón */ diff --git a/ptest_list.h b/ptest_list.h index 03d7539..b4b1ac6 100644 --- a/ptest_list.h +++ b/ptest_list.h @@ -15,6 +15,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + * SPDX-License-Identifier: GPL-2.0-or-later + * * AUTHORS * Aníbal Limón */ diff --git a/tests/main.c b/tests/main.c index cceda7d..c3b4da5 100644 --- a/tests/main.c +++ b/tests/main.c @@ -15,6 +15,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * +* SPDX-License-Identifier: GPL-2.0-or-later +* * AUTHORS * Aníbal Limón */ diff --git a/tests/ptest_list.c b/tests/ptest_list.c index 5c0036d..e0ec276 100644 --- a/tests/ptest_list.c +++ b/tests/ptest_list.c @@ -15,6 +15,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + * SPDX-License-Identifier: GPL-2.0-or-later + * * AUTHORS * Aníbal Limón */ diff --git a/tests/utils.c b/tests/utils.c index 2ccb1c0..3ba64d6 100644 --- a/tests/utils.c +++ b/tests/utils.c @@ -15,6 +15,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + * SPDX-License-Identifier: GPL-2.0-or-later + * * AUTHORS * Aníbal Limón */ diff --git a/utils.c b/utils.c index 05c2bfe..6e453a1 100644 --- a/utils.c +++ b/utils.c @@ -15,6 +15,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + * SPDX-License-Identifier: GPL-2.0-or-later + * * AUTHORS * Aníbal Limón */ diff --git a/utils.h b/utils.h index 5a3f44a..6175ed1 100644 --- a/utils.h +++ b/utils.h @@ -15,6 +15,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + * SPDX-License-Identifier: GPL-2.0-or-later + * * AUTHORS * Aníbal Limón */ -- 2.20.1 -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Potential (?) systemd YOCTO problems
Hello Folks, I am a bit deeper to the systemd service investigation in YOCTO. I installed systemd service, I also have network manager package. I am using warrior. Here are the snippets of the HOST: [user@fedora29-ssd build]$ bitbake --version BitBake Build Tool Core version 1.42.0 [user@fedora29-ssd build]$ bitbake -s | grep networkmanager networkmanager :1.16.0-r0 networkmanager-openvpn :1.8.10-r0 python-networkmanager :2.1-r0 [user@fedora29-ssd build]$ bitbake -s | grep systemd python-systemd:234-r0 python3-systemd :234-r0 systemd 1:241+AUTOINC+c1f8ff8d0d-r0 systemd-bootchart :233+gitAUTOINC+fe1c5e41e6-r0 systemd-bootconf :1.00-r0 systemd-compat-units :1.0-r29 systemd-conf:241+AUTOINC+c1f8ff8d0d-r0 systemd-machine-units:1.0-r19 systemd-serialgetty :1.0-r5 systemd-systemctl-native :1.0-r6 [user@fedora29-ssd build]$ Still. I expected to see the following on the target (my BBB): /etc/init.d/networking script, but I have the following: root@beaglebone:/etc/init.d# pwd /etc/init.d root@beaglebone:/etc/init.d# ls -al drwxr-xr-x2 root root 4096 Jun 3 2019 . drwxr-xr-x 27 root root 4096 May 30 23:46 .. -rwxr-xr-x1 root root 1419 May 31 2019 socketcand root@beaglebone:/etc/init.d# The socketcand recipe is here: https://github.com/ZoranStojsavljevic/meta-socketcan/blob/master/recipes-can/socketcand/socketcand.bb Should I add something to the networkmanager recipe (to add some inheritance)??? To have the component (network script) in play/installed (in /etc/init.d/)? The command: # systemctl restart systemd-networkd does work. root@beaglebone:/etc/systemd# ls coredump.conf logind.conf networkd.conf sleep.conf system.conf user journald.conf network resolved.conf system timesyncd.conf user.conf root@beaglebone:/etc/systemd# cd network root@beaglebone:/etc/systemd/network# ls -al drwxr-xr-x2 root root 4096 May 31 00:57 . drwxr-xr-x5 root root 4096 Jun 3 2019 .. root@beaglebone:/etc/systemd/network# What I am doing wrong here? Thank you, Zoran ___ -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] do_rootfs fails while attempting to install hostapd package
On Mon, Jun 03, 2019 at 04:30:33PM +0100, Burton, Ross wrote: The variable is DISTRO_FEATURES_BACKFILL_CONSIDERED, in case that wasn't a typo when writing the mail. It wasn't a typo, and that was exactly the problem. Well spotted, everything in the world makes sense again :-) - Morné -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] do_rootfs fails while attempting to install hostapd package
On Mon, 3 Jun 2019 at 15:06, Morné Lamprecht wrote: > I also have DISTRO_FEATURES_BACKFULL_CONSIDERED = > "sysvinit" in my config (also had it during the > failed builds), I thought it would prevent > sysvinit from being added/backfilled to the > DISTRO features ? So I'm not sure why > DISTRO_FEATURES_remove is also required in this > case ? The variable is DISTRO_FEATURES_BACKFILL_CONSIDERED, in case that wasn't a typo when writing the mail. Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] do_rootfs fails while attempting to install hostapd package
Which startup system do you use (sysVinit or systemd)? You can take a look at poky/meta/classed/update-rc.d.bbclass which checks various parameters and try to debug it (by adding some printouts). By my guess is that some misconfiguration between systemd/sysvinit must cause this issue. Adding DISTRO_FEATURES_remove += " sysvinit" to my distro conf file, solved the problem. I also have DISTRO_FEATURES_BACKFULL_CONSIDERED = "sysvinit" in my config (also had it during the failed builds), I thought it would prevent sysvinit from being added/backfilled to the DISTRO features ? So I'm not sure why DISTRO_FEATURES_remove is also required in this case ? - Morné -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] EMQ recipe
Hi, I'm the author of a Yocto Project layer called meta-erlang. I would like to announce that now is possible to use Yocto Project which build a embedded Linux distro and on top of that install the EMQ (a mqtt broker) or EMQ edge. I've created the recipe and all the patches necessary to do that. My main target is to bring software made with Erlang/Elixir possible to run in Yocto/Openembedded ecosystem. Just in case, if you have a embedded project and are planing to run emq edge, for example. This could be feasible for you. Check it: - https://layers.openembedded.org/layerindex/branch/master/recipes/?q=emq - http://joaohf.github.io/meta-erlang/#/guides-emqx - https://github.com/joaohf/meta-erlang - https://www.yoctoproject.org/ - https://www.emqx.io/ Best regards, -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] do_rootfs fails while attempting to install hostapd package
Which startup system do you use (sysVinit or systemd)? You can take a look at poky/meta/classed/update-rc.d.bbclass which checks various parameters and try to debug it (by adding some printouts). By my guess is that some misconfiguration between systemd/sysvinit must cause this issue. I'm using systemd. I think you may be right, I'll have a look at update-rc.d.bbclass and see if I can debug it. Thanks for the advice ! - Morné -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] How to extract files from wic.gz image?
Hi JH, I believe the most important feature of the wic images is to be able to flash your SD card faster than just extract and dd the full image on the SD card. For that reason you can use the bmap-tool which already supports the gz compression (as also .bz2). To do that you also need the bmap file for this image. If it's not already there then you can add it your in your image like this: IMAGE_FSTYPES += "wic.bmap" (see also here: https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#flashing-images-using-bmaptool ) Then you can just run: $ sudo bmaptool copy dev-image-20190528085324.rootfs.wic.gz /dev/sdX and you copy the gz image on your SD much much faster. Regards, Dimitris On Sat, Jun 1, 2019 at 12:40 PM JH wrote: > Thanks Zoran and Tom, I can use dd to install the image to SD card on > IMX EVK, now I need to install the image to NAND flash of a customized > IMX device via USB HID, it cannot use the dd, IMX provided UUU utility > which I am new to it and I have to decompose the image to > zImage-initramfs and losetup -P does work, dd does not work either. > > $ losetup -P dev-image-20190528085324.rootfs.wic > losetup: solar-dev-image-solarevk-20190518084330.rootfs.wic: failed to > use device: No such device > > Thanks for your helps anyway. > > Kind regards, > > - jupiter > > On 5/31/19, Tom Rini wrote: > > On Fri, May 31, 2019 at 10:21:40PM +1000, JH wrote: > >> Hi, > >> > >> What command and tools to extract files from Yocto / bitbake image > >> such as dev-image-20190528085324.rootfs.wic.gz? > >> > >> I am using IMX UUU to install dev-image-20190528085324.rootfs.wic.gz > >> to IMX, I was advised to extract the archive and use "uuu
Re: [yocto] do_rootfs fails while attempting to install hostapd package
On Sat, Jun 1, 2019 at 8:26 PM Morné Lamprecht wrote: > > >I would check run.do_rootfs and check it maybe > >there will be some more info. > > I checked it based on your suggestion, > unfortunately found no relevant info. > > >Do you have some custom extension for hostapd? > > No, just the standard package. Which startup system do you use (sysVinit or systemd)? You can take a look at poky/meta/classed/update-rc.d.bbclass which checks various parameters and try to debug it (by adding some printouts). By my guess is that some misconfiguration between systemd/sysvinit must cause this issue. Thanks. > > - Morné BR, marek -- as simple and primitive as possible - Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto