HW: Hardkernel ODROID-N2, ODROID-VU7A+ (https://www.hardkernel.com/product/)
OS: Ubuntu disco minimal 20191228 (http://ppa.linuxfactory.or.kr/images/raw/arm64/disco/)
Make sure the command ran successfully before running the next command!!
It may vary depending on various conditions. If symbolic links are broken, various errors will occur when you follow the steps below.
Most of the errors that occurred to me were for this reason.
Connect the SD card or eMMC with OS to your SBC.
Connect the SD card or eMMC to your computer. Change directory to mounted directory.
When I built all successfully, the directory structure is shown below. Since
/ (root) is copied to
$HOME/flutter-engine/sdk/sysroot, setting a symbolic link path to an absolute path can break symbolic links.
clang and LLVM
libcxxabi and libcxx
After reading the Ref above, follow flutter-engine part.
icudtl.dat to Target.