You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR: We should probably put a note somewhere; or just use sudo for fastboot, like what we did for dd, which should avoid the hassle:)
In the flashing process of LPi4A, there are two stages (or as I would probably call it):
Stage 1: hold "BOOT" button and plug in the USB cable, flash u-boot to RAM
Stage 2: After a fastboot reboot, flash all images into onboard eMMC
Since ruyi does not run as root (as said by the RuyiSDK Device Provisioning Wizard & by design), and LPi4A's VID/PID is very unlikely to be there by default: udev rules (which, at least AFAIK, Debian & Arch are using this one)
# In stage 1
Bus 001 Device 012: ID 2345:7654 T-HEAD USB download gadget
# In stage 2
Bus 001 Device 011: ID 1234:8888 Brain Actuated Technologies USB download gadget
There's a change in the board's VID/PID between two stages, and this must be configured before we start the flashing process, since we're not running fastboot as root.
This issue comes back to us since ruyi 0.8.0+ changed the logic of invoking sudo, ruyi will wait for fastboot infinitely for a device which will never show up due to lack of udev rules...
TL;DR: We should probably put a note somewhere; or just use
sudo
forfastboot
, like what we did fordd
, which should avoid the hassle:)In the flashing process of LPi4A, there are two stages (or as I would probably call it):
fastboot reboot
, flash all images into onboard eMMCSince
ruyi
does not run as root (as said by the RuyiSDK Device Provisioning Wizard & by design), and LPi4A's VID/PID is very unlikely to be there by default: udev rules (which, at least AFAIK, Debian & Arch are using this one)There's a change in the board's VID/PID between two stages, and this must be configured before we start the flashing process, since we're not running
fastboot
as root.udev rules like this will be needed:
The text was updated successfully, but these errors were encountered: