WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: kernel module for GPIOs on apu2 board  (Read 102 times)

Offline mikesters

  • WikiUser
  • *
  • Posts: 3
kernel module for GPIOs on apu2 board
« on: June 29, 2016, 11:28:29 PM »
I need to compile a kernel module for TinyCore to access GPIOs on an apu2 board.
These are the source files newbielink:http://pcengines.ch/file/apu3_gpios.tar.bz2 [nonactive] 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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 8380
Re: kernel module for GPIOs on apu2 board
« Reply #1 on: June 29, 2016, 11:36:35 PM »
It doesn't compile on x86 linux-4.2.9 - which kernel does it compile on without errors in other distros?

Offline mikesters

  • WikiUser
  • *
  • Posts: 3
Re: kernel module for GPIOs on apu2 board
« Reply #2 on: June 30, 2016, 01:15:35 AM »
this was done on Voyage Linux 4.1.6

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9085
Re: kernel module for GPIOs on apu2 board
« Reply #3 on: June 30, 2016, 02: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.
The only barriers that can stop you are the ones you create yourself.

Offline mikesters

  • WikiUser
  • *
  • Posts: 3
Re: kernel module for GPIOs on apu2 board
« Reply #4 on: June 30, 2016, 11:22:22 PM »
OK, will do so. It would also be fine for me having this module for an older TinyCore version.