Re: SPI

2022-06-15 Thread Davide Valeri via Xenomai
with 5.15.45 [1] and .44 [2]) to have the correct overlays. Then, I installed the Xenomai modules and copied the Xenomai kernel. Still, I'm receiving the same error from my previous email and cannot enable the SPI. I noticed the same error after compiling [3], thinking it was the right .44 kernel for RPi4

Re: SPI

2022-06-09 Thread Philippe Gerum via Xenomai
Davide Valeri writes: > Hi! > We need your help once more. > We cannot enable SPI in the built kernel. Neither "sudo raspi-config" > nor manually editing "config.txt" worked. > > Using "raspi-config" results in > "mount: /config/dev

SPI

2022-06-09 Thread Davide Valeri via Xenomai
Hi! We need your help once more. We cannot enable SPI in the built kernel. Neither "sudo raspi-config" nor manually editing "config.txt" worked. Using "raspi-config" results in "mount: /config/device-tree: mount point does not exist * Failed to mount config

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,

spi-bcm2835 for rtdm

2021-12-25 Thread Yunjie Gu via Xenomai
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 two drivers use the same .compatible = "brcm,bcm2835-spi", w

[PATCH] drivers: spi: Fix compiler warning

2021-01-11 Thread Jan Kiszka via Xenomai
From: Jan Kiszka Addresses "warning: cast from pointer to integer of different size". Signed-off-by: Jan Kiszka --- kernel/drivers/spi/spi-master.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/drivers/spi/spi-master.c b/kernel/drivers/spi/spi-mast

Re: [xenomai-images][PATCH 1/1][REV 2] Enable RTDM SPI on BeagleBone Black

2020-11-12 Thread Jan Kiszka via Xenomai
On 12.11.20 09:25, Deniz Uğur wrote: >> This is not place to put some kind or "versioning" info. It's rather the >> place to put your commit message, explaining *why* we want this change. > > I wish it was possible to delete the previous mail, otherwise I wouldn’t > write that. > >> Why do we

Re: [xenomai-images][PATCH 1/1][REV 2] Enable RTDM SPI on BeagleBone Black

2020-11-12 Thread Deniz Uğur via Xenomai
gt; From: Deniz Ugur mailto:deniz...@gmail.com>> >> Date: Wed, 11 Nov 2020 22:23:03 +0300 >> Subject: [xenomai-images][PATCH 1/1][REV 2] Enable RTDM SPI on BeagleBone >> Black >> To: xenomai@xenomai.org <mailto:xenomai@xenomai.org> >> Cc: quirin.

Re: [xenomai-images][PATCH 1/1][REV 2] Enable RTDM SPI on BeagleBone Black

2020-11-11 Thread Jan Kiszka via Xenomai
On 11.11.20 20:47, Deniz Uğur via Xenomai wrote: > From dbc3add6bb3130d40602d3144d152acc0e0e3bd9 Mon Sep 17 00:00:00 2001 > From: Deniz Ugur > Date: Wed, 11 Nov 2020 22:23:03 +0300 > Subject: [xenomai-images][PATCH 1/1][REV 2] Enable RTDM SPI on BeagleBone > Black > To: xenoma

[xenomai-images][PATCH 1/1][REV 2] Enable RTDM SPI on BeagleBone Black

2020-11-11 Thread Deniz Uğur via Xenomai
From dbc3add6bb3130d40602d3144d152acc0e0e3bd9 Mon Sep 17 00:00:00 2001 From: Deniz Ugur Date: Wed, 11 Nov 2020 22:23:03 +0300 Subject: [xenomai-images][PATCH 1/1][REV 2] Enable RTDM SPI on BeagleBone Black To: xenomai@xenomai.org Cc: quirin.gylsto...@siemens.com Indentation was messed up

[xenomai-images][PATCH 1/1][REV 1] Enable RTDM SPI on BeagleBone Black

2020-11-11 Thread Deniz Uğur via Xenomai
From dbc3add6bb3130d40602d3144d152acc0e0e3bd9 Mon Sep 17 00:00:00 2001 From: Deniz Ugur Date: Wed, 11 Nov 2020 22:23:03 +0300 Subject: [xenomai-images][PATCH 1/1][REV 1] Enable RTDM SPI on BeagleBone Black To: xenomai@xenomai.org Cc: quirin.gylsto...@siemens.com --- recipes-core/customizations

[xenomai-images][PATCH 0/1][REV 1] Enable RTDM SPI on BeagleBone Black

2020-11-11 Thread Deniz Uğur via Xenomai
From dbc3add6bb3130d40602d3144d152acc0e0e3bd9 Mon Sep 17 00:00:00 2001 From: Deniz Ugur Date: Wed, 11 Nov 2020 22:27:07 +0300 Subject: [xenomai-images][PATCH 0/1][REV 1] Enable RTDM SPI on BeagleBone Black To: xenomai@xenomai.org Cc: quirin.gylsto...@siemens.com Tested on the next branch

Re: [xenomai-images][PATCH] Enable RTDM SPI on BeagleBone Black

2020-11-11 Thread Gylstorff Quirin via Xenomai
Hi Deniz, thanks for the patch. I have some comments on it. On 11/9/20 7:49 PM, Deniz Ugur via Xenomai wrote: From eb0caf6840423f9557037ca636b7d7dbeb6d566f Mon Sep 17 00:00:00 2001 From: Deniz Ugur Date: Mon, 9 Nov 2020 21:39:13 +0300 Subject: [xenomai-images][PATCH] Enable RTDM SPI

[xenomai-images][PATCH] Enable RTDM SPI on BeagleBone Black

2020-11-09 Thread Deniz Ugur via Xenomai
>From eb0caf6840423f9557037ca636b7d7dbeb6d566f Mon Sep 17 00:00:00 2001 From: Deniz Ugur Date: Mon, 9 Nov 2020 21:39:13 +0300 Subject: [xenomai-images][PATCH] Enable RTDM SPI on BeagleBone Black To: xenomai@xenomai.org Cc: jan.kis...@siemens.com Tested on the next branch but it possibly wo

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(+) > >

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

2020-11-05 Thread Jan Kiszka via Xenomai
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(+) diff --git a/recipes-kernel/linux/files/armhf_defconfig

Re: RTDM SPI Driver fails to initialize

2020-04-28 Thread Jan Kiszka via Xenomai
On 19.04.20 09:29, Deniz Ugur via Xenomai wrote: Hello all, My goal is to use RTDM SPI driver with Raspberry Pi 3B. I have built Xenomai 3.0.8 on Linux 4.9.80 with Real-time SPI support enabled as a module. Afterwards I have edited device-tree file (bcm2710-rpi-3-b.dtb) to add support to spi

RTDM SPI Driver fails to initialize

2020-04-19 Thread Deniz Ugur via Xenomai
Hello all, My goal is to use RTDM SPI driver with Raspberry Pi 3B. I have built Xenomai 3.0.8 on Linux 4.9.80 with Real-time SPI support enabled as a module. Afterwards I have edited device-tree file (bcm2710-rpi-3-b.dtb) to add support to spi driver. I also enabled SPI inside /boot/config.txt

Re: [PATCH] spi: update Makefile and Kconfig to include bbb spi driver

2020-01-22 Thread Jan Kiszka via Xenomai
On 21.01.20 18:44, Jan Kiszka via Xenomai wrote: On 20.01.20 14:22, Laurentiu-Cristian Duca via Xenomai wrote: Updated SPI Makefile and Kconfig in order to contain the option to compile am335x beaglebone black omap4 spi real-time driver. Signed-off-by: Laurentiu-Cristian Duca ---   kernel

Re: [PATCH] spi: update Makefile and Kconfig to include bbb spi driver

2020-01-21 Thread Jan Kiszka via Xenomai
On 20.01.20 14:22, Laurentiu-Cristian Duca via Xenomai wrote: Updated SPI Makefile and Kconfig in order to contain the option to compile am335x beaglebone black omap4 spi real-time driver. Signed-off-by: Laurentiu-Cristian Duca --- kernel/drivers/spi/Kconfig | 10 ++ kernel/drivers

[PATCH] spi: update Makefile and Kconfig to include bbb spi driver

2020-01-20 Thread Laurentiu-Cristian Duca via Xenomai
Updated SPI Makefile and Kconfig in order to contain the option to compile am335x beaglebone black omap4 spi real-time driver. Signed-off-by: Laurentiu-Cristian Duca --- kernel/drivers/spi/Kconfig | 10 ++ kernel/drivers/spi/Makefile | 2 ++ 2 files changed, 12 insertions(+) diff

[PATCH 4/5] am335x (beaglebone black) omap4 spi real-time driver.

2020-01-14 Thread Laurentiu-Cristian Duca via Xenomai
From: Laurentiu-Cristian Duca spi-omap2-mcspi-rt.c: I/O handling is lifted from omap2/4 mcspi linux driver. The code follows the model in spi-bcm2835.c. The theoretical maximum spi frequency of am335x omap4 is 48MHz, and the driver practical maximum frequency is limited to 40MHz. The omap4

[PATCH 3/5] spi: add functions ..._transfer_iobufs_n()

2020-01-14 Thread Laurentiu-Cristian Duca via Xenomai
From: Laurentiu-Cristian Duca spi-bcm2835.c, spi-sun6i.c: In order to support SPI_RTIOC_TRANSFER_N ioctl option add functions bcm2835_transfer_iobufs_n() and sun6i_transfer_iobufs_n() which are similar to ..._transfer_iobufs(), but allow user specified len for spi transfer. Signed-off

[PATCH 2/5] spi: new SPI_RTIOC_TRANSFER_N ioctl option

