Hi,

It seems that the debian installation provided by FriendlyElec for the NanoPI Zero 2 comes without kernel headers, which results in error message when trying to install a M.2 Google coral TPU. Does anyone have an idea about how to fix this?

I install debian as told in the FriendlyElec Wiki
rk3528-eflasher-debian-bookworm-core-6.1-arm64-20240818.img.gz

Then, when following the instructions from Google Coral and installing the gasket-dkms I get this error
Module build for kernel 6.1.57 was skipped since the
kernel headers for this kernel do not seem to be installed.

Then I try to follow this guide to update the kernel headers but no luck, it looks like I end with some mix of FriendlyElecs custom build and the generic Linux kernel and headers...
pi@NanoPi-Zero2:~$ sudo apt install linux-headers-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'linux-headers-arm64' instead of 'linux-headers-generic'
linux-headers-arm64 is already the newest version (6.1.106-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

pi@NanoPi-Zero2:~$ sudo apt install linux-image-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'linux-image-arm64' instead of 'linux-image-generic'
linux-image-arm64 is already the newest version (6.1.106-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

pi@NanoPi-Zero2:~$ uname -r
6.1.57
Note the inconsistency of 6.1.106 but at the same time 6.1.57

Please anyone, any idea of how to fix this?