sigrok Cross compilation instructions for the BeagleBone

Kumar Abhishek edited this page Sep 25, 2015 · 8 revisions

These cross-compilation instructions are out of date, but kept for historical reasons.

The current way is to clone and compile the sigrok utilities within the BeagleBone Black itself.

Clone the 4 principal repositories of sigrok into the directory in which BeagleLogic has been cloned:

  • libserialport git clone git://sigrok.org/libserialport
  • libsigrok git clone git://sigrok.org/libsigrok
  • libsigrokdecode git clone git://sigrok.org/libsigrokdecode
  • sigrok-cli git clone git://sigrok.org/sigrok-cli

Get this package of libraries pulled in from the Debian rootfs that are required for compilation to succeed and extract it into BeagleLogic/usr [not /usr on the PC]

You need arm-linux-gnueabihf to build.

From a shell, run:

abhishek@abhishek:~/BeagleLogic$./sigrok-build-beaglebone

And let it do the magic :smiley:

Once done, run

abhishek@abhishek:~/BeagleLogic$./sigrok-deploy-beaglebone

The modules will be copied over to your BBB. If you have a non-standard hostname, please edit the script.