系统:ubuntu-16.04.3-desktop-amd64.iso
如下配置网卡
apt install openssh-server
cat << EOF >> /etc/network/interfaces
auto ens3
iface ens3 inet static
address 192.168.1.100
netmask 255.255.254.0
gateway 192.168.2.254
dns-nameservers 192.168.1.1
dns-nameservers 192.168.1.2
EOF
reboot
git clone https://github.com/zhangrr/chip-pro
cd chip-pro
sh 01.setup.sh
配置文件是 multistrap-config-examples/debian-netutils.conf
sh 02.create-chip-rootfs.sh multistrap-config-examples/debian-netutils.conf
会在目录下生成一个 rootfs.tar
文件
sh 03.nand.sh
sh 04.flash.sh