On the Porting and Debugging of Linux Kernel

碩士 === 國立中山大學 === 資訊工程學系研究所 === 94 === In recent years, more and more vendors adopt Linux to be the embedded operating system for their electronic products because of its combination of reliability, performance, good tool chains, portability, and configurability. However, Linux kernel is complex, an...

Full description

Bibliographic Details
Main Authors: Chih-Yuen Li, 李志遠
Other Authors: Mi-Choc Chiang
Format: Others
Language:en_US
Published: 2006
Online Access:http://ndltd.ncl.edu.tw/handle/84144129927749626348
id ndltd-TW-094NSYS5392011
record_format oai_dc
spelling ndltd-TW-094NSYS53920112016-05-27T04:18:57Z http://ndltd.ncl.edu.tw/handle/84144129927749626348 On the Porting and Debugging of Linux Kernel Linux核心程式之移植與除錯 Chih-Yuen Li 李志遠 碩士 國立中山大學 資訊工程學系研究所 94 In recent years, more and more vendors adopt Linux to be the embedded operating system for their electronic products because of its combination of reliability, performance, good tool chains, portability, and configurability. However, Linux kernel is complex, and different electronic products may use different platforms. For this reason, it often requires that Linux be ported to different platforms. In this thesis, we describe the details of how we port Linux to a new platform which is similar to but not exactly the same as another platform and thus is not currently supported by the kernel. Moreover, we propose two robust debugging techniques to solve the problems we had encountered in this thesis. One is to make it easier to trace a module with ICE; the other is to allow us to access the internal registers of the processor through the /proc filesystem rather than write a program every time we need to access those internal registers for the purpose of, say, debugging. By using these techniques, we show that the time required to port and debug a Linux kernel can be definitely reduced. Mi-Choc Chiang 江明朝 2006 學位論文 ; thesis 85 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 國立中山大學 === 資訊工程學系研究所 === 94 === In recent years, more and more vendors adopt Linux to be the embedded operating system for their electronic products because of its combination of reliability, performance, good tool chains, portability, and configurability. However, Linux kernel is complex, and different electronic products may use different platforms. For this reason, it often requires that Linux be ported to different platforms. In this thesis, we describe the details of how we port Linux to a new platform which is similar to but not exactly the same as another platform and thus is not currently supported by the kernel. Moreover, we propose two robust debugging techniques to solve the problems we had encountered in this thesis. One is to make it easier to trace a module with ICE; the other is to allow us to access the internal registers of the processor through the /proc filesystem rather than write a program every time we need to access those internal registers for the purpose of, say, debugging. By using these techniques, we show that the time required to port and debug a Linux kernel can be definitely reduced.
author2 Mi-Choc Chiang
author_facet Mi-Choc Chiang
Chih-Yuen Li
李志遠
author Chih-Yuen Li
李志遠
spellingShingle Chih-Yuen Li
李志遠
On the Porting and Debugging of Linux Kernel
author_sort Chih-Yuen Li
title On the Porting and Debugging of Linux Kernel
title_short On the Porting and Debugging of Linux Kernel
title_full On the Porting and Debugging of Linux Kernel
title_fullStr On the Porting and Debugging of Linux Kernel
title_full_unstemmed On the Porting and Debugging of Linux Kernel
title_sort on the porting and debugging of linux kernel
publishDate 2006
url http://ndltd.ncl.edu.tw/handle/84144129927749626348
work_keys_str_mv AT chihyuenli ontheportinganddebuggingoflinuxkernel
AT lǐzhìyuǎn ontheportinganddebuggingoflinuxkernel
AT chihyuenli linuxhéxīnchéngshìzhīyízhíyǔchúcuò
AT lǐzhìyuǎn linuxhéxīnchéngshìzhīyízhíyǔchúcuò
_version_ 1718283738286129152