天天看点

git command

gitwork

先進去code review

master :

https://wiki.realtek.com/pages/viewpage.action?pageId=81824481

SZ_child:

https://wiki.realtek.com/pages/viewpage.action?pageId=87481049

Hypervisor:

https://wiki.realtek.com/pages/viewpage.action?pageId=88967291

svn co http://cadinfo.realtek.com.tw/svn/col/DVR/branches/phoenix/bootcode/uboot

新建project:

步驟:

取回OpenWrt-ImageBuilder-rtd1295-mnas_emmc.Linux-x86_64.tar.bz2並解壓縮

欲打上升級版本的 SDK 請先做一次清理(最好重新checkout)

build_dir/target-aarch64_cortex-a53+neon_glibc-2.19/linux-rtd1295_mnas_emmc/linux-4.1.7/ 底下做以下動作

make clean;rm -rf include/config/;git stash;git stash clear

此部分可以參考 build_release_openwrt.sh 下的函數 clean_openwrt

升級 linux-4.1.7

SQA 的SDK中的 build_dir/target-aarch64_cortex-a53+neon_glibc-2.19/linux-rtd1295_mnas_emmc/linux-4.1.7/ 直接以 rsync 導入

使用方式: rsync -avP {來源資校夾} {目的地資料夾}

rsync -avP /home/tristan/station/0606/OpenWrt-ImageBuilder-rtd1295-mnas_emmc.Linux-x86_64/linux-4.1.7/ linux-4.1.7/

導入後 使用 git status 查看狀態是否符合預期

在OpenWrt-ImageBuilder-rtd1295-mnas_emmc.Linux-x86_64/target/linux/rtd1295/mnas_emmc/config-4.1

是linux-kernel 的 config 也要一併更新

repo init -u ssh://rsgerrit:29418/1395_ANDROID_P_AOSP_190116_SDK/20190117/manifests -b master -mmirror.xml --mirror --repo-url=ssh://rsgerrit:29418/git-repo

来自为知笔记(Wiz)