编译环境搭建
https://gitee.com/bearpi/bearpi-hm_nano/blob/master/applications/BearPi/BearPi-HM_Nano/docs/quick-start/BearPi-HM_Nano%E5%BC%80%E5%8F%91%E6%90%AD%E5%BB%BA%E7%8E%AF%E5%A2%83.md
国产某rtos编译的时候也遇到过同样的编译错误,解决方法是删除项目根目录下的.sconsign.dblite文件,通过find命令一查找,在~/vendor/hisi/hi3861/hi3861目录下还真有这个隐藏文件,果断删除,再次编译,OK了!
sudo apt install python3-pip
pip3 install setuptools –i https://mirror.baidu.com/pypi/simple
pip3 install setuptools –i https://mirror.baidu.com/pypi/simple
sudo apt install net-tools
ifconfig
sudo apt install openssh-server
sudo pip3 install kconfiglib
sudo pip3 install pycryptodome
sudo pip3 install six
sudo pip3 install ecdsa
sudo apt-get install scons -y
scons -v
cd /home/d/bearpi
cd /home/d/bearpi
mkdir project && cd project
sudo apt install git
git clone https://gitee.com/bearpi/bearpi-hm_nano.git -b master
cd bearpi-hm_nano
python3 build.py BearPi-HM_Nano