Article Title: complete comments on the startup information of embedded linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
As an embedded system developer, you must have encountered the following scenarios:
I saw a post in a forum with embedded content on it.LinuxThe relevant information about the startup of the Development Board is discussed in the post. The random examples are as follows:
Linux version 2.4.20 -Uc0 (root @ Local) (gcc version 2.95.3 20010315 (release) (ColdFire patches-20010318 from http: // f (UClinux XIP and shared lib patches from http://www.snapgear.com/) #203.6Month1 8 00:58:31 CST 2003 Processor: Samsung S 3C 4510B revision 6 Architecture: SNDS100 On node 0 totalpages: 4096 Zone (0): 0 pages. Zone (1): 4096 pages. Zone (2): 0 pages. Kernel command line: root =/dev/rom0 Calibrating delay loop... 49.76 BogoMIPS Memory: 16 MB = 16 MB total Memory: 14348KB available (1615 K code, 156 K data, 40 K init) Dentry cache hash table entries: 2048 (order: 2, 16384 bytes) Inode cache hash table entries: 1024 (order: 1, Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 4096 (order: 2, 16384 bytes) POSIX conformance testing by uniix Linux NET4.0 in Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Samsung S 3C 4510 Serial driver version 0.9 ( 2001-12-27 ) With no serial options en Abled TtyS00 at 0x3ffd000 (irq = 5) is a S 3C 4510B TtyS01 at 0x3ffe000 (irq = 7) is a S 3C 451 Blkmem copyright 1998,1999 D. Jeff Dionne Blkmem copyright 1998 kenth Albanowski Blkmem 1 disk images: 0: BE558 -1A 5D57 [VIRTUAL BE558 -1A 5D57] (RO) RAMDISK driver initialized: 16 RAM disks of 1024 K size 1024 blocksize Samsung S 3C 4510 Ethernet driver version 0.1 ( 2002-02-20 ) Eth0: 00: 40: 95: 36: 35: 34 NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4 Kbytes TCP: Hash tables configured (established 1024 bind 1024) VFS: Mounted root (romfs Freeing init memory: 40 K |
The above output information may also include the embedded information you are working on.LinuxAre you sure you know the output information of the Development Board, the meaning of each line and word in it? I want to combine my experience in practice with the majority of embedded systems.LinuxDevelopers can read the information together.
Here we will use a real embeddedLinuxThe system startup process is used as an example to analyze the output information. The original content of the startup information will be marked for difference and comment.
EmbeddedLinuxIs mainly divided into two phases:
①Part 1BootloaderStartup phase
②Part 2LinuxKernel initialization and startup
Section 1:Start_kernel
Section 2: User Mode(User_mode)Start,Start_kernelEnd
Section 3: LoadingLinuxKernel completed, transferredCpu_idleProcess
[1] [2] [3] [4] [5] [6] [7] [8] Next page