balena-io / docs

Documentation for the balenaCloud platform.
https://docs.balena.io/
Apache License 2.0
68 stars 367 forks source link

Document the use of files.resin.io for building OOT kernel modules #385

Open shaunmulligan opened 7 years ago

shaunmulligan commented 7 years ago

We have a simple demo project that builds OOT kernel modules for devices here: https://github.com/resin-io-playground/kernel-module-build

This is related to https://github.com/resin-io/hq/issues/16

Front logo Front conversations

shaunmulligan commented 7 years ago

An issue with the current approach is that if the module depends on other modules, insmod does not smartly load the dependencies, resulting in "Unknown symbol" errors. This can be work around by manually modprobe'ing the dependencies to force them to load, but hopefully there can be a cleaner, smarter process to handling this in the future.