嵌入式设备系统的烧写过程

linux系统的启动流程分析:
UBOOT                ---》对系统必要硬件进行初始化

U-Boot 1.3.4 (Nov 26 2014 - 14:55:59) for GEC210  ---》UBOOT的版本信息
  
CPU:  S5PV210@1000MHz(OK)  ---》对系统时钟进行初始化
        APLL = 1000MHz, HclkMsys = 200MHz, PclkMsys = 100MHz
        MPLL = 667MHz, EPLL = 96MHz
                       HclkDsys = 166MHz, PclkDsys = 83MHz
                       HclkPsys = 133MHz, PclkPsys = 66MHz
                       SCLKA2M  = 200MHz
Serial = CLKUART   ---》对串口设备初始化
Board:   GEC210
DRAM:    512 MB  -- -》内存
Flash:   8 MB    ---》硬盘
SD/MMC: Card init fail!
0 MB
NAND:    1024 MB   ---》硬盘
*** Warning - using default environment

In:      serial
Out:     serial
Err:     serial
backlight_brigness_init
Enter into Normal mode
Hit any key to stop autoboot:  0 

//读取硬盘中的 0x600000 地址中的内容
NAND read: device 0 offset 0x600000, size 0x500000
Main area read (40 blocks):
 5242880 bytes read: OK
get_format


--------------------------------内核--------------------------------------
对进程调度,磁盘管理,内存管理  ---》对外围部件(网口,蓝牙,USB,NFS,TFTP,LCD)进行初始化

//内核版本信息
## Booting kernel from Legacy Image at 30008000 ...
   Image Name:   linux-2.6.35.7
   Created:      2014-12-29   8:23:12 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3991896 Bytes =  3.8 MB
   Load Address: 30008000
   Entry Point:  30008040
   Verifying Checksum ... OK
get_format
-------- 1 --------

//内核对内存划分区间
Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xff000000 - 0xffe00000   (  14 MB)
[    0.000000]     vmalloc : 0xe0800000 - 0xfc000000   ( 440 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc008e000   ( 536 kB)
[    0.000000]       .text : 0xc008e000 - 0xc07c7000   (7396 kB)
[    0.000000]       .data : 0xc07c8000 - 0xc0829460   ( 390 kB)

//对UBS设备进行初始
 usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[    3.177355] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.177416] usb 1-1: Product: USB 2.0 Hub
[    3.177928] hub 1-1:1.0: USB hub found
//对蓝牙设备进行初始化
170] Bluetooth: HCI UART driver ver 2.2
[    3.415558] Bluetooth: HCI H4 protocol initialized
[    3.420329] Bluetooth: HCILL protocol initialized
[    3.425006] Bluetooth: Generic Bluetooth USB driver ver 0.
//对网口进行初始化
4] IPv6 over IPv4 tunneling driver
[    3.663308] sit0: Disabled Privacy Extensions
[    3.668806] ip6tnl0: Disabled Privacy Extensions
[    3.671635] NET: Registered protocol family 17
[    3.674431] NET: Registered protocol family 15
[    3.678825] can: controller area network core (rev 20090105 abi 8)
[    3.685027] NET: Registered protocol family 29



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值