Can't re-establish PWM sysfs files after system crash.

Dear forum,

I am running Debian 3.8.24-bone67 w/Xenomai.

I have successfully used the sysfs for generating a PWM signal on the P8_13 pin for several days now by:

  1. Adding the am33xx_pwm and bone_pwm_P8_13 overlay files.
  2. Writing to the files in the /sys/devices/ocp.3/pwm_test_P8_13.*/ (period, duty, polarity and run).

However, I had a system crash.
Now, despite rebooting (+re-powering) I am not able to re-establish the situation.
The overlay files seem to install.
The pwm_test_P8_13.12/ directory appears, but the files for controlling the PWM is missing.
I can remove and re-apply the overlays, but the files are still missing

Something has obviously changed by the system crash.

Please advice.

Best regards
Terje Froysa

[ 91.601978] bone-capemgr bone_capemgr.9: part_number ‘am33xx_pwm’, version ‘N/A’
[ 91.610962] bone-capemgr bone_capemgr.9: slot #12: generic override
[ 91.617590] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 12
[ 91.625705] bone-capemgr bone_capemgr.9: slot #12: ‘Override Board Name,00A0,Override Manuf,am33xx_pwm’
[ 91.635790] bone-capemgr bone_capemgr.9: slot #12: Requesting part number/version based 'am33xx_pwm-00A0.dtbo
[ 91.646178] bone-capemgr bone_capemgr.9: slot #12: Requesting firmware ‘am33xx_pwm-00A0.dtbo’ for board-name ‘Override Board Name’, version ‘00A0’
[ 91.661239] bone-capemgr bone_capemgr.9: slot #12: dtbo ‘am33xx_pwm-00A0.dtbo’ loaded; converting to live tree
[ 91.672375] bone-capemgr bone_capemgr.9: slot #12: #8 overlays
[ 91.683550] ehrpwm 48300200.ehrpwm: unable to select pin group
[ 91.698871] ecap 48300100.ecap: unable to select pin group
[ 91.714483] ehrpwm 48302200.ehrpwm: unable to select pin group
[ 91.730620] ehrpwm 48304200.ehrpwm: unable to select pin group
[ 91.746145] ecap 48304100.ecap: unable to select pin group
[ 91.759347] bone-capemgr bone_capemgr.9: slot #12: Applied #8 overlays.
[ 103.923016] bone-capemgr bone_capemgr.9: part_number ‘bone_pwm_P8_13’, version ‘N/A’
[ 103.931873] bone-capemgr bone_capemgr.9: slot #13: generic override
[ 103.938516] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 13
[ 103.946631] bone-capemgr bone_capemgr.9: slot #13: ‘Override Board Name,00A0,Override Manuf,bone_pwm_P8_13’
[ 103.957008] bone-capemgr bone_capemgr.9: slot #13: Requesting part number/version based 'bone_pwm_P8_13-00A0.dtbo
[ 103.967782] bone-capemgr bone_capemgr.9: slot #13: Requesting firmware ‘bone_pwm_P8_13-00A0.dtbo’ for board-name ‘Override Board Name’, version ‘00A0’
[ 103.983070] bone-capemgr bone_capemgr.9: slot #13: dtbo ‘bone_pwm_P8_13-00A0.dtbo’ loaded; converting to live tree
[ 103.994506] bone-capemgr bone_capemgr.9: slot #13: #2 overlays
[ 104.005298] bone-capemgr bone_capemgr.9: slot #13: Applied #2 overlays.

root@beaglebone:/home/debian# ls /sys/devices/ocp.3/pwm_test_P8_13.12/
modalias power subsystem uevent

root@beaglebone:/sys/kernel/debug# cat pwm
platform/48304100.ecap, 1 PWM device
pwm-0 ((null) ):

platform/48304200.ehrpwm, 2 PWM devices
pwm-0 ((null) ):
pwm-1 ((null) ):

platform/48302200.ehrpwm, 2 PWM devices
pwm-0 ((null) ):
pwm-1 ((null) ):

platform/48300100.ecap, 1 PWM device
pwm-0 ((null) ):

platform/48300200.ehrpwm, 2 PWM devices
pwm-0 ((null) ):
pwm-1 ((null) ):
root@beaglebone:/sys/kernel/debug#