2020-01-14 Thread Laurentiu-Cristian Duca via Xenomai
From: Laurentiu-Cristian Duca SPI_RTIOC_TRANSFER_N allows the user to make SPI transfers of arbitrary lengths by using the same mmapped memory area. Signed-off-by: Laurentiu-Cristian Duca --- include/rtdm/uapi/spi.h | 1 + kernel/drivers/spi/spi-master.c | 15 ++- kernel

[PATCH 1/5] spi: fix read() return code checking in spi_master_read_rt()

2020-01-14 Thread Laurentiu-Cristian Duca via Xenomai
From: Laurentiu-Cristian Duca spi-master.c: spi_master_read_rt(): when master->ops->read() completes successfully it returns > 0, so, in this case, copy data to userspace. Signed-off-by: Laurentiu-Cristian Duca --- kernel/drivers/spi/spi-master.c | 4 ++-- 1 file changed, 2 inserti

Re: [patch 1/5] spi-master.c: spi_master_read_rt()

2020-01-13 Thread Jan Kiszka via Xenomai
Sorry for the late feedback - my backlog grew too large. On 30.12.19 16:06, Laurentiu-Cristian Duca via Xenomai wrote: From 15c59317fe1a9d60e20d470de3aca09bca5b99d0 Mon Sep 17 00:00:00 2001 From: Laurentiu-Cristian Duca Date: Fri, 20 Dec 2019 17:35:50 +0200 Subject: [PATCH] spi-master.c

[patch 4/5] spi-omap2-mcspi-rt.c: am335x (beaglebone black) omap4 spi real-time driver

2019-12-30 Thread Laurentiu-Cristian Duca via Xenomai
>From ad798823570c001f640e9ab353ce3362d02f5777 Mon Sep 17 00:00:00 2001 From: Laurentiu-Cristian Duca Date: Sat, 28 Dec 2019 12:13:17 +0200 Subject: [PATCH] spi-omap2-mcspi-rt.c: am335x (beaglebone black) omap4 spi real-time driver I/O handling is lifted from omap2/4 mcspi linux dri

Re: am335x omap4 beaglebone black spi rt driver

2019-12-20 Thread Laurentiu-Cristian Duca via Xenomai
l test (I did not study the source of spitest.c in detail) - bbb spi rt driver - tested with spitest and the personal test On 12/19/19, Jan Kiszka wrote: > Thanks for the contribution! > > Some quick requests: First, please split up the changes to the SPI core > and the addition of t

am335x omap4 beaglebone black spi rt driver

2019-12-19 Thread Laurentiu-Cristian Duca via Xenomai
R_N ioctl option to transfer only len bytes from mmaped region - spi_master_read_rt(): if master->ops->read() returns > 0, then copy data to userspace. Signed-off-by: Laurentiu-Cristian Duca --- include/rtdm/uapi/spi.h | 1 + kernel/drivers/spi/Kconfig

Re: Hard lock up on Raspberry pi 3 when RTDM interrupt from SPI peripheral or from DMA is invoked

2019-08-06 Thread Nitin Kulkarni via Xenomai
HI Philippe, I know that I have to take into consideration the dma_engine framework and adapt the dma backend driver. Two years back I had written to you about SPI transfers in primary domain with dma support and we successfully did it for x86 based Upcore with the help of your valuable inputs

Re: Hard lock up on Raspberry pi 3 when RTDM interrupt from SPI peripheral or from DMA is invoked

2019-08-05 Thread Philippe Gerum via Xenomai
gt;> the first interrupt the system goes into a hard locked state. >> I tried the RTDM SPI driver for RPI (spi-bcm2835.c) provided in the Xenomai >> upstream, >> even that makes the system lock up. I have enabled IPIPE_DEBUG and tried to >> see if I get any useful trace but

Re: Hard lock up on Raspberry pi 3 when RTDM interrupt from SPI peripheral or from DMA is invoked

2019-08-05 Thread Philippe Gerum via Xenomai
tried the RTDM SPI driver for RPI (spi-bcm2835.c) provided in the Xenomai > upstream, > even that makes the system lock up. I have enabled IPIPE_DEBUG and tried to > see if I get any useful trace but no luck. > > GPIO interupts working: > I thought to check if the GPI

Hard lock up on Raspberry pi 3 when RTDM interrupt from SPI peripheral or from DMA is invoked

2019-08-05 Thread Nitin Kulkarni via Xenomai
Hello, I am trying to request DMA interrupts in real-time domain. When I request the irq with rtdm_irq_request(), the irq is successfully registered but at the first interrupt the system goes into a hard locked state. I tried the RTDM SPI driver for RPI (spi-bcm2835.c) provided in the Xenomai

Re: rtdm spi demo on Raspberri pi

2018-12-13 Thread Hồ Tâm via Xenomai
; > I'll hopefully have some time in the very near future to put together a > quick example. > > Thanks > > Greg > > On Sat, Dec 8, 2018 at 3:06 AM Ho Tam wrote: > >> Yes, linux spi driver has been isolated. I am waiting for your example >> code. >>

