I have installed a 5.10 ‘bone’ kernel on my Debian 11 system and have successfully installed libpruio as described in the ‘Preparation’ section of its web-site. There’s several minor problems with the installation process, the key for apt is an old format for example. However there’s nothing major and I managed to muddle my way through the niggles.
However nothing works.
The Python examples seem to be written in Python2 which is no longer in a normal Debian installation. I went through and fixed all the syntax errors in one set of scripts but then it just fails with ""pruio_new failed ".
I also tried all the pre-built binaries that the libpruio installation had installed in /usr/bin. None of them work either, they all give “initialisation failed (parsing kernel claims)” or “NEW failed: parsing kernel claims” or “no grafic available”.
Has anyone else got libpruio working on Debian 11 or is it just not possible because Debian 11 is ‘too new’. All the errors I have found and fixed seem to be due to recent changes that libpruio doesn’t know about.
This isn’t an answer to the problem. But instead a solution to help developers control their own packages in a “ppa” where they control their library builds, instead of waiting on me to struggle on builds.
I only really have one thing that the PRU would help me with and I’ve wasted too much time already chasing around trying to get things to work. It’s a real pity because the PRUs are a brilliant thing to have but they’re far too hard to actually use in an up to date BBB installation.
At least the -bone flavour should not be polluted by any rproc magic. It should fast-boot without cape-universal, but with the uio_pruss driver by default (if any). And it should ship with pre-installed libpruio, like Jason Kridner announced ten years ago.
TI and others do a lot to hide away the PRUSS-brilliancy from the users.