ASUS Tinker Board 2S - 4
https://snoopymemory.blogspot.com/2023/10/asus-tinker-board-2s-1.html
https://snoopymemory.blogspot.com/2023/10/asus-tinker-board-2s-2.html
https://snoopymemory.blogspot.com/2023/10/asus-tinker-board-2s-3.html
Build Android
$ ./docker_builder/docker-builder-run.sh
$ source build/envsetup.sh
$ lunch WW_Tinker_Board_2-userdebug
$ ./build.sh -UCKAu
-U 編譯 uboot
-A 編譯 Android
-K 編譯 Kernel
-u 編譯update.img
- 如果您有修改/Packages 下之內容, 可以直接把 /out 目錄刪除,這樣才會重新編譯
- 在$ lunch WW_Tinker_Board_2-userdebug 這一步驟
如果只輸入 $ lunch
會列出所有可以編譯的環境版本
5. $ lunch WW_Tinker_Board_2-user
這版本可以編譯成功, 但無法正確開機
6. $ lunch WW_Tinker_Board_2-userdebug
這版本可以編譯成功, 也可以正確開機
關於lunch之解說
https://www.sunofbeach.net/a/1464572420835794946
/rockdev/Image-WW_Tinker_Board_2/WW_Tinker_Board_2-raw.img
echo "USAGE: [-U] [-CK] [-A] [-p] [-o] [-u] [-v VERSION_NAME] [-n BUILD_NUMBER]"
echo "No ARGS means use default build option "
echo "WHERE: -U = build uboot "
echo " -C = build kernel with Clang "
echo " -K = build kernel "
echo " -A = build android "
echo " -p = will build packaging in IMAGE "
echo " -o = build OTA package "
echo " -u = build update.img "
echo " -v = build android with 'user' or 'userdebug' "
echo " -n = set build number "
echo " -r = pack the release "
echo " -d = huild kernel dts name "
echo " -V = build version "
echo " -J = build jobs "
沒有留言:
張貼留言