repo forall -c 'git checkout gingerbread'
但是有一些 project 是額外 clone 的,所以沒有 gingerbread 這個branch。checkout korg/master
都做完後,repo branch 列出
* gingerbread | not in: RTK bootable/bootloader/uboot-imx device/fsl external/alsa-lib external/alsa-utils external/linux-atheros-wifi external/linux-firmware-imx external/linux-lib external/mtd-utils external/qemu external/systemtap external/wpa_supplicant_ath hardware/alsa_sound hardware/mx5x kernel_imx sdk system/dispd system/wlan/atheros
結果 .. cts 出現 fail:
fatal: bad object 99ca2c610588d9f690d8738d965837607641153f
Error! Base version commit 99ca2c610588d9f690d8738d965837607641153f doesn't exist in git /home/charles-chang/demo10.2/cts. Stop
ref: http://androidxref.com/source/history/cts/ 那個 rev 是6月,local 的 history,最後一個 rev 是 5 月,所以不夠新 ...
把 aosp 加入 remote repo:
cd cts
git remote add aosp https://android.googlesource.com/platform/cts
git fetch aosp
checkout aosp 的 gingerbread
git checkout aosp/gingerbread
繼續作 c_patch,出現:
Warning: The following NEW gits exist already in your work tree and will be removed firstly.
external/linux-lib
external/linux-firmware-imx
external/linux-atheros-wifi
external/wpa_supplicant_ath
system/wlan/atheros
hardware/mx5x
external/systemtap
system/dispd
device/fsl
Continue? [yes/no]
回答 yes 後他會繼續...switch to bas rev
apply patch
...一堆 warnning error : white space....
然後就出現 success..
用 repo 看每一個 project,好像只有修改的過的會 新增 imx_r10.3 這個 branch...
所以把所有 project 都 checkout 一個 imx_r10.3 branch
但是因為 manifest.xml 沒有列入以下 project,所以要手動(?)
* imx_r10.3 | not in:
device/fsl
external/linux-atheros-wifi
external/linux-firmware-imx
external/linux-lib
external/systemtap
external/wpa_supplicant_ath
hardware/mx5x
system/dispd
接著上 10.3.1 的 patch..
有點麻煩,要自己一個一個作:
先找出所有的 XXX.git folder,follow 這個 list 的順序:
find . -type d -name '*.git'
./kernel_imx.git
./device/fsl.git
./platform/bootable/recovery.git
./platform/bootable/bootloader/uboot-imx.git
./platform/development.git
./platform/packages/apps/Browser.git
./platform/packages/apps/Music.git
./platform/packages/providers/MediaProvider.git
./platform/libcore.git
./platform/hardware/alsa_sound.git
./platform/hardware/mx5x.git
./platform/external/linux-lib.git
./platform/frameworks/base.git
./platform/system/core.git
./platform/build.git
依照user guide,一個一個去產生 series。
然後依照順序,一個一個去上..
為了和原來的區分,上之前先 checkout -b imx_r10.3.1
完成,全部都 checkout 一個 imx_r10.3.1 branch (以後先作?)
follow user guild,刪掉 device/fs/propertietary/omx/*
然後 copy imx-android-r10.3.1/code/r10.3.1/device/fsl.git/device_fsl_proprietary_omx/* 的 lib registery folder 過去。
commit
應該算完成,接著 apply 10.3.2..
沒有留言:
張貼留言