public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] How to patch u-boot?
@ 2008-01-21  4:33 Tiju
  2008-01-21  7:25 ` Wolfgang Denk
  2008-01-21 15:07 ` Jerry Van Baren
  0 siblings, 2 replies; 21+ messages in thread
From: Tiju @ 2008-01-21  4:33 UTC (permalink / raw)
  To: u-boot

>> 
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?


Because in http://wiki.openmoko.org/wiki/Uboot, the bootloader source code section says..."The current bootloader patches can be found at http://svn.openmoko.org/trunk/src/target/u-boot/patches/. Untar the sources, apply the patch, run "make gta01bv3_config"
(or gta01bv2_config, or whatever hardware revision you have), run
"make". You will get a resulting "u-boot.bin" image, which you can
directly flash (either using existing bootloader or sjf2410-linux) into NAND.
"

So, I do not know which version to apply the patches to. How do I get the current git head of u-boot or the source code of the current bootloader for which the patches has to be applied.


Thanks
Tiju Jacob



      Chat on a cool, new interface. No download required. Go to http://in.messenger.yahoo.com/webmessengerpromo.php

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [U-Boot-Users] How to patch u-boot?
@ 2008-01-21  4:13 Tiju
  0 siblings, 0 replies; 21+ messages in thread
From: Tiju @ 2008-01-21  4:13 UTC (permalink / raw)
  To: u-boot

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 
at 
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




      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [U-Boot-Users] How to patch u-boot?
@ 2008-01-18 10:27 Tiju
  2008-01-18 11:28 ` Andreas Schweigstill
  0 siblings, 1 reply; 21+ messages in thread
From: Tiju @ 2008-01-18 10:27 UTC (permalink / raw)
  To: u-boot

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 
at 
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





      Forgot the famous last words? Access your message archive online@http://in.messenger.yahoo.com/webmessengerpromo.php

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [U-Boot-Users] How to patch u-boot?
@ 2008-01-18 10:24 Tiju
  2008-01-18 10:38 ` Harald Welte
  0 siblings, 1 reply; 21+ messages in thread
From: Tiju @ 2008-01-18 10:24 UTC (permalink / raw)
  To: u-boot

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

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

end of thread, other threads:[~2008-03-17 14:52 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-21  4:33 [U-Boot-Users] How to patch u-boot? Tiju
2008-01-21  7:25 ` Wolfgang Denk
2008-01-21 15:07 ` Jerry Van Baren
2008-01-21 19:36   ` Harald Welte
2008-01-22  0:21     ` gvb.uboot
2008-01-22  8:25     ` Martin Krause
2008-01-22  9:01       ` Wolfgang Denk
2008-01-22  9:18     ` Wolfgang Denk
2008-01-22 12:16       ` Harald Welte
2008-03-17 13:54         ` Stefan Roese
2008-03-17 14:24           ` Harald Welte
2008-03-17 14:52             ` Stefan Roese
2008-01-22  9:32     ` Haavard Skinnemoen
2008-01-22 12:30       ` Harald Welte
2008-01-22 13:18         ` Haavard Skinnemoen
2008-01-22 13:51         ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2008-01-21  4:13 Tiju
2008-01-18 10:27 Tiju
2008-01-18 11:28 ` Andreas Schweigstill
2008-01-18 10:24 Tiju
2008-01-18 10:38 ` Harald Welte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox