1. Development Environment
1.1 Environmental Requirements
It is recommended to use Ubuntu 22.04 or later for compilation. If you encounter an error, check the message and install the required packages accordingly. For other Linux distributions, adjustments to the packages may be needed. Besides the system requirements, hardware and software prerequisites also apply.
Hardware requirements |
Software requirements |
64-bit system, hard disk space should be greater than 200G (Debian + Buildroot). 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 installation commands for the software packages required to set up the SDK build environment. Other tools, such as Samba and SSH, must be installed manually.
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