Re: [yocto] Memory requirements for building images with different architectures

2023-09-08 Thread Leon Woestenberg
> My oldest NVME dedicated for OE builds, bought 2019-11-24 > https://www.gigabyte.com/SSD/AORUS-NVMe-Gen4-SSD-2TB#kf > with 3600TBW, shows 60% Estimated Remaining Life after around 21K running hours and started disconnecting under heavy load (not necessary issue caused by wear) about a year ago

Re: [yocto] Memory requirements for building images with different architectures

2023-09-08 Thread Leon Woestenberg
Hello Mohammed, On Fri, 8 Sep 2023 at 09:18, MOHAMMED HASSAN wrote: > My builds on an average take 15-20 mins with the build folder intact. > How much time do you think it will take on average with rm_work enabled? > Depends on what changed. If nothing changed, time remains the same, except

Re: [yocto] OTA Updates

2023-05-11 Thread Leon Woestenberg
Hello, we have implemented OTA based on OSTree, in a non-commercial no-license-fee setting, to update OTA over mobile (3G/4G) data connections. I remember the OTA server was really easy to setup. We let Yocto deploy directly to the OTA server, using CI/CD. Basically the server worked out of

Re: [yocto] OTA updates for Application Software

2023-04-21 Thread Leon Woestenberg
On Fri, Apr 21, 2023 at 5:53 AM MOHAMMED HASSAN wrote: > > I wanted to know if it is possible to update your application through OTA > updates. > If yes, then please share some documentation or some steps in achieving it. > Also note "ostree", which allows incremental updates and is especially

Re: [yocto] Give access token to yocto build. (pass environment variable to bitbake)

2023-04-14 Thread Leon Woestenberg
On Fri, Apr 14, 2023 at 9:24 AM Mikko Rapeli wrote: > > The environment variables and thus secrets are easily leaking into build > logs so I would not use them. > > Instead, I would use .netrc for git and anything using curl (http > fetcher). subversion caches passwords into ~/.subversion

Re: [yocto] Give access token to yocto build. (pass environment variable to bitbake)

2023-04-13 Thread Leon Woestenberg
Hello Philippe, On Thu, Apr 13, 2023 at 9:54 PM Philippe Lafontaine via lists.yoctoproject.org wrote: > I have a recipe that fetch a pre-built binary from a build machine using an > access token. Every developer will have different access token, for obvious > reason. Therefore, the token

Re: [yocto] Importance of ECC RAM on the build computer

2023-02-17 Thread Leon Woestenberg
Hello, Interesting question, and I especially would like to hear on the MTBF *measured* through the ECC detection algorithm. It can usually detect more errors than it can correct, and I wonder if the systems admin are notified when bitflips where detected. Regards, Leon. -- Leon Woestenberg

Re: [yocto] Disabling SSH by default (but keeping the service)

2022-10-13 Thread Leon Woestenberg
Hello Maik, On Thu, Oct 13, 2022 at 3:17 PM Maik Vermeulen wrote: > We tried two things to disable SSH by default in our image recipe: > However, both methods don't seem to work. Hmm, something else might override it elsewhere? I don't know. Seems like a similar question came up in

Re: [yocto] OS-less SDK

2022-04-29 Thread Leon Woestenberg
Hello Alessio, > On Fri, 29 Apr 2022, 13:52 Alessio Igor Bogani, > wrote: >> Is there a way to generate an SDK which contains the toolchain for >> bare-metal systems (i.e. MCU without operating system)? Good question. I know Xilinx has put effort to support their MCUs with Yocto. However,

Re: [yocto] Yocto Zeus -docker/PREEMPT_RT

2022-02-16 Thread Leon Woestenberg
options Docker depends on. Regards, -- Leon Woestenberg l...@sidebranch.com M: +31 6 472 30 372 Sidebranch Embedded Systems Eindhoven, The Netherlands http://www.sidebranch.com On Wed, Feb 16, 2022 at 1:15 PM Monsees, Steven C (US) via lists.yoctoproject.org wrote: > > > > I have 2

Re: [yocto] is there a viable YP-friendly risc-v dev kit?

2022-02-04 Thread Leon Woestenberg
he Rocket 64 bit RISC-V. Regards, Leon > > rday > > > > > -- -- Leon Woestenberg l...@sidebranch.com T: +31 40 711 42 76 M: +31 6 472 30 372 Sidebranch Embedded Systems Eindhoven, The Netherlands http://www.sidebranch.com -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

Re: [yocto] preempt-rt

2021-11-03 Thread Leon Woestenberg
kernel? Vendor kernel? Can you share the machine name? Might be supported already in a layer with -rt. Regards, Leon -- -- Leon Woestenberg l...@sidebranch.com T: +31 40 711 42 76 M: +31 6 472 30 372 Sidebranch Embedded Systems Eindhoven, The Netherlands http://www

Re: [yocto] yocto preempt-rt

2021-11-02 Thread Leon Woestenberg
On Tue, Nov 2, 2021 at 5:26 PM Bruce Ashfield wrote: > > Correct. > > The rt patches are already integrated on the branches that that recipe will > build out of the linux-yocto repository. > And adding to that, besides the Yocto maintained kernel, meta-intel has it's own kernel GIT repo/branch

