Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: danny on April 09, 2020, 01:00:17 AM
-
Hi everyone!
I want to install wifi driver on piCore, but happened the following problem.
/lib/modules/4.19.46-piCore-v7/build: No such file or directory.
Are there any solutions?
-
It might be better to use piCore-11.x - I tested the rpi3 built-in wifi a week ago and it worked fine.
If you still wish to use piCore-10.x, the wireless drivers are available for linux-4.19.58, so you probably need to update your version of piCore-10.x.
Otherwise, you need to symlink /lib/modules/4.19.46-piCore-v7/build to your kernel source, for example: $ sudo ln -s /usr/src/linux-4.19.46 /lib/modules/4.19.46-piCore-v7/build
-
Hi Juanito,
Thanks for your response.
It didn't have /usr/src/linux-4.19.46 this file or directory on my rpi3b+
-
If you are compiling a linux kernel driver, you need to have the kernel source somewhere.
Which wireless kernel driver are you trying to compile?
-
I have wifi driver RS9116 on rpi3b+.
On raspbian buster I use "apt-get install linux-headers" to build headers file ("/lib/modules/'uname -a'/build")
Is there the same instruction on piCore?
-
You need to load the compiletc extension.
Note that "/lib/modules/'uname -a'/build" is not a headers file, it is a symlink to the kernel source.
-
Hi Juanito,
Do you know where to install piCore 11.x ?
-
Hi danny
If you are asking where to download it from, it's here:
http://tinycorelinux.net/11.x/armv6/test_releases/RPi/
The beta1a is the most recent one.