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.
https://www.armbian.com/olimex-micro/
Headers are installable from armbian-config menu.
I am using Debian but will give Armbian a try!
Thanks
Andy.
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 (https://github.com/armbian/build) on some Intel-based machine.
This does not install all the headers like interrupt.h either...
Quote from: andyw on June 04, 2018, 10:57:11 AM
This does not install all the headers like interrupt.h either...
Then try with a whole source https://apt.armbian.com/pool/main/l/linux-source-3.4.113-default-sun7i
Or install the Olimex source - usually linked from their product page/wiki.
John
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.