From 5838614ff74989c302e1edf24e6c0ec6e228102a Mon Sep 17 00:00:00 2001 From: Ben Lye Date: Fri, 30 Aug 2019 19:26:14 +0100 Subject: [PATCH] Update Linux.md --- doc/Linux.md | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/doc/Linux.md b/doc/Linux.md index 72418ae..5aea0db 100644 --- a/doc/Linux.md +++ b/doc/Linux.md @@ -1,23 +1,24 @@ # Flashing From Linux -A bash script is provided for flashing Multiprotocol modules from Linux operating systems. +A bash script and toolchain is provided for flashing Multiprotocol modules from Linux operating systems. + +Like the Flash Multi Window application, the Linux script will automatically determine which upload method to use, will preserve the EEPROM data during flashes, and will write the bootloader as needed. ## Installing -1. Download -1. Configure serial device permissions - 1. Automatically, by running `tools/install.sh` as root to update the udev rules and add the current user to the `dialout` group, e.g.: - - `sudo ./tools/install.sh` - - 1. Manually by running these command: +1. Download and unzip the latest Linux release +1. Configure serial device permissions by running `tools/install.sh` as root to update the udev rules and add the current user to the dialout group, e.g.: - ``` - sudo cp -v ./tools/45-maple.rules /etc/udev/rules.d/45-maple.rules - sudo chown root:root /etc/udev/rules.d/45-maple.rules - sudo chmod 644 /etc/udev/rules.d/45-maple.rules - sudo udevadm control --reload-rules - sudo usermod -a -G plugdev $USER - sudo usermod -a -G dialout $USER - ``` + `sudo ./tools/install.sh` + +If you prefer you can configure the permissions manually with these commands, for example: +``` +sudo cp -v ./tools/45-maple.rules /etc/udev/rules.d/45-maple.rules +sudo chown root:root /etc/udev/rules.d/45-maple.rules +sudo chmod 644 /etc/udev/rules.d/45-maple.rules +sudo udevadm control --reload-rules +sudo usermod -a -G plugdev $USER +sudo usermod -a -G dialout $USER +``` + ## Use 1. Download the latest pre-compiled firmware 1. Plug your Multiprotocol module in