Page 1 of 1
Compiling kernel modules (.config file)
Posted: 25 Jun 2024, 00:35
by DarthStroyer
I know @outkastm has successfully compiled kernel modules, thanks to the excellent USB device drivers they've posted on these forums. However, it looks like they've gone quiet so I'm trying here now. I'd really like to compile the driver for the Coral AI Edge TPU PCIe card (the card is detected by the OS if I insert it into an SSD slot) but, since the .config file used to compile the kernel isn't included on the system, nor with the source, I've not had much luck.
I've tried contacting technical support but they won't supply the file either. Has anyone else had any luck doing this?
My device is a Terramaster F2-423 running the latest TOS 5.
Re: Compiling kernel modules (.config file)
Posted: 25 Jun 2024, 06:11
by outkastm
No really quiet but building a kernel module require quite some time and tests. Without the board is even more difficult. Not speaking that every additional kernel module can interfere with the system and can lead to issues. Also i'm not sure how many guys are interested about this driver. For you to start, is mandatory to use the Terramaster toolchain to build the kernel modules
Re: Compiling kernel modules (.config file)
Posted: 25 Jun 2024, 19:32
by DarthStroyer
Thank you for the response! I appreciate that this may be a bit of a niche and it's not straightforward to add to your package, but I'd really like to get it working.
I have the toolchain extracted on my Linux PC (I looked for a .config file and cannot find one), I also have the GPL source code released by TerraMaster. I'm just not sure how to actually compile the modules without that .config file. Could you give me some pointers, please?

Re: Compiling kernel modules (.config file)
Posted: 05 Jul 2024, 22:47
by XFNeo
I have the USB version of Coral TPU and am very interested in this driver.
Re: Compiling kernel modules (.config file)
Posted: 21 Apr 2025, 12:42
by Wifurrive
Agree with @outkastm – building a kernel module without a board to test is almost like groping in the dark, not to mention the risk of system damage.