Re: rtdm spi demo on Raspberri pi

2018-12-13 Thread Greg Gallagher via Xenomai
Ho Tam wrote: > Yes, linux spi driver has been isolated. I am waiting for your example > code. > Thank you, > > > <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail_term=icon> > Virus-free. > www.avast.com > <https:

Re: rtdm spi demo on Raspberri pi

2018-12-07 Thread Greg Gallagher via Xenomai
I've played with it a bit, I'll see if I have any example code laying around. Did you unbind the linux spi driver? Thanks Greg On Thu, Dec 6, 2018 at 9:50 PM Ho Tam via Xenomai wrote: > > Hello group, > I can see there is rtdm spi driver for raspberry pi but can't see any > us

rtdm spi demo on Raspberri pi

2018-12-06 Thread Ho Tam via Xenomai
Hello group, I can see there is rtdm spi driver for raspberry pi but can't see any userspace demo for it. I have built and inserted xeno_spi_bcm2835, xeno_spi modules but couldn't see any spi device in '/dev/rtdm/'. Does anyone have example using this driver? Thank you --

[Xenomai-git] Philippe Gerum : drivers/spi: add support for Allwinner's A31, H3 SoCs

2017-08-28 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 050e201d39e6072cff5791956f7eccbedbe27946 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=050e201d39e6072cff5791956f7eccbedbe27946 Author: Philippe Gerum <r...@xenomai.org> Date: Sun Aug 20 19:22:31 2017 +0200 drivers/spi: add s

Re: [Xenomai] real-time spi driver for imx6

2017-08-02 Thread Philippe Gerum
On 08/02/2017 04:31 AM, Jackson Jones wrote: > Philippe, > > I changed the .compatible string in spi-device.c so that it would search > for "spidev". The module now tries to initialize, but I am getting a null > pointer somewhere. The kernel stack trace is pas

Re: [Xenomai] real-time spi driver for imx6

2017-08-01 Thread Tom Evans
On 02/08/17 12:31, Jackson Jones wrote: Philippe, i.MX6 SPI Driver. I hope that one is better (meaning completely rewritten) than the i.MX53 one. It has all sorts of problems. You might want to check to see if any of the i.MX53 driver problems I found and fixed are in the i.MX6 ones

Re: [Xenomai] real-time spi driver for imx6

2017-08-01 Thread Jackson Jones
Philippe, I changed the .compatible string in spi-device.c so that it would search for "spidev". The module now tries to initialize, but I am getting a null pointer somewhere. The kernel stack trace is pasted below. I put a couple of printk's in spi_device_probe to try and see where

Re: [Xenomai] real-time spi driver for imx6

2017-07-29 Thread Philippe Gerum
On 07/29/2017 04:51 AM, Jackson Jones wrote: > Fixed some dumb build errors, did some cleanup on the driver. Built the > driver as a module, it loads but does nothing. It is probably not finding > the spi device. > > Using Xenomai 3.0.5. > > Attaching the .dtsi so show

Re: [Xenomai] real-time spi driver for imx6

2017-07-28 Thread Jackson Jones
Fixed some dumb build errors, did some cleanup on the driver. Built the driver as a module, it loads but does nothing. It is probably not finding the spi device. Using Xenomai 3.0.5. Attaching the .dtsi so show what pins the spidev is mapped to. On Thu, Jul 27, 2017 at 6:29 PM, Jackson Jones

Re: [Xenomai] real-time spi driver for imx6

2017-07-27 Thread Jackson Jones
Philippe, I put together a driver for the i.mx6. The Freescale/NXP driver in the kernel covered all the imx chips. I whittled that down to just the imx6 to make things simpler. I have gotten the driver to compile in the xenomai/kernel/driver/spi directory and link, but it does not even load

[Xenomai-git] Philippe Gerum : drivers/spi: enable backend driver for all BCM2835-based SoCs

2017-07-27 Thread git repository hosting
Module: xenomai-3 Branch: next Commit: 88709db3ed52856ab8a228fd7cb23ef372ef0c7a URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=88709db3ed52856ab8a228fd7cb23ef372ef0c7a Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jul 25 18:32:46 2017 +0200 drivers/spi: enable backend

[Xenomai-git] Philippe Gerum : drivers/spi: enable backend driver for all BCM2835-based SoCs

2017-07-26 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 88709db3ed52856ab8a228fd7cb23ef372ef0c7a URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=88709db3ed52856ab8a228fd7cb23ef372ef0c7a Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jul 25 18:32:46 2017 +0200 drivers/spi:

Re: [Xenomai] real-time spi driver for imx6

2017-06-30 Thread Philippe Gerum
On 06/29/2017 11:15 PM, Jackson Jones wrote: > Are there any plans to add a real-time driver for the imx6 spi? > > No ongoing work to my knowledge. The ECSPI is fairly straightforward to control in PIO mode. FWIW, I believe that writing a backend driving this chip on top of Cobalt's ge

[Xenomai] real-time spi driver for imx6

2017-06-29 Thread Jackson Jones
Are there any plans to add a real-time driver for the imx6 spi? Thanks, Jackson Jones Jackson Jones Senior Project Software Engineer Stellartech Research Corporation 560 Cottonwood Dr. Milpitas, CA 95035 work: 408-331-3159 cell: 408-835-5334 Email: jjo...@stellartec.com Home Email

[Xenomai-git] Philippe Gerum : drivers/spi: introduce real-time SPI support

2017-02-08 Thread git repository hosting
Module: xenomai-3 Branch: master Commit: b7e3bd434ff00403bfe971c531c467e42502386f URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b7e3bd434ff00403bfe971c531c467e42502386f Author: Philippe Gerum <r...@xenomai.org> Date: Fri Jun 17 16:28:25 2016 +0200 drivers/spi: introduce rea

[Xenomai-git] Philippe Gerum : testsuite/spitest: add SPI test suite

2017-02-08 Thread git repository hosting
Module: xenomai-3 Branch: master Commit: 789773177b7d124dac8c652f53a973cf71ee2b2a URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=789773177b7d124dac8c652f53a973cf71ee2b2a Author: Philippe Gerum <r...@xenomai.org> Date: Sat Jun 25 18:55:14 2016 +0200 testsuite/spitest: add SP

[Xenomai-git] Philippe Gerum : drivers/spi: master: clear device class upon removal

2017-02-08 Thread git repository hosting
Module: xenomai-3 Branch: master Commit: cc6f7533e468f874834bb0e78b3b0765b33cd706 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cc6f7533e468f874834bb0e78b3b0765b33cd706 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Nov 29 12:21:32 2016 +0100 drivers/spi: master:

[Xenomai-git] Philippe Gerum : drivers/spi: introduce iobufs.map_len to expose the mapping length

2017-02-08 Thread git repository hosting
Module: xenomai-3 Branch: master Commit: 11a3a75f92cecabf2a202698ebde60287dd5ef3f URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=11a3a75f92cecabf2a202698ebde60287dd5ef3f Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 10:41:33 2016 +0200 drivers/spi: int

[Xenomai-git] Philippe Gerum : drivers/spi: enable GPIO-based chip select

2017-02-08 Thread git repository hosting
Module: xenomai-3 Branch: master Commit: 0f85395e3228ea30523d21a50ee9a0e5d0dfe82c URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0f85395e3228ea30523d21a50ee9a0e5d0dfe82c Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 09:58:10 2016 +0200 drivers/spi: enable GPIO

[Xenomai-git] Philippe Gerum : drivers/spi: fix read/write transfer descriptor

2017-02-08 Thread git repository hosting
Module: xenomai-3 Branch: master Commit: f6d88b8d4c0d1e68673726dca5d668c29f275662 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f6d88b8d4c0d1e68673726dca5d668c29f275662 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Aug 10 10:14:28 2016 +0200 drivers/spi: fix read

[Xenomai-git] Philippe Gerum : drivers/spi: sanitize DEBUG mode switch

2017-02-08 Thread git repository hosting
Module: xenomai-3 Branch: master Commit: 121c9feb407e259e27995f70ba63b8a64ac071b6 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=121c9feb407e259e27995f70ba63b8a64ac071b6 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 10:49:26 2016 +0200 drivers/spi: sanitize DEBU

[Xenomai-git] Philippe Gerum : drivers/spi: fix read/write transfer descriptor

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: f6d88b8d4c0d1e68673726dca5d668c29f275662 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f6d88b8d4c0d1e68673726dca5d668c29f275662 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Aug 10 10:14:28 2016 +0200 drivers/spi: fi

[Xenomai-git] Philippe Gerum : drivers/spi: master: clear device class upon removal

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: cc6f7533e468f874834bb0e78b3b0765b33cd706 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cc6f7533e468f874834bb0e78b3b0765b33cd706 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Nov 29 12:21:32 2016 +0100 drivers/spi: master:

[Xenomai-git] Philippe Gerum : drivers/spi: bcm2835: drop unused variables

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 18aa7ff54025132aaabc6daa7dd50a70f62763bb URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=18aa7ff54025132aaabc6daa7dd50a70f62763bb Author: Philippe Gerum <r...@xenomai.org> Date: Thu Sep 29 15:25:57 2016 +0200 drivers/spi: bcm2835

[Xenomai-git] Philippe Gerum : drivers/spi: introduce real-time SPI support

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: b7e3bd434ff00403bfe971c531c467e42502386f URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b7e3bd434ff00403bfe971c531c467e42502386f Author: Philippe Gerum <r...@xenomai.org> Date: Fri Jun 17 16:28:25 2016 +0200 drivers/spi: int

