Setting up eCam32 (econ systems) in the Yocto Poky build environment
I have been spending the past few days trying to setup up the eCam32 from eCon Systems in the Yocto Build Environment and have failed. I realized the current drivers for the eCam32 were written for the linux kernel omap 2.6 and the Yocto for Gumstix environment builds at 3.5. I have spent many hours trying to revert the build the 2.6 kernel.
First, I downloaded and installed the Yocto Poky standalone cross compiler. I ran the setup script and tried to compile a seperate downloaded sakoman kernel omap 2.6.36, but the build kept failing (the error message in at the end of the post). Next I tried to find a bitbake recipe for the linux sakoman kernel 2.6.36 to put into the Gumstix Poky environment, but I couldn't find one.
Has anyone gotten the drivers installed using the Yocto build environment. If so, any pointers.
make: `include/generated/mach-types.h' is up to date.
cc1: error: unrecognized command line option ‘-mlittle-endian’
cc1: error: unrecognized command line option ‘-mapcs’
cc1: error: unrecognized command line option ‘-mno-sched-prolog’
kernel/bounds.c:1:0: error: unknown ABI (apcs-gnu) for -mabi= switch
kernel/bounds.c:1:0: error: bad value (armv4t) for -march= switch
kernel/bounds.c:1:0: error: bad value (arm9tdmi) for -mtune= switch
make: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2