參考資訊:
https://wiki.sipeed.com/hardware/en/tang/Tang-Nano-Doc/flash-in-linux.html
$ sudo apt-get install libftdi1-2 libftdi1-dev libhidapi-hidraw0 libhidapi-dev libudev-dev zlib1g-dev cmake pkg-config make g++ $ cd $ git clone https://github.com/trabucayre/openFPGALoader.git $ cd openFPGALoader $ mkdir build $ cd build $ cmake ../ $ make -j4 $ sudo make install $ sudo cp ../99-openfpgaloader.rules /etc/udev/rules.d/ $ sudo udevadm control --reload-rules $ sudo udevadm trigger $ sudo usermod -a $USER -G plugdev