Compiling U-Boot
Clone sources using git
:
cd ~/src git clone http://git.denx.de/u-boot.git u-boot/ cd u-boot
Create a new branch and apply the patches:
git branch u-boot-tqm8315-rev100 94978e19f31d225b4f7d97c4acbac1ecfaeb8f69 git checkout u-boot-tqm8315-rev100 patch -p1 <01-mpc83xx_fix_pcie.patch patch -p1 <02-mpc8315_add_sata_phy_initialization.patch patch -p1 <03-tqm8315_add_board_support.patch
Commit the changes:
git add . git commit -a -m 'applied patchfiles 1..3'
Clean up and build:
make distclean rm 01-mpc83xx_fix_pcie.patch 02-mpc8315_add_sata_phy_initialization.patch 03-tqm8315_add_board_support.patch make TQM8315_config vi include/configs/TQM8315.h git add . git commit make all