ViewBin... NK.bin
Image Start = 0x80200000, length = 0x010EE9B0
Record [ 0] : Start = 0x80200000, Length = 0x00000004, Chksum = 0x00000221
Record [ 1] : Start = 0x80200040, Length = 0x00000008, Chksum = 0x0000028C
Record [ 2] : Start = 0x80200048, Length = 0x00000004, Chksum = 0x000000DC
Record [ 3] : Start = 0x80201000, Length = 0x0008E590, Chksum = 0x01D88BB8
Record [ 4] : Start = 0x8028F590, Length = 0x00002B28, Chksum = 0x000A1527
.........
然后打开NK.nb0,发现的确是写到0x80201000处.但我调用 go 0x30200000和 g0 0x302010000都不行.
go 命令是没有问题的,可以通过go 来启动linux系统.另外一点在网上查了资料,有很多帖子说通过tftp命令把NK.nb0放到0x30200000后,调用go 0x30200000,就可以启动wince了.难道我通过U盘读NK.nb0到0x30200000不行么?盼望高手指点下迷津.不胜感激!
18 个解决方案
#1
看上去没什么问题
#2
是啊,我查了好久也没查出问题来.但平台就是起不来,不知道是哪里没设置对.我的config.bib配置如下
NK 80200000 02000000 RAMIMAGE
RAM 82200000 01E00000 RAM
ROMSTART = 80200000
ROMWIDTH = 32
ROMSIZE = 02000000
有没有碰到过类似的现象的?
NK 80200000 02000000 RAMIMAGE
RAM 82200000 01E00000 RAM
ROMSTART = 80200000
ROMWIDTH = 32
ROMSIZE = 02000000
有没有碰到过类似的现象的?
#3
补充下,当运行go 30200000后,串口输出## Starting application at 0x30200000 ...平台hold住,此时屏有红色点阵输出.
#4
1. UBoot 中有沒有開 MMU, NK StartUp 中有沒有關MMU??
2. 加 debug message 試試看跑到哪裏??
Paul, Chao @ Techware
2. 加 debug message 試試看跑到哪裏??
Paul, Chao @ Techware
#5
请教下Paul,NK中应该把MMU关掉么?我在uboot中是已经关了MMU的
#6
折腾了好久,发现uboot使用的是串口0,wince编译的时候使用的是串口1,导致串口没有打印.把wince编译改成串口0后,有打印,但显示一半就挂了.如下:
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
OEMIoControl: Unsupported Code 0x1010104 - device 0x0101 func 65
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
这是什么原因引起大的?
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
OEMIoControl: Unsupported Code 0x1010104 - device 0x0101 func 65
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
这是什么原因引起大的?
#7
一般来说在运行WinCE之前需要对主芯片进行设置,很有可能是UBoot没有为WinCE的运行环境设置正确,请查下UBoot与WinCE 是否匹配。
#8
7楼大大有没有具体点需要配置哪些参数之类的?给个提示
#9
1. LZ 是不是用 BinFS??
2. 先用 EBoot 把 NAND flash format.
Paul, Chao @ Techware
2. 先用 EBoot 把 NAND flash format.
Paul, Chao @ Techware
#10
nand没有用BinFS格式化,因为是直接上uboot,然后把NK.nb0文件写入SDRAM,go 运行.用eboot引导wince已经实现了,就是觉得太麻烦,想直接从uboot来引导.不过9楼的指导是个思路,先实践下,晚点把结果贴出来.
#11
实验过了,先用eboot BinFS格式化NAND,然后在uboot下把NK.nb0烧到SDRAM 0x30200000处,运行go还是不行,打印信息如下:
SMDK2416 # go 30200000
## Starting application at 0x30200000 ...
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
运行到这里就hold了.我有试过把eboot和NK.bin同时写入nand,再在uboot下把NK.nb0烧到SDRAM 0x30200000处,运行go 0x30200000,此时串口打印信息
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
Arguments area has some values
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
OEMIoControl: Unsupported Code 0x1010104 - device 0x0101 func 65
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
OEM: Not Cleaning system hive
OEM: Not Cleaning user profiles
DEBUG: CreateSerialObject 0
NLedDriverInitialize
DEBUG: CreateSerialObject 2
Audio Input IRQ(DMA1) mapping: [IRQ:41->sysIRQ:23].
Audio Output IRQ(DMA2) mapping: [IRQ:42->sysIRQ:24].
384 clock
++HSP_Init Function
Active Path : Drivers\Active\09
HW_Init is completed
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
ThreadForSpi thread is created
<Davicom 9000A driver v3.04 for WinCE 5.0>
<DM9:++MiniportIntialize> 0x390000
<DM9:++MiniportIntialize> 0x390000
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
[HSMMC1] Initializing the HSMMC Host Controller
[HSMMC1] Turn OFF the F/B delay control.
InitializeOHCI
HOST CAP : 4
[HSMMC1] Card Insertion or Removal Detect!!
[HSMMC1] Card is Inserted!
USB Serial Function Class Enabled : Serial_Class
--S3C2450DISP() 2D Accelerator Initialization Succeed
2D Sysintr : 32
--S3C2450DISP() 2D Acclerator Interrupt Initialization Succeed.
[HSMMC1] Turn OFF the F/B delay control.
@@@ CSDHController::EnableCardDetectInterrupt
[HSMMC1] Setting for 1 bit mode , Clock Rate = 100000 Hz
[HSMMC1] Turn OFF the F/B delay control.
ERR CMD:5 : If the card is not a SDIO, CMD 5 does not work in reason.
ERR CMD:1 : If the card is not a MMC, CMD 1 does not work in reason.
[KBD] v_pIOPregs mapped at 1c0000
[KBD] v_pINTregs mapped at 1d0000
++Ps2Keybd::KeybdPowerOn
IsrThreadProc:
INFo: Irq(0x1)-->SysIntr(0x21)
INFo: Irq(0x2)-->SysIntr(0x22)
INFo: Irq(0x3)-->SysIntr(0x23)
INFo: Irq(0x37)-->SysIntr(0x24)
wait_for_keybd_interrupt
Lyg.p: Layout Manager successfully initialized to 2
Maximum Allowed Error 7:
[SDBUS] SD/SDHC supports the high-speed mode.
Write Protected 0x0
[HSMMC1] Setting for 4 bit mode , Clock Rate = 50000000 Hz
[HSMMC1] Turn OFF the F/B delay control.
MSIM: IM_ReadRegistry read KB 5
Explorer(V2.0) taskbar thread started.
NDISPWR:: Found adapter [DM9CE1]
PWM: PBT_TRANSITION to system power state [Flags: 0x0]: 'useridle'
好像是可以起来,但是屏显示不正常(用eboot引导NK.bin屏能正常显示).是不是在用uboot时还需对wince引导进行配置呢?
各位再帮忙指点下.不胜感激!
SMDK2416 # go 30200000
## Starting application at 0x30200000 ...
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
运行到这里就hold了.我有试过把eboot和NK.bin同时写入nand,再在uboot下把NK.nb0烧到SDRAM 0x30200000处,运行go 0x30200000,此时串口打印信息
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
Arguments area has some values
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
OEMIoControl: Unsupported Code 0x1010104 - device 0x0101 func 65
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
OEM: Not Cleaning system hive
OEM: Not Cleaning user profiles
DEBUG: CreateSerialObject 0
NLedDriverInitialize
DEBUG: CreateSerialObject 2
Audio Input IRQ(DMA1) mapping: [IRQ:41->sysIRQ:23].
Audio Output IRQ(DMA2) mapping: [IRQ:42->sysIRQ:24].
384 clock
++HSP_Init Function
Active Path : Drivers\Active\09
HW_Init is completed
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
ThreadForSpi thread is created
<Davicom 9000A driver v3.04 for WinCE 5.0>
<DM9:++MiniportIntialize> 0x390000
<DM9:++MiniportIntialize> 0x390000
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
[HSMMC1] Initializing the HSMMC Host Controller
[HSMMC1] Turn OFF the F/B delay control.
InitializeOHCI
HOST CAP : 4
[HSMMC1] Card Insertion or Removal Detect!!
[HSMMC1] Card is Inserted!
USB Serial Function Class Enabled : Serial_Class
--S3C2450DISP() 2D Accelerator Initialization Succeed
2D Sysintr : 32
--S3C2450DISP() 2D Acclerator Interrupt Initialization Succeed.
[HSMMC1] Turn OFF the F/B delay control.
@@@ CSDHController::EnableCardDetectInterrupt
[HSMMC1] Setting for 1 bit mode , Clock Rate = 100000 Hz
[HSMMC1] Turn OFF the F/B delay control.
ERR CMD:5 : If the card is not a SDIO, CMD 5 does not work in reason.
ERR CMD:1 : If the card is not a MMC, CMD 1 does not work in reason.
[KBD] v_pIOPregs mapped at 1c0000
[KBD] v_pINTregs mapped at 1d0000
++Ps2Keybd::KeybdPowerOn
IsrThreadProc:
INFo: Irq(0x1)-->SysIntr(0x21)
INFo: Irq(0x2)-->SysIntr(0x22)
INFo: Irq(0x3)-->SysIntr(0x23)
INFo: Irq(0x37)-->SysIntr(0x24)
wait_for_keybd_interrupt
Lyg.p: Layout Manager successfully initialized to 2
Maximum Allowed Error 7:
[SDBUS] SD/SDHC supports the high-speed mode.
Write Protected 0x0
[HSMMC1] Setting for 4 bit mode , Clock Rate = 50000000 Hz
[HSMMC1] Turn OFF the F/B delay control.
MSIM: IM_ReadRegistry read KB 5
Explorer(V2.0) taskbar thread started.
NDISPWR:: Found adapter [DM9CE1]
PWM: PBT_TRANSITION to system power state [Flags: 0x0]: 'useridle'
好像是可以起来,但是屏显示不正常(用eboot引导NK.bin屏能正常显示).是不是在用uboot时还需对wince引导进行配置呢?
各位再帮忙指点下.不胜感激!
#12
顶,都没人弄过么?
#13
1. 建議先不要用BinFS
2. 請先將 Hive Registry 移除, 先用 RAM-base Registry 試試看.
Paul, Chao @ Techware
2. 請先將 Hive Registry 移除, 先用 RAM-base Registry 試試看.
Paul, Chao @ Techware
#14
试了Paul所说的方法,再次启动后跳过了这个份错误,的确是这个原因引起的.PB中默认使用的是HIVE注册表,改成RAM-base注册表就能执行下去了.但执行到wait_for_keybd_interrupt这里后系统又hold住了,屏蔽了键盘驱动,仍然会报这样的错误.算了,这是另外一个问题,结贴散分啦
#15
对了,再请教下Paul,为什么我通过uboot,运行go 30200000,总是不能成功引导wince呢?我对比过eboot引导的流程,当加载了键盘驱动后,会执行Explorer(V2.0) taskbar thread started.显示wince桌面图片而成功加载wince.我调试执行到wait_for_keybd_interrupt这里后系统又hold住,屏蔽了键盘及存储设备(SD,USB,MMC等驱动),仍然不行,打印信息如下:
SMDK2416 # go 30200000
## Starting application at 0x30200000 ...
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
NLedDriverInitialize
DEBUG: CreateSerialObject 0
DEBUG: CreateSerialObject 2
Audio Input IRQ(DMA1) mapping: [IRQ:41->sysIRQ:23].
Audio Output IRQ(DMA2) mapping: [IRQ:42->sysIRQ:24].
384 clock
++HSP_Init Function
Active Path : Drivers\Active\08
HW_Init is completed
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
ThreadForSpi thread is created
<Davicom 9000A driver v3.04 for WinCE 5.0>
<DM9:++MiniportIntialize> 0x390000
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
InitializeOHCI
HOST CAP : 4
USB Serial Function Class Enabled : Serial_Class
Data Abort: Thread=83da2ae4 Proc=80fc64f0 'gwes.exe'
AKY=00000009 PC=0004c260(gwes.exe+0x0003c260) RA=00053808(gwes.exe+0x00043808) BVA=08000008 FSR=00000007(已经屏蔽掉了触摸屏,键盘,SD卡,MMC,键盘,display等驱动)
到这里就挂掉了,盼望再次指点下.
SMDK2416 # go 30200000
## Starting application at 0x30200000 ...
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
NLedDriverInitialize
DEBUG: CreateSerialObject 0
DEBUG: CreateSerialObject 2
Audio Input IRQ(DMA1) mapping: [IRQ:41->sysIRQ:23].
Audio Output IRQ(DMA2) mapping: [IRQ:42->sysIRQ:24].
384 clock
++HSP_Init Function
Active Path : Drivers\Active\08
HW_Init is completed
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
ThreadForSpi thread is created
<Davicom 9000A driver v3.04 for WinCE 5.0>
<DM9:++MiniportIntialize> 0x390000
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
InitializeOHCI
HOST CAP : 4
USB Serial Function Class Enabled : Serial_Class
Data Abort: Thread=83da2ae4 Proc=80fc64f0 'gwes.exe'
AKY=00000009 PC=0004c260(gwes.exe+0x0003c260) RA=00053808(gwes.exe+0x00043808) BVA=08000008 FSR=00000007(已经屏蔽掉了触摸屏,键盘,SD卡,MMC,键盘,display等驱动)
到这里就挂掉了,盼望再次指点下.
#16
对了,再请教下Paul,为什么我通过uboot,运行go 30200000,总是不能成功引导wince呢?我对比过eboot引导的流程,当加载了键盘驱动后,会执行Explorer(V2.0) taskbar thread started.显示wince桌面图片而成功加载wince.我调试执行到wait_for_keybd_interrupt这里后系统又hold住,屏蔽了键盘及存储设备(SD,USB,MMC等驱动),仍然不行,打印信息如下:
SMDK2416 # go 30200000
## Starting application at 0x30200000 ...
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
NLedDriverInitialize
DEBUG: CreateSerialObject 0
DEBUG: CreateSerialObject 2
Audio Input IRQ(DMA1) mapping: [IRQ:41->sysIRQ:23].
Audio Output IRQ(DMA2) mapping: [IRQ:42->sysIRQ:24].
384 clock
++HSP_Init Function
Active Path : Drivers\Active\08
HW_Init is completed
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
ThreadForSpi thread is created
<Davicom 9000A driver v3.04 for WinCE 5.0>
<DM9:++MiniportIntialize> 0x390000
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
InitializeOHCI
HOST CAP : 4
USB Serial Function Class Enabled : Serial_Class
Data Abort: Thread=83da2ae4 Proc=80fc64f0 'gwes.exe'
AKY=00000009 PC=0004c260(gwes.exe+0x0003c260) RA=00053808(gwes.exe+0x00043808) BVA=08000008 FSR=00000007(已经屏蔽掉了触摸屏,键盘,SD卡,MMC,键盘,display等驱动)
到这里就挂掉了,盼望再次指点下.
SMDK2416 # go 30200000
## Starting application at 0x30200000 ...
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
NLedDriverInitialize
DEBUG: CreateSerialObject 0
DEBUG: CreateSerialObject 2
Audio Input IRQ(DMA1) mapping: [IRQ:41->sysIRQ:23].
Audio Output IRQ(DMA2) mapping: [IRQ:42->sysIRQ:24].
384 clock
++HSP_Init Function
Active Path : Drivers\Active\08
HW_Init is completed
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
ThreadForSpi thread is created
<Davicom 9000A driver v3.04 for WinCE 5.0>
<DM9:++MiniportIntialize> 0x390000
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
InitializeOHCI
HOST CAP : 4
USB Serial Function Class Enabled : Serial_Class
Data Abort: Thread=83da2ae4 Proc=80fc64f0 'gwes.exe'
AKY=00000009 PC=0004c260(gwes.exe+0x0003c260) RA=00053808(gwes.exe+0x00043808) BVA=08000008 FSR=00000007(已经屏蔽掉了触摸屏,键盘,SD卡,MMC,键盘,display等驱动)
到这里就挂掉了,盼望再次指点下.
#17
AKY=00000009 PC=0004c260(gwes.exe+0x0003c260) RA=00053808(gwes.exe+0x00043808) BVA=08000008 FSR=00000007(已经屏蔽掉了触摸屏,键盘,SD卡,MMC,键盘,display等驱动)
——把和gwes.exe所有相关的驱动全部去掉,楼主最终引导起来了吗?
——把和gwes.exe所有相关的驱动全部去掉,楼主最终引导起来了吗?
#18
再次看到这个帖子,觉得楼主估计是MMU的一些设置问题。
你go 的是物理地址,但是wince 运行时候就是MMU之后的虚拟地址了,估计这个可能性比较大,还有这个你得修改一些注册表,直接用NK.nb0 是不太一样的!
你go 的是物理地址,但是wince 运行时候就是MMU之后的虚拟地址了,估计这个可能性比较大,还有这个你得修改一些注册表,直接用NK.nb0 是不太一样的!
#1
看上去没什么问题
#2
是啊,我查了好久也没查出问题来.但平台就是起不来,不知道是哪里没设置对.我的config.bib配置如下
NK 80200000 02000000 RAMIMAGE
RAM 82200000 01E00000 RAM
ROMSTART = 80200000
ROMWIDTH = 32
ROMSIZE = 02000000
有没有碰到过类似的现象的?
NK 80200000 02000000 RAMIMAGE
RAM 82200000 01E00000 RAM
ROMSTART = 80200000
ROMWIDTH = 32
ROMSIZE = 02000000
有没有碰到过类似的现象的?
#3
补充下,当运行go 30200000后,串口输出## Starting application at 0x30200000 ...平台hold住,此时屏有红色点阵输出.
#4
1. UBoot 中有沒有開 MMU, NK StartUp 中有沒有關MMU??
2. 加 debug message 試試看跑到哪裏??
Paul, Chao @ Techware
2. 加 debug message 試試看跑到哪裏??
Paul, Chao @ Techware
#5
请教下Paul,NK中应该把MMU关掉么?我在uboot中是已经关了MMU的
#6
折腾了好久,发现uboot使用的是串口0,wince编译的时候使用的是串口1,导致串口没有打印.把wince编译改成串口0后,有打印,但显示一半就挂了.如下:
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
OEMIoControl: Unsupported Code 0x1010104 - device 0x0101 func 65
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
这是什么原因引起大的?
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
OEMIoControl: Unsupported Code 0x1010104 - device 0x0101 func 65
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
这是什么原因引起大的?
#7
一般来说在运行WinCE之前需要对主芯片进行设置,很有可能是UBoot没有为WinCE的运行环境设置正确,请查下UBoot与WinCE 是否匹配。
#8
7楼大大有没有具体点需要配置哪些参数之类的?给个提示
#9
1. LZ 是不是用 BinFS??
2. 先用 EBoot 把 NAND flash format.
Paul, Chao @ Techware
2. 先用 EBoot 把 NAND flash format.
Paul, Chao @ Techware
#10
nand没有用BinFS格式化,因为是直接上uboot,然后把NK.nb0文件写入SDRAM,go 运行.用eboot引导wince已经实现了,就是觉得太麻烦,想直接从uboot来引导.不过9楼的指导是个思路,先实践下,晚点把结果贴出来.
#11
实验过了,先用eboot BinFS格式化NAND,然后在uboot下把NK.nb0烧到SDRAM 0x30200000处,运行go还是不行,打印信息如下:
SMDK2416 # go 30200000
## Starting application at 0x30200000 ...
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
运行到这里就hold了.我有试过把eboot和NK.bin同时写入nand,再在uboot下把NK.nb0烧到SDRAM 0x30200000处,运行go 0x30200000,此时串口打印信息
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
Arguments area has some values
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
OEMIoControl: Unsupported Code 0x1010104 - device 0x0101 func 65
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
OEM: Not Cleaning system hive
OEM: Not Cleaning user profiles
DEBUG: CreateSerialObject 0
NLedDriverInitialize
DEBUG: CreateSerialObject 2
Audio Input IRQ(DMA1) mapping: [IRQ:41->sysIRQ:23].
Audio Output IRQ(DMA2) mapping: [IRQ:42->sysIRQ:24].
384 clock
++HSP_Init Function
Active Path : Drivers\Active\09
HW_Init is completed
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
ThreadForSpi thread is created
<Davicom 9000A driver v3.04 for WinCE 5.0>
<DM9:++MiniportIntialize> 0x390000
<DM9:++MiniportIntialize> 0x390000
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
[HSMMC1] Initializing the HSMMC Host Controller
[HSMMC1] Turn OFF the F/B delay control.
InitializeOHCI
HOST CAP : 4
[HSMMC1] Card Insertion or Removal Detect!!
[HSMMC1] Card is Inserted!
USB Serial Function Class Enabled : Serial_Class
--S3C2450DISP() 2D Accelerator Initialization Succeed
2D Sysintr : 32
--S3C2450DISP() 2D Acclerator Interrupt Initialization Succeed.
[HSMMC1] Turn OFF the F/B delay control.
@@@ CSDHController::EnableCardDetectInterrupt
[HSMMC1] Setting for 1 bit mode , Clock Rate = 100000 Hz
[HSMMC1] Turn OFF the F/B delay control.
ERR CMD:5 : If the card is not a SDIO, CMD 5 does not work in reason.
ERR CMD:1 : If the card is not a MMC, CMD 1 does not work in reason.
[KBD] v_pIOPregs mapped at 1c0000
[KBD] v_pINTregs mapped at 1d0000
++Ps2Keybd::KeybdPowerOn
IsrThreadProc:
INFo: Irq(0x1)-->SysIntr(0x21)
INFo: Irq(0x2)-->SysIntr(0x22)
INFo: Irq(0x3)-->SysIntr(0x23)
INFo: Irq(0x37)-->SysIntr(0x24)
wait_for_keybd_interrupt
Lyg.p: Layout Manager successfully initialized to 2
Maximum Allowed Error 7:
[SDBUS] SD/SDHC supports the high-speed mode.
Write Protected 0x0
[HSMMC1] Setting for 4 bit mode , Clock Rate = 50000000 Hz
[HSMMC1] Turn OFF the F/B delay control.
MSIM: IM_ReadRegistry read KB 5
Explorer(V2.0) taskbar thread started.
NDISPWR:: Found adapter [DM9CE1]
PWM: PBT_TRANSITION to system power state [Flags: 0x0]: 'useridle'
好像是可以起来,但是屏显示不正常(用eboot引导NK.bin屏能正常显示).是不是在用uboot时还需对wince引导进行配置呢?
各位再帮忙指点下.不胜感激!
SMDK2416 # go 30200000
## Starting application at 0x30200000 ...
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
运行到这里就hold了.我有试过把eboot和NK.bin同时写入nand,再在uboot下把NK.nb0烧到SDRAM 0x30200000处,运行go 0x30200000,此时串口打印信息
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
Arguments area has some values
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
OEMIoControl: Unsupported Code 0x1010104 - device 0x0101 func 65
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c54)
OEM: Not Cleaning system hive
OEM: Not Cleaning user profiles
DEBUG: CreateSerialObject 0
NLedDriverInitialize
DEBUG: CreateSerialObject 2
Audio Input IRQ(DMA1) mapping: [IRQ:41->sysIRQ:23].
Audio Output IRQ(DMA2) mapping: [IRQ:42->sysIRQ:24].
384 clock
++HSP_Init Function
Active Path : Drivers\Active\09
HW_Init is completed
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
ThreadForSpi thread is created
<Davicom 9000A driver v3.04 for WinCE 5.0>
<DM9:++MiniportIntialize> 0x390000
<DM9:++MiniportIntialize> 0x390000
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
[HSMMC1] Initializing the HSMMC Host Controller
[HSMMC1] Turn OFF the F/B delay control.
InitializeOHCI
HOST CAP : 4
[HSMMC1] Card Insertion or Removal Detect!!
[HSMMC1] Card is Inserted!
USB Serial Function Class Enabled : Serial_Class
--S3C2450DISP() 2D Accelerator Initialization Succeed
2D Sysintr : 32
--S3C2450DISP() 2D Acclerator Interrupt Initialization Succeed.
[HSMMC1] Turn OFF the F/B delay control.
@@@ CSDHController::EnableCardDetectInterrupt
[HSMMC1] Setting for 1 bit mode , Clock Rate = 100000 Hz
[HSMMC1] Turn OFF the F/B delay control.
ERR CMD:5 : If the card is not a SDIO, CMD 5 does not work in reason.
ERR CMD:1 : If the card is not a MMC, CMD 1 does not work in reason.
[KBD] v_pIOPregs mapped at 1c0000
[KBD] v_pINTregs mapped at 1d0000
++Ps2Keybd::KeybdPowerOn
IsrThreadProc:
INFo: Irq(0x1)-->SysIntr(0x21)
INFo: Irq(0x2)-->SysIntr(0x22)
INFo: Irq(0x3)-->SysIntr(0x23)
INFo: Irq(0x37)-->SysIntr(0x24)
wait_for_keybd_interrupt
Lyg.p: Layout Manager successfully initialized to 2
Maximum Allowed Error 7:
[SDBUS] SD/SDHC supports the high-speed mode.
Write Protected 0x0
[HSMMC1] Setting for 4 bit mode , Clock Rate = 50000000 Hz
[HSMMC1] Turn OFF the F/B delay control.
MSIM: IM_ReadRegistry read KB 5
Explorer(V2.0) taskbar thread started.
NDISPWR:: Found adapter [DM9CE1]
PWM: PBT_TRANSITION to system power state [Flags: 0x0]: 'useridle'
好像是可以起来,但是屏显示不正常(用eboot引导NK.bin屏能正常显示).是不是在用uboot时还需对wince引导进行配置呢?
各位再帮忙指点下.不胜感激!
#12
顶,都没人弄过么?
#13
1. 建議先不要用BinFS
2. 請先將 Hive Registry 移除, 先用 RAM-base Registry 試試看.
Paul, Chao @ Techware
2. 請先將 Hive Registry 移除, 先用 RAM-base Registry 試試看.
Paul, Chao @ Techware
#14
试了Paul所说的方法,再次启动后跳过了这个份错误,的确是这个原因引起的.PB中默认使用的是HIVE注册表,改成RAM-base注册表就能执行下去了.但执行到wait_for_keybd_interrupt这里后系统又hold住了,屏蔽了键盘驱动,仍然会报这样的错误.算了,这是另外一个问题,结贴散分啦
#15
对了,再请教下Paul,为什么我通过uboot,运行go 30200000,总是不能成功引导wince呢?我对比过eboot引导的流程,当加载了键盘驱动后,会执行Explorer(V2.0) taskbar thread started.显示wince桌面图片而成功加载wince.我调试执行到wait_for_keybd_interrupt这里后系统又hold住,屏蔽了键盘及存储设备(SD,USB,MMC等驱动),仍然不行,打印信息如下:
SMDK2416 # go 30200000
## Starting application at 0x30200000 ...
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
NLedDriverInitialize
DEBUG: CreateSerialObject 0
DEBUG: CreateSerialObject 2
Audio Input IRQ(DMA1) mapping: [IRQ:41->sysIRQ:23].
Audio Output IRQ(DMA2) mapping: [IRQ:42->sysIRQ:24].
384 clock
++HSP_Init Function
Active Path : Drivers\Active\08
HW_Init is completed
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
ThreadForSpi thread is created
<Davicom 9000A driver v3.04 for WinCE 5.0>
<DM9:++MiniportIntialize> 0x390000
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
InitializeOHCI
HOST CAP : 4
USB Serial Function Class Enabled : Serial_Class
Data Abort: Thread=83da2ae4 Proc=80fc64f0 'gwes.exe'
AKY=00000009 PC=0004c260(gwes.exe+0x0003c260) RA=00053808(gwes.exe+0x00043808) BVA=08000008 FSR=00000007(已经屏蔽掉了触摸屏,键盘,SD卡,MMC,键盘,display等驱动)
到这里就挂掉了,盼望再次指点下.
SMDK2416 # go 30200000
## Starting application at 0x30200000 ...
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
NLedDriverInitialize
DEBUG: CreateSerialObject 0
DEBUG: CreateSerialObject 2
Audio Input IRQ(DMA1) mapping: [IRQ:41->sysIRQ:23].
Audio Output IRQ(DMA2) mapping: [IRQ:42->sysIRQ:24].
384 clock
++HSP_Init Function
Active Path : Drivers\Active\08
HW_Init is completed
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
ThreadForSpi thread is created
<Davicom 9000A driver v3.04 for WinCE 5.0>
<DM9:++MiniportIntialize> 0x390000
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
InitializeOHCI
HOST CAP : 4
USB Serial Function Class Enabled : Serial_Class
Data Abort: Thread=83da2ae4 Proc=80fc64f0 'gwes.exe'
AKY=00000009 PC=0004c260(gwes.exe+0x0003c260) RA=00053808(gwes.exe+0x00043808) BVA=08000008 FSR=00000007(已经屏蔽掉了触摸屏,键盘,SD卡,MMC,键盘,display等驱动)
到这里就挂掉了,盼望再次指点下.
#16
对了,再请教下Paul,为什么我通过uboot,运行go 30200000,总是不能成功引导wince呢?我对比过eboot引导的流程,当加载了键盘驱动后,会执行Explorer(V2.0) taskbar thread started.显示wince桌面图片而成功加载wince.我调试执行到wait_for_keybd_interrupt这里后系统又hold住,屏蔽了键盘及存储设备(SD,USB,MMC等驱动),仍然不行,打印信息如下:
SMDK2416 # go 30200000
## Starting application at 0x30200000 ...
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
NLedDriverInitialize
DEBUG: CreateSerialObject 0
DEBUG: CreateSerialObject 2
Audio Input IRQ(DMA1) mapping: [IRQ:41->sysIRQ:23].
Audio Output IRQ(DMA2) mapping: [IRQ:42->sysIRQ:24].
384 clock
++HSP_Init Function
Active Path : Drivers\Active\08
HW_Init is completed
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
ThreadForSpi thread is created
<Davicom 9000A driver v3.04 for WinCE 5.0>
<DM9:++MiniportIntialize> 0x390000
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
InitializeOHCI
HOST CAP : 4
USB Serial Function Class Enabled : Serial_Class
Data Abort: Thread=83da2ae4 Proc=80fc64f0 'gwes.exe'
AKY=00000009 PC=0004c260(gwes.exe+0x0003c260) RA=00053808(gwes.exe+0x00043808) BVA=08000008 FSR=00000007(已经屏蔽掉了触摸屏,键盘,SD卡,MMC,键盘,display等驱动)
到这里就挂掉了,盼望再次指点下.
SMDK2416 # go 30200000
## Starting application at 0x30200000 ...
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 4 2008 at 18:38:38
ProcessorType=0926 Revision=5
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80253180
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
FCLK:400000000, HCLK:133333333, PCLK:66666666
-OEMInit\nSp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
[FMD:INF] MID = 0xec, MID = 0xf1, HID[0] = 0x00, HID[1] = 0x95, HID[2] = 0x40
#### Warning:NAND_LB_ReadSectorInfo Spare ECC operation for SectorInfo failed
[FMD:ERR] FMD_OEMIoControl() : Unknown IOCTL (0x00071c24)
NLedDriverInitialize
DEBUG: CreateSerialObject 0
DEBUG: CreateSerialObject 2
Audio Input IRQ(DMA1) mapping: [IRQ:41->sysIRQ:23].
Audio Output IRQ(DMA2) mapping: [IRQ:42->sysIRQ:24].
384 clock
++HSP_Init Function
Active Path : Drivers\Active\08
HW_Init is completed
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
ThreadForSpi thread is created
<Davicom 9000A driver v3.04 for WinCE 5.0>
<DM9:++MiniportIntialize> 0x390000
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloaded.
InitializeOHCI
HOST CAP : 4
USB Serial Function Class Enabled : Serial_Class
Data Abort: Thread=83da2ae4 Proc=80fc64f0 'gwes.exe'
AKY=00000009 PC=0004c260(gwes.exe+0x0003c260) RA=00053808(gwes.exe+0x00043808) BVA=08000008 FSR=00000007(已经屏蔽掉了触摸屏,键盘,SD卡,MMC,键盘,display等驱动)
到这里就挂掉了,盼望再次指点下.
#17
AKY=00000009 PC=0004c260(gwes.exe+0x0003c260) RA=00053808(gwes.exe+0x00043808) BVA=08000008 FSR=00000007(已经屏蔽掉了触摸屏,键盘,SD卡,MMC,键盘,display等驱动)
——把和gwes.exe所有相关的驱动全部去掉,楼主最终引导起来了吗?
——把和gwes.exe所有相关的驱动全部去掉,楼主最终引导起来了吗?
#18
再次看到这个帖子,觉得楼主估计是MMU的一些设置问题。
你go 的是物理地址,但是wince 运行时候就是MMU之后的虚拟地址了,估计这个可能性比较大,还有这个你得修改一些注册表,直接用NK.nb0 是不太一样的!
你go 的是物理地址,但是wince 运行时候就是MMU之后的虚拟地址了,估计这个可能性比较大,还有这个你得修改一些注册表,直接用NK.nb0 是不太一样的!