[Xenomai-git] Philippe Gerum : drivers/spi: sanitize DEBUG mode switch

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 121c9feb407e259e27995f70ba63b8a64ac071b6 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=121c9feb407e259e27995f70ba63b8a64ac071b6 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 10:49:26 2016 +0200 drivers/spi: sa

[Xenomai-git] Philippe Gerum : drivers/spi: introduce iobufs.map_len to expose the mapping length

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 11a3a75f92cecabf2a202698ebde60287dd5ef3f URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=11a3a75f92cecabf2a202698ebde60287dd5ef3f Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 10:41:33 2016 +0200 drivers/spi: int

[Xenomai-git] Philippe Gerum : drivers/spi: enable GPIO-based chip select

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 0f85395e3228ea30523d21a50ee9a0e5d0dfe82c URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0f85395e3228ea30523d21a50ee9a0e5d0dfe82c Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 09:58:10 2016 +0200 drivers/spi: enabl

[Xenomai-git] Philippe Gerum : testsuite/spitest: add SPI test suite

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: stable-3.0.x Commit: 789773177b7d124dac8c652f53a973cf71ee2b2a URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=789773177b7d124dac8c652f53a973cf71ee2b2a Author: Philippe Gerum <r...@xenomai.org> Date: Sat Jun 25 18:55:14 2016 +0200 testsuite/spitest: a

[Xenomai-git] Philippe Gerum : drivers/spi: bcm2835: drop unused variables

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 18aa7ff54025132aaabc6daa7dd50a70f62763bb URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=18aa7ff54025132aaabc6daa7dd50a70f62763bb Author: Philippe Gerum <r...@xenomai.org> Date: Thu Sep 29 15:25:57 2016 +0200 drivers/spi: bcm2835

[Xenomai-git] Philippe Gerum : drivers/spi: master: clear device class upon removal

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: cc6f7533e468f874834bb0e78b3b0765b33cd706 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=cc6f7533e468f874834bb0e78b3b0765b33cd706 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Nov 29 12:21:32 2016 +0100 drivers/spi: master:

[Xenomai-git] Philippe Gerum : drivers/spi: introduce real-time SPI support

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: b7e3bd434ff00403bfe971c531c467e42502386f URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=b7e3bd434ff00403bfe971c531c467e42502386f Author: Philippe Gerum <r...@xenomai.org> Date: Fri Jun 17 16:28:25 2016 +0200 drivers/spi: introduc

[Xenomai-git] Philippe Gerum : drivers/spi: fix read/write transfer descriptor

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: f6d88b8d4c0d1e68673726dca5d668c29f275662 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f6d88b8d4c0d1e68673726dca5d668c29f275662 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Aug 10 10:14:28 2016 +0200 drivers/spi: fix read

[Xenomai-git] Philippe Gerum : drivers/spi: introduce iobufs.map_len to expose the mapping length

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 11a3a75f92cecabf2a202698ebde60287dd5ef3f URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=11a3a75f92cecabf2a202698ebde60287dd5ef3f Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 10:41:33 2016 +0200 drivers/spi: int

[Xenomai-git] Philippe Gerum : drivers/spi: enable GPIO-based chip select

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 0f85395e3228ea30523d21a50ee9a0e5d0dfe82c URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0f85395e3228ea30523d21a50ee9a0e5d0dfe82c Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 09:58:10 2016 +0200 drivers/spi: enabl

[Xenomai-git] Philippe Gerum : drivers/spi: sanitize DEBUG mode switch

2016-12-27 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 121c9feb407e259e27995f70ba63b8a64ac071b6 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=121c9feb407e259e27995f70ba63b8a64ac071b6 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 10:49:26 2016 +0200 drivers/spi: sanitize

[Xenomai-git] Philippe Gerum : drivers/spi: enable GPIO-based chip select

2016-11-21 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: f2d77932c737e31a3c2abce81ba00436a60ed1f6 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=f2d77932c737e31a3c2abce81ba00436a60ed1f6 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 09:58:10 2016 +0200 drivers/spi: enabl

[Xenomai-git] Philippe Gerum : drivers/spi: introduce real-time SPI support

2016-11-21 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 9147f8a23eb296456175803ff2045d7f0a8c454b URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9147f8a23eb296456175803ff2045d7f0a8c454b Author: Philippe Gerum <r...@xenomai.org> Date: Fri Jun 17 16:28:25 2016 +0200 drivers/spi: introduc

[Xenomai-git] Philippe Gerum : drivers/spi: bcm2835: drop unused variables

2016-11-21 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 833ac2761c06ff2149b7ffd4d4e65a547c740321 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=833ac2761c06ff2149b7ffd4d4e65a547c740321 Author: Philippe Gerum <r...@xenomai.org> Date: Thu Sep 29 15:25:57 2016 +0200 drivers/spi: bcm2835

[Xenomai-git] Philippe Gerum : testsuite/spitest: add SPI test suite

