Then flash the LEDscape image on to the Beaglebone by putting an SD card with this image in it... https://github.com/bigjosh/LEDscape/releases/tag/1.1 ...and holding the USR button (near SD slot) at power up until you see cylon LED pattern.
At power up, the board should go into redbeat
pattern where it flashes red 1 second per minute.
To check the LED layout is correct, send something like a bullseye pattern from a controller.
sudo systemctl disable /root/DigitPanelDemo/ledsd.service
sudo killall leds
Steps to make a BBB into a controller if you don't want to use the premade image above, here are steps to create it..
- Start with installing Debian 7.11 2015-06-15 4GB SD LXDE. http://beagleboard.org/getting-started
- Install
Ledscape
https://github.com/bigjosh/LEDscape#installation - Install
bbbphyfix
https://github.com/bigjosh/bbbphyfix#install - Install
devmemkb
https://github.com/bigjosh/devmemkm#installation - Remove
wicd
...nano /etc/network/interfaces
- Uncomment these two lines...
auto eth0
iface eth0 inet dhcp
apt-get remove wicd*
apt-get remove wpasupplicant
- Remove other stuffs (the less stuff running, the lower cahnces of the PRU getting interrupted on memory bus accesses)...
apt-get remove apache2 apt-get remove chromium-browser-l10n apt-get remove xserve* apt-get autoremove
- Install
ledscape-config.json
with (note we need the no-certificate becuase this debian is so old that it does not get cert updates anymore)...wget -O /etc/ledscape-config.json --no-check-certificate https://raw.githubusercontent.com/bigjosh/De-Harak-Clock-Controller/master/bbb/ledscape-config.json
sync
Note that we remove wicd
since it uses lots of CPU when idle and this increases the chances of the ARM having memory contention when the PRUs go to access the GPIO pins, which causes white flashes.
- Put in 4Gb SD card
sudo /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh
nano /boot/uEnv.txt
- Uncomment the flasher line
cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh