<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hey Alex,</p>
    <p>The Banana PI boards here an Allwinner chip, <span
        class="gt-baf-word-clickable">which</span> not great with the
      Linux Kernel. All the kernels are custom builds (most of the time)
      to include support for the chips/boards.<br>
      From my experience the builds of armbian have the best images
      (Mind the I have Banana PI M2, with an Allwinner A31S).<br>
    </p>
    <p>I can't help furder with wg on BananaPi board, sorry. Maybe
      somone else in the mailing can help.<br>
    </p>
    <p>For the PPA package I need to figure out how the let him include
      make install of wg/tools for armhf/arm64.</p>
    <p>Greetz,<br>
      Egbert<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 2017-02-19 17:29, Alexander Morlang
      wrote:<br>
    </div>
    <blockquote cite="mid:E8A0979F-E0B0-4614-801C-A56F94039F4B@dd19.de"
      type="cite">
      <pre wrap="">Hi,
building on armhf reveals some effects i don’t understand:
On my raspi3 with raspian and kernel
uname -a
Linux raspberrypi 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux
kernelmodule&wg are building just fine an the module loads. i had no time for testing it, but it builds.

On Banana Pro with armbian an kernel
uname -a
Linux bananapipro 4.9.7-sunxi #1 SMP Thu Feb 2 01:52:06 CET 2017 armv7l armv7l armv7l GNU/Linux
it’s building, but the module will not load:

sudo modprobe wireguard 
modprobe: ERROR: could not insert 'wireguard': Exec format error

modinfo wireguard 
filename:       /lib/modules/4.9.7-sunxi/extra/wireguard.ko
alias:          rtnl-link-wireguard
author:         Jason A. Donenfeld <a class="moz-txt-link-rfc2396E" href="mailto:Jason@zx2c4.com"><Jason@zx2c4.com></a>
description:    Fast, secure, and modern VPN tunnel
license:        GPL v2
depends:        udp_tunnel,ip6_udp_tunnel,x_tables
vermagic:       4.9.7-sunxi SMP mod_unload ARMv7 thumb2 p2v8 

In dmesg, it shows:
[ 1404.917772] wireguard: loading out-of-tree module taints kernel.
[ 1404.919392] wireguard: unknown relocation: 102

Next i will try with bananian and 4.4 kernel.

Gruß, Alex

</pre>
      <blockquote type="cite">
        <pre wrap="">Am 19.02.2017 um 15:51 schrieb Egbert Verhage <a class="moz-txt-link-rfc2396E" href="mailto:egbert@eggiecode.org"><egbert@eggiecode.org></a>:

Hey Alex,

Ow, I never tested the package on armhf. I will give test it tomorrow on
my own Banana Pi 2 and Raspberry pi 2.

If you are running the image of lemaker on your banana pi, maybe try
first to build the package from the git repo.

Greetz,
Egbert


On 2017-02-19 02:14, Alexander Morlang wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi,
used the launchpad ppa in xenial on armhf (Banana Pro). 
The wireguard-tools packet installed only /usr/share/doc

Is this a known problem?

I downloaded the
<a class="moz-txt-link-freetext" href="https://launchpad.net/~wireguard/+archive/ubuntu/wireguard/+files/wireguard-tools_0.0.20170214-wg1~xenial_armhf.deb">https://launchpad.net/~wireguard/+archive/ubuntu/wireguard/+files/wireguard-tools_0.0.20170214-wg1~xenial_armhf.deb</a>
and hat a look with dpkg -c <file>, getting the same result of no binary in the packet.

regards, Alex
_______________________________________________
WireGuard mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WireGuard@lists.zx2c4.com">WireGuard@lists.zx2c4.com</a>
<a class="moz-txt-link-freetext" href="https://lists.zx2c4.com/mailman/listinfo/wireguard">https://lists.zx2c4.com/mailman/listinfo/wireguard</a>
</pre>
        </blockquote>
        <pre wrap="">
_______________________________________________
WireGuard mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WireGuard@lists.zx2c4.com">WireGuard@lists.zx2c4.com</a>
<a class="moz-txt-link-freetext" href="https://lists.zx2c4.com/mailman/listinfo/wireguard">https://lists.zx2c4.com/mailman/listinfo/wireguard</a>
</pre>
      </blockquote>
      <pre wrap="">
_______________________________________________
WireGuard mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WireGuard@lists.zx2c4.com">WireGuard@lists.zx2c4.com</a>
<a class="moz-txt-link-freetext" href="https://lists.zx2c4.com/mailman/listinfo/wireguard">https://lists.zx2c4.com/mailman/listinfo/wireguard</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>