Hi Philip,

Thank you for your answer. I believe the first option is simpler than the second. However, I'm not familiar to building and tweaking kernel. Is there a documentation for building and tweaking kernel for E300 series? You are definitely right about the kernel version issue (batman did most of its features after kernel 4), I would like to test older version because it may be sufficient for us.


Best Regards,


On 12/7/18 9:48 PM, Philip Balister wrote:
On 12/05/2018 04:05 AM, Said Uçar via USRP-users wrote:
Hi all,


I'm trying to build batman-adv^[1] for E310 however it required the
kernel sources since it builds /batman-adv.ko/ kernel object. I built
the batctl^[2] and alfred^[3] without problem. I searched on the
internet for kernel sources however couldn't find it. Is there a way to
build batman for e310?

So a couple of approaches to take:

1) Build the E300 linux distro locally and add recipes for the kernel
module and other parts of the software.

2) Inspect the linux kernel recipe used on the E300 and build a local
git tree, and copy the kernel config from the build area. Then build the
module against those sources.

Both are fairly straightforward, but you'll need to figure out some
OpenEmbedded stuff. All the information is a available to you.

I did peek at the kernel module to see if it would build aainst a 3.14
kernel. They do have an ifdef for kernels below 4.0, but it is clear
most work is targeted at later kernels.

Good luck!

Philip




Here is the output of 'uname -a':

    Linux ettus-e3xx-sg3 3.14.2-xilinx #1 SMP PREEMPT Thu Jan 7 14:49:20
    PST 2016 armv7l GNU/Linux


[1] = https://git.open-mesh.org/batman-adv.git

[2] = https://git.open-mesh.org/batctl.git

[3] = https://git.open-mesh.org/alfred.git


Best Regards,



_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

--
Said Uçar
/Software Engineer/
*GOHM Electronics & Software*
m:      +905442613124
a:      Bogazici University North Campus Teknopark 103
        34470 Bebek/ISTANBUL
w: gohm.com.tr <http://gohm.com.tr> e: [email protected] <mailto:[email protected]>

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to