ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] Try to patch Kernel-2.6.25


From: sHittmeyer
Subject: [Ltib] Try to patch Kernel-2.6.25
Date: Fri, 15 Aug 2008 13:49:16 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]