I synchronized clock, but the error still remains.
W: GPG error: Index of /debian jessie/ Release: Detached signature file ‘/var/lib/apt/lists/partial/beagle.tuks.nl_debian_jessie_Release.gpg’ is in unsupported binary format
E: The repository ‘Index of /debian jessie/ Release’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
The CTOR failed opening the PRU interupt → the uio_pruss driver isn’t installed properly. Check if rproc is disabled in uEnv.txt, the driver uio_pruss is loaded (lsmod) and if all the files /dev/uio[0-7] are present.
"pinmux missing": The program requires pinmuxing, but there is no pinmux configuration on your system. → Load the kernel module and execute with administrator privileges.
"parsing kernel claims": The constructor failed to scan for kernel pinmux claims. This is not an error, but a warning. It occurs when you loaded the kernel module for pinmuxing on kernel 3.8, and libpruio cannot read in directory /sys/kernel/debug. Anyway, your program will run unless it tries to change a pin configuration. (Like on a no-pinmux configuration. In contrast, when an universal overlay is loaded, you won’t see this message. The constructor auto-switches the overlay pinmuxing method.) → Either execute the program with sudo, or enable the free pinmux feature (= calling constructor PruIo::PruIo(PRUIO_ACT_FREMUX OR …) ).
i don’t know what i should do next to make the code finally work.
Sounds good: here I’m running at Linux beaglebone 4.19.142-bone56 #1buster PREEMPT Sat Sep 19 01:58:33 UTC 2020 armv7l GNU/Linux. AFAIK the ti flavor doesn’t support the uio_driver. Switch to the bone flavor: