All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] patching a kernel
@ 2011-11-01  9:55 Łukasz Sacha
  2011-11-01 10:20 ` Philippe Gerum
  0 siblings, 1 reply; 4+ messages in thread
From: Łukasz Sacha @ 2011-11-01  9:55 UTC (permalink / raw)
  To: xenomai

Hi,

I'having problems with patching the 2.6.38.8 kernel.
I prepare my kernel first to work on my device (mini2440). I configure
it to use arm processor, etc.
Then I patch from xenomai:

scripts/prepare-kernel.sh --arch=arm
--adeos=ksrc/arch/arm/patches/adeos-ipipe-2.6.38.8-arm-1.18-03.patch
--linux=../linux-2.6.38.8

Now when I enter the ../linux-2.6.38.8 and run make xconfig (or
menuconfig) I don't even see my processor there - it's set to Pentium
PRO.

What should I do now?

regards,
--
Łukasz Dragilla Sacha


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

* Re: [Xenomai-help] patching a kernel
  2011-11-01  9:55 [Xenomai-help] patching a kernel Łukasz Sacha
@ 2011-11-01 10:20 ` Philippe Gerum
  2011-11-01 10:25   ` Łukasz Sacha
  0 siblings, 1 reply; 4+ messages in thread
From: Philippe Gerum @ 2011-11-01 10:20 UTC (permalink / raw)
  To: xenomai

On 11/01/2011 10:55 AM, Łukasz Sacha wrote:
> Hi,
>
> I'having problems with patching the 2.6.38.8 kernel.
> I prepare my kernel first to work on my device (mini2440). I configure
> it to use arm processor, etc.
> Then I patch from xenomai:
>
> scripts/prepare-kernel.sh --arch=arm
> --adeos=ksrc/arch/arm/patches/adeos-ipipe-2.6.38.8-arm-1.18-03.patch
> --linux=../linux-2.6.38.8
>
> Now when I enter the ../linux-2.6.38.8 and run make xconfig (or
> menuconfig) I don't even see my processor there - it's set to Pentium
> PRO.
>
> What should I do now?

Check the README.INSTALL file, section 2.4, Building for ARM.

$ make ARCH=arm xconfig
        ^^^^^^^^

Your .config file for your 2440 board is probably broken by now if you 
saved your previous configuration attempt (i.e. switched to x86 
settings). You may want to check this as well.

>
> regards,
> --
> Łukasz Dragilla Sacha
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help


-- 
Philippe.


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

* Re: [Xenomai-help] patching a kernel
  2011-11-01 10:20 ` Philippe Gerum
@ 2011-11-01 10:25   ` Łukasz Sacha
  2011-11-01 10:45     ` Łukasz Sacha
  0 siblings, 1 reply; 4+ messages in thread
From: Łukasz Sacha @ 2011-11-01 10:25 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: xenomai

On Tue, Nov 1, 2011 at 11:20, Philippe Gerum <rpm@xenomai.org> wrote:
> On 11/01/2011 10:55 AM, Łukasz Sacha wrote:
>>
>> Hi,
>>
>> I'having problems with patching the 2.6.38.8 kernel.
>> I prepare my kernel first to work on my device (mini2440). I configure
>> it to use arm processor, etc.
>> Then I patch from xenomai:
>>
>> scripts/prepare-kernel.sh --arch=arm
>> --adeos=ksrc/arch/arm/patches/adeos-ipipe-2.6.38.8-arm-1.18-03.patch
>> --linux=../linux-2.6.38.8
>>
>> Now when I enter the ../linux-2.6.38.8 and run make xconfig (or
>> menuconfig) I don't even see my processor there - it's set to Pentium
>> PRO.
>>
>> What should I do now?
>
> Check the README.INSTALL file, section 2.4, Building for ARM.
>
> $ make ARCH=arm xconfig
>       ^^^^^^^^
>
> Your .config file for your 2440 board is probably broken by now if you saved
> your previous configuration attempt (i.e. switched to x86 settings). You may
> want to check this as well.

I didn't get to the make part yet. The situation I describe is after
prepare-kernel.sh.
And i'm using README.INSTALL of course. the line in 2.4 for
prepare-kernel.sh is:
$ $xenomai_root/scripts/prepare-kernel.sh --arch=arm \
  --adeos=$xenomai_root/ksrc/arch/arm/patches/adeos-ipipe-2.6.20-arm-* \
  --linux=$linux_tree

small "--arch=arm"

-- 
LS


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

* Re: [Xenomai-help] patching a kernel
  2011-11-01 10:25   ` Łukasz Sacha
@ 2011-11-01 10:45     ` Łukasz Sacha
  0 siblings, 0 replies; 4+ messages in thread
From: Łukasz Sacha @ 2011-11-01 10:45 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: xenomai

On Tue, Nov 1, 2011 at 11:25, Łukasz Sacha <dragilla@domain.hid> wrote:
> On Tue, Nov 1, 2011 at 11:20, Philippe Gerum <rpm@xenomai.org> wrote:
>> On 11/01/2011 10:55 AM, Łukasz Sacha wrote:
>>>
>>> Hi,
>>>
>>> I'having problems with patching the 2.6.38.8 kernel.
>>> I prepare my kernel first to work on my device (mini2440). I configure
>>> it to use arm processor, etc.
>>> Then I patch from xenomai:
>>>
>>> scripts/prepare-kernel.sh --arch=arm
>>> --adeos=ksrc/arch/arm/patches/adeos-ipipe-2.6.38.8-arm-1.18-03.patch
>>> --linux=../linux-2.6.38.8
>>>
>>> Now when I enter the ../linux-2.6.38.8 and run make xconfig (or
>>> menuconfig) I don't even see my processor there - it's set to Pentium
>>> PRO.
>>>
>>> What should I do now?
>>
>> Check the README.INSTALL file, section 2.4, Building for ARM.
>>
>> $ make ARCH=arm xconfig
>>       ^^^^^^^^
>>
>> Your .config file for your 2440 board is probably broken by now if you saved
>> your previous configuration attempt (i.e. switched to x86 settings). You may
>> want to check this as well.
>
> I didn't get to the make part yet. The situation I describe is after
> prepare-kernel.sh.
> And i'm using README.INSTALL of course. the line in 2.4 for
> prepare-kernel.sh is:
> $ $xenomai_root/scripts/prepare-kernel.sh --arch=arm \
>  --adeos=$xenomai_root/ksrc/arch/arm/patches/adeos-ipipe-2.6.20-arm-* \
>  --linux=$linux_tree
>
> small "--arch=arm"
Oops, sorry, didnd't read carefully. Thank you for the advice.


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

end of thread, other threads:[~2011-11-01 10:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-01  9:55 [Xenomai-help] patching a kernel Łukasz Sacha
2011-11-01 10:20 ` Philippe Gerum
2011-11-01 10:25   ` Łukasz Sacha
2011-11-01 10:45     ` Łukasz Sacha

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.