Re: hard_preempt_disable inconsistent

2022-04-18 Thread Greg Gallagher via Xenomai
On Mon, Apr 18, 2022 at 7:21 PM Yunjie Gu via Xenomai wrote: > Hi All, > > I'm trying to use xenomai on linux 5.4. I previously used xenomai 3.0 on > linux 4.9 and xenomai 3.1 on linux 4.19 and both were fine. However when I > use xenomai 3.2.1 on linux 5.4 there are errors in compile. One of

Re: Bug in xenomai 3.2.x on ARM

2022-03-22 Thread Greg Gallagher via Xenomai
On Tue, Mar 22, 2022 at 12:49 PM François Legal via Xenomai < xenomai@xenomai.org> wrote: > Hello, > > trying to port a running Xenomai 3.1.x/Linux 4.4.x system to Xenomai > 3.2.x/Linux 4.4.x running on Zynq7000, I found a (maybe) bug in intr.c > > In xnintr_attach, the call to

Re: [PATCH] ipipe: noarch: Fix handling of PCIe MSI interrupts for dwc PCIe controller

2022-03-21 Thread Greg Gallagher via Xenomai
On Mon, Mar 21, 2022 at 8:43 AM Jan Kiszka wrote: > On 18.03.22 17:53, Scott Reed wrote: > > Handling of PCIe MSI interrupts resulted in system > > hanging or high latencies. > > > > Fix is to replaced missed call to generic_handle_irq with > > ipipe_handle_irq(). > > > > Signed-off-by: Scott

Re: System hang on first PCIe MSI interrupt with I-pipe kernels newer than 4.14.62

2022-03-17 Thread Greg Gallagher via Xenomai
On Thu, Mar 17, 2022 at 11:25 AM Scott Reed via Xenomai wrote: > > > On 3/16/22 11:35 AM, Jan Kiszka wrote: > > On 16.03.22 10:58, Scott Reed wrote: > >> > >> > >> On 3/15/22 9:42 AM, Scott Reed via Xenomai wrote: > >>> > >>> > >>> On 3/15/22 7:32 AM, Jan Kiszka wrote: > On 14.03.22 18:45,

Re: [PATCH] arm64: ipipe: Fix section mismatch of __ipipe_tsc_register

2022-03-15 Thread Greg Gallagher via Xenomai
On Tue, Mar 15, 2022 at 3:00 PM Jan Kiszka wrote: > From: Jan Kiszka > > The kernel warns: > > The function dw_apb_clocksource_register() references > the function __init __ipipe_tsc_register(). > This is often because dw_apb_clocksource_register lacks a __init > annotation or the annotation of

Re: [PATCH] arm64: ipipe: Make erratum_1418040_thread_switch compatible with I-pipe

2022-03-15 Thread Greg Gallagher via Xenomai
On Tue, Mar 15, 2022 at 2:56 PM Jan Kiszka wrote: > From: Jan Kiszka > > First of all, this erratum hook is called from __switch_to, thus > potentially also from the primary domain. Some of the functions it calls > check if preemption was disabled under Linux - which may not be the case > when

Re: ipipe-5.4: arm64 regression

2022-03-14 Thread Greg Gallagher via Xenomai
On Mon, Mar 14, 2022 at 8:33 AM Jan Kiszka wrote: > On 04.03.22 00:45, Greg Gallagher wrote: > > > > > > On Thu, Mar 3, 2022 at 1:20 PM Jan Kiszka > <mailto:jan.kis...@siemens.com>> wrote: > > > > On 02.03.22 16:44, Greg Gallagher wrote: >

Re: ipipe-5.4: arm64 regression

2022-03-03 Thread Greg Gallagher via Xenomai
On Thu, Mar 3, 2022 at 1:20 PM Jan Kiszka wrote: > On 02.03.22 16:44, Greg Gallagher wrote: > > > > > > On Wed, Mar 2, 2022 at 1:48 AM Jan Kiszka > <mailto:jan.kis...@siemens.com>> wrote: > > > > Hi Greg, > > > > something i

Re: ipipe-5.4: arm64 regression

2022-03-02 Thread Greg Gallagher via Xenomai
On Wed, Mar 2, 2022 at 1:48 AM Jan Kiszka wrote: > Hi Greg, > > something is going wrong on arm64 with latest ipipe version, see e.g. > > https://source.denx.de/Xenomai/xenomai-images/-/jobs/398455/raw > (same thing seen on HiKey as well) > > Could you have a look? > > Thanks, > Jan > > -- >

Re: [PATCH] ipipe: Fix ipipe level irq end

2022-02-17 Thread Greg Gallagher via Xenomai
On Thu, Feb 17, 2022 at 10:12 AM Jan Kiszka wrote: > On 17.02.22 15:11, Greg Gallagher wrote: > > > > > > On Thu, Feb 17, 2022 at 4:15 AM Jan Kiszka > <mailto:jan.kis...@siemens.com>> wrote: > > > > On 17.02.22 09:48, Gunter Grau via

Re: [PATCH] ipipe: Fix ipipe level irq end

