Kernel Headers - additional!

Started by andyw, May 25, 2018, 05:55:00 PM

Previous topic - Next topic

andyw

Please could somebody tell me how to install them on the A20-OLinuXino-MICRO board using the A20_OLinuxino_Micro_debian_Jessie_34_103_2G_eMMC_release_17.img?

So I downloaded linux-sunxi-sunxi-v3.4.29-r0.zip and unzipped it on the board.

Then went into the unzip directory and did make headers_install

But when I tried to compile my program that had

#include <linux/interrupt.h>

That is where the fun began...

It was not present in the /usr/include directory and the more and more I hunted for and copied missing files - we are talking about a lot - the worse it got!

Does anybody have a solution?




Thanks

Andy.

igorpec

linux for ARM development boards
www.armbian.com

andyw

I am using Debian but will give Armbian a try!

Thanks

Andy.

igorpec

#3
Quote from: andyw on June 01, 2018, 05:54:31 PM
I am using Debian but will give Armbian a try!

Thanks

Andy.

Armbian is Debian or (Stallmanized) Ubuntu based. It's more polished and optimized for running on small ARM boards than stock Debian/Ubuntu. Give it a try. If you don't find the exact kernel/userspace combo, you can build one on some Intel-based machine.
linux for ARM development boards
www.armbian.com

andyw

This does not install all the headers like interrupt.h either...

igorpec

linux for ARM development boards
www.armbian.com

JohnS

Or install the Olimex source - usually linked from their product page/wiki.

John

andyw

I did...

Unfortunately when you include /linux/interrupt.h and let VisualGDB know where it actually is, then lots of other header files get invited to the party and I cannot resolve them.

I did make headers_install after I had downloaded linux-sunxi-sunxi-v3.4.29-r0.zip but even that did not solve everything.

What I want to do is use the EXTI interrupts.