天嵌 ARM开发社区

 找回密码
 注册
查看: 4470|回复: 2

烧系统,nand上wince无法启动了。。

[复制链接]
qingqng 发表于 2010-2-1 21:35:09 | 显示全部楼层 |阅读模式
本帖最后由 qingqng 于 2010-2-1 21:49 编辑

nor启动功能完好,nand上eboot也跑得起来,wince貌似烧不进去的样子,就算是nor上用uboot格式化nand之后(9-1-y),按照步骤先1传setpldr,2传eboot,b传logo图。关机&开机,空格进入eboot,9,再格一遍系统区,b,保护,u传系统w35-2。系统传完了可以进桌面,但是转眼就死机。。这样试了好几次也没用,实在是很头疼啊

nand启动信息如下
ReadData: failed to read sector (0x4a12).
ERROR: ReadOSImageFromBootMedia: Failed to read kernel region from partition.
OEMPlatformInit ERROR: Failed to load kernel region into RAM.

eboot下格式化信息如下
Enter your selection: 9
Enter TQ2440 FastLowLevelFormat [0x10, 0x7ff].
Format TQ2440 Nand Flash: found a bad block (0x46c) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x4be) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x522) - skipping...
Format TQ2440 Nand Flash: found a bad block (0x665) - skipping...
Format TQ2440 Nand Flash: ...erase complete.
WriteMBR: MBR block = 0x10.
BP_FastLowLevelFormat: Done.


烧写系统信息如下
Enter your selection: u

USB host is connected. Waiting a download.

Addr: 0x3000000 ; Size: 0x1ABDBF9
Read Bin Files StartAddr:0x80200000 ; Length: 0x1B216EC

Download BIN file information:
-----------------------------------------------------
[0]: Base Address=0x80200000  Length=0x1b216ec
-----------------------------------------------------
+=OEMVerifyMemory+ dwStartAddr:0x80200000  dwLength:0x1b216ec
RAM image 0xa 0x81d216eb
rom_offset=0x0.
ROMHDR at Address 80200044h
Writing single region/multi-region update, dwBINFSPartLength: 28448492
CreatePartition: Enter CreatePartition for 0x21.
LastLogSector: Last log sector is: 0x7ebff.
CreatePartition: Start = 0x1100, Num = 0xda00.
WriteMBR: MBR block = 0x10.
WriteData: Start = 0x0, Length = 0x1b216ec.
Updateded TOC!
CreatePartition: Enter CreatePartition for 0xb.
FindFreeSector: FreeSector is: 0xeb00 after processing part 0x21.
CreatePartition: Num sectors set to 0x6fc00 to allow for compaction blocks.
CreatePartition: Start = 0xeb00, Num = 0x6fc00.
WriteMBR: MBR block = 0x10.
TOC {
dwSignature: 0x434F544E
BootCfg {
  ConfigFlags: 0x2830
  BootDelay: 0x1
  ImageIndex: 1
  IP: 192.168.1.6
  MAC Address: 10:23:45:67:89:AB
  Port: 0.0.0.0
  SubnetMask: 255.255.255.0
}
ID[0] {
  dwVersion: 0x20004
  dwSignature: 0x45424F54
  String: 'eboot.nb0'
  dwImageType: 0x2
  dwTtlSectors: 0x400
  dwLoadAddress: 0x80038000
  dwJumpAddress: 0x80038000
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x400
  sgList[0].dwLength: 0x400
}
ID[1] {
  dwVersion: 0x1
  dwSignature: 0x43465348
  String: ''
  dwImageType: 0x2
  dwTtlSectors: 0xD90C
  dwLoadAddress: 0x80200000
  dwJumpAddress: 0x80201000
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x2100
  sgList[0].dwLength: 0xD90C
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
waitforconnect
INFO: OEMLaunch: Jumping to Physical Address 醀indows CE Kernel for ARM (Thumb E
nabled) Built on Aug  4 2008 at 18:38:38
ProcessorType=0920  Revision=0
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 802010e8
+OEMInit
DCache: 8 sets, 64 ways, 32 line size, 16384 size
ICache: 8 sets, 64 ways, 32 line size, 16384 size
InitDisplay:320*240
-OEMInit
Sp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
FMD_OEMIoControl: unrecognized IOCTL (0x71c24).
OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
OEMIoControl: Unsupported Code 0x10100c4 - device 0x0101 func 49
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
OEMIoControl: Unsupported Code 0x10100f8 - device 0x0101 func 62
INFO: CReg2440Uart::CReg2440Uart using processor frequency reported by the OAL (
66666666).
INFO: CReg2440Uart::CReg2440Uart using processor frequency reported by the OAL (
66666666).
I2C Init
IIC IRQ mapping: [IRQ:27->sysIRQ:20].
INFO: WAVEDEV.DLL: SetI2SClockRate:  Using processor frequency reported by the O
AL (66666666).
Prescaler:3
           PWM: DLL_PROCESS_ATTACH
INFO: DAC_Init:: using processor frequency reported by the OAL (66666666).
::: PWM_Init Sucessfully.
<Davicom DM9000 driver v3.2.7 for WinCE 4.2/5.0>
<DM9:++MiniportIntialize>
                         [dm9: Tries to map io space with 20000300
[dm9: The mapped address is 2F0300
[dm9: Chip signature is 0A469000
<DM9:--MiniportInitialize>
                          CAM clock:24000000
CamClockOn = 1
Camera::Product id is 0xffff
Camera:: OV9650 initialize is faile
CAMERA.DLL::InterruptThread Initialized.
CAMERA: CIS_Open
CIS: IOCTL_POWER_CAPABILITIES
CAMERA: CIS_Open
CAMERA: CIS_Close
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions at (Driver
s\BuiltIn\AFD). Driver cannot be unloaded.
                                          DeviceFolder::LoadDevice!Enumerate Fou
nd deprecated load instructions at (Drivers\BuiltIn\PPP). Driver cannot be unloa
ded.
    HW_USBClocks::D0
GPIO Initialize ...OK !!!
                         INT_Init----
INT_GPIO_Setting----
S3C2440DISP::S3C2440DISP
OEMIoControl: Unsupported Code 0x10100fc - device 0x0101 func 63
S3C2440DISP::SetMode
Lyg.p: Layout Manager successfully initialized to  2
Maximum Allowed Error 7:
CamClockOn = 0
Explorer(V2.0) taskbar thread started.
NDISPWR:: Found adapter [DM9CE1]
***********如果在eboot烧写系统时,按b-u这种,省去9的话,最前面还有一段skipping 0x0~0xf等一段。。。


镜像应该是好的,以前烧过。看起来是烧写系统时,nand地址不对?还是因为别的问题?
在烧wince之前有过一次失败的linux刷新过程。。。。现在是qt了,要不要我再刷一次wince?


发完帖之后又刷了次qt,成功。。。。有点头大:L
自学arm非常艰辛啊。。以前积累的知识完全不够,我有点电脑软硬常识,按照电脑的基本思路研究arm,在制造错误和修复错误中“痛苦挣扎”,同情心的路过人士救命啊```
 楼主| qingqng 发表于 2010-2-1 22:46:54 | 显示全部楼层
在qt基础上重刷wince搞定了,不过我依然非常困惑。。。
是我的步骤不对还是wince不能在空白nand上刷?
回复

使用道具 举报

亚瑟王 发表于 2010-2-3 18:33:26 | 显示全部楼层
在你给出来的那个串口信息中是烧写OK的信息?还是失败的信息?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-5-1 12:27 , Processed in 2.044020 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表