Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Starting Kit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Starting Kit
Commits
9f51b246
Commit
9f51b246
authored
Mar 17, 2014
by
Benoit Rat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: update VUART part
parent
7229f9b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
wr-starting-kit.md
doc/wr-starting-kit.md
+12
-8
No files found.
doc/wr-starting-kit.md
View file @
9f51b246
...
...
@@ -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
0
2
:00.0 Non-VGA unclassified device: CERN/ECP/EDU Device 018d (rev 03)
0
3
:00.0 Non-VGA unclassified device: CERN/ECP/EDU Device 018d (rev 03)
0
5
:00.0 Non-VGA unclassified device: CERN/ECP/EDU Device 018d (rev 03)
0
b
:00.0 Non-VGA unclassified device: CERN/ECP/EDU Device 018d (rev 03)
~~~
~~~~~~~
This means that your first board (wr0) is at
**0
2**
:00.0 and the second one (wr1) is at
**03
**
:00.0
This means that your first board (wr0) is at
**0
5*: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 0
2 #For the first SPEC board
>:$ sudo ./tools/spec-vuart -b 0
3
#For the second SPEC board
>:$ sudo ./tools/spec-vuart -b 0
5 #For the first SPEC board
>:$ sudo ./tools/spec-vuart -b 0
b
#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`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment