http://blog.csdn.net/ljheee/article/details/52966048
1.add chinese language support
settings -> install language support
2.sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4
im-config -s ibus
sudo apt-get install ibus-pinyin ibus-sunpinyin //install input method
reboot / logout
3.打开iBus设置 open ibus preference
sudo ibus-setup
select input method TAB
add chinese
selecet pinyin
select sunPinyin
3.settings -> text entry
add chinese
add chinese(pinyin)(IBus)
add chinese(SunPinyin)(IBus)
4.install gnome2 environment
sudo apt-get install gnome-session-flashback
logout
select metacity //在选择进入metacity之前配置好pinyin输入法
5.install app
sudo apt-get install stardict openconnect exuberant-ctags cscope
cp XXX /usr/share/stardict/dict/
6.vpn:
sudo openconnect VPNCN1.NEVEXT.COM
Username:ze.zhang
Password:NIOyilai1121
Password: RSA passwd
proxy:
proxy.nevint.com:8080
7.upload key to gerrit
ssh-keygen
enter + enter
cat ~/.ssh/id_rsa.pub
copy + paste public key to http://lama-temple.nevint.com/#/settings/ssh-keys
add ssh config file
vim ~/.ssh/config
host gerrit.nevint.com lama-temple.nevint.com
user ze.zhang
port
identityFile ~/.ssh/id_rsa
8.download source code
mkdir ~/bin/
mkdir ~/bin
export PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod +x ~/bin/repo
modify these lines:
#REPO_URL = 'https://gerrit.googlesource.com/git-repo'
REPO_URL = "ssh://ze.zhang@lama-temple.nevint.com:29418/repo"
REPO_REV = 'nio'
download android code:
(username MUST BE ze.zhang!!!)
repo init -u ssh://chunbo.luo@lama-temple.nevint.com:29418/gld/android/manifest -b gladius_dev --no-repo-verify
git config --global user.email "ze.zhang@nio.com"
git config --global user.name "Zhang Ze"
repo sync
download linux code:
(username MUST BE ze.zhang!!!)
repo init -u ssh://ze.zhang@10.111.136.32:29418/gld/linux/manifest -b gladius_dev --no-repo-verify
repo init -u ssh://ze.zhang@lama-temple.nevint.com:29418/gld/linux/manifest -b gladius_dev --no-repo-verify
repo sync
9.compile linux
export TEMPLATECONF=${PWD}/meta/meta-xpt-bsp/templates/mt2712/xpt-gladius_v1/
source meta/poky/oe-init-build-env
sudo dpkg-reconfigure dash //choese no will use bash
bitbake xpt-core-image -k 2>&1 | tee build.log
bitbake xpt-image-ivi-full -k 2>&1 | tee build.log
http://forbidden-city.nevint.com/index.php?title=%E7%89%88%E6%9C%AC%E7%83%A7%E5%86%99
10.single compilation
bitbake mcutool -c clean
bitbake mcutool -c compile -f
bitbake mcutool -f
10.compile android
http://forbidden-city.nevint.com/index.php?title=Android_BSP
cd android
source build/envsetup.sh
lunch gladius-userdebug
make -j15