xuyuefei1988 发表于 2013-7-24 14:34:19

Wince使用SD启动,没有正常起来

请教:
问题1:如何使用SD卡正确启动WInce?
如何通过SD启动后,如何能像nand启动一样,固化在nand中,而不是像手册提供的方法,每次通过SD启动,里面所有的东西又是全新的,保存的东西都没有了?
问题2:如何通过SD卡启动将eboot、nk等烧写到nand中,通过nand启动而不是SD?

1、自己的操作
SD卡启动,eboot已经起来了,但却死掉了:

Microsoft Windows CE Bootloader Common Library Version 1.4 Built Aug4 2012 11:18:10
Microsoft Windows CE Bootloader for the EmbedSky TQ6410 Version 3.6 Built Aug4 2012
DDRRAM capacity is 128MB
Press to launch image stored on boot media, or to enter boot monitor.

Initiating image launch in 0 seconds.
Filename is "images\EmbedSky.ini", filesize is 857 Bytes.
Filename is "images\EmbedSky.ini", the actual read length is 857 Bytes.
LineCount=33
Filename is "images\logo\logo_A70.bin", fileSize is 768000 Bytes.
...................................................................................................Filename is "images\logo\logo_A70.bin", the actual read length is 768000 Bytes.
Image type is NB0IMAGE or DIOIMAGE
Filename is "images\wince\MLC\block0img_128MB.nb0", fileSize is 73728 Bytes.
..................Read end
.
BL_IMAGE_TYPE_MANIFEST

....
BL_IMAGE_TYPE_UNKNOWN


Download BIN file information:
-----------------------------------------------------
: Base Address=0x0Length=0x12000
-----------------------------------------------------
OEMVerifyMemory: Stepldr image
.ImageStart = 0x0, ImageLength = 0x12000, LaunchAddr = 0x0

Completed file(s):
-------------------------------------------------------------------------------
: Address=0x0Length=0x12000Name="images\wince\MLC\block0img_128MB.nb0" Target=RAM
INFO: Step loader image stored to Smart Media.
Microsoft Windows CE Bootloader Common Library Version 1.4 Built Aug4 2012 11:18:10
Microsoft Windows CE Bootloader for the EmbedSky TQ6410 Version 3.6 Built Aug4 2012
DDRRAM capacity is 128MB
Press to launch image stored on boot media, or to enter boot monitor.

Initiating image launch in 0 seconds.
Filename is "images\EmbedSky.ini", filesize is 857 Bytes.
Filename is "images\EmbedSky.ini", the actual read length is 857 Bytes.
LineCount=33
Filename is "images\wince\MLC\IROM_SD_EBOOT_128MB_MLC_A70TN92_V1.2.nb0", fileSize is 532480 Bytes.
.....................................................................................................
BL_IMAGE_TYPE_UNKNOWN

WARNING: OEMMultiBINNotify: Invalid BIN region descriptor(s).
OEMVerifyMemory: Stepldr image
.ImageStart = 0x1000, ImageLength = 0x100, LaunchAddr = 0x1000

Completed file(s):
-------------------------------------------------------------------------------
ROMHDR at Address 00001044h
INFO: Step loader image stored to Smart Media.
Microsoft Windows CE Bootloader Common Library Version 1.4 Built Aug4 2012 11:18:10
Microsoft Windows CE Bootloader for the EmbedSky TQ6410 Version 3.6 Built Aug4 2012
DDRRAM capacity is 128MB
Press to launch image stored on boot media, or to enter boot monitor.


Filename is "images\EmbedSky.ini", filesize is 857 Bytes.
Filename is "images\EmbedSky.ini", the actual read length is 857 Bytes.
LineCount=33
Filename is "images\wince\MLC\NK_128MB_MLC_A70TN92_V1.2.bin", fileSize is 51746451 Bytes.
..................................................................................Filename is "images\wince\MLC\NK_128MB_MLC_A70TN92_V1.2.bin", the actual read length is 51746451 Bytes.
.
BL_IMAGE_TYPE_BIN


Download BIN file information:
-----------------------------------------------------
: Base Address=0x80100000Length=0x31E4624
-----------------------------------------------------
OEMVerifyMemory: RAM image
...省略了点
..................................rom_offset=0x0.
.......ImageStart = 0x80100000, ImageLength = 0x31E4624, LaunchAddr = 0x80101000

Completed file(s):
-------------------------------------------------------------------------------
: Address=0x80100000Length=0x31E4624Name="" Target=RAM
ROMHDR at Address 80100044h
Module Name: nk.exe
INFO: WriteOSImageToBootMedia: RegionStart:0x80100000, RegionLength:0x31E4624, pExt:0x80101790
INFO: WriteOSImageToBootMedia: Found chain extension: '' @ 0x80100000
BIN Region Number : 0
g_dwTocEntry : 1
TOC {
dwSignature: 0x434F544E
BootCfg {
ConfigFlags: 0x11810
BootDelay: 0x1
ImageIndex: 1
Boot Device: SD/MMC
ProgressBar type: CambridgeBlue
IP: 192.168.1.6
MAC Address: 10:23:45:67:89:AB
Port: 0.0.0.0
SubnetMask: 255.255.255.0
}
ID {
dwVersion: 0x30006
dwSignature: 0x45424F54
String: 'eboot.nb0'
dwImageType: 0x2
dwTtlSectors: 0x1E7
dwLoadAddress: 0x80030000
dwJumpAddress: 0x8004C720
dwStoreOffset: 0x0
sgList.dwSector: 0x1800
sgList.dwLength: 0x1E7
}
ID {
dwVersion: 0x1
dwSignature: 0x43465348
String: ''
dwImageType: 0x2
dwTtlSectors: 0x18F24
dwLoadAddress: 0x80100000
dwJumpAddress: 0x0
dwStoreOffset: 0x0
sgList.dwSector: 0x0
sgList.dwLength: 0x18F24
}
!!!Invalid Image Descriptor: id=0x0
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
TOC_Write done !
g_dwTocEntry : 1
TOC {
dwSignature: 0x434F544E
BootCfg {
ConfigFlags: 0x11810
BootDelay: 0x1
ImageIndex: 1
Boot Device: SD/MMC
ProgressBar type: CambridgeBlue
IP: 192.168.1.6
MAC Address: 10:23:45:67:89:AB
Port: 0.0.0.0
SubnetMask: 255.255.255.0
}
ID {
dwVersion: 0x30006
dwSignature: 0x45424F54
String: 'eboot.nb0'
dwImageType: 0x2
dwTtlSectors: 0x1E7
dwLoadAddress: 0x80030000
dwJumpAddress: 0x8004C720
dwStoreOffset: 0x0
sgList.dwSector: 0x1800
sgList.dwLength: 0x1E7
}
ID {
dwVersion: 0x1
dwSignature: 0x43465348
String: ''
dwImageType: 0x2
dwTtlSectors: 0x18F24
dwLoadAddress: 0x80100000
dwJumpAddress: 0x80101000
dwStoreOffset: 0x0
sgList.dwSector: 0x0
sgList.dwLength: 0x18F24
}
!!!Invalid Image Descriptor: id=0x0
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
INFO: OEMLaunch: Jumping to Physical Address 0x50101000h (Virtual Address 0x80101000h)...
C????
死在了这里!!


EmbedSky.ini部分

#### This is TQ2440/SKY2440/TQ6410/SKY6410 SD config files ####
operating condition=install
OS Type=WinCE
LED indicator=on
Beep=on

#### Others ####
bootloader=images\bootloader\u-boot_movi_128MB_TN92_V1.4.bin
LOGO=images\logo\logo_A70.bin
#### Others end ####

#### Linux ####
kernel=
rootfs=
#### Linux end ####

#### Windows CE ####
stepldr=images\wince\MLC\block0img_128MB.nb0
eboot=images\wince\MLC\IROM_SD_EBOOT_128MB_MLC_A70TN92_V1.2.nb0
NK=images\wince\MLC\NK_128MB_MLC_A70TN92_V1.2.bin
#### Windows CE end ####


2、想着烧写到nand中
sd启动按空格键:
……
------------- NAND Flash Section -------------
A) Erase All Blocks(Format FIL)
7) Format VFL (Format FIL + VFL Format)
8) Format FTL (Erase FTL Area + FTL Format)
M) MLC Low level test
--------- Download and Launch Section --------
S) Switch Boot Device :
      { Options : *Ethernet, USB_DNW, SD/MMC }
J) Progress Bar Type :
      { Options : Yellow,Gray,CambridgeBlue,Deongaree,Green,reserve1,reserve2, }
T) Download Target:
D) Download or Program image(OS image will be launched)
B) Download and Write Logo Picture to NAND Storage
Q) SD Download or Program image(OS image will be launched)
L) LAUNCH existing Boot Media image

Enter your selection: d
Please send the Image through USB with DNW.

然后按照手册的方法usb下载->Eboot(Uboot我也试了,这里手册图和文字不统一)
然后依次选择block0img.nb0
准备下载文件: D:\xuyuefei\Linux\TQ6410&2440\TQ6410_CD\出厂烧录镜像合集\群创7寸屏的镜像\wince\stepldr_block0img\block0img_128MB.nb0

下载属性:
文件大小      : 73728 (0MB)
起始地址      : 0x30000000
结束地址      : 0x30012000

开始下载...

BL_IMAGE_TYPE_MANIFEST


BL_IMAGE_TYPE_UNKNOWN


Download BIN file information:
-----------------------------------------------------
: Base Address=0x0Length=0x12000
-----------------------------------------------------
OEMVerifyMemory: Stepldr image

下载完成
ader image stored to Smart Media.Please Reboot.Halting...
SpinForever...

好吧,这里很奇怪,重启板子吧,然后重复上面的动作,烧写ebot和nk
结果好像和上面直接通过SD卡启动的结果一样,就不贴出来了,死掉了


xuyuefei1988 发表于 2013-7-24 14:35:41

关键上面通过上述2的内容,sd启动烧写到nand中,经过上面的步骤,重新拨码开关到nand,什么反应都没有……

Jangel 发表于 2013-7-24 14:52:34

LZ拨码开关有没有拨正确?

xuyuefei1988 发表于 2013-7-24 14:52:37

本帖最后由 xuyuefei1988 于 2013-7-24 14:57 编辑

: Address=0x80100000Length=0x31E4624Name="" Target=RAM
ROMHDR at Address 80100044h
Module Name: nk.exe
INFO: WriteOSImageToBootMedia: RegionStart:0x80100000, RegionLength:0x31E4624, pExt:0x80101790
INFO: WriteOSImageToBootMedia: Found chain extension: '' @ 0x80100000
BIN Region Number : 0

按照手册来这最后一步似乎也到了,然后手册上说耐心等待烧写到nand中……
等待了一会:
下载完成
rom_offset=0x0.
ImageStart = 0x80100000, ImageLength = 0x31E4624, LaunchAddr = 0x80101000

Completed file(s):
-------------------------------------------------------------------------------
: Address=0x80100000Length=0x31E4624Name="" Target=RAM
ROMHDR at Address 80100044h
Module Name: nk.exe
INFO: WriteOSImageToBootMedia: RegionStart:0x80100000, RegionLength:0x31E4624, pExt:0x80101790
INFO: WriteOSImageToBootMedia: Found chain extension: '' @ 0x80100000
BIN Region Number : 0
g_dwTocEntry : 1
TOC {
dwSignature: 0x434F544E
BootCfg {
ConfigFlags: 0x11810
BootDelay: 0x1
ImageIndex: 1
Boot Device: USB_DNW
ProgressBar type: CambridgeBlue
IP: 192.168.1.6
MAC Address: 10:23:45:67:89:AB
Port: 0.0.0.0
SubnetMask: 255.255.255.0
}
ID {
dwVersion: 0x30006
dwSignature: 0x45424F54
String: 'eboot.nb0'
dwImageType: 0x2
dwTtlSectors: 0x1E7
dwLoadAddress: 0x80030000
dwJumpAddress: 0x8004C720
dwStoreOffset: 0x0
sgList.dwSector: 0x1800
sgList.dwLength: 0x1E7
}
ID {
dwVersion: 0x1
dwSignature: 0x43465348
String: ''
dwImageType: 0x2
dwTtlSectors: 0x18F24
dwLoadAddress: 0x80100000
dwJumpAddress: 0x0
dwStoreOffset: 0x0
sgList.dwSector: 0x0
sgList.dwLength: 0x18F24
}
!!!Invalid Image Descriptor: id=0x0
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
TOC_Write done !
g_dwTocEntry : 1
TOC {
dwSignature: 0x434F544E
BootCfg {
ConfigFlags: 0x11810
BootDelay: 0x1
ImageIndex: 1
Boot Device: USB_DNW
ProgressBar type: CambridgeBlue
IP: 192.168.1.6
MAC Address: 10:23:45:67:89:AB
Port: 0.0.0.0
SubnetMask: 255.255.255.0
}
ID {
dwVersion: 0x30006
dwSignature: 0x45424F54
String: 'eboot.nb0'
dwImageType: 0x2
dwTtlSectors: 0x1E7
dwLoadAddress: 0x80030000
dwJumpAddress: 0x8004C720
dwStoreOffset: 0x0
sgList.dwSector: 0x1800
sgList.dwLength: 0x1E7
}
ID {
dwVersion: 0x1
dwSignature: 0x43465348
String: ''
dwImageType: 0x2
dwTtlSectors: 0x18F24
dwLoadAddress: 0x80100000
dwJumpAddress: 0x80101000
dwStoreOffset: 0x0
sgList.dwSector: 0x0
sgList.dwLength: 0x18F24
}
!!!Invalid Image Descriptor: id=0x0
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
INFO: OEMLaunch: Jumping to Physical Address 0x50101000h (Virtual Address 0x80101000h)...


C?>????

就跟SD一样了

xuyuefei1988 发表于 2013-7-24 14:58:35

Jangel 发表于 2013-7-24 14:52 static/image/common/back.gif
LZ拨码开关有没有拨正确?

恩,如果不正确,SD启动应该启动不起来吧

Jangel 发表于 2013-7-24 15:04:53

xuyuefei1988 发表于 2013-7-24 14:58 static/image/common/back.gif
恩,如果不正确,SD启动应该启动不起来吧

SD卡启动可以从你描述中推断拨正确,但是nand启动呢

Jangel 发表于 2013-7-24 15:05:59

LZ没有修改源码吧,是使用天嵌的镜像吗?

xuyuefei1988 发表于 2013-7-24 15:08:47

nand我拿到板子时ENT13是on,其他三个off是可以起来的,根据手册是ent13是off,其他三个是on,但这两种我都试了,没有什么反应

xuyuefei1988 发表于 2013-7-24 15:10:20

Jangel 发表于 2013-7-24 15:04 static/image/common/back.gif
SD卡启动可以从你描述中推断拨正确,但是nand启动呢

SD启动与手册上的一致,OM3_4是on,其他事off,能够正常的启动eboot,但系统最后还是没起来

xuyuefei1988 发表于 2013-7-24 15:13:32

本帖最后由 xuyuefei1988 于 2013-7-24 15:15 编辑

Jangel 发表于 2013-7-24 15:05 static/image/common/back.gif
LZ没有修改源码吧,是使用天嵌的镜像吗?
是的,我连名字都没有改过,SD启动,linux能起来,但每次起来都像重装系统,哎——这个再说吧,wince的名字我均未改动,管理员应该能看出来
SD启动linux制作时的ubot是u-boot_movi_128MB_TN92_V1.4.bin,wince是IROM_SD_EBOOT_128MB_MLC_A70TN92_V1.2.nb0

xuyuefei1988 发表于 2013-7-24 15:31:08

Jangel 发表于 2013-7-24 15:05 static/image/common/back.gif
LZ没有修改源码吧,是使用天嵌的镜像吗?

请问,这是什么问题呢?
页: [1]
查看完整版本: Wince使用SD启动,没有正常起来