Created
March 10, 2014 23:38
-
-
Save n-st/9476765 to your computer and use it in GitHub Desktop.
Disable blinking "heartbeat" LED on BeagleBone Black. (Requires root privileges.)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir /tmp/bootDebian | |
mount /dev/mmcblk1p1 /tmp/bootDebian | |
cd /tmp/bootDebian/dtbs | |
dtc -O dts -I dtb -o am335x-boneblack.dts am335x-boneblack.dtb | |
cp am335x-boneblack.dts am335x-boneblack.dts.ORIG | |
grep heartbeat am335x-boneblack.dts | |
sed -i 's/heartbeat/none/' am335x-boneblack.dts | |
dtc -O dtb -I dts -o am335x-boneblack.dtb am335x-boneblack.dts | |
cd | |
sync | |
umount /tmp/bootDebian | |
rmdir /tmp/bootDebian |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment