阅读:1627回复:7
mainstoneII/III内核启动有问题?
在开发板上移植了mainstoneII和mainstoneIII 的eboot,网络控制器修改成DM9000A,可以正常下载内核。其它参数没有修改,直接启动内核后出现以下信息:
Initiating image download in 3 seconds. EBoot Loader Configuration: 0) IP address: 192.168.1.6 1) Subnet mask: 255.255.255.0 2) Boot delay: 3 seconds 3) DHCP: (Disabled) 4) Reset to factory default configuration 5) RNDIS MAC address: 11-22-33-44-55-66 6) Download new image at startup 7) Boot device order: SMSC -> USB-> PCMCIA0 -> PCMCIA1 8) Debug serial port: BTUART D) Download image now L) Launch existing flash resident image now U) Boot to ULDR: (No) Enter your selection: d INFO: Trying to initialize the built-in SMSC NIC... INFO: SMSC NIC SlotAddress 0xBA700000 INFO: SMSC DM9000A Ethernet controller initialized. INFO: MAC address: 11-22-33-44-55-66 System ready! Preparing for download... INFO: Using device name: 'MAINSTN21862' +EbootSendBootmeAndWaitForTftp Sent BOOTME to 255.255.255.255 Sent BOOTME to 255.255.255.255 Locked Down Link 1 Src IP 192.168.1.6 Port 0400 Dest IP 192.168.1.110 Port 04F9 EthDown::TFTPD_OPEN::boot.bin -EbootSendBootmeAndWaitForTftp Download file information: ------------------------------------------------------------------------------- [0]: Address=0x80100000 Length=0x1D6A81C Name= ****** OEMVerifyMemory checking physical range [ 0xA0100000 ==> 0xA1E6A81B ]... ****** RAM address ****** rom_offset=0x0. ROMHDR at Address 80100044h INFO: FlashErase: erasing flash BAA40000 to BAA7FFFF. Please wait... . INFO: FlashWrite: writing to flash... INFO: FlashWrite: verifying the data written to flash... INFO: FlashWrite: flash programmed successfully! Download successful! Jumping to image at 0x80101000 (physical 0xA0101000)... Got EDBG_CMD_JUMPIMG Got EDBG_CMD_CONFIG, fWindows CE Kernel for ARM (Thumb Enabled) Built on Feb 8 2007 at 23:37:12 ProcessorType=0411 Revision=7 sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 8011cc00 DeviceId................. MAINSTN21862 pArgs->flags............. 0x9 pArgs->devLoc.IfcType.... 0 pArgs->devLoc.LogicalLoc. 0x10000000 pArgs->devLoc.PhysicalLoc 0x10000000 pArgs->devLoc.Pin........ 0 pArgs->ip4address........ 192.168.1.6 pDevice->Name............ SMSC91C111 pDevice->ifcType......... 0 pDevice->id.............. 0x10000300 pDevice->resource........ 0 pDevice->type............ 2 pDevice->pDriver......... 0x81e76944 ERROR: OALKitlInit: No supported KITL device at interface 0 bus 0 location 0x10000000 XSCDBG:Trace initialized: CFG:81eb716c Buffer: 81eb5c50, 14f0 Error Reporting Memory Reserved, dump size = 00020000 Booting Windows CE version 5.00 for (ARM) &pTOC = 80109d4c, pTOC = 81e68a04, pTOC->ulRamFree = 81ef5000, MemForPT = 00000000 Booting kernel with existing memory configuration: Memory Sections: [0] : start: 81ef6000, extension: 00007000, length: 060e3000 Sp=ffffc7cc ARMInit done. Windows CE KernelInit NK Kernel: DEBUGCHK failed in file d:\macallan\private\winceos\coreos\nk\kernel\schedule.c at line 7244 以前利用开发板自带的eboot,修改mainstoneII的config.bib,oemaddrtab_cfg.inc,eboot.bib,可以正常启动wince(内存影射不同,所以需要修改)。现在使用mainstone的内存影射,启动不起来,请问是什么原因? |
|
沙发#
发布于:2007-11-08 12:02
一 做一个不带kitl的版本试试
二 确认一下config.bib,oemaddrtab_cfg.inc,eboot.bib是不是和板子符合的 |
|
板凳#
发布于:2007-11-08 15:13
现在已经正常启动了,重新建了工程编译就好了。可能跟我的电脑有关系,编译到后来都出现莫名其妙的编译错误。现在好,感谢dillonhua!
|
|
地板#
发布于:2007-11-09 10:05
不好意思,不是重新建工程就OK。而是设定了IMGFLASH=,取消xip才能在ram启动的。一旦set IMGFLASH=1,选择xip,就不能启动。在debug模式下消息如上。如果在release下,消息如下:
Download file information: ------------------------------------------------------------------------------- [0]: Address=0x80100000 Length=0xF04238 Name= ****** OEMVerifyMemory checking physical range [ 0xA0100000 ==> 0xA1004237 ]... ****** RAM address ****** rom_offset=0x0. ROMHDR at Address 80100044h Download successful! Jumping to image at 0x80101000 (physical 0xA0101000)... Got EDBG_CMD_JUMPIMG Got EDBG_CMD_CONFWindows CE Kernel for ARM (Thumb Enabled) Built on Feb 8 2007 at 23:36:51 ProcessorType=0411 Revision=7 sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 8010791c XSCDBG:Trace initialized: CFG:81030d0c Buffer: 8102f7f8, 14f0 请问应该怎么解决xip启动问题? |
|
地下室#
发布于:2007-11-09 10:18
set IMGFLASH=1
是表示你做的这个image是需要烧到flash里面的,所以在ram下可能跑不起来,因为image的包头的地址就是flash里的地址,xip好象是需要注册表的修改,生成多个img,具体的在坛子里搜索一下xip,很多人都用过 |
|
5楼#
发布于:2007-11-09 15:39
恩,已经全部搞定了。在flash中可以运行了。同时修改了eboot支持拷贝到SDRAM运行。谢谢dillonhua兄!
|
|
6楼#
发布于:2007-11-09 15:45
呵呵,送点分吧(开玩笑)
|
|
7楼#
发布于:2007-11-09 17:00
很少进论坛,还不知道怎么才能给你分数,见笑了。zhougongshuang@vip.sina.com,告诉我送分方式吧,呵呵!
|
|