* [B.A.T.M.A.N.] Compiling for Beaglebone
@ 2015-11-03 12:05 Justin Oursler
2015-11-03 12:44 ` Simon Wunderlich
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Justin Oursler @ 2015-11-03 12:05 UTC (permalink / raw)
To: b.a.t.m.a.n
Hello,
Can someone help get me started in cross-compiling batman-adv and
batctl? Specifically, I'm wanting to run it on a Beaglebone running
Debian (http://beagleboard.org/project/debian/). I already have the
arm-gnueabihf toolchain.
Thanks,
Justin
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [B.A.T.M.A.N.] Compiling for Beaglebone
2015-11-03 12:05 [B.A.T.M.A.N.] Compiling for Beaglebone Justin Oursler
@ 2015-11-03 12:44 ` Simon Wunderlich
2015-11-03 12:59 ` Sven Eckelmann
2015-11-03 23:36 ` jens
2 siblings, 0 replies; 5+ messages in thread
From: Simon Wunderlich @ 2015-11-03 12:44 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 636 bytes --]
Hi Justin,
On Tuesday 03 November 2015 07:05:16 Justin Oursler wrote:
> Hello,
>
> Can someone help get me started in cross-compiling batman-adv and
> batctl? Specifically, I'm wanting to run it on a Beaglebone running
> Debian (http://beagleboard.org/project/debian/). I already have the
> arm-gnueabihf toolchain.
if you are running a recent Debian then it should be part of your Linux kernel
already, so you can just use it by loading the batman-adv module. You might
also want to install the batctl package to control batman. No need to compile
anything unless you want to upgrade to the latest version.
Cheers,
Simon
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [B.A.T.M.A.N.] Compiling for Beaglebone
2015-11-03 12:05 [B.A.T.M.A.N.] Compiling for Beaglebone Justin Oursler
2015-11-03 12:44 ` Simon Wunderlich
@ 2015-11-03 12:59 ` Sven Eckelmann
2015-11-03 23:36 ` jens
2 siblings, 0 replies; 5+ messages in thread
From: Sven Eckelmann @ 2015-11-03 12:59 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 1288 bytes --]
On Tuesday 03 November 2015 07:05:16 Justin Oursler wrote:
> Hello,
>
> Can someone help get me started in cross-compiling batman-adv and
> batctl? Specifically, I'm wanting to run it on a Beaglebone running
> Debian (http://beagleboard.org/project/debian/). I already have the
> arm-gnueabihf toolchain.
Why not compiling batctl and batman-adv on the beagleboard? This would make
the whole procedure a looooo[...]ooot easier. Just install build-essential,
libnl-3-dev, pkg-config and the linux-headers for your kernel.
I don't know what kernel you currently have installed and where it comes from.
But one of the kernels for this board comes from paulliu [1] and he gives you
the kernel headers for his kernel in the linux-headers package [2].
Otherwise you would need the same toolchain used to build the kernel, kernel
headers, config, libraries, ... and a lot of time and nerves. And when kernel
headers and toolchain is not provided for your kernel then you have to build
your own kernel anyway and then you can build your module against it [3].
Kind regards,
Sven
[1] https://wiki.debian.org/InstallingDebianOn/TI/BeagleBone
[2] https://people.debian.org/~paulliu/beaglebone/
[3] http://azkeller.com/blog/?p=129 (REMARK: KDIR is called KERNELPATH in
batman-adv)
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [B.A.T.M.A.N.] Compiling for Beaglebone
2015-11-03 12:05 [B.A.T.M.A.N.] Compiling for Beaglebone Justin Oursler
2015-11-03 12:44 ` Simon Wunderlich
2015-11-03 12:59 ` Sven Eckelmann
@ 2015-11-03 23:36 ` jens
2015-11-04 23:34 ` tjhowse
2 siblings, 1 reply; 5+ messages in thread
From: jens @ 2015-11-03 23:36 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
hoi,
ive done something similar for raspberry pi some days ago,
also suggesting to build on thedevice directly ...
see :
http://viisauksena.de/blog/raspberry-pi-und-freifunk-freiburg-or-batman-adv-mesh-network/
and maybe https://cccfr.de/wiki/freifunk:debian
greetz, jens
On 03.11.2015 13:05, Justin Oursler wrote:
> Hello,
>
> Can someone help get me started in cross-compiling batman-adv and
> batctl? Specifically, I'm wanting to run it on a Beaglebone running
> Debian (http://beagleboard.org/project/debian/). I already have the
> arm-gnueabihf toolchain.
>
> Thanks,
>
> Justin
--
make the world nicer, please use PGP encryption
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [B.A.T.M.A.N.] Compiling for Beaglebone
2015-11-03 23:36 ` jens
@ 2015-11-04 23:34 ` tjhowse
0 siblings, 0 replies; 5+ messages in thread
From: tjhowse @ 2015-11-04 23:34 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
I second the compile-on-device approach. It adds a bit of complexity
to your development chain, but it's oh-so-much simpler. A few years
ago I spent a long while failing to get together all the requirements
for cross-compiling to a beaglebone. I gave up and was compiling on
the device within half an hour.
On 4 November 2015 at 09:36, jens <jens@viisauksena.de> wrote:
> hoi,
>
> ive done something similar for raspberry pi some days ago,
> also suggesting to build on thedevice directly ...
> see :
> http://viisauksena.de/blog/raspberry-pi-und-freifunk-freiburg-or-batman-adv-mesh-network/
> and maybe https://cccfr.de/wiki/freifunk:debian
>
> greetz, jens
>
> On 03.11.2015 13:05, Justin Oursler wrote:
>> Hello,
>>
>> Can someone help get me started in cross-compiling batman-adv and
>> batctl? Specifically, I'm wanting to run it on a Beaglebone running
>> Debian (http://beagleboard.org/project/debian/). I already have the
>> arm-gnueabihf toolchain.
>>
>> Thanks,
>>
>> Justin
>
> --
> make the world nicer, please use PGP encryption
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-11-04 23:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-03 12:05 [B.A.T.M.A.N.] Compiling for Beaglebone Justin Oursler
2015-11-03 12:44 ` Simon Wunderlich
2015-11-03 12:59 ` Sven Eckelmann
2015-11-03 23:36 ` jens
2015-11-04 23:34 ` tjhowse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox