Skip to content
kernelkitPublic

About

External kernel modules maintained by Kernelkit

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kernelkit External Kernel Modules

Linux kernel drivers maintained by Kernelkit, built as external modules. The primary consumer is Infix, but nothing here depends on it.

Modules

Option Module(s) Description
MOD_NET_DSA_PASW pasw, tag_pasw, pasw-* DSA driver for Packet Architects' FlexSwitch, see its README
MOD_NET_ETH_XDMA_NET xdma-net Net device on the AMD/Xilinx XDMA (PG195), see its README
MOD_PTP_PG210_PTP pg210-ptp PHC driver for the Timer Syncer in AMD/Xilinx PG210, see its README

Requirements

  • A configured and built kernel tree. Some modules use kernel-internal headers, so your distribution's linux-headers package is not enough
  • Python 3 with PyYAML, for pasw, which generates parts of its source at build time
  • kconfig-mconf from kconfig-frontends, only for make menuconfig

Building

Select modules with make menuconfig, enable all of them with make allmodconfig, or set the options directly:

make KDIR=/path/to/linux MOD_NET_DSA_PASW=m MOD_PTP_PG210_PTP=m
make KDIR=/path/to/linux INSTALL_MOD_PATH=/path/to/rootfs install

Nothing is built unless at least one option is set to m.

Variable Default Purpose
KDIR /lib/modules/$(uname -r)/build Configured and built kernel tree
MO . Directory holding the module .config

Cross-compiling works as for any external module: pass ARCH and CROSS_COMPILE. make install runs modules_install, which honors INSTALL_MOD_PATH.

Adding a Module

Place it where it would live in the kernel tree, e.g., drivers/net/phy/foo/, with a Kconfig and a Makefile keyed on MOD_<SYMBOL>, and hook both into the parent directory's files. Symbols are tristate and depends on m. See CONTRIBUTING for how to submit changes.

License

GPL-2.0

About

External kernel modules maintained by Kernelkit

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages