luigif / hcsr04

Beaglebone Black PRU code for HC-SR04 sonar
26 stars 21 forks source link

/sys/devices/bone_capemgr.9/slots: Directory nonexistent #4

Open FMN2021 opened 3 years ago

FMN2021 commented 3 years ago

Hello,

Please I have the same problem I get the following error when I run make install command bin/sh: 1: cannot create /sys/devices/bone_capemgr.9/slots: Directory nonexistent And I tried the change on /boot/uEnv.txt file solution, but the problem is not solved I tried also to run ./hcsr04 command and I get the following errors

>> Initializing PRU
>> PRU open failed

PLease is there any other solution?

debian@beaglebone:~/hcsr04-master$ make install
cp hcsr04-00A0.dtbo /lib/firmware
echo hcsr04 > /sys/devices/bone_capemgr.9/slots
/bin/sh: 1: cannot create /sys/devices/bone_capemgr.9/slots: Directory nonexistent
Makefile:25: recipe for target 'install' failed
make: *** [install] Error 2

Originally posted by @FMN2021 in https://github.com/luigif/hcsr04/issues/3#issuecomment-770276174

0xsubh commented 2 years ago

Any update on this ?