[OpenWrt-Devel] wireguard: unknown relocation: 102 [ARMv7 Thumb-2]
Rui Salvaterra
rsalvaterra at gmail.com
Wed Jun 10 06:05:28 EDT 2020
Hi, Jason,
On Wed, 10 Jun 2020 at 10:31, Rui Salvaterra <rsalvaterra at gmail.com> wrote:
>
> Good question. :) You're testing in QEMU (which I personally never
> used), right? I don't know how familiar you are with OpenWrt, but I
> can surely send you my configuration (it's spread across multiple
> files, though).
Ok, so this is what I do (on a pristine tree, after cloning the
buildroot and the packages feed):
First, I change the CPU subtype to neon (sadly, the Armada 385 is
castrated upstream since the 370 only supports VFPv3-D16 :/).
diff --git a/target/linux/mvebu/cortexa9/target.mk
b/target/linux/mvebu/cortexa9/target.mk
index cdd4d86e49..9af3c95d7b 100644
--- a/target/linux/mvebu/cortexa9/target.mk
+++ b/target/linux/mvebu/cortexa9/target.mk
@@ -10,5 +10,5 @@ include $(TOPDIR)/rules.mk
ARCH:=arm
BOARDNAME:=Marvell Armada 37x/38x/XP
CPU_TYPE:=cortex-a9
-CPU_SUBTYPE:=vfpv3-d16
+CPU_SUBTYPE:=neon
KERNELNAME:=zImage dtbs
Then, I use the attached configuration files. The .config (for
OpenWrt) in the buildroot, and config-default (for the kernel itself)
in target/linux/mvebu/cortexa9/.
Let me know if you need anything else!
Thanks,
Rui
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 238274 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200610/3b3e7acf/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config-default
Type: application/octet-stream
Size: 7890 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200610/3b3e7acf/attachment-0001.obj>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list