Re: [yocto] yocto meta-intel preempt-rt

2021-11-02 Thread Leon Woestenberg
. Slightly off-topic, I moved away from PREEMPT_RT in favor of task isolation mode, where we use one CPU core in isolated single task mode, for *much* lower latencies than PREEMPT_RT can provide. -- Leon Woestenberg l...@sidebranch.com T: +31 40 711 42 76 M: +31 6 472 30 372 Sidebranch Embedded

Re: [yocto] bbappend usage

2021-10-25 Thread Leon Woestenberg
Hello Steve, Is the approach where you remove the recipes from the image an option? Is there a reason why you want to build the recipes that you do not want to appear in your image? Regards, Leon. -- Leon Woestenberg l...@sidebranch.com T: +31 40 711 42 76 M: +31 6 472 30 372 Sidebranch

Re: [yocto] Yocto build isnot Booting up on board zc702 #gatesgarth #linux #yocto

2021-06-29 Thread Leon Woestenberg
parate bug report." I can imagine the same problem would occur on ZC702 (single-core Zynq). I have posted a few messages with meta-xilinx in the subject on how I had to bring Yocto to the ZCU102. Regards, Leon. -- Leon Woestenberg l...@sidebranch.com M: +31 6 472 30 372 Sidebranch Embe

[yocto] Use of SDK for building images?

2021-06-17 Thread Leon Woestenberg
Hello all, In some other build systems the generated SDK can be used to also generate an image. Thus the SDK allows development against the target sysroot using the prebuilt host and target tools, as well as (re)generate the target images in quick iteration cycles. What approaches are

Re: [yocto] PREEMPT_RT patches

2021-05-19 Thread Leon Woestenberg
Hello Steven, Yocto does support switching kernels and configurations, so yes Yocto does "support" it. However, providing a well-tested PREEMPT_RT kernel might be more an architectural meta layer topic. We have been using the Intel provided PREEMPT_RT kernel for x86 with good success in a

Re: [yocto] how often would one use "VAR_someoverride_append = ..."?

2021-03-09 Thread Leon Woestenberg
Hello Robert, all, On Tue, Mar 9, 2021 at 3:39 PM Robert P. J. Day wrote: > is there an actual practical usage of, say: > > VAR_x86_append = "huh" > $grep -re '[A-Z_]\+_[a-z0-9]\+_append' poky/meta* poky/meta/recipes-support/gmp/gmp_6.2.0.bb:EXTRA_OECONF_mipsarchr6_append = "

Re: [yocto] [meta-virtualization]: dunfell docker run issues

2021-02-06 Thread Leon Woestenberg
Marek, This might indeed indicate a configuration mismatch. Lots of stuff comes up on Google that you might want to check. One is a change in systemd that affects this. Sorry I don't have a link ready anymore. Regards, Leon. -- Leon Woestenberg l...@sidebranch.com T: +31 40 711 42 76 M

Re: [yocto] Appropriate patch posting location?

2021-02-05 Thread Leon Woestenberg
Hi Kent, On Fri, Feb 5, 2021 at 5:14 PM Kent Dorfman wrote: > > Is there not a separate list address to post patches, so as to keep > discussion and patch lists separate? > > It can be an issue for folks who are on web mailers that make you > delete messages one-at-a-time ie "traditional

Re: [yocto] #yocto CORE_IMAGE_EXTRA_INSTALL Where can I find a list of valid package names?

2021-02-05 Thread Leon Woestenberg
Hello, On Fri, Feb 5, 2021 at 5:27 PM Yi Fan Yu wrote: > > new here, pointing out of the obvious? website > > https://layers.openembedded.org/ > What's obvious? There are no package names there, only recipe names that I am aware of. So for the non-obvious packages it still is a bit of

Re: [yocto] Building eSDK fails #sdk

2021-02-05 Thread Leon Woestenberg
Hello Alexander, On Thu, Feb 4, 2021 at 6:43 PM wrote: > > <...> trying to build the eSDK with bitbake core-image-base -c > populate_sdk_ext results in this error: > Collected errors: > * opkg_prepare_url_for_install: Couldn't find anything to satisfy > 'cppzmq-dev'. > > The listed Packeges

Re: [yocto] Can't Build Read-Only RootFS

2021-01-15 Thread Leon Woestenberg
Hello Dave, On Fri, Jan 15, 2021 at 10:40 PM Dave Tucker wrote: > ERROR: core-image-minimal-1.0-r0 do_rootfs: The following packages could > not be configured offline and rootfs is read-only: ['sysvinit-inittab'] > I've not been able to find any information on this issue and am not sure > how

Re: [yocto] cpio issues

2021-01-15 Thread Leon Woestenberg
Hello Damien, On Fri, Jan 15, 2021 at 3:48 PM Damien LEFEVRE wrote: > > How can I keep the initramfs with cpio, but disable cpio archiving for the > rootfs which I don't need or use for anything? > I have this in my local.conf: IMAGE_FSTYPES = "tar ext4" INITRAMFS_FSTYPES = "cpio.xz" It does

