Skip to contentSkip to conversation

Availability of ARM adeos patch for 3.5 kernel, and RTDM SPI for iMX6 ?

Xenomai Thierry Bultel 3 participants 5 messages Aug 24, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

I noticed on git that the latest available patch for ARM is ipipe-core-3.2.21-arm-1.patch,
that I assume, replaces the mxc pre+std+post mecanism, please tell me if I am wrong.

I would like to know is there is an estimated date for the availability of the patch for the 3.5 kernel ?

My last question is about SPI, will an RTDM driver for the SPI of the iMX6 be available ?

Thanks
Thierry

#1 lore raw
Quoted 6 lines · Thierry Bultel

Hi,

I noticed on git that the latest available patch for ARM is ipipe-core-3.2.21-arm-1.patch,
that I assume, replaces the mxc pre+std+post mecanism, please tell me if I am wrong.

The pre+std+post mechanism is used to apply a patch for mainline kernel to the Freescale linux tree. If you want to use that tree, you always need that mechanism. ipipe-core-3.2.21-arm-1.patch is a patch for the mainline kernel.

Quoted 3 lines

I would like to know is there is an estimated date for the availability of the patch for the 3.5 kernel ?

Due to lack of time, the next patch will probably be for 3.6. We already have support for 3.4 kernel, which you can use checking out:
git://git.denx.de/ipipe.git
for the kernel, and
git://git.xenomai.org/xenomai-2.6.git
for xenomai.

Note that 3.4 is probably a good choice as it has been announced that it will be maintained for one year.

Note that we have some unfinished business on imx6:
- we have some random crashes, which I think are probably solved in 3.4 (and need backporting in 3.2 and 3.0, either way)
- we have some high latencies, I think they may be due to the bug discovered in this thread:
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-August/113087.html

But I need to spend some time on the actual hardware to validate these hypotheses.

Quoted 3 lines

My last question is about SPI, will an RTDM driver for the SPI of the iMX6 be available ?

Sure, if someone writes it, we will be happy to merge it in xenomai sources.

Signature · 1 line
                                                                Gilles.
#2 lore raw
Quoted 9 lines · Gilles Chanteperdrix
Quoted 6 lines · Thierry Bultel

Hi,

I noticed on git that the latest available patch for ARM is ipipe-core-3.2.21-arm-1.patch,
that I assume, replaces the mxc pre+std+post mecanism, please tell me if I am wrong.

Quoted 4 lines

The pre+std+post mechanism is used to apply a patch for mainline kernel to the Freescale linux tree. If you want to use that tree, you always need that mechanism. ipipe-core-3.2.21-arm-1.patch is a patch for the mainline kernel.

Thanks for the clarification.
When you refer to Freescale linux tree, are you talking about

https://github.com/Freescale/linux-imx* *?

If yes, the latest version there is 3.5-rc7.

The CPU module vendor is likely to base its BSP on a Freescale kernel, probably that one, so I am concerned about finding a matching patch to apply on.
What would you advise ? Taking in account what you mention below, is the backport from Freescale 3.5-rc7 to mainline 3.4 the most suitable solution, or a port of the adeos patch in the opposite way ?

Thanks

Quoted 29 lines
Quoted 3 lines

I would like to know is there is an estimated date for the availability of the patch for the 3.5 kernel ?

Due to lack of time, the next patch will probably be for 3.6. We already have support for 3.4 kernel, which you can use checking out:
git://git.denx.de/ipipe.git
for the kernel, and
git://git.xenomai.org/xenomai-2.6.git
for xenomai.

Note that 3.4 is probably a good choice as it has been announced that it will be maintained for one year.

Note that we have some unfinished business on imx6:
- we have some random crashes, which I think are probably solved in 3.4 (and need backporting in 3.2 and 3.0, either way)
- we have some high latencies, I think they may be due to the bug discovered in this thread:
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-August/113087.html

But I need to spend some time on the actual hardware to validate these hypotheses.

Quoted 2 lines

My last question is about SPI, will an RTDM driver for the SPI of the iMX6 be available ?

Sure, if someone writes it, we will be happy to merge it in xenomai sources.

#3 lore raw
Quoted 14 lines · Thierry Bultel
Quoted 9 lines · Gilles Chanteperdrix
Quoted 6 lines · Thierry Bultel

Hi,

I noticed on git that the latest available patch for ARM is ipipe-core-3.2.21-arm-1.patch,
that I assume, replaces the mxc pre+std+post mecanism, please tell me if I am wrong.

Quoted 4 lines

The pre+std+post mechanism is used to apply a patch for mainline kernel to the Freescale linux tree. If you want to use that tree, you always need that mechanism. ipipe-core-3.2.21-arm-1.patch is a patch for the mainline kernel.

Quoted 6 lines

Thanks for the clarification.
When you refer to Freescale linux tree, are you talking about

https://github.com/Freescale/linux-imx* *?

If yes, the latest version there is 3.5-rc7.

No, but "http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/"

Quoted 4 lines

The CPU module vendor is likely to base its BSP on a Freescale kernel, probably that one, so I am concerned about finding a matching patch to apply on.
What would you advise ? Taking in account what you mention below, is the backport from Freescale 3.5-rc7 to mainline 3.4 the most suitable solution, or a port of the adeos patch in the opposite way ?

There is resonable support for the i.MX6Q Sabrelite board in the mainline kernel. In principle, you would need to backport it to 3.4.x or push the iPipe patches forward to 3.6-rcX.

Wolfgang.

#4 lore raw
Quoted 24 lines · Wolfgang Grandegger
Quoted 14 lines · Thierry Bultel
Quoted 9 lines · Gilles Chanteperdrix
Quoted 6 lines · Thierry Bultel

Hi,

I noticed on git that the latest available patch for ARM is ipipe-core-3.2.21-arm-1.patch,
that I assume, replaces the mxc pre+std+post mecanism, please tell me if I am wrong.

Quoted 4 lines

The pre+std+post mechanism is used to apply a patch for mainline kernel to the Freescale linux tree. If you want to use that tree, you always need that mechanism. ipipe-core-3.2.21-arm-1.patch is a patch for the mainline kernel.

Quoted 6 lines

Thanks for the clarification.
When you refer to Freescale linux tree, are you talking about

https://github.com/Freescale/linux-imx* *?

If yes, the latest version there is 3.5-rc7.

No, but "http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/"

Quoted 8 lines
Quoted 4 lines

The CPU module vendor is likely to base its BSP on a Freescale kernel, probably that one, so I am concerned about finding a matching patch to apply on.
What would you advise ? Taking in account what you mention below, is the backport from Freescale 3.5-rc7 to mainline 3.4 the most suitable solution, or a port of the adeos patch in the opposite way ?

There is resonable support for the i.MX6Q Sabrelite board in the mainline kernel. In principle, you would need to backport it to 3.4.x or push the iPipe patches forward to 3.6-rcX.

Finally, we will have a patch for 3.5. But in any case I would not recommend working with an -rc kernel.

Signature · 1 line
					    Gilles.