All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] 2.4.6.1 blackfin patches
@ 2009-02-10 15:17 Mike McTernan
  2009-02-10 15:40 ` Gilles Chanteperdrix
  2009-02-10 16:00 ` Philippe Gerum
  0 siblings, 2 replies; 5+ messages in thread
From: Mike McTernan @ 2009-02-10 15:17 UTC (permalink / raw)
  To: xenomai

Hi,

Does anyone have a working Adeos patch for the top of the Blackfin 2008R1 non-SMP branch to get up to 2.4.6.1?  The patch supplied with Xenomai doesn't cleanly apply, and after massaging would not compile:

  CC      arch/blackfin/kernel/asm-offsets.s
In file included from include/asm/mach/blackfin.h:47,
                 from include/asm/blackfin.h:89,
                 from include/asm/system.h:404,
                 from include/asm/bitops.h:10,
                 from include/linux/bitops.h:9,
                 from include/linux/thread_info.h:33,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:49,
                 from include/linux/capability.h:47,
                 from include/linux/sched.h:46,
                 from arch/blackfin/kernel/asm-offsets.c:31:
include/asm/mach/cdefBF534.h: In function âbfin_write_PLL_CTLâ:
include/asm/mach/cdefBF534.h:55: warning: implicit declaration of function â__ipipe_test_and_stall_rootâ
In file included from include/linux/ipipe_base.h:29,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:49,
                 from include/linux/capability.h:47,
                 from include/linux/sched.h:46,
                 from arch/blackfin/kernel/asm-offsets.c:31:
include/asm/ipipe_base.h: At top level:
include/asm/ipipe_base.h:62: error: conflicting types for â__ipipe_test_and_stall_rootâ
include/asm/mach/cdefBF534.h:55: error: previous implicit declaration of â__ipipe_test_and_stall_rootâ was here
make[2]: *** [arch/blackfin/kernel/asm-offsets.s] Error 1

Adding some #include's produced yet more errors of a similar nature.

