I hope that this will help me with the driver development.
Although I thought that getting the sources, or at least the kernel headers, directly on the bananaPI would be easier.
The BananPI is fast enough for a native compilation of kernel modules.
On Ubuntu systems normally it is sufficient to install the compiler and
sudo apt-get kernel headers
to start kernel module development
Is there any hope that that can be provided too?
success ! It works ! Gigabit ethernet works ok and I have now xfs in the kernel.
I had to made 2 minors modifications to compile the kernel (but already had to do this with 3.4.90 from linux-sunxi. I'm cross compiling with gcc version 4.8.4 20140526 (release) [ARM/embedded-4_8-branch revision 211358] (GNU Tools for ARM Embedded Processors)
So maybe this is because of this specific gcc compiler & because I'm cross-compiling ... Don't know
If I understand correctly, this is a valid optimization, (defined on A20) . But it chokes :
arch/arm/kernel/process.c: In function '__show_regs':
arch/arm/kernel/process.c:467:4: error: invalid 'asm': operand number out of range
asm("mrc p15, 0, %0, c2, c0\n\t"
make: *** [arch/arm/kernel/process.o] Erreur 1
I needed to disable it to compile, but there must be a much better solution...