Re: #kirkstone boot script section not added in the fitimage
#kirkstone
Quentin Schulz
Hi Sébastien,
On 11/14/22 14:50, sebastien.fabre31@... wrote: Hello,The logic seems reasonable to me, yes. We could have used the deploy directory instead and depend on the do_deploy task instead of the do_populate_sysroot but I think it is actually safer to use the sysroot (because it is cleaned if a dependency changes, as opposed to the deploy directory that might be providing an old version, e.g. think one build with UBOOT_ENV set followed by one it isn't, the deployed artifact will still be present). Though, please use += instead of :append. I'm wondering also if we cannot just always have /boot in SYSROOT_DIRS for U-Boot recipe? I guess it's fine like this :) Please send a patch, Cheers, Quentin |
|
Re: Apply Patching
#dunfell
#patch
#yocto
#raspberrypi
#linux
Alexander Kanavin
In this case I have no idea unfortunately. Does a regular kernel work? Alex On Mon 21. Nov 2022 at 16.38, Nikita Gupta <nikitagupta2509@...> wrote: Hello Alex, |
|
Re: Reproducible builds not working with musl?
Alexander Kanavin
You have to find them yourself with gut bisect I would say. Too many things have changed. Alex On Mon 21. Nov 2022 at 17.07, Kenth Eriksson <kenth.eriksson@...> wrote: I see. Any particular fixes you can point me to that may be relevant also for musl? |
|
Re: Reproducible builds not working with musl?
Kenth Eriksson
I see. Any particular fixes you can point me to that may be relevant also for musl?
|
|
Re: Apply Patching
#dunfell
#patch
#yocto
#raspberrypi
#linux
Nikita Gupta
Hello Alex,
Sorry for late reply. Actually i madert- image by setting the preferred virtual/kernel type. PREFERRED_PROVIDER_virtual/kernel = "linux-raspberrypi-rt" and bake the recipe for following target. bitbake core-image-base I got my image successfully and it is booting up, but it is not taking user input from my keyboard. Why is it happening? Thanks in Advance |
|
Re: Reproducible builds not working with musl?
Joshua Watt
On 11/21/22 08:38, Alexander Kanavin wrote:
On Mon, 21 Nov 2022 at 15:31, Kenth ErikssonThis is correct; it's hard for upstream to test every possible combination for reproducibility. We do try to get some decent coverage, but ultimately if you really care about reproducible builds, you should setup a reproducible build test for your exact combination. We've tried to make this pretty easy, see https://youtu.be/zXEdqGS62Wc?t=1021
|
|
Re: Reproducible builds not working with musl?
Alexander Kanavin
On Mon, 21 Nov 2022 at 15:31, Kenth Eriksson
<kenth.eriksson@...> wrote: Testing reproducibility properly is a heavy exercise (you need to build everything from scratch, then compare), and so we do it only for glibc. There have been recent fixes and tests to check that host paths do not leak into target files, but dunfell probably has neither the fix nor the test. Alex |
|
Reproducible builds not working with musl?
Kenth Eriksson
Having trouble with reproducible builds in yocto on dunfell release with musl as libc. E.g. I can see that the build path for musl crti assembler file is leaking through and becomes visible when I do strings on libraries and binaries.
|
|
Re: rust issue for armv6 in mainline poky
Alexander Kanavin
Can you try the tip of master please?
toggle quoted message
Show quoted text
Alex On Mon, 21 Nov 2022 at 13:32, Marek Belisko <marek.belisko@...> wrote:
|
|
rust issue for armv6 in mainline poky
Marek Belisko
Hi,
on kirkstone branch when trying to build rust for raspberrypi machine I'm getting: ERROR: rust-cross-arm1176jzfshf-vfp-glibc-1.59.0-r0 do_rust_gen_targets: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: <module> 0001: *** 0002:do_rust_gen_targets(d) 0003: File: '/data/projects/test-build/.build-rpi/../sources/poky/meta/recipes-devtools/rust/rust-cross.inc', lineno: 19, function: do_rust_gen_targets 0015: if arch == "arm" and target_is_armv7(d): 0016: arch = 'armv7' 0017: features = d.getVar('TARGET_LLVM_FEATURES') or "" 0018: cpu = d.getVar('TARGET_LLVM_CPU') *** 0019: rust_gen_target(d, thing, wd, features, cpu, arch, abi) 0020:} 0021: 0022:# Otherwise we'll depend on what we provide 0023:INHIBIT_DEFAULT_RUST_DEPS = "1" File: '/data/projects/test-build/.build-rpi/../sources/poky/meta/recipes-devtools/rust/rust-common.inc', lineno: 314, function: rust_gen_target 0310: # build tspec 0311: tspec = {} 0312: tspec['llvm-target'] = d.getVar('RUST_TARGET_SYS', arch_abi) 0313: tspec['data-layout'] = d.getVarFlag('DATA_LAYOUT', arch_abi) *** 0314: tspec['max-atomic-width'] = int(d.getVarFlag('MAX_ATOMIC_WIDTH', arch_abi)) 0315: tspec['target-pointer-width'] = d.getVarFlag('TARGET_POINTER_WIDTH', arch_abi) 0316: tspec['target-c-int-width'] = d.getVarFlag('TARGET_C_INT_WIDTH', arch_abi) 0317: tspec['target-endian'] = d.getVarFlag('TARGET_ENDIAN', arch_abi) 0318: tspec['arch'] = arch_to_rust_target_arch(rust_arch) Exception: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' by adding below it seems to fix an issue (copied from meta-rust): diff --git a/meta/recipes-devtools/rust/rust-common.inc b/meta/recipes-devtools/rust/rust-common.inc index ef70c48d0f..389c75d2f7 100644 --- a/meta/recipes-devtools/rust/rust-common.inc +++ b/meta/recipes-devtools/rust/rust-common.inc @@ -118,6 +118,15 @@ def llvm_features(d): llvm_features_from_target_fpu(d)) + +DATA_LAYOUT[arm-eabi] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" +LLVM_TARGET[arm-eabi] = "${RUST_TARGET_SYS}" +TARGET_ENDIAN[arm-eabi] = "little" +TARGET_POINTER_WIDTH[arm-eabi] = "32" +TARGET_C_INT_WIDTH[arm-eabi] = "32" +MAX_ATOMIC_WIDTH[arm-eabi] = "64" +FEATURES[arm-eabi] = "+v6,+vfp2" + ## arm-unknown-linux-gnueabihf Thanks and 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 -- 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 |
|
Re: [meta-rockchip][PATCH] rockchip-defaults: remove xf86-input-keyboard
Quentin Schulz
Hi Trevor,
On 11/19/22 14:45, Trevor Woerner wrote: xf86-input-keyboard was removed from openembedded-core at its commit:Reviewed-by: Quentin Schulz <foss+yocto@...> Thanks, Quentin |
|
Re: QA notification for completed autobuilder build (yocto-4.1.1.rc1)
Jing Hui Tham
Hi All,
toggle quoted message
Show quoted text
QA for yocto-4.11.rc1 is completed. This is the full report for this release: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults ======= Summary ======== No high milestone defects. No new issue found. Thanks, Jing Hui -----Original Message----- |
|
Re: systemd: how to enable auto-loading kernel modules
Mike Looijmans
Guess you'll have to provide more than just "It doesn't work" if you want any serious assistance.
toggle quoted message
Show quoted text
The source code would help. Also telling us whether the drivers actually probe if you load them manually using modprobe. Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijmans@... W: www.topic.nl Please consider the environment before printing this e-mail On 08-11-2022 07:58, Merlin via lists.yoctoproject.org wrote:
Thanks Mike for your advice! |
|
[meta-rockchip][PATCH] rockchip-defaults: remove xf86-input-keyboard
Trevor Woerner
xf86-input-keyboard was removed from openembedded-core at its commit:
f1d7c33b64 (xf86-input-keyboard: remove the recipe, 2022-07-20). Therefore remove it from the XSERVER definition. Signed-off-by: Trevor Woerner <twoerner@...> --- conf/machine/include/rockchip-defaults.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/conf/machine/include/rockchip-defaults.inc b/conf/machine/include/rockchip-defaults.inc index ca94249..3ce2e24 100644 --- a/conf/machine/include/rockchip-defaults.inc +++ b/conf/machine/include/rockchip-defaults.inc @@ -15,7 +15,6 @@ XSERVER = " \ xf86-video-modesetting \ xf86-input-evdev \ xf86-input-mouse \ - xf86-input-keyboard \ " # misc -- 2.36.0.rc2.17.g4027e30c53 |
|
Re: [yocto-autobuilder-helper][langdale] config.json: don't run the meta-agl-core test
Steve Sakoman
On Fri, Nov 18, 2022 at 5:08 AM Alexander Kanavin
<alex.kanavin@...> wrote: No, master is supported. Steve On Fri, 18 Nov 2022 at 15:28, Steve Sakoman <steve@...> wrote: |
|
Re: [yocto-autobuilder-helper][langdale] config.json: don't run the meta-agl-core test
Alexander Kanavin
Does this mean that master should be excluded too?
toggle quoted message
Show quoted text
Alex On Fri, 18 Nov 2022 at 15:28, Steve Sakoman <steve@...> wrote:
|
|
[yocto-autobuilder-helper][langdale] config.json: don't run the meta-agl-core test
Steve Sakoman
langdale isn't currently supported on any branch of meta-agl
Signed-off-by: Steve Sakoman <steve@...> --- config.json | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/config.json b/config.json index da87a2d..27283c9 100644 --- a/config.json +++ b/config.json @@ -403,23 +403,6 @@ "SANITYTARGETS" : "core-image-sato:do_testsdk" } }, - "meta-agl-core" : { - "NEEDREPOS" : ["poky", "meta-agl"], - "ADDLAYER" : [ - "${BUILDDIR}/../meta-agl/meta-agl-core" - ], - "DISTRO" : "poky-agl", - "BUILDINFO" : true, - "BUILDHISTORY" : true, - "PACKAGE_CLASSES" : "package_rpm", - "extravars" : [ - "AGL_FEATURES = 'aglcore'" - ], - "step1" : { - "MACHINE": "qemux86-64", - "BBTARGETS": "agl-image-core-autobuilder" - } - }, "meta-aws" : { "NEEDREPOS" : ["poky", "meta-openembedded", "meta-aws"], "ADDLAYER" : [ -- 2.25.1 |
|
Re: source-less python
Josef Holzmayr
It can always be added if is is found useful and robust. We tend to be careful about taking things into core layers as long as those two concerns, plus the maintenance commitment are not clear. Technical debt is a real problem. On Thu, Nov 17, 2022 at 2:05 PM Yishai Jaffe <yishai1999@...> wrote:
|
|
Re: Image dependent variables/files in included recipes
Josef Holzmayr
For the record - Yocto chant #1: Recipe data is local - configuration data is global. On Thu, Nov 17, 2022 at 4:30 PM Quentin Schulz via lists.yoctoproject.org <quentin.schulz=theobroma-systems.com@...> wrote: Hi Maik, |
|
Re: Image dependent variables/files in included recipes
Quentin Schulz
Hi Maik,
On 11/17/22 16:22, Maik Vermeulen wrote: Hi,Development vs production is solved by using different distros. You can then have the same recipe but with different files (see (DISTRO)OVERRIDES mechanism for SRC_URI file:// files, c.f. https://summit.yoctoproject.org/media/yocto-project-summit-2022-05/submissions/SCYYWD/resources/Demystifying_the_OVERRIDES_mec_2lZOP3n.pdf) and/or different variables via FOO:dev-distro or FOO:append:dev-distro for example. You could also have different recipes both PROVIDES'ing the same virtual recipe and then have PREFERRED_PROVIDER_my-recipe = "my-recipe-dev" in your dev-distro.conf file. Two distros is usually overkill when you have very small and non-invasive differences between your dev and prod images (e.g. an additional package, or a lone package that needs to be slightly different). In that scenario, a "drity" solution is to have two recipes and have the final image pick the appropriate package. But this quickly does not scale well once you have recipes/packages depending on those or if you have more than two flavors to support. The best practice is to use two distros. Cheers, Quentin |
|