[meta-zephyr][hardknott][PATCH 2/4] intel-x86-64.conf: add common MACHINE for x86 (64-bit) BOARDS
Naveen Saini
User need to specify board value to ZEPHYR_BOARD in local.conf
ZEPHYR_BOARD = "ehl_crb" By default it set to Elkhart Lake CRB 'ehl_crb' Currently 64-bit supported boards: * up_squared * ehl_crb_sbl * ehl_crb * acrn * acrn_ehl_crb Ref: https://docs.zephyrproject.org/latest/boards/x86/index.html Signed-off-by: Naveen Saini <naveen.kumar.saini@...> --- conf/machine/include/tune-corei7-common.inc | 3 +++ conf/machine/intel-x86-64.conf | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 conf/machine/intel-x86-64.conf diff --git a/conf/machine/include/tune-corei7-common.inc b/conf/machine/include/tune-corei7-common.inc index 7ad9516..509d190 100644 --- a/conf/machine/include/tune-corei7-common.inc +++ b/conf/machine/include/tune-corei7-common.inc @@ -1,3 +1,6 @@ DEFAULTTUNE ?= "corei7-64" require conf/machine/include/tune-corei7.inc require conf/machine/include/x86-base.inc + +# Add x86 to MACHINEOVERRIDE +MACHINEOVERRIDES =. "x86:" diff --git a/conf/machine/intel-x86-64.conf b/conf/machine/intel-x86-64.conf new file mode 100644 index 0000000..2935cff --- /dev/null +++ b/conf/machine/intel-x86-64.conf @@ -0,0 +1,14 @@ +#@TYPE: Machine +#@NAME: intel-x86-64 +#@DESCRIPTION: common MACHINE for 64-bit x86 boards. User must set ${ZEPHYR_BOARD}. By default is set to 'ech_crb' board. + +require conf/machine/include/tune-corei7-common.inc + +ARCH_intel-x86-64 = "x86" + +# Supported Boards: +# ZEPHYR_BOARD ?= "acrn" +# ZEPHYR_BOARD ?= "acrn_ehl_crb" +# ZEPHYR_BOARD ?= "up_squared" +# ZEPHYR_BOARD ?= "ehl_crb_sbl" +ZEPHYR_BOARD ?= "ehl_crb" -- 2.17.1
|
|
Re: [meta-zephyr][PATCH 1/5] zephyr-kernel: Clone mbedtls
Naveen Saini
V2.6.0-rc1 patch is not merged as it is pre-release. Lets wait for stable release.
toggle quoted messageShow quoted text
Could you please rebase these patches for v2.5.0 latest master ? Regards, Naveen
-----Original Message-----
|
|
hardknott: open-embedded: kernel-fitimage.bblass, fiitmage_emit_section_boot_script bad
richard allen
Been trying added a uboot script to my fitImage ( in hardknott) Looks like the routine fiitmage_emit_section_boot_scrip Has not updated it syntax for node name or hash node Still using’@’ instead of ‘-‘ Is this being looked at? Thanks Richard Allen
|
|
Re: How to switch yocto INIT_MANAGER from systemd to sysvinit
#dunfell
On 5/27/21 3:04 PM, sayinswapna@... wrote:
Hello Yocto team:Please find out which layer is adding this bbappend you could use bitbake-layers show-appends sysvinit It seems recipe version is newer perhaps and the bbappend is still made for older recipe, these things happen when you mix release branches for different layers. When I run this build on my target it still shows me systemd init manager...
|
|
Re: How to switch yocto INIT_MANAGER from systemd to sysvinit
#dunfell
On 5/27/21 3:12 PM, Robert P. J. Day wrote:
On Thu, 27 May 2021, sayinswapna@... wrote:it will depend on release, if you are on 3.0+ then yes single setting will work, older releases would mean above is needed. seeHello Yocto team:as i recall, all of the above can be replaced by a single assignment https://docs.yoctoproject.org/ref-manual/migration-3.0.html?highlight=init_manager#init-system-selection rday
|
|
Re: How to switch yocto INIT_MANAGER from systemd to sysvinit
#dunfell
Robert P. J. Day
On Thu, 27 May 2021, sayinswapna@... wrote:
Hello Yocto team:as i recall, all of the above can be replaced by a single assignment to the INIT_MANAGER variable. rday
|
|
How to switch yocto INIT_MANAGER from systemd to sysvinit
#dunfell
Swapna Nannapaneni
Hello Yocto team:
I just started with yocto and would like to know the process for switching the init manager from systemd to sysvinit. I tried this options in config file VIRTUAL-RUNTIME_init_manager = "busybox"
PREFERRED_PROVIDER_udev = "sysvinit"
PREFERRED_PROVIDER_udev-utils = "sysvinit"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
DEFAULT_DISTRO_FEATURES += " sysvinit" I see a warning when building my machine: No recipe for target: /recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
When I run this build on my target it still shows me systemd init manager... Not sure if I am missing any options. Could you please let me know if there are any pointers I can refer to? Thanks, Priya
|
|
[announcement] jumpnow/meta-bbb and jumpnow/meta-jumpnow
Zoran
Hello Folks,
In order to continue to develop my: https://github.com/ZoranStojsavljevic/bbb-yocto And advance to yocto hardknott, I did the temporary moves: Cloned both jumpnow repos to my github space: https://github.com/ZoranStojsavljevic/meta-bbb https://github.com/ZoranStojsavljevic/meta-jumpnow So far, I did only the framework job creating hardknott branches, to be able to commence. I'll try to advance meta-bbb with some recent kernels (5.12) in the near Future. I hope Scott Ellis will return to continue to maintain his repos, but in the meantime... Zee _______
|
|
Re: a recipe that launches a docker container to build a custom library...
Yocto
maybe take a look at some of the work toradex has done, maybe in their torizon tree you can find some creative ways https://developer.toradex.com/knowledge-base/how-to-autorun-application-at-the-start-up-in-linux https://developer.toradex.com/knowledge-base/run-manage-docker-container-torizon
On 5/27/21 11:59 PM,
flobro30101@... wrote:
Has anyone seen suck an animal before, and if not, how hard would it be to launch a container, then get the output to install like a normal recipe does?
|
|
Error while updating sources using "$ opkg update". [ opkg_verify_gpg_signature: GPG signature checking not supported ] [ pkg_src_verify: Signature verification failed for *. ]
#yocto
#raspberrypi
tokuchiprime@...
Hi everyone.
I am trying to setup a Package Feed with signed ipk packages. For this, I first set up the key pair on my build host.
This is the result of "$ gpg --list-keys" : /home/<username>/.gnupg/pubring.kbx
--------------------------------
pub rsa3072 2021-05-26 [SC] [expires: 2023-05-26]
<40-char-hex-key-id>
uid [ultimate] <user-id> <email-id>
sub rsa3072 2021-05-26 [E] [expires: 2023-05-26]
I added the following to my local.conf : # For generating signed packages
INHERIT += "sign_ipk"
IPK_GPG_NAME = "<last-8-digits-of-key-id>"
IPK_GPG_PASSPHRASE_FILE = "/home/<username>/passphrase.txt"
INHERIT += "sign_package_feed"
PACKAGE_FEED_GPG_NAME = "<last-8-digits-of-key-id>"
PACKAGE_FEED_GPG_PASSPHRASE_FILE = "/home/<username>/passphrase.txt"
Burnt the new image onto the SD Card and booted up. At this point, $ opkg update fails with the following error:
Downloading http://192.168.0.8/rpi_packages/all/Packages.gz.
Downloading http://192.168.0.8/rpi_packages/all/Packages.asc.
Downloading http://192.168.0.8/rpi_packages/cortexa7t2hf-neon-vfpv4/Packages.gz.
Downloading http://192.168.0.8/rpi_packages/cortexa7t2hf-neon-vfpv4/Packages.asc.
Downloading http://192.168.0.8/rpi_packages/raspberrypi3/Packages.gz.
Downloading http://192.168.0.8/rpi_packages/raspberrypi3/Packages.asc.
Collected errors:
* opkg_verify_gpg_signature: GPG signature checking not supported
* pkg_src_verify: Signature verification failed for all.
* opkg_verify_gpg_signature: GPG signature checking not supported
* pkg_src_verify: Signature verification failed for cortexa7t2hf-neon-vfpv4.
* opkg_verify_gpg_signature: GPG signature checking not supported
* pkg_src_verify: Signature verification failed for raspberrypi3.
The /etc/pki/packagefeed-gpg directory has PACKAGEFEED-GPG-KEY-b2qt-dunfell in it.
At first gnupg wasn't installed on the target, so I added it.
Running "$ gpg --list-keys" outputs:
gpg: directory '/home/root/.gnupg' created
gpg: keybox '/home/root/.gnupg/pubring.kbx' created
gpg: /home/root/.gnupg/trustdb.gpg: trustdb created
I imported /etc/pki/packagefeed-gpg/PACKAGEFEED-GPG-KEY-b2qt-dunfell, after which "$ gpg --list-keys" shows the public key. But it doesn't solve the issue.
Found a question in the mailing list, where the OP used OPKG_KEYRING_KEYS. So I rebuilt the image with OPKG_KEYRING_KEYS = "<last-8-digits-of-key-id>", but the result was same as earlier.
If signature verification is disabled then the sources are updated without any error. Thanks for reading.
|
|
a recipe that launches a docker container to build a custom library...
flobro30101@...
Has anyone seen suck an animal before, and if not, how hard would it be to launch a container, then get the output to install like a normal recipe does?
|
|
Re: Making a recipe that enables a systemd service it doesn't provide
Joshua Watt
It might be easier to manually enable the service with a
symbolic link instead of using systemd.bbclass with something
like: do_install() { install -Dm 755
${D}${systemd_unitdir}/system/multi-user.target.wants/ ln -s ${systemd_unitdir}/system/openvpn@.service
${D}${systemd_unitdir}/system/multi-user.target.wants/openvpn@... } NOTE: I didn't explicitly test this
On 5/27/21 9:17 AM, François GOUDAL
wrote:
Hello, I am struggling with something I couldn’t find any solution for so far. I am trying to make a very simple recipe that does this: - Drop an openvpn configuration file in /etc/openvpn/test.conf - Make the systemd service openvpn@... enabled by default The recipe itself depends on openvpn, and so, it doesn’t, by itself, provide the openvpn@.service , which comes with openvpn. Dropping the openvpn configuration file in the rootfs is easy, but I can’t manage to make the recipe to enable the service. I’ve tried adding this to my recipe: inherit systemd SYSTEMD_AUTO_ENABLE = "enable" SYSTEMD_SERVICE_${PN} = "openvpn@..." But bitbake fails on this recipe with the message below: ERROR: test-openvpn-config-1.0-r0 do_package: SYSTEMD_SERVICE_test-openvpn-config value openvpn@... does not exist I believe this is caused by the fact that the service file is not part of the files installed by the recipe itself, but it is not meant to be anyway. Is there a (clean) way to achieve this ? Thanks in advance
|
|
Re: Making a recipe that enables a systemd service it doesn't provide
Quentin Schulz
Hi François,
On Thu, May 27, 2021 at 02:17:03PM +0000, François GOUDAL wrote: Hello,Yes that seems like the origin of the error. Recipe data is local to the recipe. You therefore also cannot modify the openvpn recipe from another recipe (this includes enabling a service for example). The proper way to do it is to create a bbappend for the openvpn recipe and enable the service from there. SYSTEMD_AUTO_ENABLE = "enable" should be enough, though it'll start the loopback client and server unit too. It is not possible to have different image recipes enable or not the service, if this is something you want, you need to modify SYSTEMD_AUTO_ENABLE of the openvpn recipe in a configuration file (and the proper way is in a distro configuration file). Cheers, Quentin
|
|
Making a recipe that enables a systemd service it doesn't provide
François GOUDAL
Hello,
I am struggling with something I couldn’t find any solution for so far. I am trying to make a very simple recipe that does this: - Drop an openvpn configuration file in /etc/openvpn/test.conf - Make the systemd service openvpn@... enabled by default The recipe itself depends on openvpn, and so, it doesn’t, by itself, provide the openvpn@.service , which comes with openvpn. Dropping the openvpn configuration file in the rootfs is easy, but I can’t manage to make the recipe to enable the service. I’ve tried adding this to my recipe: inherit systemd SYSTEMD_AUTO_ENABLE = "enable" SYSTEMD_SERVICE_${PN} = "openvpn@..." But bitbake fails on this recipe with the message below: ERROR: test-openvpn-config-1.0-r0 do_package: SYSTEMD_SERVICE_test-openvpn-config value openvpn@... does not exist I believe this is caused by the fact that the service file is not part of the files installed by the recipe itself, but it is not meant to be anyway. Is there a (clean) way to achieve this ? Thanks in advance
|
|
[PATCH yocto-autobuilder-helper] config.json: transition ptests to minimal-based images
Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@...>
--- config.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config.json b/config.json index cf62815..2ccd24a 100644 --- a/config.json +++ b/config.json @@ -95,16 +95,16 @@ }, "ptest-qemu" : { "BUILDINFO" : true, - "BBTARGETS" : "core-image-sato-ptest", - "SANITYTARGETS" : "core-image-sato-ptest:do_testimage", + "BBTARGETS" : "core-image-ptest-all", + "SANITYTARGETS" : "core-image-ptest-all:do_testimage", "extravars" : [ "TEST_SUITES = 'ping ssh ptest'" ] }, "ptest-qemu-fast" : { "BUILDINFO" : true, - "BBTARGETS" : "core-image-sato-ptest-fast", - "SANITYTARGETS" : "core-image-sato-ptest-fast:do_testimage", + "BBTARGETS" : "core-image-ptest-fast", + "SANITYTARGETS" : "core-image-ptest-fast:do_testimage", "extravars" : [ "TEST_SUITES = 'ping ssh ptest'" ] @@ -124,7 +124,7 @@ "arch-hw" : { "BUILDINFO" : true, "step1" : { - "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato-ptest core-image-sato:do_populate_sdk", + "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-ptest-all core-image-sato:do_populate_sdk", "SANITYTARGETS" : "core-image-sato:do_testsdk" } }, @@ -344,7 +344,7 @@ }, "step2" : { "MACHINE" : "qemux86-64", - "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato-sdk-ptest core-image-sato:do_populate_sdk", + "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-ptest-all core-image-sato:do_populate_sdk", "SANITYTARGETS" : "core-image-sato:do_testsdk" }, -- 2.31.1
|
|
Re: [qa-build-notification] QA notification for completed autobuilder build (yocto-3.1.8.rc1)
Sangeeta Jain
Hi all,
toggle quoted messageShow quoted text
Intel and WR YP QA is planning for QA execution for YP build yocto-3.1.8.rc1 We are planning to execute following tests for this cycle: OEQA-manual tests for following module: 1. OE-Core 2. BSP-hw Runtime auto test for following platforms: 1. MinnowTurbot 32-bit 2. Coffee Lake 3. NUC 7 4. NUC 6 5. Edgerouter 6. Beaglebone ETA for completion is next Monday, May 31. Thanks, Sangeeta
-----Original Message-----
|
|
[PATCH yocto-autobuilder-helper] config.json: transition ptests to minimal-based images
Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@...>
--- config.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config.json b/config.json index cf62815..a850dd6 100644 --- a/config.json +++ b/config.json @@ -95,16 +95,16 @@ }, "ptest-qemu" : { "BUILDINFO" : true, - "BBTARGETS" : "core-image-sato-ptest", - "SANITYTARGETS" : "core-image-sato-ptest:do_testimage", + "BBTARGETS" : "core-image-minimal-ptest-all", + "SANITYTARGETS" : "core-image-minimal-ptest-all:do_testimage", "extravars" : [ "TEST_SUITES = 'ping ssh ptest'" ] }, "ptest-qemu-fast" : { "BUILDINFO" : true, - "BBTARGETS" : "core-image-sato-ptest-fast", - "SANITYTARGETS" : "core-image-sato-ptest-fast:do_testimage", + "BBTARGETS" : "core-image-minimal-ptest-fast", + "SANITYTARGETS" : "core-image-minimal-ptest-fast:do_testimage", "extravars" : [ "TEST_SUITES = 'ping ssh ptest'" ] @@ -124,7 +124,7 @@ "arch-hw" : { "BUILDINFO" : true, "step1" : { - "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato-ptest core-image-sato:do_populate_sdk", + "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-minimal-ptest-all core-image-sato:do_populate_sdk", "SANITYTARGETS" : "core-image-sato:do_testsdk" } }, @@ -344,7 +344,7 @@ }, "step2" : { "MACHINE" : "qemux86-64", - "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-sato-sdk-ptest core-image-sato:do_populate_sdk", + "BBTARGETS" : "core-image-sato core-image-sato-sdk core-image-minimal core-image-minimal-dev core-image-minimal-ptest-all core-image-sato:do_populate_sdk", "SANITYTARGETS" : "core-image-sato:do_testsdk" }, -- 2.31.1
|
|
Re: hardknott core-image-weston weston is crashing
On 5/26/21 5:02 AM, Marek Belisko wrote:
Hi,there is similar segv I see on master, Can you test this patch on master and see if that works? secondly, also try master branch of weston and see if it fixed it then we can narrow down needed backports ZoranBR,
|
|
OpenEmbedded Happy Hour May 26 8pm/2000 UTC
Denys Dmytriyenko
Hi,
Due to the Yocto Project Summit running during our regular OpenEmbedded Happy Hour today, we decided to move it down by 3 hours and have Happy Hour at the end of the Summit, May 26 @ 2000/8pm UTC (4pm ET / 1pm PT). Please join us and socialize with fellow developers and have some good time. https://www.openembedded.org/wiki/Calendar https://www.timeanddate.com/worldclock/fixedtime.html?msg=OpenEmbedded+Happy+Hour+May+26&iso=20210526T20 -- Regards, Denys Dmytriyenko <denis@...> PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964 Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964
|
|
Re: gstreamer-emements support fdkaacenc/fdkaacdec
#yocto
On 5/26/21 5:01 AM, sateesh m wrote:
Hi Guys, see http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.3.bb?h=dunfell#n114 change that to -Dfdkaac=enabled if it works, then perhaps turn that into packageconfig and send a patch as well if you can --
|
|