The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:OpenOCD"
(initial create) |
m (correct uucd typo) |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
}} | }} | ||
== Introduction == | == Introduction == | ||
To install OpenOCD simply run as root: | |||
{{console|body= | |||
# ##i##emerge -av openocd | |||
}} | |||
== Usage == | == Usage == | ||
To get usage help, run as user: | |||
{{console|body= | |||
$ ##i##openocd -h##!i## | |||
Open On-Chip Debugger 0.10.0 | |||
Licensed under GNU GPL v2 | |||
For bug reports, read | |||
http://openocd.org/doc/doxygen/bugs.html | |||
Open On-Chip Debugger | |||
Licensed under GNU GPL v2 | |||
--help {{!}} -h display this help | |||
--version {{!}} -v display OpenOCD version | |||
--file {{!}} -f use configuration file <name> | |||
--search {{!}} -s dir to search for config files and scripts | |||
--debug {{!}} -d set debug level <0-3> | |||
--log_output {{!}} -l redirect log output to file <name> | |||
--command {{!}} -c run <command> | |||
}} | |||
== Hints and tips == | == Hints and tips == | ||
The installation adds new {{c|plugdev}} group and installs {{Package|virtual/udev}} rules for some hardware (e.g. FTDI USB/Serial adapters), which uses this group for device files (e.g. {{f|/dev/ttyUSBx}}). | |||
To use these devices as regular user, the user must be member of {{c|plugdev}} group. | |||
{{warning|The group of device files can be, after installation of {{Package|dev-embedded/openocd}}, changed. Without this package most of them has {{C|uucp}} as group and after install it, they can seems as stop to works.}} | |||
{{EbuildFooter}} | {{EbuildFooter}} |
Latest revision as of 19:19, January 26, 2017
OpenOCD
We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.
Introduction
To install OpenOCD simply run as root:
root # emerge -av openocd
Usage
To get usage help, run as user:
user $ openocd -h Open On-Chip Debugger 0.10.0 Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Open On-Chip Debugger Licensed under GNU GPL v2 --help | -h display this help --version | -v display OpenOCD version --file | -f use configuration file <name> --search | -s dir to search for config files and scripts --debug | -d set debug level <0-3> --log_output | -l redirect log output to file <name> --command | -c run <command>
Hints and tips
The installation adds new plugdev
group and installs No results rules for some hardware (e.g. FTDI USB/Serial adapters), which uses this group for device files (e.g. /dev/ttyUSBx
).
To use these devices as regular user, the user must be member of plugdev
group.
The group of device files can be, after installation of dev-embedded/openocd, changed. Without this package most of them has uucp
as group and after install it, they can seems as stop to works.