yangjun@yangjun-Inspiron-7559:~/opensource/rk3399-android-10$ ./build-nanopc-t4.sh -h
Usage: ./build-nanopc-t4.sh [ARGS]
Options:
-a build Android
-B build U-Boot
-K build Linux kernel
-F, --all build all (U-Boot, kernel, Android)
-M make rockdev image
-u generate update.img
-h show this help message and exit
1. ubuntu
https://blog.csdn.net/qq3965470/article/details/112419619
patch: https://github.com/flatmax/buildroot.rockchip/tree/master/patches.rockpis/uboot
2. kernel
修改vim kernel/scripts/dtc/dtc-lexer.l
3.android
sudo apt install libncurses5