2022-02-17 Thread Greg Gallagher via Xenomai
On Thu, Feb 17, 2022 at 4:15 AM Jan Kiszka wrote: > On 17.02.22 09:48, Gunter Grau via Xenomai wrote: > > The following commit in the vanilla kernel introduced > > a check for the cached interrupt mask flag in mask_irq(): > > > > bf22ff45bed6 ("genirq: Avoid unnecessary low level irq function

Re: Issue with linux threaded level triggered interrupts

2022-02-10 Thread Greg Gallagher via Xenomai
On Thu, Feb 10, 2022 at 10:34 AM Gunter Grau via Xenomai < xenomai@xenomai.org> wrote: > Hi, > > during our development on imx6 with kernel 5.4 and Xenomai 3.1 we > discovered complete system stalls when using phylib with phy irqs level > triggerd. This irq is connected on the imx-gpio. > >

Re: [PATCH] ipipe: Fix ipipe level irq end

2022-02-10 Thread Greg Gallagher via Xenomai
On Thu, Feb 10, 2022 at 10:35 AM Gunter Grau via Xenomai < xenomai@xenomai.org> wrote: > The following commit in the vanilla kernel introduced > a check for the cached interrupt mask flag in mask_irq(): > > bf22ff45bed6 ("genirq: Avoid unnecessary low level irq function calls") > > This means if

Re: IMX8M Nano crash

2022-01-11 Thread Greg Gallagher via Xenomai
On Tue, Jan 11, 2022 at 12:09 PM Pierre FICHEUX via Xenomai < xenomai@xenomai.org> wrote: > Hi, > > What is the kernel version provided by NXP ? Is 5.4.152 an updated version > ? > > Le mar. 11 janv. 2022 à 16:37, Kristiansen, Morten (INT) via Xenomai < > xenomai@xenomai.org> a écrit : > > > I

Re: spi-bcm2835 for rtdm

2021-12-25 Thread Greg Gallagher via Xenomai
On Sat, Dec 25, 2021 at 5:35 AM Yunjie Gu via Xenomai wrote: > Hi Everyone, > > I'm trying to use rtdm spi on raspberry pi, and I find something confusing. > I could see there are two spi-bcm2835.c files in the kernel source (after > xenomai patching), one with rtdm, and one native. But these

Re: IRQ not raised switching from 4.4.x to 4.19.x

2021-11-30 Thread Greg Gallagher via Xenomai
On Tue, Nov 30, 2021 at 9:59 AM François Legal via Xenomai < xenomai@xenomai.org> wrote: > So I guess I have the beginning of the explanation. > By checking the GIC registers more thoroughly, I found out the trigger > type was not set properly (my device uses edge interrupts, and GIC was > setup

Re: [RESEND PATCH] arm: ipipe: omap-gpio: Fix interrupts delivering

2021-10-03 Thread Greg Gallagher via Xenomai
On Sun, Sep 26, 2021 at 7:59 AM Greg Gallagher wrote: > > > On Sun, Sep 26, 2021 at 6:07 AM Dario Binacchi wrote: > >> If you set the irq trigger as edge rising or falling the interrupts are >> no longer delivered to the upper layers. The gpiokeys driver, for >&

Re: [RESEND PATCH] arm: ipipe: omap-gpio: Fix interrupts delivering

2021-09-26 Thread Greg Gallagher via Xenomai
On Sun, Sep 26, 2021 at 6:07 AM Dario Binacchi wrote: > If you set the irq trigger as edge rising or falling the interrupts are > no longer delivered to the upper layers. The gpiokeys driver, for > example, no longer detects the change in the state of the pins mapped > to the buttons. > > Fixes:

Re: Execution time on Xenomai user thread is high

2021-09-13 Thread Greg Gallagher via Xenomai
On Mon, Sep 13, 2021 at 1:49 PM Rajesh Venkataraman via Xenomai < xenomai@xenomai.org> wrote: > -- Forwarded message - > From: Rajesh Venkataraman > Date: Mon, Sep 13, 2021 at 10:41 AM > Subject: Re: Execution time on Xenomai user thread is high > To: Gre

Re: Execution time on Xenomai user thread is high

2021-09-13 Thread Greg Gallagher via Xenomai
On Mon, Sep 13, 2021 at 1:08 PM Rajesh Venkataraman via Xenomai < xenomai@xenomai.org> wrote: > Hi, >We recently ported our application to Linux(4.19.25)/Xenomai from RTOS. > We have time critical routines in our application. This routine is run in > Xenomai user threads with the highest

Re: Can I use ftrace to analysis cobalt kernel

2021-08-24 Thread Greg Gallagher via Xenomai
On Tue, Aug 24, 2021 at 9:22 AM Jan Kiszka via Xenomai wrote: > On 24.08.21 14:48, Ivan Jiang via Xenomai wrote: > > Dear guys: > > > > > > > >Can I use ftrace to analysis the kernel with patch of ipipe. > > > >I find if use function_graph whe kernel will crash like below: > > >

Re: I-pipe ARM64 on Armv8 NXP LS1028A

2021-07-11 Thread Greg Gallagher via Xenomai
On Sun, Jul 11, 2021 at 11:50 PM chensong_2000--- via Xenomai < xenomai@xenomai.org> wrote: > i had similar experience, below is my fix. > > 在 2021/7/12 上午12:37, Joe Lee via Xenomai 写道: > > Hi Pals, > > > > I applied the ipipe-core-5.4.119-arm64-2.patch on an NXP LS1028A, a > > 64-bit Armv8

Re: ipipe: IRQ not received on i.MX8 (linux-imx)

2021-07-05 Thread Greg Gallagher via Xenomai
On Mon, Jul 5, 2021 at 7:02 AM Jan Kiszka wrote: > On 05.07.21 09:10, Pierre-Loup Gosse via Xenomai wrote: > > Hi, > > > > For a client project I try to port Xenomai 3.1 + I-pipe to the kernel > > linux-imx 5.4.70 for arm64 (i.MX8 Mini). I adapted the I-pipe patch > > (5.4.72-arm64). The kernel

Re: [PATCH] ipipe: Avoid recursive faults on root work overflow

2021-07-01 Thread Greg Gallagher via Xenomai
On Thu, Jul 1, 2021 at 5:02 AM Jan Kiszka wrote: > On 01.07.21 09:19, Jan Kiszka via Xenomai wrote: > > From: Jan Kiszka > > > > On some archs, WARN* is implemented by triggering a fault. This can > > cause troubles if we are already in a fault and try to submit too much > > root work. Convert

Re: Raspberry pi 4 second monitor problem on xeno3

2021-06-28 Thread Greg Gallagher via Xenomai
and there is: > > [ 5.307] (EE) open > /dev/dri/card0: No such file or directory > > does that tells anything? > > Il > 28.06.2021 14:17 Greg Gallagher ha scritto: > > > On Mon, Jun 28, 2021 at > 8:12 AM davide via Xenomai wrote: > > > >> kernel comes fr

Re: Raspberry pi 4 second monitor problem on xeno3

2021-06-28 Thread Greg Gallagher via Xenomai
at /dev/random > > /dev/fb1 > the second screen gets filled.. > it sounds odd to me, because > that means framebuffer is open and working. > So, what's going on here? > > Il 28.06.2021 13:33 Greg Gallagher ha scritto: > > > It's possible the > drivers aren't working in the ke

Re: Raspberry pi 4 second monitor problem on xeno3

2021-06-28 Thread Greg Gallagher via Xenomai
On Mon, Jun 28, 2021 at 4:30 AM davide via Xenomai wrote: > > Hi, Found out it's using iPipe here. > Is there something I can look > for to understand why it doesn't work? > > Il 26.06.2021 15:09 Greg > Gallagher ha scritto: > > > On Sat, Jun 26, 2021 at 9:06

Re: Raspberry pi 4 second monitor problem on xeno3

2021-06-26 Thread Greg Gallagher via Xenomai
On Sat, Jun 26, 2021 at 9:06 AM davide via Xenomai wrote: > > > Hi, it is the first time I ask for an help on this mailing list. > My > setup: > -Raspberry Pi 4, 4gb ram (forced to 3gb) running debian buster > 64bit. > > pi@picat:~ $ uname -a > Linux picat 4.19.126-v8-xeno3+ #1 SMP > PREEMPT Wed

Re: arm/arm64 ipipe performance

2021-05-25 Thread Greg Gallagher via Xenomai
On Tue, May 25, 2021 at 6:43 AM liandao wrote: > hi greg gallagher, > is this mean:the ipipe-core-5.4.119-arm64-2 released on 5/23 also > should turn off ftrace when config kernel? > > On 5/19/21, Greg Gallagher via Xenomai wrote: > > Hi Everyone, > >There's

Re: arm/arm64 ipipe performance

2021-05-18 Thread Greg Gallagher via Xenomai
On Tue, May 18, 2021 at 2:49 PM Jan Kiszka wrote: > On 18.05.21 20:28, Greg Gallagher via Xenomai wrote: > > Hi Everyone, > >There's been a noticeable slow down in the arm and arm64 latency of > > late. I tracked the issue > > down to the tracing infrastr

arm/arm64 ipipe performance

2021-05-18 Thread Greg Gallagher via Xenomai
Hi Everyone, There's been a noticeable slow down in the arm and arm64 latency of late. I tracked the issue down to the tracing infrastructure. For now if you hit this issue, disable ftrace. Once this is done the latency numbers look much better. I'm currently working on resolving the issue.

Re: [PATCH] ipipe_tsc: Use WRTIE_ONCE for updating last_tsc

2021-05-13 Thread Greg Gallagher via Xenomai
On Tue, May 11, 2021 at 11:31 AM Greg Gallagher wrote: > > > On Tue, May 11, 2021 at 11:25 AM Jan Kiszka > wrote: > >> On 11.05.21 16:57, Grau, Gunter via Xenomai wrote: >> >> -Original Message- >> >> From: Gunter Grau >> >

Re: [PATCH] arm_global_timer: Use 64 Bit hw counter for ipipe_tsc

2021-05-13 Thread Greg Gallagher via Xenomai
On Mon, Mar 22, 2021 at 7:48 AM Grau, Gunter wrote: > > > > From: Greg Gallagher > > Sent: Freitag, 5. März 2021 13:57 > > To: Grau, Gunter > > Cc: Jan Kiszka ; xenomai@xenomai.org > > Subject: Re: [PATCH] arm_global_timer: Use 64 Bit hw counter for >

Re: [PATCH] ipipe_tsc: Use WRTIE_ONCE for updating last_tsc

2021-05-11 Thread Greg Gallagher via Xenomai
On Tue, May 11, 2021 at 11:25 AM Jan Kiszka wrote: > On 11.05.21 16:57, Grau, Gunter via Xenomai wrote: > >> -Original Message- > >> From: Gunter Grau > >> Sent: Freitag, 5. März 2021 09:22 > >> To: xenomai@xenomai.org > >> Cc: r...@xenomai.org; Grau, Gunter > >> Subject: [PATCH]

Re: How to solve "implicit declaration of function '__ipipe_tsc_register'"

2021-05-02 Thread Greg Gallagher via Xenomai
On Fri, Apr 30, 2021 at 6:26 AM Fangsuo Wu via Xenomai wrote: > Hi, I'm a beginner of xenomai. After I applied > the ipipe-core-4.19.55-arm-5.patch to my 4.19 linux kernel, I found the > below compiling error: > > > > > >

ARM jitter issues

2021-04-27 Thread Greg Gallagher via Xenomai
Hi, I've tested both arm 4.19.y-cip and 5.4.y, and have found better numbers when running the latency test. I used a zynq-7000 board and I'm still testing on beagleboard black. If anyone would like to test please use the ipipe-arm tree on the ipipe/5.4.y branch or ipipe/4.19.y-cip branch. If

Re: Stuck qemuarm target in xenomai-images

2021-04-16 Thread Greg Gallagher via Xenomai
On Fri, Apr 16, 2021 at 2:50 AM Jan Kiszka wrote: > On 15.04.21 14:54, Greg Gallagher wrote: > > > > > > On Thu, Apr 15, 2021 at 8:49 AM Jan Kiszka > <mailto:jan.kis...@siemens.com>> wrote: > > > > Hi Greg, > > > > I debug

Re: ipipe 5.4.107 / 5.4.93 build issues on arm32

2021-04-15 Thread Greg Gallagher via Xenomai
On Thu, Apr 15, 2021 at 8:44 AM Jan Kiszka wrote: > On 15.04.21 14:09, Greg Gallagher wrote: > > > > > > On Thu, Apr 15, 2021 at 2:59 AM Jan Kiszka > <mailto:jan.kis...@siemens.com>> wrote: > > > > On 15.04.21 07:35, Greg Gallagher via Xenomai

Re: Stuck qemuarm target in xenomai-images

2021-04-15 Thread Greg Gallagher via Xenomai
On Thu, Apr 15, 2021 at 8:49 AM Jan Kiszka wrote: > Hi Greg, > > I debugged a bit between meetings: > > (gdb) > 335 rc = dev->set_next_event((unsigned long) clc, dev); > > Here we crash in early boot because set_next_event is NULL: > > (gdb) p *dev > $4 = {event_handler = 0xc03cc2e8

Re: ipipe 5.4.107 / 5.4.93 build issues on arm32

2021-04-15 Thread Greg Gallagher via Xenomai
On Thu, Apr 15, 2021 at 2:59 AM Jan Kiszka wrote: > On 15.04.21 07:35, Greg Gallagher via Xenomai wrote: > > On Wed, Apr 14, 2021 at 7:43 PM steve freyder wrote: > > > >> On 4/14/2021 4:50 PM, Greg Gallagher via Xenomai wrote: > >> > >> On Wed

Re: ipipe 5.4.107 / 5.4.93 build issues on arm32

2021-04-14 Thread Greg Gallagher via Xenomai
On Wed, Apr 14, 2021 at 7:43 PM steve freyder wrote: > On 4/14/2021 4:50 PM, Greg Gallagher via Xenomai wrote: > > On Wed, Apr 14, 2021 at 4:52 PM Thomas Petazzoni > wrote: > > > On Wed, 14 Apr 2021 14:41:29 -0400 > Greg Gallagher wrote: > > > Ipipe 5

Re: ipipe 5.4.107 / 5.4.93 build issues on arm32

2021-04-14 Thread Greg Gallagher via Xenomai
On Wed, Apr 14, 2021 at 4:52 PM Thomas Petazzoni < thomas.petazz...@bootlin.com> wrote: > On Wed, 14 Apr 2021 14:41:29 -0400 > Greg Gallagher wrote: > > > Ipipe 5.4 and xenomai 3.1 are compatible, this is my mistake, I’ll fix up > > and generate a new patch once the la

Re: ipipe 5.4.107 / 5.4.93 build issues on arm32

2021-04-14 Thread Greg Gallagher via Xenomai
On Wed, Apr 14, 2021 at 2:35 PM Thomas Petazzoni via Xenomai < xenomai@xenomai.org> wrote: > Hello, > > On Wed, 14 Apr 2021 15:49:45 +0200 > Jan Kiszka wrote: > > > Does > > > https://source.denx.de/Xenomai/xenomai/-/commit/18ab00b7b0c2c2d0ed1f560cf4fb4161f6e9bde6 > > help? Or did you build a

Re: ipipe 5.4.107 / 5.4.93 build issues on arm32

2021-04-14 Thread Greg Gallagher via Xenomai
On Wed, Apr 14, 2021 at 8:43 AM Thomas Petazzoni via Xenomai < xenomai@xenomai.org> wrote: > Hello, > > I just tested the following ipipe patches on arm32: > > > https://xenomai.org/downloads/ipipe/v5.x/arm/ipipe-core-5.4.107-arm-1.patch > >

Re: arm32: 5.4.107 ipipe patch - bad kernel version choice ;)

2021-04-04 Thread Greg Gallagher via Xenomai
On Sat, Apr 3, 2021 at 8:16 AM Robert Berger wrote: > Hi Greg, > > My comments are in-line. > > On 03/04/2021 15:02, Greg Gallagher wrote: > > > > Thanks for testing, I can update to kernel version 5.4.109. > > Yes please. And please let me know, so I

Re: Arm64 jitter

2021-04-04 Thread Greg Gallagher via Xenomai
On Sun, Apr 4, 2021 at 4:49 PM Robert Berger wrote: > Hi, > > My comments are in-line: > > On 02/04/2021 07:54, Greg Gallagher via Xenomai wrote: > >> > >> > > Looks like this is affecting 4.19/5.4 arm and arm64. Still > investigating, &g

Re: arm32: 5.4.107 ipipe patch - bad kernel version choice ;)

2021-04-03 Thread Greg Gallagher via Xenomai
On Sat, Apr 3, 2021 at 7:57 AM Robert Berger via Xenomai < xenomai@xenomai.org> wrote: > Hi, > > I just checked this patch on one of my imx6q boards: > > https://xenomai.org/downloads/ipipe/v5.x/arm/ipipe-core-5.4.107-arm-1.patch > > One problem is, that 5.4.107 does not seem to be a good choice

Re: Arm64 jitter

2021-04-01 Thread Greg Gallagher via Xenomai
On Mon, Mar 29, 2021 at 9:35 AM Pierre FICHEUX wrote: > Thx a lot ! > > Le lun. 29 mars 2021 à 15:17, Greg Gallagher a > écrit : > >> >> >> On Mon, Mar 29, 2021 at 8:06 AM Pierre FICHEUX >> wrote: >> >>> Hi Greg, >>> >>> T

Re: Arm64 jitter

2021-03-29 Thread Greg Gallagher via Xenomai
On Mon, Mar 29, 2021 at 8:06 AM Pierre FICHEUX wrote: > Hi Greg, > > Thks for the answer, so you're currently tracking the problem? > > Le lun. 29 mars 2021 à 13:43, Greg Gallagher a > écrit : > >> >> >> On Mon, Mar 29, 2021 at 5:22 AM Pierre FICHEUX via

Re: Arm64 jitter

2021-03-29 Thread Greg Gallagher via Xenomai
On Mon, Mar 29, 2021 at 5:22 AM Pierre FICHEUX via Xenomai < xenomai@xenomai.org> wrote: > I mean Arm64 AND 5.x is recent ! > > Le lun. 29 mars 2021 à 11:20, Pierre FICHEUX a > écrit : > > > Hi all, > > > > I’ve been using Xenomai-3.1/I-pipe for several months on Pi 3 B/B+ with > > mainline

Re: Hardware support by Xenomai 3.1

2021-03-25 Thread Greg Gallagher via Xenomai
On Thu, Mar 25, 2021 at 12:01 PM Zhao, Lixiang via Xenomai < xenomai@xenomai.org> wrote: > Hi, > > I would like to patch a board with a Rockchip RK3399 SoC with Xenomai > v3.1, I'm unsure if this SoC is supported, could you help me find it out ? > > Best regards, > Li. > I don't think it's been

Re: [PATCH 4.19] ipipe: mm: Restore unCOW support for copy_pte_range

2021-03-07 Thread Greg Gallagher via Xenomai
On Sun, Mar 7, 2021 at 8:09 AM Greg Gallagher wrote: > > > On Sun, Mar 7, 2021 at 7:56 AM Jan Kiszka wrote: > >> On 06.03.21 15:58, Philippe Gerum wrote: >> > >> > Jan Kiszka writes: >> > >> >> On 05.03.21 12:

Re: [PATCH 4.19] ipipe: mm: Restore unCOW support for copy_pte_range

2021-03-07 Thread Greg Gallagher via Xenomai
On Sun, Mar 7, 2021 at 7:56 AM Jan Kiszka wrote: > On 06.03.21 15:58, Philippe Gerum wrote: > > > > Jan Kiszka writes: > > > >> On 05.03.21 12:38, Jan Kiszka via Xenomai wrote: > >>> From: Jan Kiszka > >>> > >>> This is still needed to avoid that a real-time parent seems minor > faults > >>>

Re: [ipipe 5.4-arm] WARNING: CPU: 0 PID: 1 at kernel/irq/chip.c:55 irq_set_chip+0xc4/0xd4

2021-03-06 Thread Greg Gallagher via Xenomai
On Sat, Mar 6, 2021 at 6:55 AM Jan Kiszka wrote: > Hi Greg, > > the pipeline is getting greener again but I just ran into this new issue: > > https://source.denx.de/Xenomai/xenomai-images/-/jobs/234340 > > Seen before? > > Quirin, Florian, as we were discussing whether such a warning would be >

Re: [PATCH] arm_global_timer: Use 64 Bit hw counter for ipipe_tsc

2021-03-05 Thread Greg Gallagher via Xenomai
On Fri, Mar 5, 2021 at 7:52 AM Grau, Gunter wrote: > > -Original Message- > > From: Jan Kiszka > > Sent: Freitag, 5. März 2021 13:27 > > To: Grau, Gunter ; xenomai@xenomai.org; Greg > > Gallagher > > Subject: Re: [PATCH] arm_global_timer: U

Re: Cannot disable Page migration on kernel configuration

2021-03-02 Thread Greg Gallagher via Xenomai
On Tue, Mar 2, 2021 at 6:43 PM Gabriel Dinse via Xenomai < xenomai@xenomai.org> wrote: > When configuring kernel (4.19.144 arm) through menuconfig, I get the > following warning: > [*] Xenomai/cobalt ---> > *** WARNING! Page migration (CONFIG_MIGRATION) may increase *** > *** latency. *** > >

Re: ATSAMA5D4 Xplained freeze with Xenomai kernel

2021-03-01 Thread Greg Gallagher via Xenomai
On Mon, Mar 1, 2021 at 3:45 PM Vladimir Petrigo wrote: > On Mon, Mar 01, 2021 at 10:02:43AM -0500, Greg Gallagher wrote: > > On Mon, Mar 1, 2021 at 9:42 AM Vladimir Petrigo via Xenomai < > > xenomai@xenomai.org> wrote: > > > > > > > > Hello, > &g

Re: [Xenomai] bad syscall <0x197>

2021-03-01 Thread Greg Gallagher via Xenomai
On Mon, Mar 1, 2021 at 12:53 PM Jan Kiszka wrote: > On 01.03.21 18:31, Jan Kiszka wrote: > > On 27.02.21 07:21, Greg Gallagher via Xenomai wrote: > >> On Thu, Feb 25, 2021 at 3:06 PM Greg Gallagher > >> wrote: > >> > >>> > >>>

Re: [I-PIPE] ipipe-core-5.4.72-arm64-0 released

2021-03-01 Thread Greg Gallagher via Xenomai
On Mon, Mar 1, 2021 at 1:03 PM Jean-Baptiste Tredez < jean-baptiste.tre...@alstefgroup.com> wrote: > > Le 01/03/2021 à 17:45, Jan Kiszka a écrit : > > On 01.03.21 17:28, Greg Gallagher wrote: > >> > >> On Mon, Mar 1, 2021 at 11:25 AM Jan Kiszka >&

Re: [I-PIPE] ipipe-core-4.19.165-cip41-arm64-09 released

2021-03-01 Thread Greg Gallagher via Xenomai
On Mon, Mar 1, 2021 at 11:20 AM Jan Kiszka via Xenomai wrote: > On 25.02.21 15:18, Philippe Gerum wrote: > > > > Jan Kiszka writes: > > > >> On 25.02.21 14:54, Philippe Gerum wrote: > >>> > >>> Jan Kiszka writes: > >>> > On 24.02.21 12:35, Henning Schild via Xenomai wrote: > > Am Wed,

Re: [I-PIPE] ipipe-core-5.4.72-arm64-0 released

2021-03-01 Thread Greg Gallagher via Xenomai
t; > > > > Le 08/02/2021 à 09:26, Jan Kiszka via Xenomai a écrit : > >> On 08.02.21 09:24, Jan Kiszka via Xenomai wrote: > >>> On 06.02.21 15:50, Greg Gallagher wrote: > >>>> On Sat, Feb 6, 2021 at 7:23 AM Jan Kiszka >>>> <mailto:jan.

Re: ATSAMA5D4 Xplained freeze with Xenomai kernel

2021-03-01 Thread Greg Gallagher via Xenomai
On Mon, Mar 1, 2021 at 9:42 AM Vladimir Petrigo via Xenomai < xenomai@xenomai.org> wrote: > > Hello, > > I met an issue with running Linux Kernel 4.19.144 with Xenomai 3.1 on > ATSAMA5D4 Xplained board. > > Preliminary: > - non-patched Linux kernel 4.19.144 works just fine > - I-pipe patched

Re: RTDM

2021-02-28 Thread Greg Gallagher via Xenomai
> unload the drivers? > > Il dom 28 feb 2021, 02:22 Greg Gallagher ha > scritto: > >> >> >> On Sat, Feb 27, 2021 at 7:44 PM Leandro Bucci via Xenomai < >> xenomai@xenomai.org> wrote: >> >>> hello everyone, after installing xenomai on the Ra

Re: GPIO interrupt reading timeout

2021-02-28 Thread Greg Gallagher via Xenomai
On Sun, Feb 28, 2021 at 7:18 AM Gabriel Dinse via Xenomai < xenomai@xenomai.org> wrote: > Hello, > > I currently have a loop rt_task for reading interrupts on a GPIO pin of > my raspberry pi. > > I'm using: > ret = read(pin, , sizeof(value)); > > but I don't want it to block forever, because my

Re: RTDM

2021-02-27 Thread Greg Gallagher via Xenomai
On Sat, Feb 27, 2021 at 7:44 PM Leandro Bucci via Xenomai < xenomai@xenomai.org> wrote: > hello everyone, after installing xenomai on the Raspberry and inserting the > kernel module related to the serial, in the folder / dev / rtdm / I don't > have the rtser0 device. How is it possible? > It’s

Re: Kernel configuration

2021-02-27 Thread Greg Gallagher via Xenomai
On Sat, Feb 27, 2021 at 9:37 AM Leandro Bucci via Xenomai < xenomai@xenomai.org> wrote: > Hi, I wanted to ask how to enable serial communication in Xenomai. When > compiling the kernel, what parameters should I set? > The serial driver I don’t think has been tested much with raspberry Pi. You

Re: [Xenomai] bad syscall <0x197>

2021-02-26 Thread Greg Gallagher via Xenomai
On Thu, Feb 25, 2021 at 3:06 PM Greg Gallagher wrote: > > > On Wed, Feb 24, 2021 at 6:16 PM steve freyder wrote: > >> >> >> On 2/24/2021 2:52 PM, Greg Gallagher wrote: >> >> >> >> On Wed, Feb 24, 2021 at 3:45 PM steve freyder via Xenomai <

Re: Re: Re: Incompatible pointer type error when compiling kernel

2021-02-25 Thread Greg Gallagher via Xenomai
On Wed, Feb 24, 2021 at 8:42 PM Gabriel Dinse wrote: > > > On Wed, Feb 24, 2021 at 4:13 pm, Greg Gallagher > wrote: > > > > On Wed, Feb 24, 2021 at 4:10 PM Gabriel Dinse > wrote: > >> >> >> On Wed, Feb 24, 2021 at 3:43 pm, Greg Gallagher >&

Re: [Xenomai] bad syscall <0x197>

2021-02-25 Thread Greg Gallagher via Xenomai
On Wed, Feb 24, 2021 at 6:16 PM steve freyder wrote: > > > On 2/24/2021 2:52 PM, Greg Gallagher wrote: > > > > On Wed, Feb 24, 2021 at 3:45 PM steve freyder via Xenomai < > xenomai@xenomai.org> wrote: > >> Greetings Xenomai list, >> >> >&g

Re: [Xenomai] bad syscall <0x197>

2021-02-24 Thread Greg Gallagher via Xenomai
On Wed, Feb 24, 2021 at 3:45 PM steve freyder via Xenomai < xenomai@xenomai.org> wrote: > Greetings Xenomai list, > > > I have a Linux OE 4.14.85 build with Xenomai 3.1 -next branch, and am > seeing this: > > root@ICB-G3L:~ # uname -a > Linux ICB-G3L 4.14.85_C01571-15S01A01.000.zimg+35a84af5b7 #1

Re: Re: Incompatible pointer type error when compiling kernel

2021-02-22 Thread Greg Gallagher via Xenomai
On Mon, Feb 22, 2021 at 5:44 PM Gabriel Dinse wrote: > > > On Mon, Feb 22, 2021 at 5:26 pm, Greg Gallagher > wrote: > > > > On Mon, Feb 22, 2021 at 3:19 PM Gabriel Dinse > wrote: > >> >> >> On Mon, Feb 22, 2021 at 9:12 am, Greg Gallagher >&

Re: Incompatible pointer type error when compiling kernel

2021-02-22 Thread Greg Gallagher via Xenomai
On Mon, Feb 22, 2021 at 3:19 PM Gabriel Dinse wrote: > > > On Mon, Feb 22, 2021 at 9:12 am, Greg Gallagher > wrote: > > > > On Mon, Feb 22, 2021 at 5:15 AM Gabriel Dinse via Xenomai < > xenomai@xenomai.org> wrote: > >> > This is a 32-bit build runni

Re: Incompatible pointer type error when compiling kernel

2021-02-22 Thread Greg Gallagher via Xenomai
On Mon, Feb 22, 2021 at 5:15 AM Gabriel Dinse via Xenomai < xenomai@xenomai.org> wrote: > > This is a 32-bit build running on the rpi3? > Yes, it is > > > I have some ipipe fixes coming, but I don't think these are ipipe > related. > > Can you show how you patched and built your kernel? I'll

Re: Incompatible pointer type error when compiling kernel

2021-02-21 Thread Greg Gallagher via Xenomai
On Sun, Feb 21, 2021 at 7:25 PM Gabriel Dinse via Xenomai < xenomai@xenomai.org> wrote: > Hello, > I'm currently compiling linux 5.4.93 patched with xenomai 3.1, > using ipipe 5.4.93 for arm. The system is intended to run on a raspberry > pi 3 b, but I'm getting the following errors related to

Re: real time serial communication

2021-02-19 Thread Greg Gallagher via Xenomai
On Fri, Feb 19, 2021 at 11:04 AM Leandro Bucci wrote: > ok so i have to recompile the kernel enabling what i need right? > > Il giorno ven 19 feb 2021 alle ore 16:57 Greg Gallagher < > g...@embeddedgreg.com> ha scritto: > >> >> >> On Fri, Feb 19, 202

Re: real time serial communication

2021-02-19 Thread Greg Gallagher via Xenomai
On Fri, Feb 19, 2021 at 10:33 AM Leandro Bucci via Xenomai < xenomai@xenomai.org> wrote: > Hi. > I have Xenomai on the raspberry PI 3 B +. I would like to use the serial > port to make two raspberry (both with xenomai) communicate. If I use the > serial0 device everything works but I get huge

Re: [I-PIPE] ipipe-core-4.19.165-cip41-arm64-09 released

2021-02-10 Thread Greg Gallagher via Xenomai
On Wed, Feb 10, 2021 at 10:00 AM Jan Kiszka wrote: > On 10.02.21 15:58, Greg Gallagher wrote: > > > > > > On Wed, Feb 10, 2021 at 7:41 AM Greg Gallagher > <mailto:g...@embeddedgreg.com>> wrote: > > > > > > > > On Wed, Feb 10, 2021 at

Re: [I-PIPE] ipipe-core-4.19.165-cip41-arm64-09 released

2021-02-10 Thread Greg Gallagher via Xenomai
On Wed, Feb 10, 2021 at 7:41 AM Greg Gallagher wrote: > > > On Wed, Feb 10, 2021 at 6:08 AM Jan Kiszka wrote: > >> On 10.02.21 11:07, Bezdeka, Florian (T RDA IOT SES-DE) wrote: >> > On Wed, 2021-02-10 at 09:15 +0100, Jan Kiszka via Xenomai wrote: >> >> On

Re: [I-PIPE] ipipe-core-4.19.165-cip41-arm64-09 released

2021-02-10 Thread Greg Gallagher via Xenomai
On Wed, Feb 10, 2021 at 6:08 AM Jan Kiszka wrote: > On 10.02.21 11:07, Bezdeka, Florian (T RDA IOT SES-DE) wrote: > > On Wed, 2021-02-10 at 09:15 +0100, Jan Kiszka via Xenomai wrote: > >> On 10.02.21 07:22, xenomai--- via Xenomai wrote: > >>> Download URL: >

Re: [xenomai-images][PATCH 1/2] linux-xenomai: Fix arm/arm64 latest branches, add 5.4 option

2021-02-08 Thread Greg Gallagher via Xenomai
On Mon, Feb 8, 2021 at 3:49 PM Jan Kiszka via Xenomai wrote: > From: Jan Kiszka > > ipipe/master was no longer tracking the latest arm/arm64 I-pipe > versions. > > While at it, add the new 5.4 branches. > > Signed-off-by: Jan Kiszka > --- > recipes-kernel/linux/linux-xenomai_latest.bb | 4

Re: [I-PIPE] ipipe-core-5.4.72-arm64-0 released

2021-02-06 Thread Greg Gallagher via Xenomai
On Sat, Feb 6, 2021 at 7:23 AM Jan Kiszka wrote: > On 05.02.21 06:24, Greg Gallagher via Xenomai wrote: > > On Fri, Feb 5, 2021 at 12:24 AM xenomai--- via Xenomai < > xenomai@xenomai.org> > > wrote: > > > >> Download URL: > >> > https://xenom

Re: [PATCH] ci: Add 5.4 release builds for arm and arm64

2021-02-05 Thread Greg Gallagher via Xenomai
On Fri, Feb 5, 2021 at 9:48 AM Jan Kiszka wrote: > From: Jan Kiszka > > Signed-off-by: Jan Kiszka > --- > > Greg, should we also drop a kernel version from CI for arm and arm64? > The 4.14ers? > > .gitlab-ci.yml | 16 > 1 file changed, 16 insertions(+) > > diff --git

Re: [PATCH v2 1/2] kernel: cobalt: Remove header file for newer kernels

2021-02-05 Thread Greg Gallagher via Xenomai
On Fri, Feb 5, 2021 at 9:45 AM Jan Kiszka wrote: > On 03.02.21 10:50, Jan Kiszka via Xenomai wrote: > > On 03.02.21 08:01, Greg Gallagher via Xenomai wrote: > >> 5.4 kernels do not have compiler.h, only include this header file for > kernels older then 5.4 > >> >

Re: [I-PIPE] ipipe-core-5.4.72-arm64-0 released

2021-02-04 Thread Greg Gallagher via Xenomai
On Fri, Feb 5, 2021 at 12:24 AM xenomai--- via Xenomai wrote: > Download URL: > https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch > > Repository: https://git.xenomai.org/ipipe-arm64 > Release tag: ipipe-core-5.4.72-arm64-0 > > This is a beta release, any testing is

Re: [I-PIPE] ipipe-core-5.4.93-arm-0 released

2021-02-04 Thread Greg Gallagher via Xenomai
On Thu, Feb 4, 2021 at 11:56 PM xenomai--- via Xenomai wrote: > Download URL: > https://xenomai.org/downloads/ipipe/v5.x/arm/ipipe-core-5.4.93-arm-0.patch > > Repository: https://git.xenomai.org/ipipe-arm > Release tag: ipipe-core-5.4.93-arm-0 > > This is a beta release for the arm-ipipe on

[PATCH v2 2/2] kernel: cobalt: Fix up elf_hwcap

2021-02-02 Thread Greg Gallagher via Xenomai
Update to use ELF_HWCAP instead of elf_hwcap directly. Signen-off-by: Greg Gallagher --- kernel/cobalt/arch/arm/include/asm/xenomai/fptest.h | 2 +- kernel/cobalt/arch/arm64/include/asm/xenomai/fptest.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/cobalt/arch

[PATCH v2 1/2] kernel: cobalt: Remove header file for newer kernels

2021-02-02 Thread Greg Gallagher via Xenomai
5.4 kernels do not have compiler.h, only include this header file for kernels older then 5.4 Signed-off-by: Greg Gallagher --- kernel/cobalt/arch/arm64/include/asm/xenomai/machine.h | 4 1 file changed, 4 insertions(+) diff --git a/kernel/cobalt/arch/arm64/include/asm/xenomai/machine.h

arm/arm64 ipipe 5.4

2021-02-01 Thread Greg Gallagher via Xenomai
Hi, Quick update on the 5.4 ipipe for arm/arm64. Both are ready to be beta tested. Each repo has anipipe/5.4.y branch that has been tested with Xenomai next. I'll be doing a beta release for both arm and arm64 ipipe shortly, but if anyone is waiting to get started please use the repo branches

Re: [PATCH 1/2] kernel: cobalt: Fix up elf_hwcap

2021-02-01 Thread Greg Gallagher via Xenomai
On Wed, Jan 27, 2021 at 9:26 AM Greg Gallagher wrote: > > > On Wed, Jan 27, 2021 at 1:15 AM Jan Kiszka wrote: > >> On 27.01.21 07:13, Jan Kiszka via Xenomai wrote: >> > On 27.01.21 06:43, Greg Gallagher via Xenomai wrote: >> >> Update elf_hwcap to ELF_HWCA

Re: [PATCH 2/2] kernel: cobalt: Remove header file for newer kernels

2021-01-27 Thread Greg Gallagher via Xenomai
On Wed, Jan 27, 2021 at 1:14 AM Jan Kiszka wrote: > On 27.01.21 06:43, Greg Gallagher via Xenomai wrote: > > 5.4 kernels do not have compiler.h, only include this header file for > kernels older then 5.4 > > > > Signed-off-by: Greg Gallagher > > --- > >

Re: [PATCH 1/2] kernel: cobalt: Fix up elf_hwcap

2021-01-27 Thread Greg Gallagher via Xenomai
On Wed, Jan 27, 2021 at 1:15 AM Jan Kiszka wrote: > On 27.01.21 07:13, Jan Kiszka via Xenomai wrote: > > On 27.01.21 06:43, Greg Gallagher via Xenomai wrote: > >> Update elf_hwcap to ELF_HWCAP, this will work for newer 5.4 kernels > >> > > > > I assume

[PATCH 2/2] kernel: cobalt: Remove header file for newer kernels

2021-01-26 Thread Greg Gallagher via Xenomai
5.4 kernels do not have compiler.h, only include this header file for kernels older then 5.4 Signed-off-by: Greg Gallagher --- kernel/cobalt/arch/arm64/include/asm/xenomai/machine.h | 4 1 file changed, 4 insertions(+) diff --git a/kernel/cobalt/arch/arm64/include/asm/xenomai/machine.h

[PATCH 1/2] kernel: cobalt: Fix up elf_hwcap

2021-01-26 Thread Greg Gallagher via Xenomai
Update elf_hwcap to ELF_HWCAP, this will work for newer 5.4 kernels Signen-off-by: Greg Gallagher --- kernel/cobalt/arch/arm64/include/asm/xenomai/fptest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/arch/arm64/include/asm/xenomai/fptest.h b/kernel/cobalt

Re: [RFC] Drop support for ARM OABI from Xenomai 3.2

2021-01-17 Thread Greg Gallagher via Xenomai
On Sun, Jan 17, 2021 at 12:32 PM Philippe Gerum via Xenomai < xenomai@xenomai.org> wrote: > > The old ARM ABI format is dead, however we still have the support bits > to handle it in both the I-pipe and Cobalt, which - I believe - does not > make sense anymore. In addition, Dovetail only supports

Re: remainder: Xenomai community call on tomorrow (Jan 13th)

2021-01-12 Thread Greg Gallagher via Xenomai
On Tue, Jan 12, 2021 at 9:17 AM Philippe Gerum via Xenomai < xenomai@xenomai.org> wrote: > > Hi, > > Meng, Fino via Xenomai writes: > > > Hi all, > > > > As planned, tomorrow will have the second time of Xenomai community > call, > > Topics may include but not limited to upstream/downstream

Re: Xenomai on Jetson TX2

2021-01-12 Thread Greg Gallagher via Xenomai
> Thanks and Regards, > Irfan > > On Tue, Jan 12, 2021 at 4:40 PM Greg Gallagher > wrote: > >> HI, >> >> On Tue, Jan 12, 2021 at 10:32 AM Mohamed Irfanulla Mohamed Abdulla via >> Xenomai wrote: >> >>> Hi, >>> >>> I woul

Re: Xenomai on Jetson TX2

2021-01-12 Thread Greg Gallagher via Xenomai
HI, On Tue, Jan 12, 2021 at 10:32 AM Mohamed Irfanulla Mohamed Abdulla via Xenomai wrote: > Hi, > > I would like to know if anyone has successfully installed Xenomai on Nvidia > Jetson TX2. Thanks for your suggestions and confirmation if it is possible > to install Xenomai on Jetson TX2? > At

Re: Re: [CXP] some questions about "Common Xenomai Platform"

2021-01-07 Thread Greg Gallagher via Xenomai
On Thu, Jan 7, 2021 at 10:53 AM hailong via Xenomai wrote: > At 2021-01-04 01:38:04, "Philippe Gerum" wrote: > > > >Hailongliu via Xenomai writes: > > > >> Hi, > >> > >> I learned the "Common Xenomai Platform" program from this mail-list and > wiki > >> of project Xenomai. This is a very

Re: Re: Re: Re: error: implicit declaration of function ‘__OPEN_NEEDS_MODE’

2020-12-28 Thread Greg Gallagher via Xenomai
On Mon, Dec 28, 2020 at 4:46 PM Gabriel Dinse via Xenomai < xenomai@xenomai.org> wrote: > I am trying to use mainline Kernel. I think xenomai has a fork for RPI > kernel 4.1 but it is not up to date, right? Also, the right paper is >

Re: Re: Re: error: implicit declaration of function ‘__OPEN_NEEDS_MODE’

2020-12-28 Thread Greg Gallagher via Xenomai
On Mon, Dec 28, 2020 at 4:23 PM Gabriel Dinse via Xenomai < xenomai@xenomai.org> wrote: > Hello, > > Actually I’m using kernel 4.9.51. Im using this guide and another paper: > https://kth.diva-portal.org/smash/get/diva2:1381368/FULLTEXT01.pdf (based > on the github guide) as a guideline. The

  1   2   3   4   5   >