NBOOT2nd

所属分类:Windows CE
开发工具:Visual C++
文件大小:200KB
下载次数:88
上传日期:2007-03-12 11:14:44
上 传 者szpgh
说明:  WINCE4.2/5.0 EBOOT ,支持加载WINCE静像,加载BOOT菜单功能
(WINCE4.2/5.0 EBOOT support WINCE still image loading, Add menu function BOOT)

文件列表:
254431\NBOOT2nd\Makefile (2181, 2004-06-02)
254431\NBOOT2nd\2440loader.bin (3616, 2004-05-31)
254431\NBOOT2nd\2440test.bin (286872, 2004-02-18)
254431\NBOOT2nd\2440addr.inc (24915, 2004-02-18)
254431\NBOOT2nd\Memcfg.inc (2870, 2003-08-20)
254431\NBOOT2nd\Option.inc (1838, 2003-11-29)
254431\NBOOT2nd\2440addr.h (36375, 2004-02-18)
254431\NBOOT2nd\2440lib.h (2678, 2003-11-29)
254431\NBOOT2nd\2440slib.h (1305, 2003-11-29)
254431\NBOOT2nd\Def.h (1253, 2003-07-08)
254431\NBOOT2nd\k.h (932017, 2006-12-11)
254431\NBOOT2nd\loader.h (11270, 2004-03-31)
254431\NBOOT2nd\nand.h (5387, 2003-07-08)
254431\NBOOT2nd\Option.h (2137, 2006-03-27)
254431\NBOOT2nd\复件 k.h (932011, 2006-10-23)
254431\NBOOT2nd\2440lib.c (10379, 2006-10-21)
254431\NBOOT2nd\2440loader.c (9762, 2006-12-14)
254431\NBOOT2nd\lcd.c (5272, 2006-12-14)
254431\NBOOT2nd\nand.c (6818, 2006-08-17)
254431\NBOOT2nd\1.bat (28, 2002-08-26)
254431\NBOOT2nd\boot.txt (1950, 2003-05-20)
254431\NBOOT2nd\list.txt (2702, 2004-05-31)
254431\NBOOT2nd\USERDRV4.TXT (10, 2003-11-29)
254431\NBOOT2nd\dnw.ini (115, 2004-05-25)
254431\NBOOT2nd\obj\2440init.o (1834, 2004-05-31)
254431\NBOOT2nd\obj\2440lib.o (2584, 2004-05-31)
254431\NBOOT2nd\obj\2440loader.o (3224, 2004-05-31)
254431\NBOOT2nd\obj\2440slib.o (728, 2004-05-31)
254431\NBOOT2nd\obj\nand.o (2196, 2004-05-31)
254431\NBOOT2nd\obj\nand_s.o (1152, 2004-05-31)
254431\NBOOT2nd\map.a (3297, 2003-11-29)
254431\NBOOT2nd\2440loader.axf (6360, 2003-07-08)
254431\NBOOT2nd\ARM9TDMI.CFG (303, 2003-05-20)
254431\NBOOT2nd\2440loader.elf (7348, 2004-05-31)
254431\NBOOT2nd\nboot2.mcp (71641, 2007-02-01)
254431\NBOOT2nd\2440init.s (13444, 2006-08-17)
254431\NBOOT2nd\2440slib.s (2044, 2003-11-29)
254431\NBOOT2nd\nand_s.s (1769, 2003-07-23)
254431\NBOOT2nd\obj (0, 2006-12-11)
... ...

//--------------------------------------------------------------------- // Copyright (c) Microsoft Corporation // // Module: NAND bootloader // //--------------------------------------------------------------------- Purpose: -------- The NAND bootloader is the first piece of code executed by S3C2410 at power on. The code was based on NAND bootloader from Samsung with some modification to work with Catfish device. Development Tools Required: --------------------------- The NAND bootloader has to fit in 4KB for S3C2410 to boot off NAND flash. There is no simple way to build NAND bootloader using Windows CE tool set. In stead, we used ARM Development Suite v1.2 to build NAND bootloader. Both the retail version and evaluate version of ARM tools can be used. How does it work: ----------------- The boot loader does all the necessary hardware initialization. After that, it will look at block 1 of the NAND flash to read the table of content for the image(s) stored on the NAND flash. The table of content structure is defined in loader.h under Catfish\Inc directory. Two possible scenario are supported with the current bootloader implementation: 1) boot off a second stage boot loader, which is Ethernet bootloader. This is mainly used for development. 2) boot off the image stored on the NAND flash, the image parsing capability is not included with NAND flash to save sapce, so the image on the NAND has to be in RAW format (.nb0 file using Romimage). How to get image and bootloader onto the NAND flash: ---------------------------------------------------- The initial bootloader(s) is downloaded to the NAND flash via JTAG interface using SJF.exe tool provided under Catfish\tools\sjf\bin directory. NAND bootloader (nboot.bin under Catfish\Nboot\bin directory) is loaded via SJF to the block 0 of NAND flash. tocblock1 file, which is located at Catfish\Tools\SJF\bin directory, is loaded using SJF to the block 1 of NAND flash. Eboot.nb0, the Ethernet bootloader, which is located at Catfish\Eboot\bin directory is loaded to the block 2 of NAND flash. After you are done with the above work items, you can start development using Eboot. In order to download the full Pocket PC image to NAND, we need to use imgloader.exe tools which can be built from Catfish\tools\imgloader directory. Here is the steps you need to follow if you are using imgloader to download Pocket PC or any other big image to the NAND ( downloading big image via JTAG is EXTREMELY SLOW ) 1) Set BOOT_LOADER=1 and rebuild Catfish\Drivers\NandFlash\FMD directory 2) Build ImaLoader.exe from Catfish\tools\imgloader directory 3) Build your CE image (Pocket PC or any other CE image). You should get a NK.nb0 file. That is the file you need to store on the NAND. 4) Turn on the power on the device, and using eshell.exe (Catfish\tools\eshell) or PB 3.0 to download small.bin (Catfish\Eboot\bin) 5) At the cesh> prompt, run: s imgloader nk.nb0 to download the image to the NAND 6) For your convience, you may want to modify NAND bootloader so that it will boot from your image instead of Eboot.nb0, by modifying the default boot entry to 1. Dependencies: ------------- None Issues and Recommendations: --------------------------- The NAND bootloader here provides a general framework for you to develop NAND boot loader. The main restriction that we have to deal with is the space restriction (4KB). There are several improvements that can be done to the NAND bootloader: 1) Check ECC when reading from NAND. 2) Provide different table of content structure to allow more flexible way to boot.

近期下载者

相关文件


收藏者