Skip to contentSkip to conversation

find bits and pieces for Denx PPC/ipipe/xenomai?

Xenomai-help Robert Berger 4 participants 6 messages Mar 30, 2010 – Mar 31, 2010

lore
Share & tools
lore
#0 lore raw

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:

Quoted 1 line
Quoted 1 line
Quoted 1 line

from Linux v2.6.22 to v2.6.32

		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 1 line

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
		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 1 line

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

Signature · 17 lines
Robert Berger
Embedded Software Specialist

Reliable Embedded Systems
Consulting Training Engineering
Tel.: (+30) 697 593 3428
Fax.:(+30) 210 684 7881
email: [email protected]
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
#1 lore raw

Dear Robert,

Quoted 3 lines · In message <[email protected]> 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.

Quoted 2 lines

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.

Quoted 6 lines

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).

Quoted 1 line

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.

Quoted 2 lines

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

Signature · 5 lines
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: [email protected]
I'm frequently appalled by the low regard you Earthmen have for life.
	-- Spock, "The Galileo Seven", stardate 2822.3
#2 lore raw
Quoted 8 lines · Wolfgang Denk

Dear Robert,

Quoted 2 lines · In message <[email protected]> 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

Quoted 42 lines

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

Quoted 2 lines

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.

Quoted 6 lines

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).

Quoted 1 line

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.

Quoted 2 lines

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

#3 lore raw

Dear Steven,

Quoted 8 lines · In message <[email protected]> you wrote:
Quoted 3 lines

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

Signature · 5 lines
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: [email protected]
Well, the way I see it, logic is only a way of being ignorant by num-
bers.                                 - Terry Pratchett, _Small Gods_
#4 lore raw
In reply to Wolfgang Denk

Thanks Wolfgang,

I did

git clone git://git.denx.de/linux-2.6-denx.git
followed by

Quoted 12 lines
	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

Signature · 15 lines
Robert Berger
Embedded Software Specialist

Reliable Embedded Systems
Consulting Training Engineering
Tel.: (+30) 697 593 3428
Fax.:(+30) 210 684 7881
email: [email protected]
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
#5 lore raw
Quoted 21 lines · Robert Berger

Thanks Wolfgang,

I did

git clone git://git.denx.de/linux-2.6-denx.git
followed by

Quoted 11 lines
	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

Quoted 7 lines

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?

Signature · 1 line
					    Gilles.