All of lore.kernel.org
 help / color / mirror / Atom feed
From: cmsv <cmsv@wirelesspt.net>
To: haijian sun <smartbaobao@gmail.com>
Cc: The list for a Better Approach To Mobile Ad-hoc Networking
	<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] Have you considered compiled a batman-adv.ko for android?
Date: Tue, 07 May 2013 03:36:09 -0400	[thread overview]
Message-ID: <5188AEE9.5040508@wirelesspt.net> (raw)
In-Reply-To: <CAJy53=m47HpBE2vYsspJAVkyKR9OaV5gUTyxFvAzuEUo8FDpMg@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2170 bytes --]

i have not tried to compile for android as i am for now just looking at
its possibility in theory but i am interested in hearing about your
progress.

In regards to the mailing list you need to register yourself to be able
to email it.

On 05/05/2013 04:58 AM, haijian sun wrote:
> Hi, 
>     Recently, I'm doing a research on MANET, I choose batman-adv as my
> research protocol, I want to use it on Android, batmand works ok, but,
> when I use batman-adv, a lot of problems occurs. 
> # insmod batman-adv.ko
> # insmod: init_module 'batman-adv.ko' failed, <Exec format error>
> I want to know what happens, so I use the command dmesg
> # dmesg | grep batman
> #  batman_adv: version magic '2.6.30.4-EmbedSky mod_unload ARMv4
> ' should be '2.6.32.9-perf preempt mod_unload ARMv6
> 
>   so, I know it is the imcompatibility of my phone's kernel version and
> the compile tool's, which seems easy to solve. But, here is the
> question, If I want to develope a software for a lot of users, I can't
> get their kernel version and compile each batman-adv.ko for them, and
> unfortunately, android has various different versions.
>   How about let android compile its own batman-adv.ko? But I think it is
> of great difficulity.
> 
>   I read your email ''batman-adv and android as mesh client'', and as
> far as I know, guys from ITU use batmand, which is on OSI layer 3, and
> we also already implemented it, it is easier. But, the question is
> batman-adv is more complicated and associated with linux kernel, I know
> a community called servalproject also involved in this, and they are
> doing quiet well, but they also use batmand. 
>   I think the first step to do this is to open the phone's ad-hoc mode,
> which we already implemented, and then compile batman-adv.ko for
> android, this is difficult and relys much on kermel version.
>   Hope to hear suggestions from you. By the way, each time when I send a
> email to b.a.t.m.a.n@lists.open-mesh.org
> <mailto:b.a.t.m.a.n@lists.open-mesh.org>, they autosend me an email with
> ''message rejected by filter rule match'' and I don't know why.
>   Cheers,
>   Sun Haijian. 

[-- Attachment #1.2: 0x782BF73E.asc --]
[-- Type: application/pgp-keys, Size: 36799 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

       reply	other threads:[~2013-05-07  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAJy53=m47HpBE2vYsspJAVkyKR9OaV5gUTyxFvAzuEUo8FDpMg@mail.gmail.com>
2013-05-07  7:36 ` cmsv [this message]
2013-05-07  7:49   ` [B.A.T.M.A.N.] Have you considered compiled a batman-adv.ko for android? Marek Lindner
2013-05-07  8:03   ` Marek Lindner

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=5188AEE9.5040508@wirelesspt.net \
    --to=cmsv@wirelesspt.net \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=smartbaobao@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.