2. Install Tools
PC OS |
Network |
Permission |
Ubuntu |
online |
root |
2.1 Install dependent packages
sudo apt-get install u-boot-tools git gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dri:i386 libgl1-mesa-dev g++-multilib tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 dpkg-dev libncurses5-dev libsdl1.2-dev lib32z-dev ccache python-pyelftools python3-pyelftools libssl-dev liblz4-tool gcc-4.8 g++-4.8 libelf-dev
Note
If the compilation encountered error, please according to the error message install the corresponding software package.
2.2 Install JDK
sudo apt-get update
sudo apt-get install openjdk-8-jdk