2016-11-21 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 4554fc810859b2b9066702c7d64a5762c191c4c3 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4554fc810859b2b9066702c7d64a5762c191c4c3 Author: Philippe Gerum <r...@xenomai.org> Date: Sat Jun 25 18:55:14 2016 +0200 testsuite/spitest: a

[Xenomai-git] Philippe Gerum : drivers/spi: introduce iobufs.map_len to expose the mapping length

2016-11-21 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: c4ab584844fe2c40336a43628489633e022aa649 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c4ab584844fe2c40336a43628489633e022aa649 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 10:41:33 2016 +0200 drivers/spi: int

[Xenomai-git] Philippe Gerum : drivers/spi: fix read/write transfer descriptor

2016-11-21 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 58e04fba6cb264074a3427e931b7d32778f0db25 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=58e04fba6cb264074a3427e931b7d32778f0db25 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Aug 10 10:14:28 2016 +0200 drivers/spi: fix read

[Xenomai-git] Philippe Gerum : testsuite/spitest: add SPI test suite

2016-09-29 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: dca68e639bc42d8b453932cd3893932372a6ab7f URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=dca68e639bc42d8b453932cd3893932372a6ab7f Author: Philippe Gerum <r...@xenomai.org> Date: Sat Jun 25 18:55:14 2016 +0200 testsuite/spitest: a

[Xenomai-git] Philippe Gerum : drivers/spi: introduce iobufs.map_len to expose the mapping length

2016-09-29 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 0090acdc5a95d76247904d82c56b1544c04140cc URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0090acdc5a95d76247904d82c56b1544c04140cc Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 10:41:33 2016 +0200 drivers/spi: int

[Xenomai-git] Philippe Gerum : drivers/spi: bcm2835: drop unused variables

2016-09-29 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 48c345abe2d4e189c3acbb1d3e9e8a17a00ed56f URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=48c345abe2d4e189c3acbb1d3e9e8a17a00ed56f Author: Philippe Gerum <r...@xenomai.org> Date: Thu Sep 29 15:25:57 2016 +0200 drivers/spi: bcm2835

[Xenomai-git] Philippe Gerum : drivers/spi: enable GPIO-based chip select

2016-09-29 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: a220f522106c1c086908445f06992663f6bd5a64 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=a220f522106c1c086908445f06992663f6bd5a64 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 09:58:10 2016 +0200 drivers/spi: enabl

[Xenomai-git] Philippe Gerum : drivers/spi: sanitize DEBUG mode switch

2016-09-29 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: c5850842ed0de1c3acc30d46993300ab2d80126b URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c5850842ed0de1c3acc30d46993300ab2d80126b Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 10:49:26 2016 +0200 drivers/spi: sanitize

[Xenomai-git] Philippe Gerum : drivers/spi: fix read/write transfer descriptor

2016-09-29 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 4953b3e156fed32a1ca3368ad13573d3ad657200 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4953b3e156fed32a1ca3368ad13573d3ad657200 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Aug 10 10:14:28 2016 +0200 drivers/spi: fix read

[Xenomai-git] Philippe Gerum : drivers/spi: fix read/write transfer descriptor

2016-08-10 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 525daef45fb21c494f92cb2ffc79a77a5f544571 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=525daef45fb21c494f92cb2ffc79a77a5f544571 Author: Philippe Gerum <r...@xenomai.org> Date: Wed Aug 10 10:14:28 2016 +0200 drivers/spi: fix read

[Xenomai-git] Philippe Gerum : drivers/spi: introduce iobufs.map_len to expose the mapping length

2016-06-28 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 944d71060834888551fb2834a9cd5cfb8d079f28 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=944d71060834888551fb2834a9cd5cfb8d079f28 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 10:41:33 2016 +0200 drivers/spi: int

[Xenomai-git] Philippe Gerum : drivers/spi: enable GPIO-based chip select

2016-06-28 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 19b67f374050aa430a028078fe94633e57a8ff98 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=19b67f374050aa430a028078fe94633e57a8ff98 Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 09:58:10 2016 +0200 drivers/spi: enabl

[Xenomai-git] Philippe Gerum : drivers/spi: enable GPIO-based chip select

2016-06-28 Thread git repository hosting
Module: xenomai-3 Branch: wip/drivers Commit: 2e3034e16e8ef107fff1168b23ef3708b15f888e URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=2e3034e16e8ef107fff1168b23ef3708b15f888e Author: Philippe Gerum <r...@xenomai.org> Date: Tue Jun 28 09:58:10 2016 +0200 drivers/spi: enabl

[Xenomai] Raspberry Pi RTDM SPI Driver

2016-03-11 Thread Nicolas SCHURANDO
Hello everyone, I have written a Xenomai 3.0 RTDM SPI driver for the Raspberry Pi 1 and 2, and I thought I would share it here as I believe it could be of use to some of you. There is room for improvement as only polling transfer has been implemented so far. But if anyone feels the courage

