Thanks Robert!

Working here as well, but

$ sudo apt install libpruio-modules
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
E: Paket libpruio-modules kann nicht gefunden werden.

doesn't work (not found). I have to specify the complete name

$ sudo apt install libpruio-modules-4.14.69-ti-r76 
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Die folgenden NEUEN Pakete werden installiert:
  libpruio-modules-4.14.69-ti-r76
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 6.000 B an Archiven heruntergeladen werden.
Nach dieser Operation werden 26,6 kB Plattenplatz zusätzlich benutzt.
Holen:1 http://repos.rcn-ee.com/debian stretch/main armhf 
libpruio-modules-4.14.69-ti-r76 armhf 1stretch [6.000 B]
Es wurden 6.000 B in 0 s geholt (10,2 kB/s).         
Vormals nicht ausgewähltes Paket libpruio-modules-4.14.69-ti-r76 wird gewä
hlt.
(Lese Datenbank ... 159470 Dateien und Verzeichnisse sind derzeit 
installiert.)
Vorbereitung zum Entpacken von .../libpruio-modules-4.14.69-ti-
r76_1stretch_armhf.deb ...
Entpacken von libpruio-modules-4.14.69-ti-r76 (1stretch) ...
libpruio-modules-4.14.69-ti-r76 (1stretch) wird eingerichtet ...

And when I install libpruio-lkm afterwards, DKMS checks first for the linux 
headers and then for the kernel module. I've to install linux-heders-`uname 
-r` first, before I get the expected result

~$ sudo apt install libpruio-lkm
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr 
benötigt:
  libllvm5.0 libncurses5-dev libtinfo-dev libxpm-dev
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
Die folgenden NEUEN Pakete werden installiert:
  libpruio-lkm
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 8.142 B an Archiven heruntergeladen werden.
Nach dieser Operation werden 32,8 kB Plattenplatz zusätzlich benutzt.
Holen:1 http://beagle.tuks.nl/debian jessie/ libpruio-lkm 0.6.2a [8.142 B]
Es wurden 8.142 B in 0 s geholt (33,0 kB/s).
Vormals nicht ausgewähltes Paket libpruio-lkm wird gewählt.
(Lese Datenbank ... 159476 Dateien und Verzeichnisse sind derzeit 
installiert.)
Vorbereitung zum Entpacken von .../libpruio-lkm_0.6.2a_armhf.deb ...
Entpacken von libpruio-lkm (0.6.2a) ...
libpruio-lkm (0.6.2a) wird eingerichtet ...
addgroup: Die Gruppe »pruio« existiert bereits als Systemgruppe. 
Programmende.
Created symlink 
/etc/systemd/system/multi-user.target.wants/libpruio-lkm.service 
→ /lib/systemd/system/libpruio-lkm.service.
Loading new libpruio-lkm-0.6.2a DKMS files...
Building for 4.14.69-ti-r76 4.17.6-armv7-x7
Building initial module for 4.14.69-ti-r76
Done.

libpruio:
Running module version sanity check.

Good news! Module version 0.0 for libpruio.ko
exactly matches what is already found in kernel 4.14.69-ti-r76.
DKMS will not replace this module.
You may override by specifying --force.

depmod......

Backing up initrd.img-4.14.69-ti-r76 to /boot/initrd.img-4.14.69-ti-r76.old-
dkms
Making new initrd.img-4.14.69-ti-r76
(If next boot fails, revert to initrd.img-4.14.69-ti-r76.old-dkms image)
update-initramfs..............

DKMS: install completed.
Module build for kernel 4.17.6-armv7-x7 was skipped since the
kernel headers for this kernel does not seem to be installed.

More confusing than helpful for the users :-(

Regards

Am Freitag, 21. September 2018 20:59:25 UTC+2 schrieb RobertCNelson:
>
> On Fri, Sep 21, 2018 at 10:41 AM Robert Nelson <robert...@gmail.com 
> <javascript:>> wrote: 
> > 
> > On Fri, Sep 21, 2018 at 10:37 AM Robert Nelson <robert...@gmail.com 
> <javascript:>> wrote: 
> > >> 
> > >> Frustration subsides immediately when I see some progress. Getting 
> the LKM in to https://github.com/beagleboard/repos would be a great 
> start. The folder you mentioned is related to the project tree and uses 
> variables like PROJ_NAME to fill template files. From my point of view it's 
> better to fetch the source from the libpruio-lkm package. But Robert should 
> know the best solution. The libpruio.ko driver is necessary. The file 
> libpruio-lkm.service can come from package libpruio-lkm, which also adds 
> the 'pruio' system users group. 
> > > 
> > > 
> > > The libpruio.ko module is now wired up into the build process. 
> > > 
> > > https://github.com/rcn-ee/libpruio 
> > > 
> > > I've got 4.14.69-ti-r76 almost ready to be tagged, so this will be the 
> first test shortly today.. 
> > > 
> > > If every works, It should shoot out a 
> "libpruio-modules-4.14.69-ti-r76" deb package. 
> > 
> > and just to be clear, i'm wiring it up for all the am335x kernel 
> "channels"... 
> > 
> > v4.x.y-ti 
> > v4.x.y-rt-ti 
> > v4.x.y-bone 
> > v4.x.y-bone-rt 
>
> The following NEW packages will be installed: 
>   libpruio-modules-4.14.69-ti-r76 ti-sgx-ti335x-modules-4.14.69-ti-r76 
> 0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded. 
> Need to get 116 kB of archives. 
> After this operation, 465 kB of additional disk space will be used. 
> Get:1 http://repos.rcn-ee.com/debian stretch/main armhf 
> libpruio-modules-4.14.69-ti-r76 armhf 1stretch [6,000 B] 
> Get:2 http://repos.rcn-ee.com/debian stretch/main armhf 
> ti-sgx-ti335x-modules-4.14.69-ti-r76 armhf 1stretch [110 kB] 
> Fetched 116 kB in 0s (276 kB/s) 
> Selecting previously unselected package libpruio-modules-4.14.69-ti-r76. 
> (Reading database ... 40952 files and directories currently installed.) 
> Preparing to unpack .../libpruio-modules-4.14.69-ti-r76_1stretch_armhf.deb 
> ... 
> Unpacking libpruio-modules-4.14.69-ti-r76 (1stretch) ... 
> Selecting previously unselected package 
> ti-sgx-ti335x-modules-4.14.69-ti-r76. 
> Preparing to unpack 
> .../ti-sgx-ti335x-modules-4.14.69-ti-r76_1stretch_armhf.deb ... 
> Unpacking ti-sgx-ti335x-modules-4.14.69-ti-r76 (1stretch) ... 
> Setting up ti-sgx-ti335x-modules-4.14.69-ti-r76 (1stretch) ... 
> Setting up libpruio-modules-4.14.69-ti-r76 (1stretch) ... 
>
> debian@beaglebone:~$ sudo modprobe libpruio 
> [sudo] password for debian: 
> debian@beaglebone:~$ lsmod | grep uio 
> libpruio               16384  0 
> uio_pruss              16384  0 
> uio_pdrv_genirq        16384  0 
> uio                    20480  2 uio_pruss,uio_pdrv_genirq 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/1c349c27-2f26-42a8-baa3-46d2232cd315%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to