Skip to contentSkip to conversation

How to patch u-boot?

U-Boot-Users Tiju 2 participants 2 messages Jan 18, 2008

lore
Share & tools
lore

Tiju

author
#0 lore raw

Hi

Could someone help me out with patching the u-boot.
I downloaded the source code of u-boot-1.1.6 and untared it. Then I do a $cd u-boot-1.1.6
$svn co http://svn.openmoko.org/trunk/src/target/u-boot/patches/
$patch <patches/boot-menu.patch
patching file bootmenu.c
can't find file to patch@input line 154
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------

|Index: u-boot/board/neo1973/gta01/gta01.c
|===================================================================
|--- u-boot.orig/board/neo1973/gta01/gta01.c
|+++ u-boot/board/neo1973/gta01/gta01.c

--------------------------
File to patch:

This is what comes....
Is this the way to do it? If not please help me with the steps to be followed.

Thankyou
Tiju Jacob

Now you can chat without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php

#1 lore raw
Quoted 6 lines · Tiju

Hi

Could someone help me out with patching the u-boot.
I downloaded the source code of u-boot-1.1.6 and untared it. Then I do a $cd u-boot-1.1.6
$svn co http://svn.openmoko.org/trunk/src/target/u-boot/patches/

those patches are against current git head of u-boot. What gave you the assumption that the patches are agains 1.1.6?

Signature · 3 lines
- Harald Welte <[email protected]>          	        http://openmoko.org/
============================================================================
Software for the world's first truly open Free Software mobile phone