[The Blackfin branch is located at: svn://firewall-sources.blackfin.uclinux.org:80/svn/linux-kernel/branches/2008R1]

Regards,

Mike


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

* Re: [Xenomai-help] 2.4.6.1 blackfin patches
  2009-02-10 15:17 [Xenomai-help] 2.4.6.1 blackfin patches Mike McTernan
@ 2009-02-10 15:40 ` Gilles Chanteperdrix
  2009-02-10 16:01   ` Mike McTernan
  2009-02-10 16:00 ` Philippe Gerum
  1 sibling, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2009-02-10 15:40 UTC (permalink / raw)
  To: Mike McTernan; +Cc: xenomai

Mike McTernan wrote:
> Hi,
> 
> Does anyone have a working Adeos patch for the top of the Blackfin
> 2008R1 non-SMP branch to get up to 2.4.6.1?  The patch supplied with
> Xenomai doesn't cleanly apply, and after massaging would not compile:

see ksrc/arch/blackfin/patches/README

-- 
                                                 Gilles.


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

* Re: [Xenomai-help] 2.4.6.1 blackfin patches
  2009-02-10 15:17 [Xenomai-help] 2.4.6.1 blackfin patches Mike McTernan
  2009-02-10 15:40 ` Gilles Chanteperdrix
@ 2009-02-10 16:00 ` Philippe Gerum
  2009-02-10 16:36   ` Mike McTernan
  1 sibling, 1 reply; 5+ messages in thread
From: Philippe Gerum @ 2009-02-10 16:00 UTC (permalink / raw)
  To: Mike McTernan; +Cc: xenomai

Mike McTernan wrote:
> Hi,
> 
> Does anyone have a working Adeos patch for the top of the Blackfin 2008R1 non-SMP branch to get up to 2.4.6.1?  The patch supplied with Xenomai doesn't cleanly apply, and after massaging would not compile:
>

adeos-ipipe-2008R1.5-RC3-bf5xx-1.8-00 applies cleanly against the official
2008R1.5-RC3 uClinux distribution. Until recently, I was only tracking official
release milestones.

Since Adeos is now part of the official uClinux distro for the blackfin, I'm now
tracking their development head instead; you can now find
adeos-ipipe-2.6.28-blackfin.git-1.9-00 which applies to the blackfin.uclinux.org
GIT tree at git://sources.blackfin.uclinux.org/git/readonly-mirrors/linux-kernel.git

ksrc/arch/blackfin/patches/README should give you that information.

>   CC      arch/blackfin/kernel/asm-offsets.s
> In file included from include/asm/mach/blackfin.h:47,
>                  from include/asm/blackfin.h:89,
>                  from include/asm/system.h:404,
>                  from include/asm/bitops.h:10,
>                  from include/linux/bitops.h:9,
>                  from include/linux/thread_info.h:33,
>                  from include/linux/preempt.h:9,
>                  from include/linux/spinlock.h:49,
>                  from include/linux/capability.h:47,
>                  from include/linux/sched.h:46,
>                  from arch/blackfin/kernel/asm-offsets.c:31:
> include/asm/mach/cdefBF534.h: In function âbfin_write_PLL_CTLâ:
> include/asm/mach/cdefBF534.h:55: warning: implicit declaration of function â__ipipe_test_and_stall_rootâ
> In file included from include/linux/ipipe_base.h:29,
>                  from include/linux/preempt.h:11,
>                  from include/linux/spinlock.h:49,
>                  from include/linux/capability.h:47,
>                  from include/linux/sched.h:46,
>                  from arch/blackfin/kernel/asm-offsets.c:31:
> include/asm/ipipe_base.h: At top level:
> include/asm/ipipe_base.h:62: error: conflicting types for â__ipipe_test_and_stall_rootâ
> include/asm/mach/cdefBF534.h:55: error: previous implicit declaration of â__ipipe_test_and_stall_rootâ was here
> make[2]: *** [arch/blackfin/kernel/asm-offsets.s] Error 1
> 
> Adding some #include's produced yet more errors of a similar nature.
> 
> [The Blackfin branch is located at: svn://firewall-sources.blackfin.uclinux.org:80/svn/linux-kernel/branches/2008R1]
> 
> Regards,
> 
> Mike
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 


-- 
Philippe.


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

* Re: [Xenomai-help] 2.4.6.1 blackfin patches
  2009-02-10 15:40 ` Gilles Chanteperdrix
@ 2009-02-10 16:01   ` Mike McTernan
  0 siblings, 0 replies; 5+ messages in thread
From: Mike McTernan @ 2009-02-10 16:01 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

Gilles Chanteperdrix wrote:
> Mike McTernan wrote:
> > Hi,
> >
> > Does anyone have a working Adeos patch for the top of the Blackfin
> > 2008R1 non-SMP branch to get up to 2.4.6.1?  The patch supplied with
> > Xenomai doesn't cleanly apply, and after massaging would not
compile:
> 
> see ksrc/arch/blackfin/patches/README

I wasn't holding out much hope for taking Adeos from one place, Blackfin
uClinux from another and Xenomai from here.  However, the patch at this
location does indeed patch and build against the Blackfin 2008R1:

http://download.gna.org/adeos/patches/v2.6/blackfin/adeos-ipipe-2008R1.5
-RC3-bf5xx-1.8-00.patch

Hooray!  And sorry for the obvious question.

Regards,

Mike


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

* Re: [Xenomai-help] 2.4.6.1 blackfin patches
  2009-02-10 16:00 ` Philippe Gerum
@ 2009-02-10 16:36   ` Mike McTernan
  0 siblings, 0 replies; 5+ messages in thread
From: Mike McTernan @ 2009-02-10 16:36 UTC (permalink / raw)
  To: rpm; +Cc: xenomai

Philippe Gerum wrote:
> Mike McTernan wrote:
> > Hi,
> >
> > Does anyone have a working Adeos patch for the top of the Blackfin
> 2008R1 non-SMP branch to get up to 2.4.6.1?  The patch supplied with
> Xenomai doesn't cleanly apply, and after massaging would not compile:
> >
> 
> adeos-ipipe-2008R1.5-RC3-bf5xx-1.8-00 applies cleanly against the
official
> 2008R1.5-RC3 uClinux distribution. Until recently, I was only tracking
> official release milestones.

Yes, I can confirm that.  It's good for the top of the 2008R1 branch
too.

> Since Adeos is now part of the official uClinux distro for the
blackfin,
> I'm now tracking their development head instead; you can now find
> adeos-ipipe-2.6.28-blackfin.git-1.9-00 which applies to the
> blackfin.uclinux.org
> GIT tree at
git://sources.blackfin.uclinux.org/git/readonly-mirrors/linux-
> kernel.git

That's excellent, although all the work I do is on the 2008R1 branch of
Bfin uClinux as that's well tested and stable.

Mike


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

end of thread, other threads:[~2009-02-10 16:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-10 15:17 [Xenomai-help] 2.4.6.1 blackfin patches Mike McTernan
2009-02-10 15:40 ` Gilles Chanteperdrix
2009-02-10 16:01   ` Mike McTernan
2009-02-10 16:00 ` Philippe Gerum
2009-02-10 16:36   ` Mike McTernan

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.