All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Adeos I-Pipe patch problem on vendor-specific kernel
@ 2012-10-02 21:08 Wayne Warren
  2012-10-02 21:32 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 34+ messages in thread
From: Wayne Warren @ 2012-10-02 21:08 UTC (permalink / raw)
  To: xenomai

Howdy folks,

I am currently working on a project to get Xenomai up and running on an
AM3517 based board and have run into some difficulties.

First off, I am starting with a vendor-supplied kernel that was put into
use several months ago and on top of which patches have been applied to
get it working with a board designed by one of my coworkers. This kernel
works fine. It is a based on a TI 2.6.37-based kernel:

http://arago-project.org/git/projects/?p=linux-omap3.git;a=commit;h=adcd067326836777c049e3cb32a5b7d9d401fc31

Because of this I initially chose the following patch:

http://download.gna.org/adeos/patches/v2.6/arm/older/adeos-ipipe-2.6.37.6-arm-1.18-03.patch

because I thought this was as close as I would get.

When it comes time to apply the adeos i-pipe patch, we cannot simply
apply it over our existing kernel tree using the prepare-kernel.sh
script due to merge conflicts.

Because of this I checked out a commit from TI's kernel tree that I
thought would be compatible with the adeos i-pipe patch and it seems to
have applied cleanly. After this, I merged the version of the TI kernel
tree on which our product-specific changes were made; this resulted in
eight conflicts which I was able to resolve in such a way that the
resulting code compiles, but does not boot: When loading this kernel
from u-boot, the kernel seems to hang early in the startup sequence.

It occurred to me, however, that it really might be better to apply the
adeos i-pipe patch directly over the known-to-work commit so that when
searching for the regression I can have a better idea of where to start
looking based on a "git diff --name-only" command.

This would involved pulling the i-pipe patch in directly from:

http://git.xenomai.org/?p=ipipe-gch.git;a=tags

The tag that I have my eye on is ipip-2.6.37.6-arm-1.18-03 which I
believe would correspond with the .patch file listed above. In fact, I
have applied this patch and again resolved the merge conflicts, but run
into a problem in that the Makefile/Kconfig kernel configuration
variables do not seem to be included in that code. What seems to happen
instead in the prepare-kernel.sh script adds them when patching the
kernel. It seems like this script may do other important tasks as well.

I am hoping someone can advise me with regard to either how to proceed
without those variables or maybe offer advice for generally how to
proceed with this attempt to pull in the i-pipe patches for a
vendor-specific kernel branch.

Thanks in advance!

Wayne Warren



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

end of thread, other threads:[~2012-10-24 18:36 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-02 21:08 [Xenomai] Adeos I-Pipe patch problem on vendor-specific kernel Wayne Warren
2012-10-02 21:32 ` Gilles Chanteperdrix
2012-10-02 21:35   ` Gilles Chanteperdrix
2012-10-04 16:57     ` Wayne Warren
2012-10-04 17:09       ` Gilles Chanteperdrix
2012-10-04 18:02         ` Gilles Chanteperdrix
2012-10-05  8:06         ` Gilles Chanteperdrix
2012-10-05 18:47           ` Wayne Warren
2012-10-05 20:16             ` Gilles Chanteperdrix
2012-10-05 21:47               ` Wayne Warren
2012-10-05 22:43                 ` Gilles Chanteperdrix
2012-10-06  4:29                   ` Wayne Warren
2012-10-06  9:46                     ` Gilles Chanteperdrix
2012-10-09 20:55                       ` Wayne Warren
2012-10-09 21:12                         ` Gilles Chanteperdrix
2012-10-19 21:22                           ` Wayne Warren
2012-10-20  1:33                             ` Gilles Chanteperdrix
2012-10-22 19:22                               ` Wayne Warren
2012-10-22 19:25                                 ` Gilles Chanteperdrix
2012-10-22 19:34                                   ` Wayne Warren
2012-10-22 21:12                                     ` Gilles Chanteperdrix
2012-10-23 15:32                                       ` Wayne Warren
2012-10-23 20:12                                         ` Gilles Chanteperdrix
2012-10-24 17:32                                           ` Wayne Warren
2012-10-24 17:38                                             ` Gilles Chanteperdrix
2012-10-24 17:55                                               ` Wayne Warren
2012-10-24 18:05                                                 ` Gilles Chanteperdrix
2012-10-24 18:26                                                   ` Wayne Warren
2012-10-24 18:36                                                     ` Gilles Chanteperdrix
2012-10-24 17:36                                           ` Wayne Warren
2012-10-24 17:57                                             ` Gilles Chanteperdrix
2012-10-20  8:24                             ` Gilles Chanteperdrix
2012-10-19 21:32                           ` Wayne Warren
2012-10-20  1:36                             ` 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.