Font Size: a A A

The Implementation Of Linux Kernel Based On S+core Cpu

Posted on:2011-11-30Degree:MasterType:Thesis
Country:ChinaCandidate:L Q ChenFull Text:PDF
GTID:2198330335460242Subject:Software engineering
Abstract/Summary:PDF Full Text Request
S+core processor was developed by Sunplus Co. in 2003. It's a 32-bit RISC processor with Sunplus ISA architecture. Since the S+core CPU was burn, the company introduced several embedded and multimedia SOC products based on S+core IP.Linux operating system is a popular free software platform that can run on a variety of ISA CPU architecture. Base on the Linux platform have many free software resources, They have high practical and reference values. If Linux could running on the S+core CPU, It's easy to compare S+core CPU's performance with other kind of CPU chip, and make linux developer easy to use S+core hardware platform.The main objective of this project is to port Linux operating system onto S+core CPU hardware reference platform. First, get the latest Linux kernel source code from official Linux web site www.kernel.org, analysis the CPU hardware-related code implementation. Then, according to S+core CPU its own characteristics, modify the relevant code in Linux kernel, make Linux operating system running on the S+core CPU steady.In addition, to verify the S+core Linux functionality, also need to enable the Linux features which the S+core hardware could support. Providing hardware drivers, busybox shell layer applications and basic glibc static/dynamic libraries, build a complete S+core Linux application development environment.From the view of code, this paper describes the procedure to port Linux kernel to S+core CPU platform, which mainly on relevant code implementation in Linux/S+core platform. At first, introduced Linux operating system knowledge, S+core CPU hardware and development tools; Then analyzed the Linux process management function and related code, including the process structure and the CPU-related structure description, process create, destruction and processes switching in the S+core Linux platform and code implementation; Linux virtual memory management functions, S+core CPU MMU hardware works theory, Linux page table organization in memory, given S+core Linux page fault handling implementation process; S+core CPU hardware cache works theory and S+core Linux functions implementation; Finally, analysis the S+core CPU hardware exception working principle, the S+core Linux initialization code for the exception, exception interrupts and system calls import and export path code, exception handling related code which access the user space data from the kernel; S+core Linux startup process and kernel initialization process, and the code implementation on the S+core hardware platform.
Keywords/Search Tags:Linux, Operating System, S+core CPU, Porting
PDF Full Text Request
Related items