From: Sven Eckelmann <sven@narfation.org>
To: Charles Chien <cchien@creonexsystems.com>
Cc: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: Question about batman for ARM
Date: Fri, 20 May 2022 09:43:13 +0200 [thread overview]
Message-ID: <2546299.1OsWWQgn6R@ripper> (raw)
In-Reply-To: <CAKau_3_sEaG2w7M+rQ-nuVG3_5GWHEV3UxmdG1bM-WPY7S8WxA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2413 bytes --]
On Friday, 20 May 2022 08:18:45 CEST Charles Chien wrote:
> We’re currently trying to install batman-adv on an ARM platform but we
> ran into some issues and we would appreciate your help to answer our
> questions below:
>
> Is the batman-adv module compatible with an ARM processor (Raspberry PI 4)?
There is not just an "ARM" processor. It is a family of various processors.
Anyway, it can be used easily on Raspberry Pi - just make sure that you use a
good wifi device + driver (+firmware) which actually can communicate over
IBSS/802.11s (without forwarding enabled) and has no (extreme low) peer limit.
Unfortunately, you cannot take this for granted.
> I’m trying to install batman-adv onto an ARM Raspberry PI 4 with a
> Debian based Linux distribution (Pop OS). However, when I run
> “modprobe batman-adv”, it returns a FATAL error complaining that the
> module is not found in the “/lib/modules” directory. Where can I
> find/download the “.ko” for batman-adv for the ARM platform?
Ehrm, this is not how this works. You cannot just use a kernel module and hope
that it works on all kernel (builds) available in the universe. This is also
why we write following in each batman-adv release news entry: "As the kernel
module always depends on the Linux kernel it is compiled against, it does not
make sense to provide binaries on our website. As usual, you will find the
signed tarballs in our download section:"
Either your distribution has to enable this module in their kernel build or
you have to get their kernel headers (and build scripts) and then build it
from scratch. And at least on the default Debian kernel, batman-adv is enabled
since ages - so no idea why PopOS doesn't ship it
> And if I need to recompile the .ko file for ARM, is there an online
> repository where I can find the original source code for the
> batman-adv driver?
This is mentioned in multiple places on the website. Just to mention a few
interesting pages:
* https://www.open-mesh.org/projects/open-mesh/wiki
* https://www.open-mesh.org/news/108
* https://www.open-mesh.org/projects/open-mesh/wiki/Download
* https://www.open-mesh.org/projects/open-mesh/wiki/UsingBatmanGit
* https://git.open-mesh.org/
https://git.open-mesh.org/batman-adv.git
* https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
Kind regards,
Sven
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2022-05-20 7:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-20 6:18 Question about batman for ARM Charles Chien
2022-05-20 7:43 ` Sven Eckelmann [this message]
2022-05-20 15:51 ` cchien
2022-06-17 8:41 ` cchien
2022-06-17 8:45 ` Sven Eckelmann
2022-06-17 13:53 ` Simon Wunderlich
2022-06-20 10:20 ` cchien
2022-06-20 12:50 ` Sven Eckelmann
2022-11-01 18:49 ` cchien
2022-11-01 19:31 ` Moritz Warning
2022-11-01 19:32 ` Sven Eckelmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2546299.1OsWWQgn6R@ripper \
--to=sven@narfation.org \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=cchien@creonexsystems.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox