2011年5月17日 星期二

Download Android/Linux kernel/U-Boot/X-loader source

Downloading Release Software

[Reference] http://www.omappedia.org/wiki/PandaBoard_L27.12.1-P2_Release_Notes

Installing repo

For detail information regarding repo visit: Using Repo and Git
Other reference links on Git can be found in Techincal References page
Download repo to environment
$ cd $YOUR_PATH/L27.12.1-P2/mydroid
$ curl http://android.git.kernel.org/repo > ./repo
$ chmod a+x repo

Download Android source

cd $YOUR_PATH/L27.12.1-P2/
cd $MYDROID
repo init -u git://git.omapzoom.org/platform/omapmanifest.git -b 27.x -m RLS27.12.1-P2_Gingerbread.xml
repo sync
Adding Mouse and Keyboard support
cd $MYDROID/frameworks/base
 git remote add rowboat git://gitorious.org/rowboat/frameworks-base.git
 git fetch rowboat
 git cherry-pick 17128d44ab04c5b7cb2911e8b1c9f837aa9b36a5
 git cherry-pick 174cb50436065dc092114d69fb40d5a7712e3ca0
Update PandaBoard device directory Update pandaboard device directory -- TODO: clean up and remove Blaze items
cd $MYDROID/device/ti/pandaboard
git fetch http://review.omapzoom.org/p/device/ti/pandaboard refs/changes/89/13489/1 && git cherry-pick FETCH_HEAD

Kernel & Driver Source

To clone kernel source from scratch do:
cd $YOUR_PATH/L27.12-P2/
git clone git://git.omapzoom.org/kernel/omap.git kernel/android-2.6.35
cd kernel/android-2.6.35
git checkout ec895072ad0b686d2c130e5d80a3076a03042033
If you already have kernel source cloned then just update it (and add a remote if it is the first time):
cd $YOUR_PATH/L27.12-P2/kernel/android-2.6.35
git fetch origin
git checkout ec895072ad0b686d2c130e5d80a3076a03042033

U-Boot Source

cd $YOUR_PATH/L27.12-P2/
git clone git://git.omapzoom.org/repo/u-boot.git u-boot
cd u-boot
git checkout 601ff71c8d46b5e90e13613974a16d10f2006bb3

X-loader Source

cd $YOUR_PATH/L27.12-P2/
git clone git://git.omapzoom.org/repo/x-loader.git x-loader
cd x-loader
git checkout c8855fa6b85bd44073bd1b25dbffa99f02cbeeed

沒有留言:

張貼留言