forked from osresearch/LEDscape
-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathinstall_RevC
More file actions
17 lines (12 loc) · 694 Bytes
/
install_RevC
File metadata and controls
17 lines (12 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
echo -----COPYING DTB FILES -----
cp /boot/uboot/dtbs/am335x-boneblack.dtb{,.preledscape_bk}
cp am335x-boneblack.dtb /boot/uboot/dtbs/
echo -----LOADING PRU Module-----
modprobe uio_pruss
echo -----DISABLING HDMI-----
sudo sed -i 's/#optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN/optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN'/g /boot/uboot/uEnv.txt
#Correct HDMI line that was also changed
sudo sed -i 's/optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G/#optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G'/g /boot/uboot/uEnv.txt
echo -----!!!Rebooting the BeagleBone!!!-----
reboot