Skip to content

Instantly share code, notes, and snippets.

@whexy
Created September 26, 2021 01:26
Show Gist options
  • Save whexy/6d04ad875927792ca610181f65c69296 to your computer and use it in GitHub Desktop.
Save whexy/6d04ad875927792ca610181f65c69296 to your computer and use it in GitHub Desktop.
Steps to use the sync script in Ubuntu 16.04
# use mirror
apt update
apt install git python3 python3-apt
# arm reference platform dependencies
apt install acpica-tools autoconf bc bison bridge-utils build-essential curl device-tree-compiler expect flex g++-multilib gcc-multilib genext2fs gperf libc6 libssl-dev libstdc++6 libncurses5 libxml2 libxml2-dev libxml2-utils libxml-libxml-perl make openssh-server openssh-client uuid-dev automake android-tools-adb android-tools-fastboot cython kernelshark libfreetype6-dev libpng-dev libtool net-tools nmap openjdk-8-jdk pkg-config python-dev python-mako python-nose python-numpy screen sshpass trace-cmd tree autoconf doxygen fuseext2 locales mtools wget zip zlib1g zlib1g-dev
# python
pip install PyCryptodome
apt install python3-pyelftools
pip2 install IPython bart-py devlib jupyter pandas pexpect psutil pyserial trappy
# git
git config --global user.name "John Doe"
git config --global user.email "john.doe@example.com"
git config --global color.diff auto
cd ~ && git clone https://git.linaro.org/landing-teams/working/arm/arm-reference-platforms.git
cd arm-reference-platforms/
python3 sync_workspace.py --no_check_apt_deps
@whexy
Copy link
Author

whexy commented Sep 26, 2021

IMPORTANT REQUIREMENTS

  • Use Ubuntu 16.04
  • Due to the out-of-date Python2 dependence, don't update pip2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment