<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: charlogfile</title>
	<atom:link href="https://www.emblogic.com/blog/07/char-driver-logfile/charlogfile-3/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog/07/char-driver-logfile/charlogfile-3/</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Mon, 07 Oct 2013 04:00:03 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>By: sampath.kumar</title>
		<link>https://www.emblogic.com/blog/07/char-driver-logfile/charlogfile-3/#comment-3996</link>
		<dc:creator><![CDATA[sampath.kumar]]></dc:creator>
		<pubDate>Wed, 17 Jul 2013 07:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.emblogic.com/blog/wp-content/uploads/2013/07/charlogfile2.odt#comment-3996</guid>
		<description><![CDATA[RCS file: basicregister.c,v
Working file: basicregister.c
head: 1.23
branch:
locks: strict
	sampath: 1.23
access list:
symbolic names:
keyword substitution: kv
total revisions: 23;	selected revisions: 23
description:
Base program for driver
Registering the driver into the kernel using register_chrdev
inserting the module using insmod
unregistering using unregister_chrdev
removing the module using rmmod
----------------------------
revision 1.23	locked by: sampath;
date: 2013/07/17 05:19:21;  author: sampath;  state: Exp;  lines: +75 -28
Defined llseek function mapped from function call
Able to read data from application according to lseek offset in application
done with read operation using lseek
----------------------------
revision 1.22
date: 2013/07/13 11:04:51;  author: sampath;  state: Exp;  lines: +15 -54
done with read and write operations for multiple scullqsets
----------------------------
revision 1.21
date: 2013/07/13 10:43:24;  author: sampath;  state: Exp;  lines: +1 -1
added ubuff+tnobsr in copy_to_user for cursor position
able to read data at the application
----------------------------
revision 1.20
date: 2013/07/13 10:17:59;  author: sampath;  state: Exp;  lines: +35 -26
sucessfully Implemented reading operation for 98 bytes of data
able to read tnobsr in application
----------------------------
revision 1.19
date: 2013/07/13 07:17:49;  author: sampath;  state: Exp;  lines: +20 -13
new
----------------------------
revision 1.18
date: 2013/07/13 04:52:08;  author: sampath;  state: Exp;  lines: +49 -36
Able to read 63 bytes of data from kernel to user buffer.
verification done by returning tnobsr to user application.
----------------------------
revision 1.17
date: 2013/07/12 08:12:41;  author: sampath;  state: Exp;  lines: +80 -11
Implemented read operation trying to read from kernel to user buffer using copy_to_user
Able to read only 8bytes of data
tryin g to implement for complete read operation for reading 100bytes
----------------------------
revision 1.16
date: 2013/07/11 20:56:23;  author: sampath;  state: Exp;  lines: +5 -10
Able to return 0 from read operation of kernel buffer to application
----------------------------
revision 1.15
date: 2013/07/11 20:10:35;  author: sampath;  state: Exp;  lines: +34 -25
Sucessfully implemented for multiple qsets
Tested writing operation for 100 bytes of data
no of scull qset are 2 and no of quantums created are 13
----------------------------
revision 1.14
date: 2013/07/11 11:12:47;  author: sampath;  state: Exp;  lines: +33 -10
sucessfully implemented write operation for multiple quantums
able to automate correct no of quantums
----------------------------
revision 1.13
date: 2013/07/11 07:57:21;  author: sampath;  state: Exp;  lines: +24 -7
Sucessfully implemented write operation 
using kernel facility copy_from_user
testing for only 4bytes of data for which one quantum is enough
----------------------------
revision 1.12
date: 2013/07/10 11:43:26;  author: sampath;  state: Exp;  lines: +75 -21
Implementation of scullqset, qset and quantum done
automated number of scullqsets and quantums wrt the application
----------------------------
revision 1.11
date: 2013/07/10 03:53:40;  author: sampath;  state: Exp;  lines: +120 -34
Implemeenting write operation
fetched private-&gt;data to sculldev
Implemented auto calculation for number of scull_qset and number of quantums
allocated memory for scull_qset qset and quantum calling their functions separately and trying to link them
----------------------------
revision 1.10
date: 2013/07/09 07:28:58;  author: sampath;  state: Exp;  lines: +22 -0
Implemented basic write and read operations
----------------------------
revision 1.9
date: 2013/07/08 07:27:12;  author: sampath;  state: Exp;  lines: +39 -41
Implementation of scull_trim for future use
----------------------------
revision 1.8
date: 2013/07/05 04:53:38;  author: sampath;  state: Exp;  lines: +1 -1
Initialised cdev_del after completing the usage of cdev
----------------------------
revision 1.7
date: 2013/07/05 04:51:02;  author: sampath;  state: Exp;  lines: +9 -8
Added ret_cdev to check the return value of cdev_add
----------------------------
revision 1.6
date: 2013/07/04 13:07:35;  author: sampath;  state: Exp;  lines: +17 -7
Initialising multiple devices 
assining dev using MKDEV
----------------------------
revision 1.5
date: 2013/07/04 11:03:31;  author: sampath;  state: Exp;  lines: +23 -10
memory mapping through container_of
pointing scull through inode
----------------------------
revision 1.4
date: 2013/07/03 10:49:38;  author: sampath;  state: Exp;  lines: +19 -2
Assigning values to members of sculldev in scullinit and printing
----------------------------
revision 1.3
date: 2013/07/02 13:40:19;  author: sampath;  state: Exp;  lines: +17 -2
Initialised function for scull_open
and scull close
calling open function from application
communicating from user spaceapplication to kernelspace driver
----------------------------
revision 1.2
date: 2013/07/02 10:34:24;  author: sampath;  state: Exp;  lines: +44 -4
Implemented struct scull
registering the device in device table
Initialized cdev_init 
pointing to dev through cdev
----------------------------
revision 1.1
date: 2013/07/01 07:16:06;  author: sampath;  state: Exp;
Initial revision
=============================================================================]]></description>
		<content:encoded><![CDATA[<p>RCS file: basicregister.c,v<br />
Working file: basicregister.c<br />
head: 1.23<br />
branch:<br />
locks: strict<br />
	sampath: 1.23<br />
access list:<br />
symbolic names:<br />
keyword substitution: kv<br />
total revisions: 23;	selected revisions: 23<br />
description:<br />
Base program for driver<br />
Registering the driver into the kernel using register_chrdev<br />
inserting the module using insmod<br />
unregistering using unregister_chrdev<br />
removing the module using rmmod<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.23	locked by: sampath;<br />
date: 2013/07/17 05:19:21;  author: sampath;  state: Exp;  lines: +75 -28<br />
Defined llseek function mapped from function call<br />
Able to read data from application according to lseek offset in application<br />
done with read operation using lseek<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.22<br />
date: 2013/07/13 11:04:51;  author: sampath;  state: Exp;  lines: +15 -54<br />
done with read and write operations for multiple scullqsets<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.21<br />
date: 2013/07/13 10:43:24;  author: sampath;  state: Exp;  lines: +1 -1<br />
added ubuff+tnobsr in copy_to_user for cursor position<br />
able to read data at the application<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.20<br />
date: 2013/07/13 10:17:59;  author: sampath;  state: Exp;  lines: +35 -26<br />
sucessfully Implemented reading operation for 98 bytes of data<br />
able to read tnobsr in application<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.19<br />
date: 2013/07/13 07:17:49;  author: sampath;  state: Exp;  lines: +20 -13<br />
new<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.18<br />
date: 2013/07/13 04:52:08;  author: sampath;  state: Exp;  lines: +49 -36<br />
Able to read 63 bytes of data from kernel to user buffer.<br />
verification done by returning tnobsr to user application.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.17<br />
date: 2013/07/12 08:12:41;  author: sampath;  state: Exp;  lines: +80 -11<br />
Implemented read operation trying to read from kernel to user buffer using copy_to_user<br />
Able to read only 8bytes of data<br />
tryin g to implement for complete read operation for reading 100bytes<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.16<br />
date: 2013/07/11 20:56:23;  author: sampath;  state: Exp;  lines: +5 -10<br />
Able to return 0 from read operation of kernel buffer to application<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.15<br />
date: 2013/07/11 20:10:35;  author: sampath;  state: Exp;  lines: +34 -25<br />
Sucessfully implemented for multiple qsets<br />
Tested writing operation for 100 bytes of data<br />
no of scull qset are 2 and no of quantums created are 13<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.14<br />
date: 2013/07/11 11:12:47;  author: sampath;  state: Exp;  lines: +33 -10<br />
sucessfully implemented write operation for multiple quantums<br />
able to automate correct no of quantums<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.13<br />
date: 2013/07/11 07:57:21;  author: sampath;  state: Exp;  lines: +24 -7<br />
Sucessfully implemented write operation<br />
using kernel facility copy_from_user<br />
testing for only 4bytes of data for which one quantum is enough<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.12<br />
date: 2013/07/10 11:43:26;  author: sampath;  state: Exp;  lines: +75 -21<br />
Implementation of scullqset, qset and quantum done<br />
automated number of scullqsets and quantums wrt the application<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.11<br />
date: 2013/07/10 03:53:40;  author: sampath;  state: Exp;  lines: +120 -34<br />
Implemeenting write operation<br />
fetched private-&gt;data to sculldev<br />
Implemented auto calculation for number of scull_qset and number of quantums<br />
allocated memory for scull_qset qset and quantum calling their functions separately and trying to link them<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.10<br />
date: 2013/07/09 07:28:58;  author: sampath;  state: Exp;  lines: +22 -0<br />
Implemented basic write and read operations<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.9<br />
date: 2013/07/08 07:27:12;  author: sampath;  state: Exp;  lines: +39 -41<br />
Implementation of scull_trim for future use<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.8<br />
date: 2013/07/05 04:53:38;  author: sampath;  state: Exp;  lines: +1 -1<br />
Initialised cdev_del after completing the usage of cdev<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.7<br />
date: 2013/07/05 04:51:02;  author: sampath;  state: Exp;  lines: +9 -8<br />
Added ret_cdev to check the return value of cdev_add<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.6<br />
date: 2013/07/04 13:07:35;  author: sampath;  state: Exp;  lines: +17 -7<br />
Initialising multiple devices<br />
assining dev using MKDEV<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.5<br />
date: 2013/07/04 11:03:31;  author: sampath;  state: Exp;  lines: +23 -10<br />
memory mapping through container_of<br />
pointing scull through inode<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.4<br />
date: 2013/07/03 10:49:38;  author: sampath;  state: Exp;  lines: +19 -2<br />
Assigning values to members of sculldev in scullinit and printing<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.3<br />
date: 2013/07/02 13:40:19;  author: sampath;  state: Exp;  lines: +17 -2<br />
Initialised function for scull_open<br />
and scull close<br />
calling open function from application<br />
communicating from user spaceapplication to kernelspace driver<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.2<br />
date: 2013/07/02 10:34:24;  author: sampath;  state: Exp;  lines: +44 -4<br />
Implemented struct scull<br />
registering the device in device table<br />
Initialized cdev_init<br />
pointing to dev through cdev<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
revision 1.1<br />
date: 2013/07/01 07:16:06;  author: sampath;  state: Exp;<br />
Initial revision<br />
=============================================================================</p>
]]></content:encoded>
	</item>
</channel>
</rss>
