[U-Boot-Users] need a complete step by step way to create a patch specifically for u-boot

Q: How do I make a patch? I know the basics, but I just cant get it solid! It keeps finding reverse-patches when I test it. I need a complete step by step for u-boot specific. Heres my guess which doesn't work. Thanks for helping -jd
ls u-boot_1.1.3 u-boot_1.1.3new
rm -rf `find u-boot_1.1.3new -name *.a` rm -rf `find u-boot_1.1.3new -name u-boot` rm -rf `find u-boot_1.1.3new -name *.srec` rm -rf `find u-boot_1.1.3new -name *map` rm -f u-boot_1.1.3/include/asm diff -pNaur u-boot_1.1.3 u-boot_1.1.3new > patch.patch
cd u-boot_1.1.3 patch -p1 < ../patch.patch

James,
On Wed, 2007-04-04 at 10:39 -0600, james pruett wrote:
Q: How do I make a patch? I know the basics, but I just cant get it solid! It keeps finding reverse-patches when I test it. I need a complete step by step for u-boot specific. Heres my guess which doesn't work. Thanks for helping -jd
ls u-boot_1.1.3 u-boot_1.1.3new
rm -rf `find u-boot_1.1.3new -name *.a` rm -rf `find u-boot_1.1.3new -name u-boot` rm -rf `find u-boot_1.1.3new -name *.srec` rm -rf `find u-boot_1.1.3new -name *map` rm -f u-boot_1.1.3/include/asm diff -pNaur u-boot_1.1.3 u-boot_1.1.3new > patch.patch
cd u-boot_1.1.3 patch -p1 < ../patch.patch
Although it's off-topic to your question, U-boot 1.1.3 is really old. Get the latest using 'git'. It's available for most host platforms. The repository is at:
www.denx.de/git/u-boot.git
More on-topic, read this: http://www.kernel.org/pub/software/scm/git/docs/everyday.html
regards, Ben

In message 352669300704040939k5b83f187r72880a47a37b3f96@mail.gmail.com you wrote:
Q: How do I make a patch?
See the README, and/or use git or cogito or ...
I need a complete step by step for u-boot specific.
Nothing in this is specific to U-Boot.
Best regards,
Wolfgang Denk
participants (3)
-
Ben Warren
-
james pruett
-
Wolfgang Denk