Re: [PATCH 0/9] arm: ipipe: Add basic I-pipe support for the SAMA5D3 SoC

2020-06-22 Thread Greg Gallagher via Xenomai
On Fri, Jun 12, 2020 at 11:58 AM Jouko Haapaluoma wrote: > > Thanks for replies, answers for both below. > > > Great, thanks for the patches! I assume Greg will look into them in details. > > Regarding the mainline patches: Are they simply missing in 4.19 > > because they were not backported as

Re: Linux 5.x

2020-06-26 Thread Greg Gallagher via Xenomai
On Fri, Jun 26, 2020 at 11:54 AM Jan Kiszka wrote: > > On 26.06.20 17:35, Greg Gallagher via Xenomai wrote: > > On Fri., Jun. 26, 2020, 11:32 a.m. James Murray via Xenomai < > > xenomai@xenomai.org> wrote: > > > >> Are there any plans to create ipipe >

Re: Linux 5.x

2020-06-26 Thread Greg Gallagher via Xenomai
On Fri., Jun. 26, 2020, 11:32 a.m. James Murray via Xenomai < xenomai@xenomai.org> wrote: > Are there any plans to create ipipe For which architecture? I think Jan was hoping to move to dovetail for the 5.x series kernels. -Greg patches for Linux 5.x? > > Thanks, > > Jim Murray > Principal

Re: rt_task_create error EINVAL after a while

