Hi All,
I have build mini linux distro for my ARM920T embedded system. It
includes my own bootloader, 2.6.24 vanilla kernel, jffs2 rootfs and
busybox. I use buildroot toolchain.
Now I want start to write device drivers for my hardware.
I've read O'REILLY book Linux Device Drivers (3th edition), so - I know
a lot of theorie, but have very little real expierence with linux drivers.
Can anybody shortly explain about linux driver development?
What are differences between char, misc, platform and other types of
device drivers (from viewpoint of kernel and from viewpoint of user) ?
I've compiled my first driver, which controls single LED on my board.
I choose misc type, but don't know it is correct? Should it not be char
driver? My target is to write driver for CMOS video sensor. I need help
with this driver structure - what it should be? Video sensor has I2C
interface for control, CSI 8bit interface for data and few GPIO for
control too. So - my driver should use another drivers (stacked driver)?
I want to write correct driver and send patch to arm.linux.org. Because
I want have my driver updated in the future, when new kernel release
will be available. Can anybody help me and give good start idea how to
write this driver?
BR,
Darius
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