[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Try to patch Kernel-2.6.25
From: |
Kurt Mahan |
Subject: |
Re: [Ltib] Try to patch Kernel-2.6.25 |
Date: |
Fri, 15 Aug 2008 11:24:54 -0600 |
User-agent: |
Thunderbird 1.5.0.12 (X11/20060911) |
There are ~90 patches that are applied to the stock 2.6.25 kernel to
produce a Coldfire V4 kernel. This kernel (and the user filesystem)
are built/tested with the most recent public release of the CodeSourcery
toolchain (4.2.125).
We haven't released a 2.6.25 BSP for the 5445x yet but it is in the
pipeline.
The 2.6.25 BSP for the 547x/548x is in the final phase to get it released.
--Kurt
Stuart Hughes wrote:
> Hi Stefan,
>
> You can't deduce kernels by looking at bitshrine. This is a collection
> of everything ever used for all platforms.
>
> To get a context, you need to get a known working kernel spec file for
> your platform. The last one I can see is Linux 2.6.23-uc1.spec.
>
> If Kurt is listening, he might know of something more up to date. If
> not you could ask/request Freescale directly, or you could try to
> uClinux-dist and/or ask on the uclinuxdev list.
>
> Regards, Stuart
>
> On Fri, 2008-08-15 at 13:49 +0200, sHittmeyer wrote:
>
>> Hello,
>>
>> I just started to work wit LTIB and embedded Linux. I've got a m54455EVB.
>> Deliverd with the LTIB is a Kernel-2.6.23. For my projekt I would like
>> to use a more actual kernel. So I searched on
>> http://www.bitshrine.org/gpp/ for newer sources and found
>> linux-2.6.25.tar.bz2 <http://www.bitshrine.org/gpp/linux-2.6.25.tar.bz2>
>> (the Kernel itself) and the patches linux-2.6.25-m5445x-
>> <http://www.bitshrine.org/gpp/linux-2.6.25-m5445x-usb-sdram-priority.patch.md5>
>>
>> with I all downloaded.
>>
>> After patching I would like to compile the Kernel with my toolchain from
>> Codesourcery which already works (compiled "hello world" and ran it on
>> the preinstalled system on m54455EVB)
>>
>>
>>
>> But patching doesn't work. I tried the patching with e.g. the command:
>>
>> > cat ../Patch_2.6.25-m5445x/001-linux-2.6.25-m5445x-ata.patch | patch -p1
>> can't find file to patch at input line 25
>> Perhaps you used the wrong -p or --strip option?
>> The text leading up to this was:
>> --------------------------
>> |From c9e68ea1a541b9762ec0b656509aef3cdd75e035 Mon Sep 17 00:00:00 2001
>> |From: Kurt Mahan <address@hidden>
>> |Date: Mon, 19 Nov 2007 12:01:34 -0700
>> |Subject: [PATCH] Add support for the M5445x ATA controller.
>> |
>> |LTIBName: m5445x-ata
>> |Signed-off-by: Kurt Mahan <address@hidden>
>> |---
>> | arch/m68k/coldfire/Makefile | 1 +
>> | arch/m68k/coldfire/head.S | 5 +
>> | arch/m68k/coldfire/mcf5445x-devices.c | 125 +++++
>> | drivers/ata/Kconfig | 11 +-
>> | drivers/ata/Makefile | 2 +-
>> | drivers/ata/pata_fsl.c | 829
>> +++++++++++++++++++++++++++++++++
>> | include/asm-m68k/pci.h | 10 +-
>> | include/linux/fsl_devices.h | 11 +
>> | 8 files changed, 990 insertions(+), 4 deletions(-)
>> | create mode 100644 arch/m68k/coldfire/mcf5445x-devices.c
>> | create mode 100644 drivers/ata/pata_fsl.c
>> |
>> |diff --git a/arch/m68k/coldfire/Makefile b/arch/m68k/coldfire/Makefile
>> |index 21f4fbf..d1b8981 100644
>> |--- a/arch/m68k/coldfire/Makefile
>> |+++ b/arch/m68k/coldfire/Makefile
>> --------------------------
>> File to patch:
>>
>> while beeing in the directory of the kernel-sources.
>>
>> I'm not so skilled in the usage with the whole "Linux-thin" so could any
>> body help me and tell what I have forgotten, or what I'm doing wrong?
>> I have the hunch I forgot to run some patches befor. maybe some patches
>> that create new files or somethink like this. The patch which creats
>> e.g. new headerfiles "linux-2.6.25-m5445x-headers.patch" worked fine.
>>
>> Thanks a lot for your help and time
>> Stefan Hittmeyer
>>
>>
>> _______________________________________________
>> LTIB home page: http://bitshrine.org
>>
>> Ltib mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/ltib
>>
>
>
>
> _______________________________________________
> LTIB home page: http://bitshrine.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
>