摘要
以MPC8315E搭建开发平台,介绍Freescale的32位微处理器MPC8315的特点及硬件平台结构,并给出U-Boot、内核以及文件系统的物理映射结构。Nand Flash比Nor Flash容量大,将U-Boot在Nand Flash中启动能够使Bootloader、内核以及文件系统都存储在Nand Flash中,从而从硬件上省略Nor Flash。本文重点阐述U-Boot在Nand Flash上的裁剪和移植过程,通过对U-Boot中硬件复位字的配置以及与Nand启动相关程序的分析与修改,最终实现U-Boot在Nand Flash上的移植。通过修改Makefile对软件实现选择性编译,并给出Linux下交叉编译链接的过程,对如何生成可执行文件做了详细的介绍。
This paper uses MPC8315E to build a development platform,introduces the features and hardware platform structure of Freescale's 32-bit microprocessor MPC8315,and gives a brief physical mapping structure of U-Boot,kernel and file system.Nand Flash capacity is larger relative to Nor Flash.The starting of U-Boot in Nand Flash can save Bootloader,kernel and file system in Nand Flash,then Nor Flash is omitted from the hardware.The paper focuses on the cutting and transplantation process of U-Boot on Nand Flash.By configuring the hardware reset word in U-Boot,and analyzing and modifying the Nand start program,the transplantation of U-Boot on Nand Flash is realized.By modifying Makefile to realize the software selective compiler and giving the cross compiler link process in Linux,the paper describes how to generate an executable document in detail.
出处
《计算机与现代化》
2012年第11期209-213,共5页
Computer and Modernization