All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch
       [not found] <mailman.0.1359630001.19052.xenomai@xenomai.org>
@ 2013-01-31 14:17 ` Stephan Kappertz
  2013-01-31 16:01   ` Michael Haberler
                     ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Stephan Kappertz @ 2013-01-31 14:17 UTC (permalink / raw)
  To: xenomai


>> Hi All,
>> 
>> sorry for the long delay. As Gilles suggested I have prepared a pre and post patch for ipipe-core-3.2.21-arm-4 and the git repository supporting BeagleBone here: https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01 . Should I send the patches to the list?
>> 
>> - Stephan
> 
> I think that you should.
> 
> Goran
> 

Here they are.
Usage:

* clone git repository https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01

* checkout linux-ti33x-psp-3.2.21-r13g

* apply pre.patch

* run xenomai (tested with 2.6.2.1) prepare-kernel.sh

* apply post.patch

* Configure & compile kernel

- Stephan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: beagleBone_pre_post_patches.tar.bz2
Type: application/x-bzip2
Size: 5820 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130131/e6446062/attachment.bin>
-------------- next part --------------





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch
  2013-01-31 14:17 ` [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch Stephan Kappertz
@ 2013-01-31 16:01   ` Michael Haberler
  2013-01-31 20:13     ` Stephan Kappertz
  2013-01-31 18:52   ` Michael Haberler
                     ` (2 subsequent siblings)
  3 siblings, 1 reply; 10+ messages in thread
From: Michael Haberler @ 2013-01-31 16:01 UTC (permalink / raw)
  To: Stephan Kappertz; +Cc: xenomai

Hi Stephan,

Am 31.01.2013 um 15:17 schrieb Stephan Kappertz:

> 
>>> Hi All,
>>> 
>>> sorry for the long delay. As Gilles suggested I have prepared a pre and post patch for ipipe-core-3.2.21-arm-4 and the git repository supporting BeagleBone here: https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01 . Should I send the patches to the list?
>>> 
>>> - Stephan
>> 
>> I think that you should.
>> 
>> Goran
>> 
> 
> Here they are.
> Usage:
> 
> * clone git repository https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01
> 
> * checkout linux-ti33x-psp-3.2.21-r13g
> 
> * apply pre.patch
> 
> * run xenomai (tested with 2.6.2.1) prepare-kernel.sh
> 
> * apply post.patch
> 
> * Configure & compile kernel
> 
> - Stephan

I followed your steps above
when building I get

  LD      .tmp_vmlinux1
arch/arm/mach-omap2/built-in.o:(.arch.info.init+0x34): undefined reference to `omap3_timer'
arch/arm/mach-omap2/built-in.o:(.arch.info.init+0x78): undefined reference to `omap3_secure_timer'
arch/arm/mach-omap2/built-in.o:(.arch.info.init+0xbc): undefined reference to `omap3_timer'
arch/arm/mach-omap2/built-in.o:(.arch.info.init+0x100): undefined reference to `omap3_timer'

looks like a difference in the config - could you share your config as well?

--

I had to apply this patch http://git.mah.priv.at/gitweb/linuxcnc-kernel.git/commitdiff/cea8a24ff294e6d7020c43fb1802b5ff6bbd85c8
which is an imported copy & paste error  from the Koen Koi branch.

- Michael

current status is here if somebody wants to skip the plumbing: http://git.mah.priv.at/gitweb/linuxcnc-kernel.git/shortlog/refs/heads/beaglebone-3.2.21-2.6.2-kappertz



> 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: beagleBone_pre_post_patches.tar.bz2
> Type: application/x-bzip2
> Size: 5820 bytes
> Desc: not available
> URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130131/e6446062/attachment.bin>
> -------------- next part --------------
> 
> 
> 
> 
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> http://www.xenomai.org/mailman/listinfo/xenomai



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch
  2013-01-31 14:17 ` [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch Stephan Kappertz
  2013-01-31 16:01   ` Michael Haberler
@ 2013-01-31 18:52   ` Michael Haberler
  2013-02-04 13:28   ` Stephan Kappertz
  2013-02-11  7:54   ` Gilles Chanteperdrix
  3 siblings, 0 replies; 10+ messages in thread
From: Michael Haberler @ 2013-01-31 18:52 UTC (permalink / raw)
  To: xenomai

folks working on Xenomai for the Beaglebone might want to read this:

http://sourceforge.net/mailarchive/message.php?msg_id=30426770

- Michael


Am 31.01.2013 um 15:17 schrieb Stephan Kappertz:

> 
>>> Hi All,
>>> 
>>> sorry for the long delay. As Gilles suggested I have prepared a pre and post patch for ipipe-core-3.2.21-arm-4 and the git repository supporting BeagleBone here: https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01 . Should I send the patches to the list?
>>> 
>>> - Stephan
>> 
>> I think that you should.
>> 
>> Goran
>> 
> 
> Here they are.
> Usage:
> 
> * clone git repository https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01
> 
> * checkout linux-ti33x-psp-3.2.21-r13g
> 
> * apply pre.patch
> 
> * run xenomai (tested with 2.6.2.1) prepare-kernel.sh
> 
> * apply post.patch
> 
> * Configure & compile kernel
> 
> - Stephan
> 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: beagleBone_pre_post_patches.tar.bz2
> Type: application/x-bzip2
> Size: 5820 bytes
> Desc: not available
> URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130131/e6446062/attachment.bin>
> -------------- next part --------------
> 
> 
> 
> 
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> http://www.xenomai.org/mailman/listinfo/xenomai



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch
  2013-01-31 16:01   ` Michael Haberler
@ 2013-01-31 20:13     ` Stephan Kappertz
  0 siblings, 0 replies; 10+ messages in thread
From: Stephan Kappertz @ 2013-01-31 20:13 UTC (permalink / raw)
  To: Michael Haberler; +Cc: xenomai


Am 31.01.2013 um 17:01 schrieb Michael Haberler:

> Hi Stephan,
> 
> Am 31.01.2013 um 15:17 schrieb Stephan Kappertz:
> 
>> 
>>>> Hi All,
>>>> 
>>>> sorry for the long delay. As Gilles suggested I have prepared a pre and post patch for ipipe-core-3.2.21-arm-4 and the git repository supporting BeagleBone here: https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01 . Should I send the patches to the list?
>>>> 
>>>> - Stephan
>>> 
>>> I think that you should.
>>> 
>>> Goran
>>> 
>> 
>> Here they are.
>> Usage:
>> 
>> * clone git repository https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01
>> 
>> * checkout linux-ti33x-psp-3.2.21-r13g
>> 
>> * apply pre.patch
>> 
>> * run xenomai (tested with 2.6.2.1) prepare-kernel.sh
>> 
>> * apply post.patch
>> 
>> * Configure & compile kernel
>> 
>> - Stephan
> 
> I followed your steps above
> when building I get
> 
>  LD      .tmp_vmlinux1
> arch/arm/mach-omap2/built-in.o:(.arch.info.init+0x34): undefined reference to `omap3_timer'
> arch/arm/mach-omap2/built-in.o:(.arch.info.init+0x78): undefined reference to `omap3_secure_timer'
> arch/arm/mach-omap2/built-in.o:(.arch.info.init+0xbc): undefined reference to `omap3_timer'
> arch/arm/mach-omap2/built-in.o:(.arch.info.init+0x100): undefined reference to `omap3_timer'
> 
> looks like a difference in the config - could you share your config as well?
> 
> --
> 
> I had to apply this patch http://git.mah.priv.at/gitweb/linuxcnc-kernel.git/commitdiff/cea8a24ff294e6d7020c43fb1802b5ff6bbd85c8
> which is an imported copy & paste error  from the Koen Koi branch.
> 
> - Michael
> 
> current status is here if somebody wants to skip the plumbing: http://git.mah.priv.at/gitweb/linuxcnc-kernel.git/shortlog/refs/heads/beaglebone-3.2.21-2.6.2-kappertz
> 
> 
> 
>> 
>> -------------- next part --------------
>> A non-text attachment was scrubbed...
>> Name: beagleBone_pre_post_patches.tar.bz2
>> Type: application/x-bzip2
>> Size: 5820 bytes
>> Desc: not available
>> URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130131/e6446062/attachment.bin>
>> -------------- next part --------------
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Xenomai mailing list
>> Xenomai@xenomai.org
>> http://www.xenomai.org/mailman/listinfo/xenomai
> 

CONFIG_MACH_OMAP3_BEAGLE=y
CONFIG_MACH_TI8168EVM=y
CONFIG_MACH_TI8148EVM=y

Hi Michael,

you should disable these targets. They collide with the AM335x related changes in mach-omap2/timer.c

- Stephan



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch
  2013-01-31 14:17 ` [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch Stephan Kappertz
  2013-01-31 16:01   ` Michael Haberler
  2013-01-31 18:52   ` Michael Haberler
@ 2013-02-04 13:28   ` Stephan Kappertz
  2013-02-11  7:54   ` Gilles Chanteperdrix
  3 siblings, 0 replies; 10+ messages in thread
From: Stephan Kappertz @ 2013-02-04 13:28 UTC (permalink / raw)
  To: xenomai


Am 31.01.2013 um 15:17 schrieb Stephan Kappertz:

> 
>>> Hi All,
>>> 
>>> sorry for the long delay. As Gilles suggested I have prepared a pre and post patch for ipipe-core-3.2.21-arm-4 and the git repository supporting BeagleBone here: https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01 . Should I send the patches to the list?
>>> 
>>> - Stephan
>> 
>> I think that you should.
>> 
>> Goran
>> 
> 
> Here they are.
> Usage:
> 
> * clone git repository https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01
> 
> * checkout linux-ti33x-psp-3.2.21-r13g
> 
> * apply pre.patch
> 
> * run xenomai (tested with 2.6.2.1) prepare-kernel.sh
> 
> * apply post.patch
> 
> * Configure & compile kernel
> 
> - Stephan
> 
> <beagleBone_pre_post_patches.tar.bz2>
> 
> 
> 

FWIW:

You can also apply the above pre/post patch to the other repository that Michael Haberle mentioned:

HowTo:

* git clone git://github.com/beagleboard/kernel.git

* git checkout origin/beaglebone-3.2 -b beaglebone-3.2

* edit patch.sh to not apply patches beyond 3.2.21:

#PATCHSET="usb psp 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.2.10 3.2.11 3.2.12 3.2.13 3.2.14 3.2.15 3.2.16 3.2.17 3.2.18 3.2.19 3.2.20 3.2.21 3.2.22 3.2.23 3.2.24 3.2.25 3.2.26 3.2.27 3.2.28 3.2.29 3.2.30 3.2.31 3.2.32 3.2.33 3.2.34 led libertas pwm mfd beaglebone"

PATCHSET="usb psp 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.2.10 3.2.11 3.2.12 3.2.13 3.2.14 3.2.15 3.2.16 3.2.17 3.2.18 3.2.19 3.2.20 3.2.21 led libertas pwm mfd beaglebone"

* patch -p1 < pre.patch
* prepare-kernel.sh --arch=arm --linux=.
* patch -p1 < post.patch

* configure, compile… 

- Stephan


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch
  2013-01-31 14:17 ` [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch Stephan Kappertz
                     ` (2 preceding siblings ...)
  2013-02-04 13:28   ` Stephan Kappertz
@ 2013-02-11  7:54   ` Gilles Chanteperdrix
  2013-02-11  8:24     ` Stephan Kappertz
  3 siblings, 1 reply; 10+ messages in thread
From: Gilles Chanteperdrix @ 2013-02-11  7:54 UTC (permalink / raw)
  To: Stephan Kappertz; +Cc: xenomai

On 01/31/2013 03:17 PM, Stephan Kappertz wrote:

> 
>>> Hi All,
>>>
>>> sorry for the long delay. As Gilles suggested I have prepared a pre and post patch for ipipe-core-3.2.21-arm-4 and the git repository supporting BeagleBone here: https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01 . Should I send the patches to the list?
>>>
>>> - Stephan
>>
>> I think that you should.
>>
>> Goran
>>
> 
> Here they are.
> Usage:
> 
> * clone git repository https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01


I get:
fatal:
https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01/info/refs
not found: did you run git update-server-info on the server?

At this point.

-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch
  2013-02-11  7:54   ` Gilles Chanteperdrix
@ 2013-02-11  8:24     ` Stephan Kappertz
  2013-02-11 12:43       ` Gilles Chanteperdrix
  0 siblings, 1 reply; 10+ messages in thread
From: Stephan Kappertz @ 2013-02-11  8:24 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai


Am 11.02.2013 um 08:54 schrieb Gilles Chanteperdrix:

> On 01/31/2013 03:17 PM, Stephan Kappertz wrote:
> 
>> 
>>>> Hi All,
>>>> 
>>>> sorry for the long delay. As Gilles suggested I have prepared a pre and post patch for ipipe-core-3.2.21-arm-4 and the git repository supporting BeagleBone here: https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01 . Should I send the patches to the list?
>>>> 
>>>> - Stephan
>>> 
>>> I think that you should.
>>> 
>>> Goran
>>> 
>> 
>> Here they are.
>> Usage:
>> 
>> * clone git repository https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01
> 
> 
> I get:
> fatal:
> https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01/info/refs
> not found: did you run git update-server-info on the server?
> 
> At this point.
> 
> -- 
>                                                                Gilles.
> 


The git repositore is not mine. It's the Koen Kooi repository I mentioned before.
 
To build the kernel with xenomai support I did:

* git clone git://github.com/koenkooi/linux.git

* git checkout origin/linux-ti33x-psp-3.2.21-r13g+gitr720e07b4c1f687b61b147b31c698cb6816d72f01 -b linux-3.2.21

* patch -p1 < ../pre.patch

* ./xenomai-2.6.2.1/scripts/prepare-kernel.sh --arch=arm --linux=.

* patch -p1 < ../post.patch

- Stephan


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch
  2013-02-11  8:24     ` Stephan Kappertz
@ 2013-02-11 12:43       ` Gilles Chanteperdrix
  0 siblings, 0 replies; 10+ messages in thread
From: Gilles Chanteperdrix @ 2013-02-11 12:43 UTC (permalink / raw)
  To: Stephan Kappertz; +Cc: xenomai

On 02/11/2013 09:24 AM, Stephan Kappertz wrote:

> 
> Am 11.02.2013 um 08:54 schrieb Gilles Chanteperdrix:
> 
>> On 01/31/2013 03:17 PM, Stephan Kappertz wrote:
>>
>>>
>>>>> Hi All,
>>>>>
>>>>> sorry for the long delay. As Gilles suggested I have prepared a pre and post patch for ipipe-core-3.2.21-arm-4 and the git repository supporting BeagleBone here: https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01 . Should I send the patches to the list?
>>>>>
>>>>> - Stephan
>>>>
>>>> I think that you should.
>>>>
>>>> Goran
>>>>
>>>
>>> Here they are.
>>> Usage:
>>>
>>> * clone git repository https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01
>>
>>
>> I get:
>> fatal:
>> https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01/info/refs
>> not found: did you run git update-server-info on the server?
>>
>> At this point.
>>
>> -- 
>>                                                                Gilles.
>>
> 
> 
> The git repositore is not mine. It's the Koen Kooi repository I mentioned before.
>  
> To build the kernel with xenomai support I did:
> 
> * git clone git://github.com/koenkooi/linux.git
> 
> * git checkout origin/linux-ti33x-psp-3.2.21-r13g+gitr720e07b4c1f687b61b147b31c698cb6816d72f01 -b linux-3.2.21
> 
> * patch -p1 < ../pre.patch
> 
> * ./xenomai-2.6.2.1/scripts/prepare-kernel.sh --arch=arm --linux=.
> 

> * patch -p1 < ../post.patch

Ok, works for me, I updated the README. As a side note,
prepare-kernel.sh can be called after applying the pre, ipipe and post
patches (this may help if you are using a root filesystem build tool
which calls prepare-kernel.sh as a normal step to build the kernel).

-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch
  2013-01-30  9:21 Stephan Kappertz
@ 2013-01-31 10:38 ` Goran Jakovljevic
  0 siblings, 0 replies; 10+ messages in thread
From: Goran Jakovljevic @ 2013-01-31 10:38 UTC (permalink / raw)
  To: xenomai

On 30.01.2013 10:21, Stephan Kappertz wrote:
> Hi All,
>
> sorry for the long delay. As Gilles suggested I have prepared a pre and post patch for ipipe-core-3.2.21-arm-4 and the git repository supporting BeagleBone here: https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01 . Should I send the patches to the list?
>
> - Stephan

I think that you should.

Goran


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch
@ 2013-01-30  9:21 Stephan Kappertz
  2013-01-31 10:38 ` Goran Jakovljevic
  0 siblings, 1 reply; 10+ messages in thread
From: Stephan Kappertz @ 2013-01-30  9:21 UTC (permalink / raw)
  To: xenomai

Hi All,

sorry for the long delay. As Gilles suggested I have prepared a pre and post patch for ipipe-core-3.2.21-arm-4 and the git repository supporting BeagleBone here: https://github.com/koenkooi/linux/tree/linux-ti33x-psp-3.2.21-r13g%2Bgitr720e07b4c1f687b61b147b31c698cb6816d72f01 . Should I send the patches to the list?

- Stephan



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-02-11 12:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.0.1359630001.19052.xenomai@xenomai.org>
2013-01-31 14:17 ` [Xenomai] Ipipe pre and post patch for AM335x beagleBone/ koenkooi branch Stephan Kappertz
2013-01-31 16:01   ` Michael Haberler
2013-01-31 20:13     ` Stephan Kappertz
2013-01-31 18:52   ` Michael Haberler
2013-02-04 13:28   ` Stephan Kappertz
2013-02-11  7:54   ` Gilles Chanteperdrix
2013-02-11  8:24     ` Stephan Kappertz
2013-02-11 12:43       ` Gilles Chanteperdrix
2013-01-30  9:21 Stephan Kappertz
2013-01-31 10:38 ` Goran Jakovljevic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.