?? 00000007.htm
字號:
<?xml version="1.0" encoding="gb2312"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"/><title>linux for ppc chapter 7 jacobw </title></head><body><center><h1>BBS 水木清華站∶精華區</h1></center><a name="top"></a>發信人: plato (純真年代), 信區: Embedded <br />標 題: linux for ppc chapter 7 <br />發信站: BBS 水木清華站 (Wed May 30 23:13:13 2001) <br /> <br />Next Previous Contents <br />---------------------------------------------------------------------------- <br />---- <br />7. Boot Sequence <br />The Linux boot sequence is more complicated than your average embedded opera <br />ting system, and there are many more options for configuring things. In gene <br />ral, the boot sequence goes like this: <br />Processor comes out of reset and branches to the ROM startup code. <br />The ROM startup code initialises the CPU and memory controller, performing o <br />nly minimal initialisation of on-chip devices, such as the console serial po <br />rt (typically SMC1 on 8xx devices) to provide boot diagnostic messages. It a <br />lso sets up the memory map for the kernel to use in a format that is consist <br />ent across platforms, and then jumps to the boot loader. <br />The boot loader decompresses the kernel into RAM, and jumps to it. <br />The kernel sets up the caches, initialises each of the hardware devices via <br />the init function in each driver, mounts the root filesystem and execs the i <br />nit process, which is the ultimate parent of all user mode processes, typica <br />lly /sbin/init. <br />Executing the first program linked against the shared C runtime library (oft <br />en init) causes the shared runtime library to be loaded. <br />In a typical Linux system, init reads /etc/inittab to execute the appropriat <br />e run control script from /etc/rc.d, which execute the start scripts to init <br />ialise networking and other system services. <br />In minimal embedded systems, init is commonly replaced with a simple C progr <br />am or shell script to start the appropriate services and/or application prog <br />rams, since the conventional rc scripts are often overkill. <br />---------------------------------------------------------------------------- <br />---- <br />Next Previous Contents <br /> <br />-- <br /> <br />※ 來源:·BBS 水木清華站 smth.org·[FROM: 166.111.161.8] <br /><a href="00000006.htm">上一篇</a><a href="javascript:history.go(-1)">返回上一頁</a><a href="index.htm">回到目錄</a><a href="#top">回到頁首</a><a href="00000008.htm">下一篇</a></h1></center><center><h1>BBS 水木清華站∶精華區</h1></center></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -