Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Tinycore
is here 12/1/2008!
Welcome
visitors.
Home
Help
Login
Register
Tiny Core Linux
»
Tiny Core Extensions
»
TCE Talk
»
kernel module for GPIOs on apu2 board
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: kernel module for GPIOs on apu2 board (Read 2807 times)
mikesters
Newbie
Posts: 6
kernel module for GPIOs on apu2 board
«
on:
June 30, 2016, 03:28:29 AM »
I need to compile a kernel module for TinyCore to access GPIOs on an apu2 board.
These are the source files
http://pcengines.ch/file/apu3_gpios.tar.bz2
needed to compile.
I tried to do so, but after adding several missing extensions I still got an error in the end, even though it does compile fine on other Linux distributions.
Logged
Juanito
Administrator
Hero Member
Posts: 14815
Re: kernel module for GPIOs on apu2 board
«
Reply #1 on:
June 30, 2016, 03:36:35 AM »
It doesn't compile on x86 linux-4.2.9 - which kernel does it compile on without errors in other distros?
Logged
mikesters
Newbie
Posts: 6
Re: kernel module for GPIOs on apu2 board
«
Reply #2 on:
June 30, 2016, 05:15:35 AM »
this was done on Voyage Linux 4.1.6
Logged
curaga
Administrator
Hero Member
Posts: 11044
Re: kernel module for GPIOs on apu2 board
«
Reply #3 on:
June 30, 2016, 06:26:58 AM »
You'll need to ask them to port it to the 4.2 kernel, or build a custom kernel where that works.
Logged
The only barriers that can stop you are the ones you create yourself.
mikesters
Newbie
Posts: 6
Re: kernel module for GPIOs on apu2 board
«
Reply #4 on:
July 01, 2016, 03:22:22 AM »
OK, will do so. It would also be fine for me having this module for an older TinyCore version.
Logged
CarstenSp
Newbie
Posts: 1
Re: kernel module for GPIOs on apu2 board
«
Reply #5 on:
July 05, 2016, 05:31:44 AM »
i had a short look at the Kernel .config for the 7.x kernel
(see
http://ftp.nluug.nl/os/Linux/distr/tinycorelinux/7.x/x86/release/src/kernel/config-4.2.9-tinycore
)
It says: # CONFIG_GPIOLIB is not set
This means there is no GPIO support enabled in this kernel.
This must be enabled and the kernel rebuild to build a GPIO driver.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Tiny Core Linux
»
Tiny Core Extensions
»
TCE Talk
»
kernel module for GPIOs on apu2 board