BeagleLogic "no setup required" setup: Introducing System Image!
Clone this wiki locally
Download the BeagleLogic system image here!
[900MB, Built on 15th April 2016, sha1sum=6ee60093a9b019d1a1ad046663301a084cd7d5dc].
Introducing the BeagleLogic system image! This is much like a regular system image released for the BeagleBone Black that can be flashed to a SD card. When booting from the image, all the Getting Started processes are streamlined for a better out-of-the-box experience so that the user can focus on data capturing rather than getting stuff up and running.
The current image is based off the Debian 8.4 Jessie snapshot release of the BeagleBone Black, the one released on 10th April 2016.
Changes from previous image release in August 2015
- Update to latest Debian snapshot
- Image customization done using qemu-user-static/chroot, next step is to automate the process
- sigrok upgraded to 0.4.0 and installed as Debian packages rather than installed from source
Updating the image
Updating brings improvements to the web interface (both frontend and backend) of BeagleLogic which is going to be soon under active development. Currently the way to update the image is to do a git pull of the BeagleLogic repository on the BeagleBone. This git repository is located in
/opt/BeagleLogic so you have to do:
cd /opt/BeagleLogic sudo git pull
After updating the repo, you will have to reboot for changes to take effect.
The core is stable at this point; improvements will be delivered as kernel, firmware and libsigrok upgrades which have to be built from the sources at the moment. This will be delivered through appropriate Debian packages in the near future.
After SSHing into the BeagleBone. you can directly use the dd and the sigrok commands as described in Using BeagleLogic: Post Processing right away. No configuration, no loading of modules required as everything is managed on system boot.
You can alternatively open up the web interface of BeagleLogic by logging onto port 4000 of your BeagleBone. The URL is usually http://192.168.7.2:4000/ if the BeagleBone is directly connected to your PC via USB.
Sample Buffer size
A default buffer of size 64 MB is reserved from the system RAM. If you need more space [or less space], you can manually change allocation by using this command, when reserve a 128MiB buffer chunk, for example [128MiB = 128 * 1024 * 1024 bytes = 134217728 bytes]
echo 134217728 > /sys/devices/virtual/misc/beaglelogic/memalloc
The BeagleLogic image has currently been made out of a normal Debian image by:
- Installing the latest version of iojs (replacing nodejs)
- Linux kernel version based on v3.8.13
- sigrok components - libserialport, libsigrok, libsigrokdecode and sigrok-cli (which, as of now, have been compiled on the BeagleBone itself as the cross-compile script needs a bit of updating)
- the BeagleLogic git (this) repository.
Scripts have been added to auto-load the beaglelogic kernel module, the device tree overlay for GPIO configuration at startup and the BeagleLogic web server is configured to autostart via systemd. Thus the system is ready to capture once it is booted up.