摘要
U-Boot是一款非常优秀的嵌入式Bootloader,能够支持TFTP协议从网口下载内核镜像,但不支持从NANDFlash启动。本设计的目的是实现U-boot从NAND Flash的启动。本文详述了基于S3C2410开发板的移植过程,分析U-boot的启动流程的两个阶段,结合NAND Flash自身特殊的物理组织结构,增加U-boot对NAND Flash读写操作的支持,使其能够完成将NAND Flash上存储的U-boot代码段拷贝到sdram中执行。依此方法移植U-boot成功实现了从NAND Flash启动,再通过修改U-boot的其他部分最终实现了引导Linux操作系统内核启动的功能。
U-Boot is a very excellent bootloader in embedded system, it can download kernel image through net chip with TFTP protocol, but can't boot from NAND Flash. To solve this problem, porting process based on S3C2410 board is discussed, the two stages of U-boot are analysed in this paper. Since NAND Flash has particular physical organizing structure, it should add reading and writing operation of NAND Flash to U-boot for copying its code from NAND Flash to sdram. Using this method, booting from NAND Flash is realized by porting, and after modifying the other parts of U-boot, booting Linux operating system kernel is finally obtained.
出处
《电子测量技术》
2007年第6期114-117,共4页
Electronic Measurement Technology