2020-06-26 Thread Greg Gallagher via Xenomai
Hi, On Fri, Jun 26, 2020 at 10:54 AM jeanmicheltaprest--- via Xenomai wrote: > > > Hi All, > > Hardware and firmware configuration : > ARM Cortex A7 32 bit processor in an i.MX 6ULL NXP module > with Linux 4.19.82 and Xenomai 3.0.9 ( Cobalt ). > > Problems with rt_task_create ( & object clusters

Re: [PATCH 0/9] arm: ipipe: Add basic I-pipe support for the SAMA5D3 SoC

2020-06-12 Thread Greg Gallagher via Xenomai
Hi, On Fri, Jun 12, 2020 at 11:22 AM Jan Kiszka wrote: > > On 12.06.20 13:41, Jouko Haapaluoma via Xenomai wrote: > > This patch set adds basic I-pipe support for the SAMA5D3 SoC > > > > A few mainline patches need to be applied to the tcb_clksrc driver so > > that it can be used as the only

Re: [PATCH 0/9] arm: ipipe: Add basic I-pipe support for the SAMA5D3 SoC

2020-06-12 Thread Greg Gallagher via Xenomai
On Fri, Jun 12, 2020 at 11:22 AM Jan Kiszka wrote: > > On 12.06.20 13:41, Jouko Haapaluoma via Xenomai wrote: > > This patch set adds basic I-pipe support for the SAMA5D3 SoC > > > > A few mainline patches need to be applied to the tcb_clksrc driver so > > that it can be used as the only

Re: Enable Xenomai on i.MX Platform

2020-07-30 Thread Greg Gallagher via Xenomai
HI, On Thu, Jul 30, 2020 at 6:30 AM Xiaodong Zhang via Xenomai wrote: > > Hi Xenomai, > > I ported ipipe patch and enable Xenomai 3.1 on i.MX Platform (i.MX6 series > and i.MX8M based on Yocto L4.19.35 1.1.0 GA release), the below link will > give more information. Looks great. > >

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: 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: [CXP][RFC] pick POSIX/cobalt for the common user API

2020-12-06 Thread Greg Gallagher via Xenomai
On Sun, Dec 6, 2020 at 9:15 PM chensong via Xenomai wrote: > hi Philippe, > > As far as i know, some vxworks customers like xenomai because they can > move their RT processes from vxworks to linux without rewriting their > code by the help of vxworks skin. > > These are legacy vxworks

Re: RTDM PCI information

2020-11-30 Thread Greg Gallagher via Xenomai
hi, On Mon, Nov 30, 2020 at 2:13 PM Robert Faron via Xenomai < xenomai@xenomai.org> wrote: > > I have been struggling with creating a driver for my FPGA card. My issue seems to be that I haven't been able to pass the pointer information for the pci_dev. When registering the device there is no

ipipe-arm64 5.4 update

2020-12-04 Thread Greg Gallagher via Xenomai
Hi, For anyone waiting on the 5.4 port of the arm64 ipipe, it 's almost complete. I'm pushing a new branch ipipe/5.4.y shortly. I'll be testing with Xenomai this weekend and will push a patch set once everything passes. Anyone waiting on arm 32-bit 5.4, that will be started shortly and I'm

Re: rtnet on BBB

2020-11-29 Thread Greg Gallagher via Xenomai
On Sun, Nov 29, 2020 at 5:13 AM 韩智丞 via Xenomai wrote: > can I use RtNet in BeagleBone Black, need I use xenomai2.6.3? > thanks!! I’m not sure the status of rtnet of BBB but you definitely need to use xenomai 3 as a minimum, 2.6.x is no long supported. Greg

Re: [CXP][RFC] pick POSIX/cobalt for the common user API

2020-12-14 Thread Greg Gallagher via Xenomai
On Mon, Dec 14, 2020 at 7:44 AM Jan Kiszka via Xenomai wrote: > On 06.12.20 11:46, Philippe Gerum via Xenomai wrote: > > > > The common Xenomai platform specification is about defining the > > commonalities among future Xenomai releases starting from 3.3, including > > the Xenomai 4 series based

Re: [CXP][RFC] Pick RTDM for the common kernel interface

2020-12-14 Thread Greg Gallagher via Xenomai
On Mon, Dec 14, 2020 at 7:45 AM Jan Kiszka via Xenomai wrote: > On 06.12.20 17:56, Philippe Gerum via Xenomai wrote: > > > > The common Xenomai platform specification is about defining the > > commonalities among future Xenomai releases starting from 3.3, > > including the Xenomai 4 series based

Re: Xenomai Community Call Minutes - December 16, 2020

2020-12-16 Thread Greg Gallagher via Xenomai
On Wed, Dec 16, 2020 at 10:39 AM Wang, Rick Y via Xenomai < xenomai@xenomai.org> wrote: > Attendees: > > Philippe Gerum, Jan Kiszka (Siemens), Florent Pirou (Intel), > Hongzhan Chen (Intel), Fino Meng (Intel), Song Chen (kylin software), > Antoine Hoarau (Fuzzy Logic Robotics), Florian Bezdeka

Re: socket: Address family not supported by protocol

2020-11-19 Thread Greg Gallagher via Xenomai
On Thu, Nov 19, 2020 at 1:44 PM Leandro Bucci wrote: > is there maybe a way to reinstall missing modules only? > You can rebuild the kernel with the config options Jan mentioned. Greg > > Il gio 19 nov 2020, 15:18 Greg Gallagher ha > scritto: > >> >> >>

Re: Xenomai 3.x over Dovetail

2020-11-19 Thread Greg Gallagher via Xenomai
On Thu, Nov 19, 2020 at 7:58 AM Jan Kiszka via Xenomai wrote: > On 19.11.20 13:25, Philippe Gerum wrote: > > > > All, > > > > After some recent discussion with Jan, I'm joining the fray in order to > > get Xenomai rebased on Dovetail, replacing the I-pipe, the in-kernel > > software layer which

Re: socket: Address family not supported by protocol

2020-11-19 Thread Greg Gallagher via Xenomai
On Thu, Nov 19, 2020 at 3:53 AM Jan Kiszka via Xenomai wrote: > On 19.11.20 09:47, Leandro Bucci wrote: > > I understand so you advise me to forget the Raspberry and try on a > > normal PC? > > > > You can start getting familiar with Xenomai by trying out >

Re: [PATCH][ipipe-4.19-noarch] ipipe: mm: Drop un-COW from copy_pte_range

2020-11-04 Thread Greg Gallagher via Xenomai
On Wed, Nov 4, 2020 at 10:41 AM Jan Kiszka wrote: > From: Jan Kiszka > > This is not needed, in fact, and it is in conflict with upcoming stable > changes. Philippe writes: > > "IIRC, the reason was to ensure that any mapping duplicated from a > parent process which has pinned its memory via an

Re: [xenomai-images][PATCH] linux: arm: Enable Xenomai GPIO and SPI driver for BBB

2020-11-05 Thread Greg Gallagher via Xenomai
On Thu, Nov 5, 2020 at 6:22 AM Jan Kiszka via Xenomai wrote: > From: Jan Kiszka > > The GPIO driver still needs xenomai-next, though. > > Suggested-by: Deniz Uğur > Signed-off-by: Jan Kiszka > --- > recipes-kernel/linux/files/armhf_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > >

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:08 PM Gabriel Dinse via Xenomai < xenomai@xenomai.org> wrote: > Hello, > > I’m not used to use email this way, but answering your question on the > hidden email LOL, > I’m compiling for Raspberry PI 1 B on the environment I showed, following > this guide: >

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

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: [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: 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: [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

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-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

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

[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

[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 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

[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

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 >

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: 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

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: [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: 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: [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
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-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-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: 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: 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: 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: [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

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: [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: [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-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: [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 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: 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: 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: 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: 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-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-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: [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: [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: 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: 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: 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: [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 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: [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: 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: 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-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: [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: [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
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: [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: 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-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: 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-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-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-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: 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: 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-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: [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: 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 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: 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: 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: 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: 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: > > >

<    1   2   3   4   5   >