bladeRF on odroid-U2

Discussions related to embedded firmware, driver, and user mode application software development
Post Reply
on4bhm
Posts: 36
Joined: Thu Aug 22, 2013 12:07 pm

bladeRF on odroid-U2

Post by on4bhm »

Hi,

I'm trying to compile bladeRF on odroid-U2 armhf architecture, but i get this error:

linaro@linaro-ubuntu-desktop:~/bladeRF/linux/kernel$ make
make -C /lib/modules/3.0.60-odroidu2/build M=/home/linaro/bladeRF/linux/kernel modules
make[1]: Entering directory `/usr/src/linux-headers-3.0.60-odroidu2'
CC [M] /home/linaro/bladeRF/linux/kernel/bladeRF.o
In file included from /usr/src/linux-headers-3.0.60-odroidu2/arch/arm/include/asm/page.h:204:0,
from include/linux/mmzone.h:20,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /home/linaro/bladeRF/linux/kernel/bladeRF.c:1:
/usr/src/linux-headers-3.0.60-odroidu2/arch/arm/include/asm/memory.h:19:25: fatal error: mach/memory.h: No such file or directory
compilation terminated.
make[2]: *** [/home/linaro/bladeRF/linux/kernel/bladeRF.o] Error 1
make[1]: *** [_module_/home/linaro/bladeRF/linux/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.0.60-odroidu2'
make: *** [all] Error 2
linaro@linaro-ubuntu-desktop:~/bladeRF/linux/kernel$

can someone tell me what i am missing?

thank you.
Guy
kb3gtn
Posts: 10
Joined: Sat Aug 03, 2013 10:46 pm

Re: bladeRF on odroid-U2

Post by kb3gtn »

I think you need linux 3.5 or newer..
There is a libusb implementation that is getting rolled out. May want to take a look at that.
Post Reply