AnsweredAssumed Answered

What's a good dev environment setup for developing drivers?

Question asked by Jacob Tummond on Jan 7, 2015
Latest reply on Jan 15, 2015 by lunminliang

Hi, I need to develop 2 drivers for the T1040RDB. Both devices are on PCI express. The first device is a PLX NET2280 that is going to run in device mode. The second is a custom device on a Altera Cyclone V PCIe card. As of now I've built the kernel and rootfs using bitbake and the 1.6 SDK. It seems to me that this is not an acceptable environment in which to develop drivers or application code though. What I've done so far is to bitbake meta-toolchain and that works fine for building user mode apps out of tree, but when it comes to building a kernel module I'm not sure where to look. For example, if I run "find -name module.h" under "build_t1040rdb_release/tmp" there are many many copies of it. So I'm wondering, do I just download a clean kernel from or freescale and use that for building my drivers? What are others doing?