User Tools

Site Tools


library:rk3568:crosscompilationtoolchains

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
library:rk3568:crosscompilationtoolchains [2022/05/02 00:32]
127.0.0.1 external edit
library:rk3568:crosscompilationtoolchains [2022/08/14 12:23] (current)
lhaosen [2.1 安装Ubuntu 18.04.5]
Line 17: Line 17:
 [[http://old-releases.ubuntu.com/releases/|更多版本]] [[http://old-releases.ubuntu.com/releases/|更多版本]]
  
-=== - Vmware Workstation安装 Ubuntu ===+=== - Vmware Workstation安装Ubuntu (PC) ===
   * 新建虚拟机,资源:RAM 8GB, 硬盘:60G   * 新建虚拟机,资源:RAM 8GB, 硬盘:60G
   * 手动安装(**非常重要**,使用自动安装会导致后期安装开发环境缺少依赖包)   * 手动安装(**非常重要**,使用自动安装会导致后期安装开发环境缺少依赖包)
Line 51: Line 51:
 unzip device-tree-compiler python-pip ncurses-dev python-pyelftools unzip device-tree-compiler python-pip ncurses-dev python-pyelftools
 </code> </code>
 +
 +
 +=== - Other Ubuntu version ===
 +
 +== - Ubuntu 22.04 LTS ==
 +
 +Can not find 2 packages:
 +  ncurses-dev
 +  python-pyelftools
 +
 +<code>
 +sudo apt-get install repo git ssh make gcc libssl-dev liblz4-tool \
 +expect g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support \
 +qemu-user-static live-build bison flex fakeroot cmake gcc-multilib g++-multilib \
 +unzip device-tree-compiler python-pip
 +</code>
 +
 +Make python2 as default python runner
 +
 +  sudo apt install python2
 +  cd /usr/bin
 +  sudo ln -s python2 python
  
 ==== - 安装SDK ==== ==== - 安装SDK ====
library/rk3568/crosscompilationtoolchains.1651422738.txt.gz · Last modified: 2022/05/02 00:32 by 127.0.0.1