2440从NANDFlash启动之bootloader运行以前 (转)
2010-02-24 13:08
232 查看
/article/7326092.html原文地址
一直对2440上电以后怎么从nandflash中启动不是很清楚,闲来无事看了下s3c2440的用户手册,看到下面这样一段话:
S3C2440A boot code can be executed on an external NAND flash memory. In order to support NAND flash bootloader, the S3C2440A is equipped with an internal SRAM buffer called "Steppingstone". When booting, the first 4KBytes of the NAND flash memory will be loaded into Steppingstone and the boot code loaded into Steppingstone will be executed.
Generally, the boot code will copy NAND flash content to SDRAM. Using hardware ECC generating, the NAND flash data validity will be checked. Upon the completion of the copy, the main program will be executed on the SDRAM.
虽然大家都看得懂上面的eng,但是为了自己以后看得方便一些,在此稍微解释一下:
2440的启动代码可以从外部的nandflash上执行。为了能支持nboot,2440需要带有一个叫做steppingstone的内部sram缓冲区。在启动加载的时候,nandflash的前4k的内容(nboot部分)要被先load到steppingstone中去(此时steppingstone被映射为物理地址的0x0,复位后执行的第一条指令就是从这里取的),并且接着就是在steppingstone中去执行该启动代码。这部分代码(nboot)的作用是会将nandflash中的bootloader step2部分拷贝到sdram中去,并跳到sdram中去执行以加载内核(nk)。
nboot从nandflash被load到steppingstone中的过程为:在上点的时候,nandflash控制器通过几个引脚的状态(NCON-Adv flash;GPG13-Page size;GPG14-Address cycle;GPG15-Bus width)来得到nandflash的相关信息,之后nandflash控制器就会自动load nandflash中前4k的启动代码到steppingstone中去,并在其中执行了。
一直对2440上电以后怎么从nandflash中启动不是很清楚,闲来无事看了下s3c2440的用户手册,看到下面这样一段话:
S3C2440A boot code can be executed on an external NAND flash memory. In order to support NAND flash bootloader, the S3C2440A is equipped with an internal SRAM buffer called "Steppingstone". When booting, the first 4KBytes of the NAND flash memory will be loaded into Steppingstone and the boot code loaded into Steppingstone will be executed.
Generally, the boot code will copy NAND flash content to SDRAM. Using hardware ECC generating, the NAND flash data validity will be checked. Upon the completion of the copy, the main program will be executed on the SDRAM.
虽然大家都看得懂上面的eng,但是为了自己以后看得方便一些,在此稍微解释一下:
2440的启动代码可以从外部的nandflash上执行。为了能支持nboot,2440需要带有一个叫做steppingstone的内部sram缓冲区。在启动加载的时候,nandflash的前4k的内容(nboot部分)要被先load到steppingstone中去(此时steppingstone被映射为物理地址的0x0,复位后执行的第一条指令就是从这里取的),并且接着就是在steppingstone中去执行该启动代码。这部分代码(nboot)的作用是会将nandflash中的bootloader step2部分拷贝到sdram中去,并跳到sdram中去执行以加载内核(nk)。
nboot从nandflash被load到steppingstone中的过程为:在上点的时候,nandflash控制器通过几个引脚的状态(NCON-Adv flash;GPG13-Page size;GPG14-Address cycle;GPG15-Bus width)来得到nandflash的相关信息,之后nandflash控制器就会自动load nandflash中前4k的启动代码到steppingstone中去,并在其中执行了。
相关文章推荐
- 2440从NANDFlash启动之bootloader运行以前
- 2440从NANDFlash启动之bootloader运行以前
- 2440从NANDFlash启动之bootloader运行以前
- 2440从NANDFlash启动之bootloader运行以前
- fl2440 移植u-boot-2010.09全纪录4---------u-boot支持从nandflash启动
- norflsh nandflash之类的存储设备启动bootloader概述
- 移植u-boot12.04到jz2440 -->支持nandflash启动
- norflsh nandflash之类的存储设备启动bootloader概述
- 2440偶尔不能启动的原因——难道真的必须在bootloader阶段清零内存吗?
- 基于2410/2440让程序在Windows CE系统启动时自动运行(含platform.reg .dat .bib介绍)
- nandflash 启动,s3c2440
- S3C2440之IIS操作---MDK4.22,可烧写在NANDFLASH和NORFLASH运行
- s3c2440 nandflash启动过程分析
- TQ2440启动代码分析笔记
- Delphi工程运行的启动和退出画面
- 从零写bootloader--第一阶段启动的实现
- u-boot-2011.03在TQ2440上的移植(4)--支持nandflash启动
- 开发板2440nor flash与nand flash启动的简单比较
- jmeter.bat启动时提示:'findstr' 不是内部或外部命令,也不是可运行的程序或批处理文件。
- Java混乱器Zelix KlassMaster逆向工程(三)取消运行启动时的NAG窗口 ("I agree")