Provisions an Arduino UNO Q with your Nerves firmware over USB.
Use this the first time you install Nerves on a board, or to recover one.
It works whatever is on the eMMC, because it uses the QRB2210's Emergency
Download (EDL) mode, which is built into the chip. After that, update the
board as usual with mix upload.
It rewrites the eMMC with:
- Qualcomm's boot firmware, from Arduino's eMMC bootloader bundle
- a partition table with the Nerves partitions
- your firmware, as
fwup -t completewould write it
Anything in the application data partition is lost.
mix firmware.qdlRequirements
fwupon yourPATHaccess to USB device
05c6:9008. On Linux, add a udev rule such as this, which also keeps ModemManager away from the board:SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9008", MODE="0660", GROUP="plugdev", ENV{ID_MM_DEVICE_IGNORE}="1"
It uses qdl to talk to the board. If
qdl isn't on your PATH, it downloads Arduino's prebuilt qdl for your
computer.
Options
--firmware PATH- the.fwfile to install. Defaults to the onemix firmwarebuilds.--dry-run- prepare everything and runqdl --dry-runwithout a board