2012年(82)
分类: LINUX
2012-05-23 10:56:22
Dear Lu:
Last week, I have put my attention on learning LKD3 & LDD3, the main work I have done and some problems occurred to me as follows:
1:
I have almost finished reading the LKD3, I put most time on the chapters of : Process Management (chapter 3), Process Scheduling (chapter 4), Interrupts and Interrupt Handlers (chapter 7), Bottom Halves and Deferring Work (chapter 8), Kernel Synchronization Methods (chapter 10), Memory Management (chapter 12), The Process Address Space (chapter 15).
Also, I skipped some parts like: The Virtual Filesystem (chapter 13), The Block I/O Layer (chapter 14), The Page Cache and Page Writeback (chapter 16). If you suggest that any of them is important in this period, I will read them soon.
Since I have read this book carefully, I also found it is very difficult for me to understand the units of Memory Management and The Process Address Space. They are so abstract, and I will put more attention to study how to use them in the carmera driver project and insight into the source code.
2:
I have started to read the LDD3, now I have finished the first six chapters, mainly include: Char Drivers (chapter 3), Concurrency and Race Conditions (chapter 5) and Advanced Char Driver Operations (chapter 6). As your suggestion, I study the theory with debugging the source code chapter by chapter. First, I read the content on the book, then, I debug the code (the source code of LDD3 and some code downloaded from the net) to get a fully understanding.
I thinik, if I want to get a full understanding of this part, the study of the LDD3 will take me a lot of time. So, in my opinion, I want to first study the chapters of Allocating Memory (chapter 8), Interrupt Handling (chapter 10) and Memory Mapping and DMA (chapter 15). It may takes me 3 days (to May 23th), and then I want to start to study V4L2 and review the related content of LDD3 at same time.
3:
Could you give me some related materials about V4L2 before this Friday (May 25th), then I could learn them in my weekend. Thank you!
Thank you for your help.
Best Regards! : )