Re: [yocto] #yocto #sdk How to add *-dev packages to sdk installer and not to target rootfs

2020-10-05 Thread Leon Woestenberg
Hello Henrik, On Mon, Oct 5, 2020 at 8:18 AM Henrik Haugaard Jensen wrote: > > It would be nice if *-dev packages could be specified to included in the > sdk sysroots only since we do not need them in the taget rootfs. > > As far as I known: - The -dev packages do not end up in target rootfs,

Re: [yocto] SIGINT Issues with Zeus Migration

2020-09-25 Thread Leon Woestenberg
and? >> >> >> >> >> >> Yes, I do. Then, the ping command should be issued again, and my best >> >> >> guess is, it should terminate the ping process. >> >> >> >> >> >> Leon, you should try to w

Re: [yocto] SIGINT Issues with Zeus Migration

2020-09-25 Thread Leon Woestenberg
Hi Aashik, Zoran, On Fri, Sep 25, 2020 at 10:02 AM Zoran wrote: > > > ...that I am not able to send SIGINT to commands such as Ping, tail etc.\ Aashik, how are you sending the signal? Using CTRL-C or using the "kill" command? > > Please, do the following: issue in zeus xterm the command: man

Re: [yocto] #sdk #yocto Appears SDK searching host for files that are only present on target side

2020-09-11 Thread Leon Woestenberg
$OECORE_NATIVE_SYSROOT/usr/share/cmake/OEToolchainConfig.cmake -DCMAKE_VERBOSE_MAKEFILE=1 . .. && \ make) (I am using gcc, I I will verify this setup if I switch to clang.) Regards, -- Leon Woestenberg l...@sidebranch.com M: +31 6 472 30 372 Sidebranch Embedded Systems Eindhoven,

Re: [yocto] meta-intel: Override SERIAL_CONSOLES variable

2020-04-10 Thread Leon Woestenberg
Hi all, On Fri, Apr 10, 2020 at 8:56 AM Marek Belisko wrote: > > Hi, > > in meta-intel in machine configuration SERIAL_CONSOLES are defined as > : SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyS2" > For a more generic solution, could this be made a weak assignment? I am on a SMARC

Re: [yocto] dev-manual: differing versions of same recipe in different priority layers?

2020-02-13 Thread Leon Woestenberg
Hello Robert, On Thu, Feb 13, 2020 at 3:14 PM rpj...@crashcourse.ca wrote: > in the YP dev manual, section 3.1.6, there is a maddeningly vague > note: > > "It is possible for a recipe with a lower version number PV in a layer > that has a higher priority to take precedence." > > so does it

Re: [yocto] clarifying "PROVIDES =" versus "PROVIDES +=" (pedantic stuff)

2020-02-08 Thread Leon Woestenberg
ot;pcre" means "I provide both "libpcre" as well as "pcre". I am assuming that PROVIDES = "${PN}" is already set by a core BitBake rule somewhere. (Didn't check...) So I think it might be harmful to replace it with "=", as it would no longer prov

Re: [yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Leon Woestenberg
On Thu, Nov 28, 2019 at 10:01 AM Josef Holzmayr < holzm...@rsi-elektrotechnik.de> wrote: > On Thu, Nov 28, 2019 at 09:37:12AM +0100, Leon Woestenberg wrote: > > > The .wic image type however, builds an image from *images* rather than > > packages. > > Thats *almos

Re: [yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Leon Woestenberg
> Au contraire :) It is the real issue because neither 1) nor 2) is the > correct way, and I pretty much explained why that is. So let's then consider the case that the WKS is machine specific. I am fine with that. - Does Yocto support building multiple images from one configuration? - (How)

Re: [yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Leon Woestenberg
On Thu, Nov 28, 2019 at 12:41 PM Josef Holzmayr wrote: > On Thu, Nov 28, 2019 at 12:11:52PM +0100, Leon Woestenberg wrote: > > Let me then first describe the issue I am having, which I think > > results from my misunderstanding then. > > > > I would like to pack

Re: [yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Leon Woestenberg
Let me then first describe the issue I am having, which I think results from my misunderstanding then. I would like to package a UEFI bootloader (GRUB), bzImage and initramfs.cpio.gz into an FAT partition using WIC. 1) Should I adapt my existing my-initramfs recipe as follows: IMAGE_FSTYPES +=

[yocto] Architecture of .wic approach; image of images

2019-11-28 Thread Leon Woestenberg
Hello all, What is the intended approach of building images using WIC? Most image types (except .wic) build a (root or initial ram) filesystem from *packages*, then create the respective archive or filesystem from it. The .wic image type however, builds an image from *images* rather than

Re: [yocto] Memory Tests in U-Boot

2019-11-23 Thread Leon Woestenberg
test with below algorithms: > > > > * Checkerboard Test > > * March C- Test > > * Neighborhood Pattern Sensitive Fault > > > We found stressapptest (by Google) the most reliable test for DDR calibration problems. We have seen unreliable systems pass other memory tests