(04-22-2020, 11:16 AM)nas Wrote: I used the below guides to enable things in the pinephone kernel and it was relatively straightforward. You might be able to do the same for your board.
https://github.com/umiddelb/armhf/wiki/H...ARM-device
https://debian-handbook.info/browse/stab...ation.html
Thank you for you reply.
Actually, I found a I a generic way to compile the module :
- install the header of the 5.6 kernel compiled by Ayufan
- download the source from GitHub
- prepare the build the module :
Code:
make oldconfig
make prepare
make script
- build the module net/bridge module :
Code:
make -C /lib/modules/$(uname -r)/build M=$(pwd)/net/bridge modules
- the result : I only obtain the bridge.ko module though I also expected to have the br_netfilter.ko module
and the ver magic is the good one (note that I also tried with the git clone source and I obtained a vermagic with a "-dirty" extension" which will prevent the module to be loaded : error format and dmesg indicate that the vermagic is not the one expected)
- This is certainly a problem of the config of the build then I changed the Kconfig of the net repository to enable the generation of br_netfilter --> same result
- I removed the "-C /lib/modules/..." option and the br_netfilter is generated but the vermagic is 5.6.0 (missing the
-1137-ayufan-ge57f05e7bf8f extension)
- force option (--force or --force-vermagic) for installation does not work
Some command :
modinfo : gives info on the module
I will finally abandon for the moment and use the 4.4 kernel.