From: Tiju Date: Mon, 21 Jan 2008 10:03:40 +0530 (IST) Subject: [U-Boot-Users] How to patch u-boot? Message-ID: <99605.88037.qm@web94612.mail.in2.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >> 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