2023-07-02 06:22:55 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# This script will try to flash/update RusEFI part of firmware over USB interface.
|
|
|
|
|
2023-07-03 05:22:18 -07:00
|
|
|
echo "This script may need root privileges for accessing USB device or special udev rules (TODO)"
|
2023-07-02 06:22:55 -07:00
|
|
|
|
2024-03-24 09:22:45 -07:00
|
|
|
BootCommander -t=xcp_usb build/rusefi.srec
|
2023-07-02 06:22:55 -07:00
|
|
|
|
|
|
|
# OR
|
|
|
|
# You can build it from sources with:
|
|
|
|
# (cd ext/openblt/Host/Source/LibOpenBLT/ ; mkdir build ; cd build ; cmake .. ; make -j )
|
|
|
|
# and
|
|
|
|
# (cd ext/openblt/Host/Source/BootCommander/ ; mkdir build ; cd build ; cmake .. ; make -j )
|
|
|
|
# And run:
|
2024-03-24 09:22:45 -07:00
|
|
|
# ext/openblt/Host/BootCommander -t=xcp_usb build/rusefi.srec
|