Commit 9f51b246 authored by Benoit Rat's avatar Benoit Rat

doc: update VUART part

parent 7229f9b7
......@@ -462,25 +462,29 @@ An easier way to perform this operation is to access to the virtual
UART of the [SPEC] board by using the spec-vuart tool.
You first need to know the ***bus_id*** of your board
> ***Notes:*** The VUART is currently not working for this package, but
the information is given for the next versions. See [Known Bugs sections](#known-bugs)
> ***Notes:*** The VUART can not work if the USB is already connected as the Physical UART
has the priority.
~~~~~{.sh}
>:$ lspci | grep CERN
02:00.0 Non-VGA unclassified device: CERN/ECP/EDU Device 018d (rev 03)
03:00.0 Non-VGA unclassified device: CERN/ECP/EDU Device 018d (rev 03)
05:00.0 Non-VGA unclassified device: CERN/ECP/EDU Device 018d (rev 03)
0b:00.0 Non-VGA unclassified device: CERN/ECP/EDU Device 018d (rev 03)
~~~~~~~~~~
This means that your first board (wr0) is at **02**:00.0 and the second one (wr1) is at **03**:00.0
This means that your first board (wr0) is at **05*:00.0 and the second one (wr1) is at **0b**:00.0
Thus, for each board you can open a terminal and run the following command:
~~~~~{.sh}
>:$ sudo ./tools/spec-vuart -b 02 #For the first SPEC board
>:$ sudo ./tools/spec-vuart -b 03 #For the second SPEC board
>:$ sudo ./tools/spec-vuart -b 05 #For the first SPEC board
>:$ sudo ./tools/spec-vuart -b 0b #For the second SPEC board
~~~~~~~~~~
Be aware that if you try to remove the spec kernel modules with the virtual UART
activated, your PC will hangs and thus you will need to reboot. You must close
the virtual UART before doing this kind of operation.
[^sudomc]: On Ubuntu 12.04, you need sudo permission to access to a
[^sudomc]: On Ubuntu LTS, you need sudo permission to access to a
ttyUSB*X* device. It might be a good idea to add your user to the dialout group to
obtain appropriate permisssion on the device: `sudo usermod -a -G dialout $USER`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment