阅读:1681回复:3
为什么我的EBOOT.exe出来了NB0文件出不来呢?
我编译的时候它出来的错误:
BUILD: Computing Include file dependencies: BUILD: Examining d:\wince420\platform\smdk2410\eboot directory for files to compile. Compiling d:\wince420\platform\smdk2410\eboot directory ******************** 'NMAKE.EXE -i -c BUILDMSG=Stop. NTTEST= UMTEST= NOLINK=1 NOPASS0=1' makefile.def: BUILDROOT is D:\WINCE420\PLATFORM\SMDK2410 makefile.def: including D:\WINCE420\PLATFORM\SMDK2410\sources.cmn armasm -coff -arch 4t -cr -pd "ALLOCATE_TABLE SETS \"FALSE\"" -pd "Thumbing SETL {FALSE}" -pd "Interworking SETL {TRUE}" -i D:\WINCE420\public\speech\sdk\inc,D:\WINCE420\public\datasync\sdk\inc,D:\WINCE420\public\directx\sdk\inc,D:\WINCE420\public\directx\oak\inc,D:\WINCE420\public\wceappsfe\sdk\inc,D:\WINCE420\public\wceshellfe\sdk\inc,D:\WINCE420\public\wceshellfe\oak\inc,D:\WINCE420\public\shell\oak\inc,D:\WINCE420\public\shellsdk\sdk\inc,D:\WINCE420\public\rdp\sdk\inc,D:\WINCE420\public\rdp\oak\inc,D:\WINCE420\public\servers\sdk\inc,D:\WINCE420\public\servers\oak\inc,D:\WINCE420\public\ie\sdk\inc,D:\WINCE420\public\dcom\sdk\inc,D:\WINCE420\PUBLIC\lianxi1\WINCE420\smdk2410\cesysgen\ddk\inc,D:\WINCE420\PUBLIC\lianxi1\WINCE420\smdk2410\cesysgen\sdk\inc,D:\WINCE420\PUBLIC\lianxi1\WINCE420\smdk2410\cesysgen\oak\inc,D:\WINCE420\sdk\CE\inc -i arm D:\WINCE420\PLATFORM\SMDK2410\eboot\.\init.s obj\ARMV4I\retail\init.obj ARM Macro Assembler, Version 12.20.9615 Copyright (C) Microsoft Corporation 1984-2001 NMAKE : U1073: don't know how to make 'D:\WINCE420\platform\smdk2410\target\ARMV4I\retail\EBOOT.nb0' Stop. BUILD: NMAKE.EXE -i -c BUILDMSG=Stop. NTTEST= UMTEST= NOLINK=1 NOPASS0=1 failed - rc = 2 Linking d:\wince420\platform\smdk2410\eboot directory ******************** 'NMAKE.EXE -i -c BUILDMSG=Stop. LINKONLY=1 NOPASS0=1 NTTEST= UMTEST=' makefile.def: BUILDROOT is D:\WINCE420\PLATFORM\SMDK2410 makefile.def: including D:\WINCE420\PLATFORM\SMDK2410\sources.cmn set LIB=D:\WINCE420\sdk\CE\lib link /LARGEADDRESSAWARE -out:D:\WINCE420\platform\smdk2410\target\ARMV4I\retail\EBOOT.exe -machine:thumb @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm505D.tmp Microsoft (R) Incremental Linker Version 6.24.3064 Copyright (C) Microsoft Corporation. All rights reserved. -nodefaultlib -entry:StartUp -debug -debugtype:cv -incremental:no /opt:ref -pdb:D:\WINCE420\platform\smdk2410\target\ARMV4I\retail\EBOOT.pdb -map:D:\WINCE420\platform\smdk2410\target\ARMV4I\retail\EBOOT.map -savebaserelocations:D:\WINCE420\platform\smdk2410\target\ARMV4I\retail\EBOOT.rel -MERGE:.rdata=.text -merge:.astart=.text -subsystem:native /DEBUG /DEBUGTYPE:CV /FIXED:NO -align:4096 -ignore:4001,4070,4078,4086,4089,4096,4099,4108 /STACK:65536,4096 -subsystem:windowsce,4.20 -base:0x80000000 obj\ARMV4I\retail\2410loader.obj obj\ARMV4I\retail\init.obj D:\WINCE420\PUBLIC\lianxi1\WINCE420\smdk2410\cesysgen\sdk\lib\ARMV4I\retail\corelibc.lib NMAKE : U1073: don't know how to make 'D:\WINCE420\platform\smdk2410\target\ARMV4I\retail\EBOOT.nb0' Stop. BUILD: NMAKE.EXE -i -c BUILDMSG=Stop. LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= failed - rc = 2 BUILD: Done 我的觉得好像是BOOT。BIB上的问题,我的BOOT.BIB文件如下: ; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT. ; If you did not accept the terms of the EULA, you are not authorized to use ; this source code. For a copy of the EULA, please see the LICENSE.RTF on your ; install media. ; ;****************************************************************************** ; TITLE: BOOT.BIB ; ; Ethernet Boot Loader Source Module ;****************************************************************************** MEMORY ; Name Start Size Type ; ------- -------- -------- ---- ; DRV_GLB 8c020000 00001000 RESERVED ; BIN_FS 8c021000 00005000 RESERVED ; RAM 8c026000 00006000 RAM ; STACK 8c02c000 00004000 RESERVED EBOOT 8c038000 00020000 RAMIMAGE ; EBOOT 8c038000 00040000 RAMIMAGE ; 16 MB area used to cache nk.bin while programming boot media. ; TBD: we may need to adjust to 01400000 (20 MB) to cache PPC 2003. FLSCACHE 8D000000 02100000 RESERVED CONFIG COMPRESSION=OFF PROFILE=OFF KERNELFIXUPS=ON SRE=ON ROMSTART=8c038000 ROMWIDTH=32 ; N.B: boot media block size aligned ROMSIZE=16000 MODULES ; Name Path Memory Type ; -------------- ---------------------------------------------- ----------- nk.exe $(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\EBOOT.exe EBOOT 我就是自己随便写一个STARTUP.S,和一个MAIN.c程序,请教要怎么配置才会出来我所要的NB0文件, 要通过STARTUP中的B main,跳入MAIN函数入口 |
|
沙发#
发布于:2007-09-28 16:06
看一下boot.bib,里面有设置eboot大小,起始地址的吗?
|
|
板凳#
发布于:2007-09-29 10:57
你把RAM 打开
再把ROMSIZE= 40000 |
|
地板#
发布于:2007-10-01 20:23
谢谢,有什么联系方式可以联系你们吗?我还有好多疑问
|
|