Open g-vidal opened 3 years ago
I have further investigated and in the linux sources (/usr/src/linux
) copied inside the image, at least some binaries are x86_64
instead of armhf
. I did not notice that until I tried to compile drivers for realtek wifi dongles
that are not provided in the packages rtl88x2bu
and tl88x2bu
.
It seeems that the linux source copied on the image is the host's and not the guests's.
Solution has been to download and compile the kernel on the raspberry Pi then the installation of rtl88x2bu
and tl88x2bu
works like a charm.
BUT that workaround does not fix the problem of the wrong architecture of some binaries in /usr/src/linux
if anybody with knowledge in cross compilation may help, it could be a progress
thanks
I cannot compile drivers for :
Drivers sources (some versions) are available in github but when I try to compile them it fails because the
linux-headers
packages bear version 5.10.0-7-armmp in their names while Version displayed is 5.10.40-1 and uname gives 5.10.44-v7.there must be something wrong either in my config file or in the bootstrap process, but unfortunatenately beyond my knowledge and skills can anybody propose a workaround or fix up this problem to enable use the wifi extensions.
Many thanks