嵌入式linux系统地启动过程
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
MMC: NXP DWMMC: 0, NXP DWMMC: 1, NXP DWMMC: 2
In: serial
Out: serial
Err: serial
## DCDC_MODE(0x80): DCDC1[PFM], DCDC2[PFM], DCDC3[PFM], DCDC4[PWM], DCDC5[PWM]
## STATUS(0x00) : 0xe4 0x10
## IRQ(0x48) : 0x00 0x00 0x00 0x00 0x00
## CHG_TYPE : ADP
## BAT_VOL : 0mV
## BAT_CAP : 100%
DONE: Logo bmp 300 by 300 (3bpp), len=270056
DRAW: 0x47000000 -> 0x46000000
DONE: Logo bmp 300 by 300 (3bpp), len=270056
DRAW: 0x47000000 -> 0x46000000
RGB: display.0
MIPI: display.0
DSIM_ESCMODE 1 : 0xc0
DSIM_STATUS : 0x10010f
MIPI clk: 420MHz
DSIM_ESCMODE 2 : 0x0
DSIM_STATUS : 0x10010f
## Skip BAT Animation.
## IRQ(0x48) : 0x00 0x00 0x00 0x00 0x00
## chg_type : ADP
#saveenv
三、分析linux核
1.linux的作用
(1)进程管理和进程通信:进程的创建和删除,进程的优先级抢占,进程的时间片轮转,进程间的通信机制
(2)存管理:存分配算法,每个进程的存空间
(3)核支持的文件系统:#cat /proc/filesystems
(4)设备管理:------>linux驱动---->字符设备,块设备,网络设备,中断,核时钟(5)网络协议:如tcp/ip协议
[ 0.000000] vmalloc : 0xef800000 - 0xfee00000 ( 246 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xef600000 ( 758 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0a54188 (10545 kB)
[ 0.000000] .init : 0xc0a55000 - 0xc0a92100 ( 245 kB)
[ 0.000000] .data : 0xc0a94000 - 0xc0b2e488 ( 618 kB)
[ 0.000000] .bss : 0xc0b2e4ac - 0xc0d0e1c8 (1920 kB)
[ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
(4)设备管理
[ 0.207000] usbcore: registered new interface driver usbfs
[ 0.208000] i2c-gpio i2c-gpio.0: using pins 99 (SDA) and 98 (SCL)
[ 0.209000] s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
[ 0.210000] s3c-i2c s3c2440-i2c.1: slave address 0x10
[ 0.210000] s3c-i2c s3c2440-i2c.1: bus frequency set to 195 KHz
[ 0.211000] s3c-i2c s3c2440-i2c.2: i2c-2: S3C I2C adapter
[ 0.211000] s3c-i2c s3c2440-i2c.2: slave address 0x10
[ 0.211000] s3c-i2c s3c2440-i2c.2: bus frequency set to 195 KHz
[ 0.212000] Linux video capture interface: v2.00
[ 0.223000] axp22_ldo1: 3000 mV
[ 0.353000] Display LCD register operation
[ 0.354000] Display LVDS register operation
[ 0.354000] Display MiPi register operation
(5)网络协议
[ 0.331000] NET: Registered protocol family 2
[ 0.331000] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.332000] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.334000] TCP bind hash table entries: 65536 (order: 8, 1572864 bytes)
[ 0.336000] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.336000] TCP: reno registered
[ 0.336000] UDP hash table entries: 512 (order: 3, 32768 bytes)
[ 0.337000] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
[ 0.337000] NET: Registered protocol family 1
(6)挂载rootfs
[ 3.959000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 3.961000] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 3.968000] devtmpfs: mounted
[ 3.970000] Freeing init memory: 244K