Tools/Linux_HAL_Essentials: Add loading of PWM capes to support ToneAlarm

new capes to be loaded by startup.sh: am33xx_pwm and bone_pwm_P8_36
This commit is contained in:
bugobliterator 2014-08-23 13:46:55 +05:30 committed by Andrew Tridgell
parent fa6e83318d
commit b383e1633b
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ if [ "`echo $1`" = "load" ]; then
echo BB-BONE-PRU-05 > /sys/devices/bone_capemgr.*/slots
echo BB-SPI0-PXF-01 > /sys/devices/bone_capemgr.*/slots
echo BB-SPI1-PXF-01 > /sys/devices/bone_capemgr.*/slots
echo am33xx_pwm > /sys/devices/bone_capemgr.*/slots
echo bone_pwm_P8_36 > /sys/devices/bone_capemgr.*/slots
dmesg | grep "SPI"
dmesg | grep "PRU"
cat /sys/devices/bone_capemgr.*/slots