All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] find bits and pieces for Denx PPC/ipipe/xenomai?
@ 2010-03-30  4:45 Robert Berger
  2010-03-30 20:05 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Berger @ 2010-03-30  4:45 UTC (permalink / raw)
  To: xenomai

Hi,

It looks like something changed in the way to find all the bits and
pieces to patch/build the Denx PPC/ipipe/xenomai combo.

Looking here:
http://git.xenomai.org/?p=xenomai-head.git;a=blob;f=ksrc/arch/powerpc/patches/README;h=010a86ecabce19212a8eaa1e0aaf8dc43b4805f3;hb=master

I read:

>>>

from Linux v2.6.22 to v2.6.32
		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>From git://www.denx.de/git/linux-2.6-denx.git

Patch release			Commit #
----------------------------	----------------------------------------
2.6.22-DENX-*/powerpc		3e833ffb06a4ce14f2680a0afe9abd5342188e17
...
2.6.32.3-DENX-*/powerpc		224f363857f05ab44dab3441112965f0a7966788

		from Linux v2.6.20 to v2.6.21
		from Linux v2.6.33 onward
		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>From ftp://ftp.free.fr/mirrors/ftp.kernel.org/linux/kernel/v2.6/

	All patches are based on mainline kernel releases.

<<<

Does this mean, that the patches are not anymore against the DENX git
repository, but against mainline?

What I would do up to now is to find in the denx git repository the
corresponding commit or similar;)

There seems to be an 2.6.33 ipipe patch:

http://git.xenomai.org/?p=xenomai-head.git;a=blob;f=ksrc/arch/powerpc/patches/adeos-ipipe-2.6.33-powerpc-2.9-00.patch;h=7b84ba91606e7873227ef70d99aa077362248f4a;hb=master

So I would apply this on:
http://git.denx.de/?p=linux-2.6-denx.git;a=shortlog;h=refs/heads/DENX-v2.6.33-stable

Or should I use
http://git.denx.de/?p=ipipe-2.6.git;a=summary

Or something completely different?

With

http://git.xenomai.org/?p=xenomai-head.git;a=summary

I'm confused what's the recommended way to get the latest and greatest
ipipe/kernel/xenomai combination based on a DENX ppc kernel tree.

Please advise.

Regards,

Robert

-- 
Robert Berger
Embedded Software Specialist

Reliable Embedded Systems
Consulting Training Engineering
Tel.: (+30) 697 593 3428
Fax.:(+30) 210 684 7881
email: robert.berger@domain.hid
URL: http://www.reliableembeddedsystems.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..."Pointers are like jumps, leading wildly from one part of the data
structure to another. Their introduction into high-level languages has
been a step backwards from which we may never recover." - C. A. R.
Hoare, "Hints on Programming Language Design", 1973

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1




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

* Re: [Xenomai-help] find bits and pieces for Denx PPC/ipipe/xenomai?
  2010-03-30  4:45 [Xenomai-help] find bits and pieces for Denx PPC/ipipe/xenomai? Robert Berger
@ 2010-03-30 20:05 ` Wolfgang Denk
  2010-03-31 13:24   ` Steven A. Falco
  2010-03-31 20:15   ` Robert Berger
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Denk @ 2010-03-30 20:05 UTC (permalink / raw)
  To: Robert Berger; +Cc: xenomai

Dear Robert,

In message <horvm4$cil$1@domain.hid> you wrote:
> 
> Does this mean, that the patches are not anymore against the DENX git
> repository, but against mainline?

This is not a contradiction - our linux-2.6-denx repository is based
on the kernel.org tree and fully includes it.

The "kernel.org" branch in our "linux-2.6-denx" repository is
directly tracking the mainline kernel tree.

> What I would do up to now is to find in the denx git repository the
> corresponding commit or similar;)

Just refer to the git commit ID, and you will find it happens to be
there.

> There seems to be an 2.6.33 ipipe patch:
> 
> http://git.xenomai.org/?p=xenomai-head.git;a=blob;f=ksrc/arch/powerpc/patches/adeos-ipipe-2.6.33-powerpc-2.9-00.patch;h=7b84ba91606e7873227ef70d99aa077362248f4a;hb=master
> 
> So I would apply this on:
> http://git.denx.de/?p=linux-2.6-denx.git;a=shortlog;h=refs/heads/DENX-v2.6.33-stable

Of course not. You do not use the web interface to actually work with
git.  And "v2.6.33" in mainline is something different than our
DENX-v2.6.33-stable branch (which BTW is a branch, i. e. not a
specific commit).

> Or something completely different?

If you want to get "v2.6.33", you check out this version: You would
initially run "git clone" to clone either the kernel.org mainline
repository, or, if you like, our "linux-2.6-denx" repository. Then
you would run the command

	git checkout v2.6.33

to get the exact state of sources these patches were created against.

> I'm confused what's the recommended way to get the latest and greatest
> ipipe/kernel/xenomai combination based on a DENX ppc kernel tree.

See above: "git clone" followed by "git checkout" - as usual.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@domain.hid
I'm frequently appalled by the low regard you Earthmen have for life.
	-- Spock, "The Galileo Seven", stardate 2822.3


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

* Re: [Xenomai-help] find bits and pieces for Denx PPC/ipipe/xenomai?
  2010-03-30 20:05 ` Wolfgang Denk
@ 2010-03-31 13:24   ` Steven A. Falco
  2010-03-31 19:31     ` Wolfgang Denk
  2010-03-31 20:15   ` Robert Berger
  1 sibling, 1 reply; 6+ messages in thread
From: Steven A. Falco @ 2010-03-31 13:24 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: Robert Berger, xenomai

Wolfgang Denk wrote:
> Dear Robert,
> 
> In message <horvm4$cil$1@domain.hid> you wrote:
>> Does this mean, that the patches are not anymore against the DENX git
>> repository, but against mainline?
> 
> This is not a contradiction - our linux-2.6-denx repository is based
> on the kernel.org tree and fully includes it.

Perhaps Robert's concern is whether the IPIPE patch will cleanly
apply to the DENX branch, since DENX has additional drivers,
changes, etc. relative to the mainline.  And I guess the answer
is "it depends".

	Steve

> 
> The "kernel.org" branch in our "linux-2.6-denx" repository is
> directly tracking the mainline kernel tree.
> 
>> What I would do up to now is to find in the denx git repository the
>> corresponding commit or similar;)
> 
> Just refer to the git commit ID, and you will find it happens to be
> there.
> 
>> There seems to be an 2.6.33 ipipe patch:
>>
>> http://git.xenomai.org/?p=xenomai-head.git;a=blob;f=ksrc/arch/powerpc/patches/adeos-ipipe-2.6.33-powerpc-2.9-00.patch;h=7b84ba91606e7873227ef70d99aa077362248f4a;hb=master
>>
>> So I would apply this on:
>> http://git.denx.de/?p=linux-2.6-denx.git;a=shortlog;h=refs/heads/DENX-v2.6.33-stable
> 
> Of course not. You do not use the web interface to actually work with
> git.  And "v2.6.33" in mainline is something different than our
> DENX-v2.6.33-stable branch (which BTW is a branch, i. e. not a
> specific commit).
> 
>> Or something completely different?
> 
> If you want to get "v2.6.33", you check out this version: You would
> initially run "git clone" to clone either the kernel.org mainline
> repository, or, if you like, our "linux-2.6-denx" repository. Then
> you would run the command
> 
> 	git checkout v2.6.33
> 
> to get the exact state of sources these patches were created against.
> 
>> I'm confused what's the recommended way to get the latest and greatest
>> ipipe/kernel/xenomai combination based on a DENX ppc kernel tree.
> 
> See above: "git clone" followed by "git checkout" - as usual.
> 
> Best regards,
> 
> Wolfgang Denk
> 



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

* Re: [Xenomai-help] find bits and pieces for Denx PPC/ipipe/xenomai?
  2010-03-31 13:24   ` Steven A. Falco
