Starting to write Pseudo Driver using 2.4 kernel ?
Any doughts Please let me know
Starting to write Pseudo Driver using 2.4 kernel ?
Any doughts Please let me know
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
it was indeed good exp to write Psoudo drivers
here is the INIT FUNCTION algo
1> REGISTER DEVICE
2> GET MEMORY FOR SCULL DEVICES
3> SET MEMORY TO NULL USING MEMSET
4> INITIALZE DEVICE
You missed “Get device status”
oh yes!!!!
GET DEVICE STATUS is the last step of the INIT FUNCTION ALGO
WARNING: modpost: Found 1 section mismatch(es).
what does this warning indicates???
i get this warning when i perform MAKE, but if it is ignored my program works all fine….
Your debug options are not set
One thing you people must keep in mind while passing make command for the drivers, that “WARNINGS ARE MORE DANGEROUS THAN ERROR”. Therefore you MUST REMOVE all the warnings before inserting the module (insmod) into the Kernel. If you ignore these warnings, many serious things can happen with your kernel. Viz. “System hanging problem”, “Object Dump”, and even “Kernel failure”. So be safe and remove all the warnings also. !!Have a nice day!!