1. Development Environment
1.1 Compiler Environment
It is recommended to use Ubuntu 22.04. If you encounter an error during compilation, you can check the error message and install the corresponding software packages accordingly. Other Linux versions may need to adjust the software package accordingly. In addition to the system requirements, there are other hardware and software requirements.
Hardware requirements |
Software requirements |
64-bit system, hard disk space should be greater than 60G. If you do multiple builds, you will need more hard drive space. |
Ubuntu 22.04 |
1.2 Install Libraries and Toolkits
The contents of this directory only provide the software package installation commands that are needed to build the compiled SDK environment. Please install other tools such as samba and ssh yourself.
PC OS |
Network |
Permission |
ubuntu 22.04 |
online |
root |
1sudo apt-get install git ssh make gcc libssl-dev liblz4-tool libmpc-dev
2sudo apt-get install expect g++ patchelf chrpath gawk texinfo chrpath diffstat
3sudo apt-get install binfmt-support live-build bison flex fakeroot libgmp-dev
4sudo apt-get install cmake gcc-multilib g++-multilib unzip device-tree-compiler
5sudo apt-get install ncurses-dev libgucharmap-2-90-dev bzip2 expat gpgv2
6sudo apt-get install cpp-aarch64-linux-gnu g++-aarch64-linux-gnu
7sudo apt install python2 python-is-python3