@ 2010-03-31 19:31     ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2010-03-31 19:31 UTC (permalink / raw)
  To: Steven A. Falco; +Cc: Robert Berger, xenomai

Dear Steven,

In message <4BB34D0E.3010300@domain.hid> you wrote:
>
> > This is not a contradiction - our linux-2.6-denx repository is based
> > on the kernel.org tree and fully includes it.
> 
> Perhaps Robert's concern is whether the IPIPE patch will cleanly
> apply to the DENX branch, since DENX has additional drivers,
> changes, etc. relative to the mainline.  And I guess the answer
> is "it depends".

Correct. It depends.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@domain.hid
Well, the way I see it, logic is only a way of being ignorant by num-
bers.                                 - Terry Pratchett, _Small Gods_


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

* Re: [Xenomai-help] find bits and pieces for Denx PPC/ipipe/xenomai?
  2010-03-30 20:05 ` Wolfgang Denk
  2010-03-31 13:24   ` Steven A. Falco
@ 2010-03-31 20:15   ` Robert Berger
  2010-03-31 20:32     ` Gilles Chanteperdrix
  1 sibling, 1 reply; 6+ messages in thread
From: Robert Berger @ 2010-03-31 20:15 UTC (permalink / raw)
  To: xenomai

Thanks Wolfgang,

I did

git clone git://git.denx.de/linux-2.6-denx.git
followed by
> 
> 	git checkout v2.6.33
> 
> to get the exact state of sources these patches were created against.
> 
> 
> See above: "git clone" followed by "git checkout" - as usual.
> 
> Best regards,
> 
> Wolfgang Denk
> 

And used adeos-ipipe-2.6.33-powerpc-2.9-00.patch
plus git clone git://xenomai.org/xenomai-head

Everything builds happily for a kilauea board, but...

./cyclictest -t3
Segmentation fault

I'll open another thread here for this problem.
This seems to be broken for quite some time now.

Regards,
Robert

-- 
Robert Berger
Embedded Software Specialist

Reliable Embedded Systems
Consulting Training Engineering
Tel.: (+30) 697 593 3428
Fax.:(+30) 210 684 7881
email: robert.berger@domain.hid
URL: http://www.reliableembeddedsystems.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
...Reusing software is a lot like reusing toilet paper. - Rick Anthony

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1



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

* Re: [Xenomai-help] find bits and pieces for Denx PPC/ipipe/xenomai?
  2010-03-31 20:15   ` Robert Berger
@ 2010-03-31 20:32     ` Gilles Chanteperdrix
  0 siblings, 0 replies; 6+ messages in thread
From: Gilles Chanteperdrix @ 2010-03-31 20:32 UTC (permalink / raw)
  To: Robert Berger; +Cc: xenomai

Robert Berger wrote:
> Thanks Wolfgang,
> 
> I did
> 
> git clone git://git.denx.de/linux-2.6-denx.git
> followed by
>> 	git checkout v2.6.33
>>
>> to get the exact state of sources these patches were created against.
>>
>>
>> See above: "git clone" followed by "git checkout" - as usual.
>>
>> Best regards,
>>
>> Wolfgang Denk
>>
> 
> And used adeos-ipipe-2.6.33-powerpc-2.9-00.patch
> plus git clone git://xenomai.org/xenomai-head
> 
> Everything builds happily for a kilauea board, but...
> 
> ./cyclictest -t3
> Segmentation fault
> 
> I'll open another thread here for this problem.
> This seems to be broken for quite some time now.

Ok. Could you run this program under gdb to see at least where the
segmentation fault happens? But first, could you show us the result of
the "ulimit -s" command before running cyclictest?

-- 
					    Gilles.


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

end of thread, other threads:[~2010-03-31 20:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-30  4:45 [Xenomai-help] find bits and pieces for Denx PPC/ipipe/xenomai? Robert Berger
2010-03-30 20:05 ` Wolfgang Denk
2010-03-31 13:24   ` Steven A. Falco
2010-03-31 19:31     ` Wolfgang Denk
2010-03-31 20:15   ` Robert Berger
2010-03-31 20:32     ` Gilles Chanteperdrix

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.