Re: [Xenomai] RPi: Possible solution for freezes

2017-04-27 Thread Adam Vaughan
Thu, Apr 27, 2017 at 9:32 AM, Philippe Gerum <r...@xenomai.org> wrote: > On 04/27/2017 06:27 PM, Philippe Gerum wrote: >> On 04/27/2017 06:09 PM, Adam Vaughan wrote: >>> Hi Gerber, >>> >>> I haven't tried Xenomai on the RPi in a few years (I've been

Re: [Xenomai] RPi: Possible solution for freezes

2017-04-27 Thread Adam Vaughan
Hi Gerber, I haven't tried Xenomai on the RPi in a few years (I've been working on BeagleBone Xenomai lately), but I have experimented with Xenomai 2.6 patches on the RPi 1 in the configuration you describe. There's more detail in section 7.5 in my dissertation [1], but I strongly suggest

Re: [Xenomai] Raspberry Pi 2 patch - BCM2709

2015-06-09 Thread Adam Vaughan
Although I suppose one being quad core and having probably a different IRQ controller could cause some work to need to be done (almost certainly, although it might be a standard arm gic Some specifics about the RPi 2 interrupt implementation are available here:

Re: [Xenomai] Raspberry Pi UART and SPI RTDM drivers

2014-05-05 Thread Adam Vaughan
I don't think anyone has written RTDM drivers for the SPI and UART peripherals yet. On Mon, May 5, 2014 at 4:21 AM, Massimo Savina massimo.sav...@gmail.comwrote: 2014-04-29 17:07 GMT+02:00 Massimo Savina massimo.sav...@gmail.com: Hi guys, I started to develop an application based on the

Re: [Xenomai] Raspberry Pi Xenomai Linux + Minimal Raspian Net Install Guide

2014-03-27 Thread Adam Vaughan
I wrote this guide as if I was starting from scratch. I thought it would be helpful. I don't intend for it to cover everyone's use case, but it covers all the steps to get a basic install working. I'm not aware of any other guide that talks about the recent 3.8.13 patches for Xenomai which

Re: [Xenomai] Raspberry Pi Xenomai Linux + Minimal Raspian Net Install Guide

2014-03-27 Thread Adam Vaughan
on some other work. If someone wants to take the lead and modify this guide to be better, feel free to do so. On Thu, Mar 27, 2014 at 2:10 PM, Adam Vaughan vaugh...@umich.edu wrote: I wrote this guide as if I was starting from scratch. I thought it would be helpful. I don't intend

Re: [Xenomai] Raspberry Pi Xenomai Linux + Minimal Raspian Net Install Guide

2014-03-26 Thread Adam Vaughan
The -post patch should be updated to contain these patches. That is what the -post patch is made for. Attached is a Xenomai patch for the ipipe-core-3.8.13-raspberry-post-2.patch file. As noted earlier, this patch covers USB driver issues discussed on the Xenomai mailing list and allows you to

Re: [Xenomai] Raspberry Pi SD Card Issue

2014-03-25 Thread Adam Vaughan
Don't get me wrong. I definitely know that different toolchains produce different binaries and I certainly can believe that issues like this can arise due to some toolchain optimizations or toolchain bugs. Those are usually the most tricky bugs to find as I still can remember and every little

[Xenomai] Raspberry Pi Xenomai Linux + Minimal Raspian Net Install Guide

2014-03-25 Thread Adam Vaughan
I don't know if you want to add this to the Xenomai wiki, but attached is a complete guide from start to finish for the Raspberry Pi build process, the relevant patches, and the net installation of a minimal Raspbian distro. I suppose the formatting could be worked on, but I believe it covers

Re: [Xenomai] Raspberry Pi SD Card Issue

2014-03-24 Thread Adam Vaughan
24, 2014 at 9:48 AM, Andreas Glatz andi.gl...@gmail.com wrote: Message: 2 Date: Fri, 21 Mar 2014 10:47:20 -0400 From: Adam Vaughan vaugh...@umich.edu To: Paul pau...@tuxcnc.org, xenomai@xenomai.org xenomai@xenomai.org Subject: Re: [Xenomai] Raspberry Pi SD Card Issue Message-ID

Re: [Xenomai] Raspberry Pi SD Card Issue

2014-03-21 Thread Adam Vaughan
glitch, but I thought I'd let everyone know it's something to be aware of. On Sun, Feb 23, 2014 at 9:51 PM, Adam Vaughan vaugh...@umich.edu wrote: Hi Paul, Thank you for making the Raspberry Pi patch. To avoid hijacking the interrupt thread, I'm starting a new thread. An outstanding issue I've

Re: [Xenomai] RaspberryPi kernel 3.8 issue

2014-02-26 Thread Adam Vaughan
I will have a look later on. However this makes me question, why to spend time fixing old kernel if there are already ipipe patches for 3.10. Shouldn't we try to do this for the more recent kernel 3.10 so this can be eventually incorporated into Xenomai? or this not that straight forward?

Re: [Xenomai] RaspberryPi kernel 3.8 issue

2014-02-25 Thread Adam Vaughan
I just tried the above patch and the warning doesn't show up at boot anymore. I tried unplugging and plugging in a flash drive / keyboard and saw no issues in dmesg. I mentioned it in a previous email, but just as a friendly reminder this patch is still needed to allow you to boot with a

Re: [Xenomai] RaspberryPi kernel 3.8 issue

2014-02-25 Thread Adam Vaughan
22:30, Adam Vaughan vaugh...@umich.edu wrote: I just tried the above patch and the warning doesn't show up at boot anymore. I tried unplugging and plugging in a flash drive / keyboard and saw no issues in dmesg. I mentioned it in a previous email, but just as a friendly reminder

Re: [Xenomai] RaspberryPi kernel 3.8 issue

2014-02-25 Thread Adam Vaughan
I forgot to add the *.txt extension to the above, sorry about that. On Tue, Feb 25, 2014 at 6:42 PM, Adam Vaughan vaugh...@umich.edu wrote: I don't have a WiFi or Bluetooth adapter with me to try at the moment, but I just tried booting with my USB flash drive installed prior to power

Re: [Xenomai] RaspberryPi kernel 3.8 issue

2014-02-23 Thread Adam Vaughan
I haven't tried using the official Xenomai Raspberry Pi 3.8.13 patch for a few months now because I had some issue disabling the USB FIQ and I needed to run alternate FIQ code. I can't remember exactly what error I was seeing, but my stopgap solution was to fall back to 3.5.7 (detailed below). I

Re: [Xenomai] RaspberryPi kernel 3.8 issue

2014-02-23 Thread Adam Vaughan
* I also missed that it was a warning. Sorry about that. On Sun, Feb 23, 2014 at 5:37 PM, Adam Vaughan vaugh...@umich.edu wrote: I haven't tried using the official Xenomai Raspberry Pi 3.8.13 patch for a few months now because I had some issue disabling the USB FIQ and I needed to run

Re: [Xenomai] RaspberryPi kernel 3.8 issue

2014-02-23 Thread Adam Vaughan
It's a separate issue, but I just rebuilt a Xenomai RPi 3.8.13 kernel with the patch at [1], and it now boots with the USB FIQ disabled. It has been a while, but I'm pretty sure it wasn't booting with FIQ disabled before, as detailed in [1]. I am able to run my FIQ code after retargeting the

Re: [Xenomai] RaspberryPi kernel 3.8 issue

2014-02-23 Thread Adam Vaughan
Regarding Paul's question, it doesn't matter if the dwc_otg.fiq_fix_enable=1 or 0. The same issue is still there. On Sun, Feb 23, 2014 at 7:47 PM, Adam Vaughan vaugh...@umich.edu wrote: It's a separate issue, but I just rebuilt a Xenomai RPi 3.8.13 kernel with the patch at [1], and it now

Re: [Xenomai] RaspberryPi kernel 3.8 issue

2014-02-23 Thread Adam Vaughan
I just recompiled 3.8.13 without the patch at [1], and my memory was apparently correct. The system stalls as shown in [1] with dwc_otg.fiq_fix_enable=0 without the patch. [1] https://github.com/raspberrypi/linux/issues/355 On Sun, Feb 23, 2014 at 7:53 PM, Adam Vaughan vaugh...@umich.edu

Re: [Xenomai] UART (serial port) with GPIO bitbang on Linux

2014-02-12 Thread Adam Vaughan
There is no point, an FIQ can preempt anything, and because of this, can not use any Linux, Xenomai, or Adeos service. FIQ handlers are written in assembly. An FIQ doesn't have to be written in assembly, but if you're looking for precise control over what the processor is doing, you probably

Re: [Xenomai] Raspberry Pi patch issue?

2013-10-04 Thread Adam Vaughan
, 2013 at 8:36 AM, Paul pau...@tuxcnc.org wrote: On Thursday 26 September 2013, Paul wrote: On Wednesday 25 September 2013, Gilles Chanteperdrix wrote: On 09/24/2013 02:00 PM, Paul wrote: On Tuesday 24 September 2013, Adam Vaughan wrote: I'm trying to build with the most recent xenomai-head

[Xenomai] Raspberry Pi patch issue?

2013-09-23 Thread Adam Vaughan
Hi, I'm trying to build with the most recent xenomai-head in git for the Raspberry Pi, and I'm encountering an issue (see below) when I try to run prepare-kernel.sh . I'm very new to this whole process (so it definitely could be user error), but it would seem that there's a problem with the