Re: [yocto] How to enable preempt-rt in Yocto Zeus or Warrior?

2020-07-28 Thread Scott Whitney
-s fsl-imx8qm-var-spear-${DEFAULT_DTB}.dtb fsl-imx8qm-var-spear.dtb } COMPATIBLE_MACHINE = "(mx8)" EXTRA_OEMAKE_append_mx8 = " ARCH=arm64" Scott D. Whitney [cid:image003.png@01D664C9.78C615A0] s...@inea.com<mailto:s...@inea.com>| T: 781-801-1152| F: 781-801-110

Re: [yocto] How to enable preempt-rt in Yocto Zeus or Warrior?

2020-07-28 Thread Scott Whitney
sage- From: Zoran Stojsavljevic Sent: Tuesday, July 28, 2020 10:05 AM To: Scott Whitney Cc: Bruce Ashfield ; yo...@yoctoproject.org Subject: Re: [yocto] How to enable preempt-rt in Yocto Zeus or Warrior? Hello Scott, I have a bit of a different idea about the whole YOCTO process. Let me sug

Re: [yocto] How to enable preempt-rt in Yocto Zeus or Warrior?

2020-07-28 Thread Scott Whitney
1-1108| www.inea.com<http://www.inea.com/> From: Bruce Ashfield Sent: Monday, July 27, 2020 10:04 PM To: Scott Whitney Cc: yo...@yoctoproject.org Subject: Re: [yocto] How to enable preempt-rt in Yocto Zeus or Warrior? On Mon, Jul 27, 2020 at 3:51 PM Scott Whitney mailto:s...@inea.com

[yocto] How to enable preempt-rt in Yocto Zeus or Warrior?

2020-07-27 Thread Scott Whitney
Hi Yocto group, I'm working with a newly-released copy of Yocto Zeus from Variscite for the i.MX8MM Mini, although the same option seems to apply to the previous Yocto Warrior. I understand that a Linux real-time kernel can be enabled by setting LINUX_KERNEL_TYPE = "preempt-rt". Where does

Re: [yocto] Adding libgpiod to Yocto Warrior 4.19.35 image?

2020-07-21 Thread Scott Whitney
Thanks, Quentin, I'll take a look at Jozef's videos as time permits. Getting lots of time pressure to get something working, and even our SoM vendor provides examples that modify local.conf... so much for helping us with the "right" way to do things. I appreciate your advice, and can now see

Re: [yocto] Adding libgpiod to Yocto Warrior 4.19.35 image?

2020-07-20 Thread Scott Whitney
Thanks for the tip, Joel. I'm still new to this. How should libgpiod-dev be added to my local.conf? Do I just need to add it to EXTRA_IMAGE_FEATURES? Do I still need to add libgpiod to IMAGE_INSTALL_append? Your help is greatly appreciated! -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all

Re: [yocto] Adding libgpiod to Yocto Warrior 4.19.35 image?

2020-07-17 Thread Scott Whitney
I should also note that gpioinfo and other tools from libgpiod run as expected on the target, and that /usr/lib has libgpiod.so.2 (libgpiod.so.2.1.1) in it. I would also like the header file to be put into the image so that I can build/run executables using libgpiod on the target.

[yocto] Adding libgpiod to Yocto Warrior 4.19.35 image?

2020-07-17 Thread Scott Whitney
I'm using Yocto Warrior 4.19.35 on a Variscite i.MX8M MINI SoM. I need to be able to respond to some interrupt events on GPIO events from userspace. I saw on kernel.org that the sysfs ABI is being deprecated, and the recommendation is to use libgpiod.

[yocto] How to configure scheduler to SCHED_FIFO

2020-07-16 Thread Scott Whitney
In Yocto Warrior, it appears that the default scheduler configuration is SCHED_NORMAL. We are trying to do some time-critical I/O, and it seems like we may be missing some data. I'd like to increase the thread priority for our data acquisition, but am not sure how to do so. Is it possible to