Embedded

From sigrok
Jump to navigation Jump to search

The sigrok subprojects are all meant to be portable across various operating systems and architectures. Thus, they also compile and run fine on various embedded targets/boards.

IMPORTANT: This page is not meant as a generic setup/build tutorial for any of the listed boards. Please check the respective board manufacturer documentation, wiki, mailing lists, forums and so on if you need any help with setting up the system or (cross-)compiling packages etc. etc.

Raspberry Pi

Raspberry Pi

Overview:

The Raspberry Pi is an ARM-based single-board computer based on the Broadcom BCM2835 SoC.

Property Value
SoC/CPU Broadcom BCM2835
Core/ISA 700MHz ARM1176JZF-S core (ARM11 family, ARMv6 instruction set)
Architecture (uname -m) armv6l
Bits 32
Endianness little
(Cross-)compiler prefix armv6l-unknown-linux-gnueabihf

Please check the Raspberry Pi Wikipedia page for more information.

Notes:

  • The installation of the build-requirements and building of the sigrok components is the same as on pretty much any other Linux system. Please check Linux for details. Remember to check not only if the requirements are met, but also if the versions installed are high enough (use dpkg-query).
  • Using the recommended pre-built Debian image ("2013-07-26-wheezy-raspbian.zip") all sigrok components and frontends build and work fine. Various logic analyzers, DMMs, and other gear has been successfully tested.
  • Some drivers require the installation of the librevisa and libusb libraries. Libvisa is not available in the default raspberrypi.org repositories as of January 2015. You need to add a repository that contains it or compile it from source. A repository that does contain it is the archive.raspbian.org repository, specifically here. Note that the package name is libvisa0. libusb-1.0 is outdated in the repositories as of January 2015, you may need to compile it from source. The sequence of commands is identical to that of compiling sigrok.

BeagleBone Black (BBB)

BeagleBone Black

Overview:

The BeagleBone Black (BBB) is an ARM-based single-board computer based on the Texas Instruments Sitara AM3359 SoC.

Property Value
SoC/CPU Texas Instruments Sitara AM3359
Core/ISA 1GHz ARM Cortex-A8 core (ARMv7 instruction set)
Architecture (uname -m) armv7l
Bits 32
Endianness little
(Cross-)compiler prefix armv7l-unknown-linux-gnueabi

Notes:

  • The installation of the build-requirements and building of the sigrok components is the same as on pretty much any other Linux system. Please check Linux for details.
  • The default Ångström distribution for the BBB doesn't seem to ship all components required for the full usage of all sigrok components. E.g. there seems to be no Python3 (for libsigrokdecode), and no sdcc (for sigrok-firmware-fx2lafw). We recommend using a Debian image for better results.