一、采用荣品开发板
1、根据荣品开发板的使用手册安装ubuntu18.04系统
2、安装工具包命令如下:
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 ncurses-dev pyelftools
出现如下问题:
解决方法:
安装pyelftools不能用apt-get instll ,要用pip install pyelftools单独安装。
3、执行./build.sh出现如下错误
解决方法:直接使用荣品给的虚拟机(low)
最终解决方法:
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 python-pip ncurses-dev python-pyelftools
二、采集firefly开发板
1、安装虚拟机18.04
2、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 ncurses-dev python-pyelftools
即可使用萤火虫的sdk。一下是操作手册连接。