new spells: sigrok-cli libsigrok libsigrokdecode (Feature #405)


Added by Sven Lemke over 2 years ago. Updated over 2 years ago.


Status:New Start date:06/25/2012
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Science
Target version:-
Grimoire:Test

Description

sigrok-cli -> science
libsigrok, libsigrokdecode -> libs


bash-4.2# date
Mon Jun 25 21:16:28 CEST 2012
bash-4.2# gaze what sigrok-cli
sigrok-cli:
The sigrok project aims at creating a portable, cross-platform,
Free/Libre/Open-Source signal analysis software suite that
supports various device types like digital oscilloscopes,
signal analyzers, multimeters and all kinds of other sensors.

bash-4.2# gaze version sigrok-cli libsigrok libsigrokdecode
Grimoire Section Spell Grimoire Version Installed Version
-------- ------- ----- ---------------- -----------------
mygrimoire mysection sigrok-cli 0.3.1 -
mygrimoire mysection libsigrok 0.1.1 -
mygrimoire mysection libsigrokdecode 0.1.0 -

bash-4.2# cast -c -d -r -V off sigrok-cli
Computing previously installed dependencies...
sigrok-cli preparing environment...
sigrok-cli running configuration...
sigrok-cli checking dependencies...
sigrok-cli has a dependency on glib2
sigrok-cli has a dependency on libsigrok
sigrok-cli has a dependency on libsigrokdecode
sigrok-cli has a dependency on zlib
sigrok-cli has a dependency on some LIBUSB.
(0) libusb
(1) libusbx (installed)

Which one do you want? [1]

sigrok-cli has a dependency on libftdi
sigrok-cli has a dependency on pcre
sigrok-cli has a dependency on libzip
sigrok-cli has a dependency on some PYTHON.
(0) python (installed)
(1) python3 (installed)

Which one do you want? [0] 1
sigrok-cli checking for reverse triggers...
glib2 No work to do.
libsigrok preparing environment...
libsigrok running configuration...
libsigrok checking dependencies...
libsigrok has a dependency on glib2
libsigrok has a dependency on alsa-lib
libsigrok has a dependency on libzip
libsigrok has a dependency on some LIBUSB.
(0) libusb
(1) libusbx (installed)

Which one do you want? [1]

libsigrok has a dependency on libftdi
libsigrok has a dependency on udev
libsigrok checking for reverse triggers...
libsigrokdecode preparing environment...
libsigrokdecode running configuration...
libsigrokdecode checking dependencies...
libsigrokdecode has a dependency on glib2
libsigrokdecode has a dependency on some PYTHON.
(0) python (installed)
(1) python3 (installed)

Which one do you want? [1]

libsigrokdecode checking for reverse triggers...
zlib No work to do.
libusbx No work to do.
libftdi No work to do.
pcre No work to do.
libzip No work to do.
python3 No work to do.
alsa-lib No work to do.
udev No work to do.
Collating dependencies...
Spells are to be cast:
---------------------------
libsigrok libsigrokdecode sigrok-cli

Do you want to cast these spells? [y]

Downloading source file libsigrok-0.1.1.tar.gz
--2012-06-25 21:16:54-- http://osdn.dl.sourceforge.net/sourceforge/project/sigrok/source/libsigrok/libsigrok-0.1.1.tar.gz
Resolving osdn.dl.sourceforge.net (osdn.dl.sourceforge.net)... 216.34.181.56
Connecting to osdn.dl.sourceforge.net (osdn.dl.sourceforge.net)|216.34.181.56|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://downloads.sourceforge.net/sourceforge/project/sigrok/source/libsigrok/libsigrok-0.1.1.tar.gz?download&failedmirror=_ [following]
--2012-06-25 21:16:54-- http://downloads.sourceforge.net/sourceforge/project/sigrok/source/libsigrok/libsigrok-0.1.1.tar.gz?download&failedmirror=_
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://garr.dl.sourceforge.net/project/sigrok/source/libsigrok/libsigrok-0.1.1.tar.gz [following]
--2012-06-25 21:16:55-- http://garr.dl.sourceforge.net/project/sigrok/source/libsigrok/libsigrok-0.1.1.tar.gz
Resolving garr.dl.sourceforge.net (garr.dl.sourceforge.net)... 193.206.140.34, 2001:760:ffff:b0::34
Connecting to garr.dl.sourceforge.net (garr.dl.sourceforge.net)|193.206.140.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 637468 (623K) [application/x-gzip]
Saving to: `libsigrok-0.1.1.tar.gz'

0K .......... .......... .......... .......... ..........  8%  240K 2s
50K .......... .......... .......... .......... .......... 16% 825K 1s
100K .......... .......... .......... .......... .......... 24% 813K 1s
150K .......... .......... .......... .......... .......... 32% 803K 1s
200K .......... .......... .......... .......... .......... 40% 912K 1s
250K .......... .......... .......... .......... .......... 48% 3.41M 0s
300K .......... .......... .......... .......... .......... 56% 913K 0s
350K .......... .......... .......... .......... .......... 64% 877K 0s
400K .......... .......... .......... .......... .......... 72% 1.03M 0s
450K .......... .......... .......... .......... .......... 80% 1.09M 0s
500K .......... .......... .......... .......... .......... 88% 1.47M 0s
550K .......... .......... .......... .......... .......... 96% 945K 0s
600K .......... .......... .. 100% 1.78M=0.8s

2012-06-25 21:16:56 (815 KB/s) - `libsigrok-0.1.1.tar.gz' saved [637468/637468]

Waiting for any Solo casts to complete...
Waiting for any other casts of libsigrok to complete... done.
Staging disabled
Preparing libsigrok
Hash checking source file libsigrok-0.1.1.tar.gz...
Algorithm used: sha512
Allowing new hash sha512
Checking spell level WORKS_FOR_ME
Spell level is a new allowed level
Hash verification succeeded
Unpacking source file libsigrok-0.1.1.tar.gz for spell libsigrok.
These are your current -- config options for spell libsigrok
(/etc/sorcery/local/config_option_cache/libsigrok)
Do you wish to add -- options to ./configure? [n]

OPTS=         
Building libsigrok
Preparing to install libsigrok
Creating compile log /var/log/sorcery/compile/libsigrok-0.1.1.bz2
Creating tablet in directory /var/state/sorcery/tablet/libsigrok/20120625211713
Creating install log /var/log/sorcery/install/libsigrok-0.1.1
Creating MD5 log /var/log/sorcery/md5sum/libsigrok-0.1.1
Creating cache file /var/cache/sorcery/libsigrok-0.1.1-x86_64-pc-linux-gnu.tar.bz2
Downloading source file libsigrokdecode-0.1.0.tar.gz
--2012-06-25 21:16:56-- http://osdn.dl.sourceforge.net/sourceforge/project/sigrok/source/libsigrokdecode/libsigrokdecode-0.1.0.tar.gz
Resolving osdn.dl.sourceforge.net (osdn.dl.sourceforge.net)... 216.34.181.56
Connecting to osdn.dl.sourceforge.net (osdn.dl.sourceforge.net)|216.34.181.56|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://downloads.sourceforge.net/sourceforge/project/sigrok/source/libsigrokdecode/libsigrokdecode-0.1.0.tar.gz?download&failedmirror=_ [following]
--2012-06-25 21:16:57-- http://downloads.sourceforge.net/sourceforge/project/sigrok/source/libsigrokdecode/libsigrokdecode-0.1.0.tar.gz?download&failedmirror=_
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://switch.dl.sourceforge.net/project/sigrok/source/libsigrokdecode/libsigrokdecode-0.1.0.tar.gz [following]
--2012-06-25 21:16:57-- http://switch.dl.sourceforge.net/project/sigrok/source/libsigrokdecode/libsigrokdecode-0.1.0.tar.gz
Resolving switch.dl.sourceforge.net (switch.dl.sourceforge.net)... 130.59.138.21, 2001:620:0:1b::21
Connecting to switch.dl.sourceforge.net (switch.dl.sourceforge.net)|130.59.138.21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 553835 (541K) [application/x-gzip]
Saving to: `libsigrokdecode-0.1.0.tar.gz'
0K .......... .......... .......... .......... ..........  9%  231K 2s
50K .......... .......... .......... .......... .......... 18% 813K 1s
100K .......... .......... .......... .......... .......... 27% 793K 1s
150K .......... .......... .......... .......... .......... 36% 839K 1s
200K .......... .......... .......... .......... .......... 46% 672K 1s
250K .......... .......... .......... .......... .......... 55% 1.44M 0s
300K .......... .......... .......... .......... .......... 64% 822K 0s
350K .......... .......... .......... .......... .......... 73% 1004K 0s
400K .......... .......... .......... .......... .......... 83% 1.48M 0s
450K .......... .......... .......... .......... .......... 92% 813K 0s
500K .......... .......... .......... .......... 100% 779K=0.8s

2012-06-25 21:16:58 (706 KB/s) - `libsigrokdecode-0.1.0.tar.gz' saved [553835/553835]

Waiting for any Solo casts to complete...
Waiting for any other casts of libsigrokdecode to complete... done.
Staging disabled
Preparing libsigrokdecode
Hash checking source file libsigrokdecode-0.1.0.tar.gz...
Algorithm used: sha512
Allowing new hash sha512
Checking spell level WORKS_FOR_ME
Spell level is a new allowed level
Hash verification succeeded
Unpacking source file libsigrokdecode-0.1.0.tar.gz for spell libsigrokdecode.
These are your current -- config options for spell libsigrokdecode
(/etc/sorcery/local/config_option_cache/libsigrokdecode)
Do you wish to add -- options to ./configure? [n]

OPTS=     
Building libsigrokdecode
Preparing to install libsigrokdecode
Creating compile log /var/log/sorcery/compile/libsigrokdecode-0.1.0.bz2
Creating tablet in directory /var/state/sorcery/tablet/libsigrokdecode/20120625211834
Creating install log /var/log/sorcery/install/libsigrokdecode-0.1.0
Creating MD5 log /var/log/sorcery/md5sum/libsigrokdecode-0.1.0
Creating cache file /var/cache/sorcery/libsigrokdecode-0.1.0-x86_64-pc-linux-gnu.tar.bz2
Downloading source file sigrok-cli-0.3.1.tar.gz
--2012-06-25 21:16:59-- http://osdn.dl.sourceforge.net/sourceforge/project/sigrok/source/sigrok-cli/sigrok-cli-0.3.1.tar.gz
Resolving osdn.dl.sourceforge.net (osdn.dl.sourceforge.net)... 216.34.181.56
Connecting to osdn.dl.sourceforge.net (osdn.dl.sourceforge.net)|216.34.181.56|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://downloads.sourceforge.net/sourceforge/project/sigrok/source/sigrok-cli/sigrok-cli-0.3.1.tar.gz?download&failedmirror=_ [following]
--2012-06-25 21:16:59-- http://downloads.sourceforge.net/sourceforge/project/sigrok/source/sigrok-cli/sigrok-cli-0.3.1.tar.gz?download&failedmirror=_
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ignum.dl.sourceforge.net/project/sigrok/source/sigrok-cli/sigrok-cli-0.3.1.tar.gz [following]
--2012-06-25 21:16:59-- http://ignum.dl.sourceforge.net/project/sigrok/source/sigrok-cli/sigrok-cli-0.3.1.tar.gz
Resolving ignum.dl.sourceforge.net (ignum.dl.sourceforge.net)... 62.109.128.11, 2001:1ab0:7e1f:1:230:48ff:fed1:9c0a
Connecting to ignum.dl.sourceforge.net (ignum.dl.sourceforge.net)|62.109.128.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 452493 (442K) [application/x-gzip]
Saving to: `sigrok-cli-0.3.1.tar.gz'
0K .......... .......... .......... .......... .......... 11%  236K 2s
50K .......... .......... .......... .......... .......... 22% 928K 1s
100K .......... .......... .......... .......... .......... 33% 746K 1s
150K .......... .......... .......... .......... .......... 45% 1.18M 0s
200K .......... .......... .......... .......... .......... 56% 894K 0s
250K .......... .......... .......... .......... .......... 67% 5.12M 0s
300K .......... .......... .......... .......... .......... 79% 5.35M 0s
350K .......... .......... .......... .......... .......... 90% 1.28M 0s
400K .......... .......... .......... .......... . 100% 1.72M=0.5s

2012-06-25 21:17:00 (865 KB/s) - `sigrok-cli-0.3.1.tar.gz' saved [452493/452493]

Waiting for any Solo casts to complete...
Waiting for any other casts of sigrok-cli to complete... done.
Staging disabled
Preparing sigrok-cli
Hash checking source file sigrok-cli-0.3.1.tar.gz...
Algorithm used: sha512
Allowing new hash sha512
Checking spell level WORKS_FOR_ME
Spell level is a new allowed level
Hash verification succeeded
Unpacking source file sigrok-cli-0.3.1.tar.gz for spell sigrok-cli.
These are your current -- config options for spell sigrok-cli
(/etc/sorcery/local/config_option_cache/sigrok-cli)
Do you wish to add -- options to ./configure? [n]

OPTS=            
Building sigrok-cli
Preparing to install sigrok-cli
Creating compile log /var/log/sorcery/compile/sigrok-cli-0.3.1.bz2
Creating tablet in directory /var/state/sorcery/tablet/sigrok-cli/20120625211846
Creating install log /var/log/sorcery/install/sigrok-cli-0.3.1
Creating MD5 log /var/log/sorcery/md5sum/sigrok-cli-0.3.1
Creating cache file /var/cache/sorcery/sigrok-cli-0.3.1-x86_64-pc-linux-gnu.tar.bz2
Finished processing install requests.

Spells installed successfully:
------------------------------
libsigrok libsigrokdecode sigrok-cli

bash-4.2# sigrok-cli -V
sigrok-cli 0.3.1

Using libsigrok 0.1.1 (lib version 0:0:0).
Using libsigrokdecode 0.1.0 (lib version 0:0:0).

Supported hardware drivers:
demo Demo driver and pattern generator
ols Openbench Logic Sniffer
zeroplus-logic-cube ZEROPLUS Logic Cube LAP-C series
asix-sigma ASIX SIGMA/SIGMA2
chronovu-la8 ChronoVu LA8
fx2lafw fx2lafw (generic driver for FX2 based LAs)

Supported input formats:
chronovu-la8 ChronoVu LA8
binary Raw binary

Supported output formats:
bits Bits
hex Hexadecimal
ascii ASCII
binary Raw binary
vcd Value Change Dump (VCD)
ols OpenBench Logic Sniffer
gnuplot Gnuplot
chronovu-la8 ChronoVu LA8
csv Comma-separated values (CSV)

Supported protocol decoders:
i2s Integrated Interchip Sound
spi Serial Peripheral Interface
i2c Inter-Integrated Circuit
i2cfilter I2C filter
transitioncounter Pin transition counter
mx25lxx05d Macronix MX25Lxx05D
dcf77 DCF77 time protocol
mlx90614 Melexis MLX90614
usb Universal Serial Bus
edid Extended display identification data
pan1321 Panasonic PAN1321
i2cdemux I2C demultiplexer
uart Universal Asynchronous Receiver/Transmitter
rtc8564 Epson RTC-8564 JE/NB

bash-4.2#


sigrok_spell.tar.bz2 (4.4 kB) Sven Lemke, 06/25/2012 03:07 pm

sigrok_spells_fixed.tar.bz2 - fixed DEPENDS and HISTORY files (4.4 kB) Sven Lemke, 06/27/2012 03:22 pm


History

Updated by Vlad Glagolev over 2 years ago

just a few notes:

  • HISTORY file has different syntax, look at examples in Grimoire
  • tabs (tab characters) are unacceptable anywhere else but in HISTORY
  • DEPENDS files contain only required dependencies -- is it true? all of them are required, optional don't exist and there are no extra configure ("--with-...") flags?

Updated by Sven Lemke over 2 years ago

HISTORY file has different syntax, look at examples in Grimoire

ok, added some tabs and newlines

tabs (tab characters) are unacceptable anywhere else but in HISTORY

ok, removed the tabs in DEPENDS

DEPENDS files contain only required dependencies -- is it true? all of them are required, optional don't exist and there are no extra configure ("--with-...") flags?

These are required, yes. I have asked the developer and ldd'd the executables and libs to make sure. Configure options are not used yet.

Also available in: Atom PDF