You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Setup.md
+55-9Lines changed: 55 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,36 +4,47 @@ This is a quick introduction on how to set up LEDscape on a Debian-based image
4
4
5
5
# Setting up the BBB environment
6
6
7
-
To develop for LEDscape on a Debian environment, Start by copying the latest BBB image to an SD card. These instructions were made using version bone-debian-7.5-2014-05-14-2gb.img. The latest version can be found at:
7
+
To develop for LEDscape on a Debian environment, Start by copying the latest BBB image to an SD card. These instructions were made using:
First, we need to expand the image to use the whole SD card. By default, it is only 2GB.
12
16
17
+
Note: If using a RevC or lower BBB, the EMMC is only 2GB so this isn't necessicary.
18
+
13
19
cd /opt/scripts/tools/
14
20
sudo ./grow_partition.sh
15
21
sudo reboot
16
22
17
23
Next, update the the Debian environment:
18
24
19
25
sudo apt-get update
26
+
sudo apt-get upgrade
20
27
sudo apt-get install usbmount
21
-
sudo apt-get install git build-essential
28
+
sudo apt-get install git build-essential vim
22
29
23
30
Disable the HDMI output:
24
31
25
32
If you are using a Debian image from 2014.8.13 or newer, do this:
26
33
27
-
sudo sed -i 's/#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN/cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN'/g /boot/uEnv.txt
34
+
sudo cp /boot/uEnv.txt /boot/uEnv.txt.backup
35
+
sudo sed -i 's/#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN/cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN/g' /boot/uEnv.txt
28
36
sudo reboot
29
37
30
-
If you are using an older Debian image, do this:
31
-
32
-
sudo sed -i 's/#cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN/cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN'/g /boot/uboot/uEnv.txt
33
-
sudo reboot
38
+
Note: This is messed up on recent versions of Debian, need to hand edit.
34
39
35
40
Otherwise, modify the uEnv boot file to disable HDMI and HDMIN overlays, then reboot.
36
41
42
+
Enable a larger shared memory space (8MB) with the PRU:
43
+
44
+
echo 'options uio_pruss extram_pool_sz=0x800000' | sudo tee -a /etc/modprobe.d/ledscape.conf
45
+
46
+
and reboot again.
47
+
37
48
# Next, set up LEDscape:
38
49
39
50
Use git to download the repository:
@@ -152,8 +163,34 @@ Extra: for video playback
152
163
sudo systemctl enable videoplayer.service
153
164
154
165
155
-
Video playback
156
-
==============
166
+
# Extra credit
167
+
168
+
## Make the filesystem read-only
169
+
170
+
To help prevent the configuration from breaking, it's helpful to configure the system as read only. Here are some instrucitons:
0 commit comments