自学内容网 自学内容网

1.1 海思SS928开发 - 开发环境 - 依赖环境安装

1.1 开发环境-依赖环境安装

Linux 虚拟机

  • 如何安装一台 Linux 虚拟机,TODO
  • 本人使用虚拟机为 Ubuntu 22.04

配置 Bash

  • 执行命令 sudo dpkg-reconfigure dash,选择 no,然后退出。

  • 执行命令 ls -l /bin/sh,为以下输出则表示配置成功:

    $ ls -l /bin/sh
    lrwxrwxrwx 1 root root 4 Apr  8 15:22 /bin/sh -> bash
    

安装依赖

  • 安装开发依赖包:
    • sudo apt-get install curl cmake git build-essential net-tools vim-gtk openssh-server openssl bash-completion
    • sudo apt-get install cpio unzip rsync bc libssl-dev libncurses-dev ncurses-term device-tree-compiler pigz pbzip2
    • sudo apt-get install libc6-i386 lib32z1 lib32stdc++6 zlib1g-dev u-boot-tools gperf ccache diffutils expect
    • sudo apt-get install dosfstools mtools zip makeself file man-db bison lz4 flex patchelf p7zip-full unrar autogen
    • sudo apt-get install automake libtool libtool-bin texinfo gawk autoconf
  • 安装 python2 以及 python3
    • sudo apt-get install python2 python3-pip
  • 安装 optee 依赖:
    • sudo pip install wheel kconfiglib pycryptodome pyelftools cryptography

原文地址:https://blog.csdn.net/luohaha66/article/details/137684509

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!