On Tuesday, 1 November 2022 19:49:54 CET cchien@creonexsystems.com wrote:
We are now looking into getting BATMAN working on a Zynq-7000 Xilinx FPGA. This FPGA hosts dual-arm A9 cores. We have successfully loaded up Ubuntu on this platform and it is running Linux version 4.19.0-xilinx-v2019.2 (oe-user@oe-host) (gcc version 8.2.0 (GCC))
I don't know what this should be. It is not an ubuntu kernel (more like an openembedded kernel). So you might have to get in contact with whoever provided you with this kernel and ask them how to build externel kernel modules against this kernel. They hopefully have some linux-headers package which you can install and then build some kernel modules against it.
And if it is openembedded (with yocto) then you can either try to update these recipes (which are using ancient batman-adv versions):
https://github.com/jhaws1982/meta-batman
Or simply enable CONFIG_BATMAN_ADV (and related symbols) in your kernel configuration which you are using to build this kernel. It will not be the most recent batman-adv version but better than nothing.
Kind regards, Sven