3. Development Environment

3.1 Environmental Requirements

Ubuntu 22.04 or later is recommended for SDK compilation. 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 200GB.

If you do multiple builds, you will need more hard drive space.

Ubuntu 22.04

3.2 Install Libraries and Toolkits

This section provides the commands for installing the software packages required to build the SDK compilation environment. Other tools, such as Samba and SSH, should be installed as needed.

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