embedded
linux内核启动过程——基于S3C2410 (2)Image早期初始化
Soumis par zhoum le dim, 11/09/2008 - 21:11从zImage头跳转进来,此时的状态
- MMU为off
- D-cache为off
- I-cache为dont care,on或off没有关系
- r0为0
- r1为machine ID
- r2为atags指针
内核代码入口在linux-2.6.24-moko-linuxbj/arch/arm/kernel/head.S文件的83行。首先进入SVC32模式,并查询CPU ID,检查合法性
»
- Le blog de zhoum
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
- En savoir plus
linux内核启动过程——基于S3C2410 (1)zImage自解压
Soumis par zhoum le mer, 11/05/2008 - 00:26本文以流行的Samsung公司的S3C2410,openmoko平台和linux-2.6.24为例,介绍如何在ZIX嵌入式开发环境下探索linux内核启动过程。
Linux内核启动一般由外部的bootloader引导,也可以在内核头部嵌入一个loader,实际的应用中这两种方式都会经常遇到。所以要了 解内核启动最开始的过程,必须对bootloader如何引导内核有所熟悉。下面我们从u-boot加载linux内核的代码开始分析(关于u-boot 自身的启动流程,请参考u-boot 启动过程 —— 基于S3C2410)。
在u-boot的do_bootm_linux函数里,实现了处理器架构相关的linux内核加载代码,特别是tags传递。
u-boot 启动过程 —— 基于S3C2410
Soumis par zhoum le dim, 11/02/2008 - 18:27本文以流行的Samsung公司的S3C2410,openmoko平台和u-boot-1.3.2(2008.5 发布)为例,介绍如何在ZIX嵌入式开发环境下探索u-boot启动过程。

Commentaires récents
il y a 14 semaines 3 jours
il y a 17 semaines 6 jours
il y a 28 semaines 5h
il y a 28 semaines 1 jour
il y a 33 semaines 6 jours
il y a 36 semaines 5 jours
il y a 36 semaines 6 jours
il y a 40 semaines 1 jour
il y a 1 an 5 jours
il y a 1 an 1 semaine