rtcan: driver for the Advantech PCI cards
PATCH 1/1 rtcan: driver for the Advantech PCI cards
In reply to a message not in the archiveHello,
this patch adds support for the CANBUS PCI cards from Advantech It has been tested on the 1680U (dual channel) Regards
Thierry
ksrc/drivers/can/sja1000/Kconfig +9 -0
@@ -41,6 +41,15 @@ config XENO_DRIVERS_CAN_SJA1000_IXXAT_PC the second channel working, Xenomai's shared interrupt support must be enabled. +config XENO_DRIVERS_CAN_SJA1000_ADV_PCI + depends on XENO_DRIVERS_CAN_SJA1000 && PCI + tristate "ADVANTECH PCI Cards" + help + + This driver is for the ADVANTECH PCI cards (1 or more channels) + It supports the 1680U and some other ones. + + config XENO_DRIVERS_CAN_SJA1000_PLX_PCI depends on XENO_DRIVERS_CAN_SJA1000 && PCI tristate "PLX90xx PCI-bridge based Cards"
ksrc/drivers/can/sja1000/Makefile +7 -0
@@ -9,6 +9,7 @@ obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_PE obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_PEAK_DNG) += xeno_can_peak_dng.o obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_PLX_PCI) += xeno_can_plx_pci.o obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_IXXAT_PCI) += xeno_can_ixxat_pci.o +obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_ADV_PCI) += xeno_can_adv_pci.o obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_EMS_PCI) += xeno_can_ems_pci.o obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_ESD_PCI) += xeno_can_esd_pci.o obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_ISA) += xeno_can_isa.o
@@ -19,6 +20,7 @@ xeno_can_peak_pci-y := rtcan_peak_pci.o xeno_can_peak_dng-y := rtcan_peak_dng.o xeno_can_plx_pci-y := rtcan_plx_pci.o xeno_can_ixxat_pci-y := rtcan_ixxat_pci.o +xeno_can_adv_pci-y := rtcan_adv_pci.o xeno_can_ems_pci-y := rtcan_ems_pci.o xeno_can_esd_pci-y := rtcan_esd_pci.o xeno_can_isa-y := rtcan_isa.o
@@ -35,6 +37,7 @@ obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_PE obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_PEAK_DNG) += xeno_can_peak_dng.o obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_PLX_PCI) += xeno_can_plx_pci.o obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_IXXAT_PCI) += xeno_can_ixxat_pci.o +obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_ADV_PCI) += xeno_can_adv_pci.o obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_EMS_PCI) += xeno_can_ems_pci.o obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_ESD_PCI) += xeno_can_esd_pci.o obj-$(CONFIG_XENO_DRIVERS_CAN_SJA1000_ISA) += xeno_can_isa.o
@@ -47,6 +50,7 @@ xeno_can_peak_pci-objs := rtcan_peak_pci xeno_can_peak_dng-objs := rtcan_peak_dng.o xeno_can_plx_pci-objs := rtcan_plx_pci.o xeno_can_ixxat_pci-objs := rtcan_ixxat_pci.o +xeno_can_adv_pci-objs := rtcan_adv_pci.o xeno_can_ems_pci-objs := rtcan_ems_pci.o xeno_can_esd_pci-objs := rtcan_esd_pci.o xeno_can_isa-objs := rtcan_isa.o
@@ -73,6 +77,9 @@ xeno_can_plx_pci.o: $(xeno_can_plx_pci-o xeno_can_ixxat_pci.o: $(xeno_can_ixxat_pci-objs) $(LD) -r -o $@ $(xeno_can_ixxat_pci-objs) +xeno_can_adv_pci.o: $(xeno_can_adv_pci-objs) + $(LD) -r -o $@ $(xeno_can_adv_pci-objs) + xeno_can_ems_pci.o: $(xeno_can_ems_pci-objs) $(LD) -r -o $@ $(xeno_can_ems_pci-objs)
ksrc/drivers/can/sja1000/rtcan_adv_pci.c +368 -0
368 lines not on this page · raw message
Quoted 5 lines · Thierry Bultel
Hello,
this patch adds support for the CANBUS PCI cards from Advantech It has been tested on the 1680U (dual channel) Regards
Thierry
Wolfgang, are you OK with this patch?
Signature · 1 line
Gilles.
Wolfgang Grandegger
Acked-byQuoted 10 lines · Gilles Chanteperdrix
Quoted 5 lines · Thierry Bultel
Hello,
this patch adds support for the CANBUS PCI cards from Advantech It has been tested on the 1680U (dual channel) Regards
ThierryWolfgang, are you OK with this patch?
Oops, missed that patch. Yes, looks good now. You can add my
Thanks,
Wolfgang.
Gilles Chanteperdrix
AppliedQuoted 5 lines · Thierry Bultel
Hello,
this patch adds support for the CANBUS PCI cards from Advantech It has been tested on the 1680U (dual channel) Regards
Thierry
Merged, thanks. I just edited a bit the text to make it look more like a commit message. If you want to send a "cover letter", you should send a separate e-mail, otherwise the cover letter ends up in the git logs.
Regards.
Signature · 1 line
Gilles.
Hi Thierry,
please do not drop the CC to the Xenomai mailing list.
Quoted 5 lines · Thierry Bultel
Quoted 5 lines
Quoted 2 lines
Do you still plan to add the flexcan RTDM ?
I have already something running but it's not yet good enough for mainline. Will need more time. Anyway, I could send my preliminary patches in case you are interested, especially to test them.
Quoted 7 lines
Hi Wolfgang,
How are you ?I should receive my devkit for iMX6 in 2 weeks, and immediately start on first applying the ipipe patch to it (the provided kernel is likely to be the 3.2 from Freescale,
with some little modifications), and then work on the flexcan rtdm driver.
Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about 3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. Concerning the iPipe patches I think you have currently no other choice.
Quoted 3 lines
If you have the flexcan not achieved yet, and if you still agree to send it to me,
that is fine, I would be pleased to test it.
I have posted the patch two weeks ago to this mailing list:
http://www.xenomai.org/pipermail/xenomai/2012-September/026337.html
Would be nice if you could test it on i.MX6 as well. Awaiting your "Tested-by".
Wolfgang.
Quoted 27 lines · Wolfgang Grandegger
Hi Thierry,
please do not drop the CC to the Xenomai mailing list.
Quoted 5 lines · Thierry Bultel
Quoted 5 lines
Quoted 2 lines
Do you still plan to add the flexcan RTDM ?
I have already something running but it's not yet good enough for mainline. Will need more time. Anyway, I could send my preliminary patches in case you are interested, especially to test them.
Quoted 7 lines
Hi Wolfgang,
How are you ?I should receive my devkit for iMX6 in 2 weeks, and immediately start on first applying the ipipe patch to it (the provided kernel is likely to be the 3.2 from Freescale,
with some little modifications), and then work on the flexcan rtdm driver.Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about 3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. Concerning the iPipe patches I think you have currently no other choice.
Quoted 3 lines
If you have the flexcan not achieved yet, and if you still agree to send it to me,
that is fine, I would be pleased to test it.
Quoted 6 lines
I have posted the patch two weeks ago to this mailing list:
http://www.xenomai.org/pipermail/xenomai/2012-September/026337.html
Would be nice if you could test it on i.MX6 as well. Awaiting your "Tested-by".
Missed that, sorry, merged and pushed.
Signature · 1 line
Gilles.
Quoted 3 lines · Wolfgang Grandegger
Hi Thierry,
please do not drop the CC to the Xenomai mailing list.
ok, sorry
Quoted 9 lines · Thierry Bultel
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Do you still plan to add the flexcan RTDM ?
I have already something running but it's not yet good enough for mainline. Will need more time. Anyway, I could send my preliminary patches in case you are interested, especially to test them.
Hi Wolfgang,
How are you ?
Quoted 8 lines
Quoted 4 lines
I should receive my devkit for iMX6 in 2 weeks, and immediately start on first applying the ipipe patch to it (the provided kernel is likely to be the 3.2 from Freescale,
with some little modifications), and then work on the flexcan rtdm driver.Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about 3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. Concerning the iPipe patches I think you have currently no other choice.
The SOM manufacturer is announcing a 3.2.x kernel for the iMX6.
My understanding is that they take Freescale one and bring their BSP specific changes. I will see. In my plan there is the (hopefully not) ipipe port stuff.
For 3.0.36, I see that there is MXC specific patching (pre and post scheme)
But the README says that the latest ipipe patches are on http://download.gna.org/adeos/patches/v3.x/arm/
At that location, there is a single ipipe-core-3.2.21-arm-1.patch That does not fit for the iMX6 / and freescale kernel ?
I think I need some clarification.
Quoted 10 lines
Quoted 4 lines
If you have the flexcan not achieved yet, and if you still agree to send it to me,
that is fine, I would be pleased to test it.I have posted the patch two weeks ago to this mailing list:
http://www.xenomai.org/pipermail/xenomai/2012-September/026337.html
Would be nice if you could test it on i.MX6 as well. Awaiting your "Tested-by".
I will do so; and keep you informed of the results asap. Thanks
Thierry
Quoted 4 lines
Wolfgang.
Quoted 30 lines · Thierry Bultel
Quoted 3 lines · Wolfgang Grandegger
Hi Thierry,
please do not drop the CC to the Xenomai mailing list.
ok, sorry
Quoted 9 lines · Thierry Bultel
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Do you still plan to add the flexcan RTDM ?
I have already something running but it's not yet good enough for mainline. Will need more time. Anyway, I could send my preliminary patches in case you are interested, especially to test them.
Hi Wolfgang,
How are you ?Quoted 8 lines
Quoted 4 lines
I should receive my devkit for iMX6 in 2 weeks, and immediately start on first applying the ipipe patch to it (the provided kernel is likely to be the 3.2 from Freescale,
with some little modifications), and then work on the flexcan rtdm driver.Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about 3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. Concerning the iPipe patches I think you have currently no other choice.
The SOM manufacturer is announcing a 3.2.x kernel for the iMX6.
My understanding is that they take Freescale one and bring their BSP specific changes. I will see. In my plan there is the (hopefully not) ipipe port stuff.
Quoted 7 lines
For 3.0.36, I see that there is MXC specific patching (pre and post scheme)
But the README says that the latest ipipe patches are on http://download.gna.org/adeos/patches/v3.x/arm/At that location, there is a single ipipe-core-3.2.21-arm-1.patch That does not fit for the iMX6 / and freescale kernel ?
I think I need some clarification.
Well, it simply means that the new patches have not been copied on the I-pipe repository.
You can download the latest version at this location:
http://www.xenomai.org/~gch/pub/mxc/3.0.43/
Signature · 1 line
Gilles.
Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about
Quoted 4 lines
Quoted 3 lines
3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. Concerning the iPipe patches I think you have currently no other choice.
In both cases, (latest one from Freescale, or 3.4 from mainline) there is currently no available matching ipipe patch.
I do not know if the latest kernel from mainline will fit for the reference board that I will receive.
I do not realize the amount of work for porting either
- ipipe-core-3.2.21-arm.patch to 3.4 (mainline)
or
- adeos-ipipe-3.0.43-* to the latest (which one ?) kernel from Freescale
About that latest option I am a little bit puzzled. Namely from what I know, Freescale kernels are on
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/refs/heads
and the latest published 3.x kernel is ... a 3.0.15_12 that has not moved for months. Thanks for clarifying
Thierry
Quoted 21 lines · Thierry Bultel
Quoted 3 lines · Wolfgang Grandegger
Hi Thierry,
please do not drop the CC to the Xenomai mailing list.
ok, sorry
Quoted 14 lines · Thierry Bultel
Quoted 12 lines
Quoted 4 lines
Quoted 1 line
Do you still plan to add the flexcan RTDM ?
I have already something running but it's not yet good enough for mainline. Will need more time. Anyway, I could send my preliminary patches in case you are interested, especially to test them.
Hi Wolfgang,
How are you ?I should receive my devkit for iMX6 in 2 weeks, and immediately start on first applying the ipipe patch to it (the provided kernel is likely to be the 3.2 from Freescale,
with some little modifications), and then work on the flexcan rtdm driver.
Quoted 8 lines
Quoted 4 lines
Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about 3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. Concerning the iPipe patches I think you have currently no other choice.
The SOM manufacturer is announcing a 3.2.x kernel for the iMX6. My understanding is that they take Freescale one and bring their BSP specific changes.
I don't know of a v3.2.x from Freescale. Maybe it's the Linaro kernel.
Quoted 6 lines
I will see. In my plan there is the (hopefully not) ipipe port stuff.
For 3.0.36, I see that there is MXC specific patching (pre and post scheme) But the README says that the latest ipipe patches are on
http://download.gna.org/adeos/patches/v3.x/arm/
The patches I mentioned are not yet in the official trees.
Quoted 2 lines
At that location, there is a single ipipe-core-3.2.21-arm-1.patch That does not fit for the iMX6 / and freescale kernel ?
I'm afraid the patch it will not apply to the kernel you have in mind. Let's wait and see what you get. Maybe it's simpler to port over the board specific stuff to v3.4 or even higher.
Quoted 5 lines
I think I need some clarification.
Quoted 4 lines
Quoted 4 lines
If you have the flexcan not achieved yet, and if you still agree to send it to me,
that is fine, I would be pleased to test it.
Quoted 8 lines
Quoted 6 lines
I have posted the patch two weeks ago to this mailing list:
http://www.xenomai.org/pipermail/xenomai/2012-September/026337.html
Would be nice if you could test it on i.MX6 as well. Awaiting your "Tested-by".
I will do so; and keep you informed of the results asap.
Thanks,
Wolfgang.
Quoted 10 lines · Thierry Bultel
Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about
Quoted 4 lines
Quoted 3 lines
3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. Concerning the iPipe patches I think you have currently no other choice.
In both cases, (latest one from Freescale, or 3.4 from mainline) there is currently
no available matching ipipe patch.
Don't worry, there are. See below.
Quoted 8 lines
I do not know if the latest kernel from mainline will fit for the reference board that I will receive.
I do not realize the amount of work for porting either
- ipipe-core-3.2.21-arm.patch to 3.4 (mainline)
or
- adeos-ipipe-3.0.43-* to the latest (which one ?) kernel from Freescale
Quoted 6 lines
About that latest option I am a little bit puzzled. Namely from what I know, Freescale kernels are on
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/refs/heads
and the latest published 3.x kernel is ... a 3.0.15_12 that has not moved for months.
There is a rather new release. Check the tags! As I said, we have Xenomai running for the SabreLite and Nitrohen6x board with the 3.0.36 Kernel from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) and with mainline Linux 3.4.6.
But we still don't know what Freescale will release when the i.MX6 goes public. See:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&fsrch=1&sr=5.
What board do you plan to use?
Wolfgang.
Quoted 16 lines · Thierry Bultel
Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about
Quoted 4 lines
Quoted 3 lines
3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. Concerning the iPipe patches I think you have currently no other choice.
In both cases, (latest one from Freescale, or 3.4 from mainline) there is currently no available matching ipipe patch.
I do not know if the latest kernel from mainline will fit for the reference board that I will receive.I do not realize the amount of work for porting either
- ipipe-core-3.2.21-arm.patch to 3.4 (mainline)
or
- adeos-ipipe-3.0.43-* to the latest (which one ?) kernel from Freescale
Quoted 6 lines
About that latest option I am a little bit puzzled. Namely from what I know, Freescale kernels are on
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/refs/heads
and the latest published 3.x kernel is ... a 3.0.15_12 that has not moved for months. Thanks for clarifying
The 3.4 patch is working for arm, I still have some issues, but it is already usable:
git://git.xenomai.org/ipipe-gch.git branch for-core-3.4
For now, you simply have to avoid THUMB user-space binaries (but you can compile the kernel with CONFIG_THUMB2_KERNEL, and it results in lower latencies from what I measured).
It works on the sabre board "out-of-the-box". I suspect, starting with core-3.4, we have no additional work to do to work with any cortex a9 based processor (except, as I already said, for some old cortex a9 revisions without a global timer, but that is not the case of the imx6q I tested).
Signature · 1 line
Gilles.
Quoted 19 lines · Wolfgang Grandegger
Quoted 8 lines · Thierry Bultel
Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about
Quoted 3 lines
Quoted 3 lines
3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. Concerning the iPipe patches I think you have currently no other choice.
In both cases, (latest one from Freescale, or 3.4 from mainline) there is currently
no available matching ipipe patch.Don't worry, there are. See below.
Quoted 8 lines
I do not know if the latest kernel from mainline will fit for the reference board that I will receive.
I do not realize the amount of work for porting either
- ipipe-core-3.2.21-arm.patch to 3.4 (mainline)
or
- adeos-ipipe-3.0.43-* to the latest (which one ?) kernel from Freescale
Quoted 7 lines
Quoted 6 lines
About that latest option I am a little bit puzzled. Namely from what I know, Freescale kernels are on
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/refs/heads
and the latest published 3.x kernel is ... a 3.0.15_12 that has not moved for months.There is a rather new release. Check the tags!
ok, I had missed it
Quoted 9 lines
As I said, we have
Xenomai running for the SabreLite and Nitrohen6x board with the 3.0.36 Kernel from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) and with mainline Linux 3.4.6.But we still don't know what Freescale will release when the i.MX6 goes public. See:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&fsrch=1&sr=5.
I will try again to get the information fro, the manufacturer
Quoted 1 line
What board do you plan to use?
The reference board of the SOM manufacturer is the Lothron http://www.emtrion.com/dimm_lothron_en.php
I have been told that it is based on an official one from Freescale but I do not know which one.
Quoted 3 lines
Wolfgang.
Quoted 32 lines · Gilles Chanteperdrix
Quoted 14 lines · Thierry Bultel
Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about
Quoted 3 lines
Quoted 3 lines
3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. Concerning the iPipe patches I think you have currently no other choice.
In both cases, (latest one from Freescale, or 3.4 from mainline) there is currently no available matching ipipe patch.
I do not know if the latest kernel from mainline will fit for the reference board that I will receive.I do not realize the amount of work for porting either
- ipipe-core-3.2.21-arm.patch to 3.4 (mainline)
or
- adeos-ipipe-3.0.43-* to the latest (which one ?) kernel from FreescaleQuoted 6 lines
About that latest option I am a little bit puzzled. Namely from what I know, Freescale kernels are on
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/refs/heads
and the latest published 3.x kernel is ... a 3.0.15_12 that has not moved for months. Thanks for clarifyingThe 3.4 patch is working for arm, I still have some issues, but it is already usable:
git://git.xenomai.org/ipipe-gch.gitbranch for-core-3.4For now, you simply have to avoid THUMB user-space binaries (but you can compile the kernel with
CONFIG_THUMB2_KERNEL, and it results in lower latencies from what I measured).
Quoted 6 lines
It works on the sabre board "out-of-the-box". I suspect, starting with core-3.4, we have no additional work to do to work with any cortex a9 based processor (except, as I already said, for some old cortex a9 revisions without a global timer, but that is not the case of the imx6q I tested).
AFAIK, my DevKit should finally come with a 3.0.35 kernel
How difficult would it be to apply the adeos-ipipe-3.0.43- patches on it ? It is feasible ?
Thanks
Thierry
Quoted 44 lines · Thierry Bultel
Quoted 36 lines · Gilles Chanteperdrix
Quoted 17 lines · Thierry Bultel
Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about
Quoted 4 lines
Quoted 4 lines
3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. Concerning the iPipe patches I think you have currently no other choice.
In both cases, (latest one from Freescale, or 3.4 from mainline) there is currently
no available matching ipipe patch.
I do not know if the latest kernel from mainline will fit for the reference board that I will receive.I do not realize the amount of work for porting either
- ipipe-core-3.2.21-arm.patch to 3.4 (mainline)
or
- adeos-ipipe-3.0.43-* to the latest (which one ?) kernel from FreescaleQuoted 7 lines
About that latest option I am a little bit puzzled. Namely from what I know, Freescale kernels are on
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/refs/heads
and the latest published 3.x kernel is ... a 3.0.15_12 that has not moved for months.
Thanks for clarifyingThe 3.4 patch is working for arm, I still have some issues, but it is already usable:
git://git.xenomai.org/ipipe-gch.gitbranch for-core-3.4For now, you simply have to avoid THUMB user-space binaries (but you can compile the kernel with
CONFIG_THUMB2_KERNEL, and it results in lower latencies from what I measured).Quoted 6 lines
It works on the sabre board "out-of-the-box". I suspect, starting with core-3.4, we have no additional work to do to work with any cortex a9 based processor (except, as I already said, for some old cortex a9 revisions without a global timer, but that is not the case of the imx6q I tested).
Quoted 3 lines
AFAIK, my DevKit should finally come with a 3.0.35 kernel
How difficult would it be to apply the adeos-ipipe-3.0.43- patches on it ? It is feasible ?
Very likely that kernel is based on Freescale's 3.0.35, which already has Xenomai support. If so, the patches should apply without problems.
Wolfgang.
Quoted 42 lines · Wolfgang Grandegger
Quoted 41 lines · Thierry Bultel
Quoted 40 lines · Gilles Chanteperdrix
Quoted 16 lines · Thierry Bultel
Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about
Quoted 4 lines
Quoted 4 lines
3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. Concerning the iPipe patches I think you have currently no other choice.
In both cases, (latest one from Freescale, or 3.4 from mainline) there is currently
no available matching ipipe patch.
I do not know if the latest kernel from mainline will fit for the reference board that I will receive.I do not realize the amount of work for porting either
- ipipe-core-3.2.21-arm.patch to 3.4 (mainline)
or
- adeos-ipipe-3.0.43-* to the latest (which one ?) kernel from FreescaleQuoted 7 lines
About that latest option I am a little bit puzzled. Namely from what I know, Freescale kernels are on
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/refs/heads
and the latest published 3.x kernel is ... a 3.0.15_12 that has not moved for months.
Thanks for clarifyingThe 3.4 patch is working for arm, I still have some issues, but it is already usable:
git://git.xenomai.org/ipipe-gch.gitbranch for-core-3.4For now, you simply have to avoid THUMB user-space binaries (but you can compile the kernel with
CONFIG_THUMB2_KERNEL, and it results in lower latencies from what I measured).It works on the sabre board "out-of-the-box". I suspect, starting with core-3.4, we have no additional work to do to work with any cortex a9 based processor (except, as I already said, for some old cortex a9 revisions without a global timer, but that is not the case of the imx6q I tested).
Quoted 5 lines
Quoted 3 lines
AFAIK, my DevKit should finally come with a 3.0.35 kernel
How difficult would it be to apply the adeos-ipipe-3.0.43- patches on it ? It is feasible ?Very likely that kernel is based on Freescale's 3.0.35, which already has Xenomai support.
yes, 'almost' because the closest available ipipe is actually the 3.0.36. I do not realize yet what the better strategy is; either upgrade the provided kernel to 3.0.36 of force the patch to apply on 3.0.35
Thierry
Quoted 5 lines
If so, the patches should apply without problems.
Wolfgang.
Quoted 49 lines · Thierry Bultel
Quoted 48 lines · Wolfgang Grandegger
Quoted 47 lines · Thierry Bultel
Quoted 36 lines · Gilles Chanteperdrix
Quoted 17 lines · Thierry Bultel
Why v3.2 from Freescale? For the SabreLite or Nitrohen6x I know about
Quoted 4 lines
Quoted 4 lines
3.0.36 from Freescale (rel_imx_3.0.35_12.09.02 from git.freecale.com/linux-2.6) or, much better, mainline Linux 3.4. Concerning the iPipe patches I think you have currently no other choice.
In both cases, (latest one from Freescale, or 3.4 from mainline) there is currently
no available matching ipipe patch.
I do not know if the latest kernel from mainline will fit for the reference board that I will receive.I do not realize the amount of work for porting either
- ipipe-core-3.2.21-arm.patch to 3.4 (mainline)
or
- adeos-ipipe-3.0.43-* to the latest (which one ?) kernel from FreescaleQuoted 7 lines
About that latest option I am a little bit puzzled. Namely from what I know, Freescale kernels are on
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/refs/heads
and the latest published 3.x kernel is ... a 3.0.15_12 that has not moved for months.
Thanks for clarifyingThe 3.4 patch is working for arm, I still have some issues, but it is already usable:
git://git.xenomai.org/ipipe-gch.gitbranch for-core-3.4For now, you simply have to avoid THUMB user-space binaries (but you can
compile the kernel withCONFIG_THUMB2_KERNEL, and it results in lower latencies from what I measured).Quoted 6 lines
It works on the sabre board "out-of-the-box". I suspect, starting with core-3.4, we have no additional work to do to work with any cortex a9 based processor (except, as I already said, for some old cortex a9 revisions without a global timer, but that is not the case of the imx6q I tested).
AFAIK, my DevKit should finally come with a 3.0.35 kernel How difficult would it be to apply the adeos-ipipe-3.0.43- patches on it ?
It is feasible ?
Quoted 7 lines
Quoted 2 lines
Very likely that kernel is based on Freescale's 3.0.35, which already has Xenomai support.
yes, 'almost' because the closest available ipipe is actually the 3.0.36. I do not realize yet what the better strategy is; either upgrade the provided
kernel to 3.0.36 of force the patch to apply on 3.0.35
As Gilles already said, the patches for this kernel are in:
ttp://www.xenomai.org/~gch/pub/mxc/3.0.43/
To be more precise, these patches are for Freescale's kernel release tag "rel_imx_3.0.35_12.09.02" from git://git.freecale.com/linux-2.6.
Wolfgang.