Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: jjumper on May 22, 2017, 04:57:51 PM

Title: How to compile missing drivers
Post by: jjumper on May 22, 2017, 04:57:51 PM
Hi

Currently i try to build a bridge between my IR-Control and 433Mhz wireless Sockets.
First thing i recognized in piCore was the misssing lirc_rpi module.
I search the download area for the missing module but did not find it. I loaded all the *.list-Files but found no reference to them.

So now i want to compile them myself. Unfortunately i am lost here to. Where do i find the proper kernel sources? Maybe there is a document explaining explaining a best practice somewhere?
I have some experience with linuxfromscratch, so i am not a new to building things, but i want to do it the right way.
Maybe someone can show me the right direction here.

Title: Re: How to compile missing drivers
Post by: Zlika on May 23, 2017, 03:58:17 AM
Hi,

Drivers are available here for piCore 8.x: http://tinycorelinux.net/8.x/armv7/releases/RPi/src/kernel/4.4.39-piCore_v7%2B_modules.tar.xz (http://tinycorelinux.net/8.x/armv7/releases/RPi/src/kernel/4.4.39-piCore_v7%2B_modules.tar.xz)
You will find the lirc_rpi.ko module at 4.4.39-piCore_v7+_modules/modules/4.4.39-piCore_v7+/kernel/drivers/staging/media/lirc/lirc_rpi.ko

The modules tarball for piCore 9.x is not available yet (I asked bmarkus about that in http://forum.tinycorelinux.net/index.php/topic,21051.msg131646.html#msg131646 (http://forum.tinycorelinux.net/index.php/topic,21051.msg131646.html#msg131646) but I didn't have an answer yet).

Regards,
Thomas
Title: Re: How to compile missing drivers
Post by: jjumper on May 23, 2017, 04:04:06 PM
Ahh

so everything i have read so far now make sense. I thought i was simply too stupid.

I will try piCore 8 then.

Thank you very much!