General TC > Programming & Scripting - Unofficial

how to compile wireguard kernel module for TCL

<< < (4/5) > >>

ramblurr:
I'm trying to follow the original topic's instructions, but it seems several extensions and the kernel config are missing for the arm6 release:

ncursesw-dev
elfutils-dev

and the kernel config at http://tinycorelinux.net/11.x/armv6/releases/RPi/src/

Is it possible to compile wireguard for tinycore arm6?

Rich:
Hi ramblurr
Welcome to the forum.


--- Quote from: ramblurr on October 21, 2020, 05:41:54 AM --- ...  the kernel config are missing for the arm6  ...
--- End quote ---
Courtesy of Paul_123:

--- Code: ---sudo modprobe configs
zcat /proc/config.gz > <path to kernel source>/.config
--- End code ---


--- Quote --- ... ncursesw-dev ...
--- End quote ---
The static libraries listed here and the shared objects in ncurses.tcz.list all have a  w  suffix:
http://tinycorelinux.net/11.x/armv6/tcz/ncurses-dev.tcz.list
http://tinycorelinux.net/11.x/armv6/tcz/ncurses.tcz.list

Paul_123:
AFAIK, Wireguard did not make it into the official kernel until 5.9.y (Maybe not until 5.10.y).  And has not been officially backported.   I realize there are wireguard supported backports, but I'm not willing to deal with those.

If someone wants to take on creating the kernel modules and utils, we would gladly accept the contribution.

Juanito:

--- Quote from: ramblurr on October 21, 2020, 05:41:54 AM ---ncursesw-dev
elfutils-dev

--- End quote ---

The piCore equivalents are ncurses-dev and libelf-dev

ovacikar:
Paul-123 has posted kernel module for armv6 wireguard-6.1.68-piCore.tcz , but there is no source build script published.

I would like to compile the kernel modules for x86 , I understand compiling instructions in this thread was for 4.x kernel and no longer apply to 5.x and 6.x kernels.

Any guidance?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version