[Xenomai] Searching Raspberry Pi UART and SPI RTDM drivers

2016-03-08 Thread Ahmet Soyyiğit
Dear xenomai subscribers, I am looking for Raspberry Pi UART and SPI drivers like Mr. Savana said in this post: http://www.xenomai.org/pipermail/xenomai/2014-May/030845.html If there is any, where can I reach the source code of these drivers ? If there is not, how can I implement such drivers

[Xenomai] RTDM SPI Driver for ARM

2015-10-16 Thread Johann Obermayr
Hello, i search a RTDM SPI for the Freescale imx6 ARM Processor. i only found "Xenomai RT SPI Driver for Blackfin <https://web.archive.org/web/20071016064104/http://www.rcode.net/blog/tlaurenzo/2007/04/14/xenomai-rt-spi-driver-for-blackfin/>" with http://www.rcode.net/bloga

Re: [Xenomai] RTDM SPI Driver for ARM

2015-10-16 Thread Philippe Gerum
On 10/16/2015 11:59 AM, Johann Obermayr wrote: > Hello, > > i search a RTDM SPI for the Freescale imx6 ARM Processor. > > i only found "Xenomai RT SPI Driver for Blackfin > <https://web.archive.org/web/20071016064104/http://www.rcode.net/blog/tlaurenzo/2007/0

Re: [Xenomai] SPI tx underflow interrupt not available

2014-08-27 Thread Reitinger, Peter
On 08/26/2014 04:24 PM, Reitinger, Peter wrote: Dear Xenomai people, I am currently trying to write an SPI slave rtdm driver with fifo and dma support. I would like to receive an interrupt if there is an underflow in the tx fifo. Therefore I try to request the related hardware interrupt

Re: [Xenomai] SPI tx underflow interrupt not available

2014-08-27 Thread Gilles Chanteperdrix
On 08/27/2014 09:48 AM, Reitinger, Peter wrote: On 08/26/2014 04:24 PM, Reitinger, Peter wrote: Dear Xenomai people, I am currently trying to write an SPI slave rtdm driver with fifo and dma support. I would like to receive an interrupt if there is an underflow in the tx fifo

[Xenomai] SPI tx underflow interrupt not available

2014-08-26 Thread Reitinger, Peter
Dear Xenomai people, I am currently trying to write an SPI slave rtdm driver with fifo and dma support. I would like to receive an interrupt if there is an underflow in the tx fifo. Therefore I try to request the related hardware interrupt (which is irq 125 at my emtrion board which has EDMA

Re: [Xenomai] SPI tx underflow interrupt not available

2014-08-26 Thread Gilles Chanteperdrix
On 08/26/2014 04:24 PM, Reitinger, Peter wrote: Dear Xenomai people, I am currently trying to write an SPI slave rtdm driver with fifo and dma support. I would like to receive an interrupt if there is an underflow in the tx fifo. Therefore I try to request the related hardware

Re: [Xenomai] access SPI and DMA hardware from application (external abort...)

2014-08-19 Thread Gilles Chanteperdrix
is no policy in kernel-space), so there is nothing to hide. Do you really think that an SPI controller driver is worth hiding? Please no top-posting, nor private mails (I usually ignore private mails). -- Gilles

Re: [Xenomai] access SPI and DMA hardware from application (external abort...)

2014-08-15 Thread Reitinger, Peter
was really puzzled then. I guess it will also be possible to access the hw registers of the SPI with the xenomai rtdm io user mapping now... Kind regards, Peter Reitinger ___ Xenomai mailing list Xenomai@xenomai.org http://www.xenomai.org/mailman

Re: [Xenomai] access SPI and DMA hardware from application (external abort...)

2014-08-15 Thread Gilles Chanteperdrix
to enable its clock. Sorry for posting this, but I was really puzzled then. I guess it will also be possible to access the hw registers of the SPI with the xenomai rtdm io user mapping now... It is normally recommended to implement drivers in kernel-space using the RTDM API: this forces you

[Xenomai] access SPI and DMA hardware from application (external abort on non-linefetch)

2014-08-14 Thread Reitinger, Peter
Dear Xenomai people, first of all, sorry about my last post. I see now that I should have tested it myself before spamming here asking about a specific driver. Now I have a new question/problem. I'd like to read and write hw registers of spi and dma on an AM3354... Therefore I wrote a little

[Xenomai] (slave) SPI driver for Am3354...?

2014-08-12 Thread Reitinger, Peter
Dear Xenomai people, as we like to avoid to re-invent the wheel when possible, I'd like to ask you if there is a mature spi driver as rtdm driver which enables usage of McSPI in slave mode and combined with dma. (A big preloaded byte array shall be clocked to the master in an FPGA

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

2014-05-05 Thread Massimo Savina
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 Raspberry Pi, which makes use of SPI and UART peripherals, to talk with realtime hardware (1ms loop on SPI, 10ms loop on UART). So I need of realtime drivers

  1   2   >