嵌入式爱好者

查看: 4850|回复: 5

6410/demo/nk.bin的烧写后不能启动

[复制链接]

1

主题

3

帖子

2

积分

扫一扫,手机访问本帖
发表于 2011-1-11 16:39:01 | 显示全部楼层 |阅读模式
烧写步骤:
1.从eboot界面:选择U
2.按F,   9   ,进行擦除。
3.按U下载,中选择nk.bin 文件(位于用户基础资料光盘的“WinCE6.0\demo”目录下)。
wince 停在OEMInit上.  请技术支持。
以下是串口反应:
Ethernet Boot Loader Configuration:

0) IP address: 0.0.0.0
1) Subnet mask: 255.255.255.0
2) DHCP: Disabled
3) Boot delay: 5 seconds
4) Reset to factory default configuration
5) Startup image: LAUNCH EXISTING
6) Program disk image into SmartMedia card: Disabled
7) Program DM9000A MAC address (00:00:00:00:00:00)
8) KITL Configuration: DISABLED
9) Format Boot Media for BinFS

A) Erase All Blocks
B) Mark Bad Block at Reserved Block
C) Clean Boot Option: FALSE
D) Download image now
E) Erase Reserved Block
F) Low-level format the Smart Media card
L) LAUNCH existing Boot Media image
R) Read Configuration
S) Lcd Resolution select(480x272)
U) DOWNLOAD image now(USB)
W) Write Configuration Right Now

Enter your selection: u
System ready!
Preparing for download...
INFO: *** Device Name 'SMDK64100' ***
Please send the Image through USB.

BL_IMAGE_TYPE_BIN


Download BIN file information:
-----------------------------------------------------
[0]: Base Address=0x80150000  Length=0x2311184
-----------------------------------------------------
RAM image
rom_offset=0x0.
ImageStart = 0x80150000, ImageLength = 0x2311184, LaunchAddr = 0x80157734

Completed file(s):
-------------------------------------------------------------------------------
[0]: Address=0x80150000  Length=0x2311184  Name="" Target=RAM
ROMHDR at Address 80150044h
waitforconnect
INFO: OEMLaunch: Jumping to Physical Address 0x50157734h (Virtual Address 0x80157734h)...


Windows CE Kernel for ARM (Thumb Enabled) Built on Sep 25 2009 at 11:04:23
[OAL] ++OEMInit()
[OAL] S3C6410_APLL_CLK   : 532000000
[OAL] ARMCLK : 532000000
[OAL] HCLK   : 133000000
[OAL] PCLK   : 66500000
[OAL] InitializeGPIO()
[OAL] InitializeCLKSource()
[OAL] InitializeCLKGating()
[OAL] InitializeBlockPower()
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
+OALArgsInit()
Arguments area has some values
-OALArgsInit()
+OALTimerInit( 1, 33249, 0 )
-OALIntrRequestSysIntr(irq = 38, sysIntr = 16)
[OAL] --OEMInit()
回复

使用道具 举报

1

主题

3

帖子

2

积分

 楼主| 发表于 2011-1-11 17:11:25 | 显示全部楼层
回复 1# zhhx


    我的光盘中“一件烧录”中的nk.bn(36120159字节)和“demo”目录中nk.bin(36120499字节),两个映像文件有差别。
小小 该用户已被删除
发表于 2011-1-11 17:11:31 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

1

主题

3

帖子

2

积分

 楼主| 发表于 2011-1-11 17:18:11 | 显示全部楼层
回复 3# 小小

还是不行,这是串口反应。
Ethernet Boot Loader Configuration:

0) IP address: 0.0.0.0
1) Subnet mask: 255.255.255.0
2) DHCP: Disabled
3) Boot delay: 5 seconds
4) Reset to factory default configuration
5) Startup image: LAUNCH EXISTING
6) Program disk image into SmartMedia card: Enabled
7) Program DM9000A MAC address (00:00:00:00:00:00)
8) KITL Configuration: DISABLED
9) Format Boot Media for BinFS

A) Erase All Blocks
B) Mark Bad Block at Reserved Block
C) Clean Boot Option: FALSE
D) Download image now
E) Erase Reserved Block
F) Low-level format the Smart Media card
L) LAUNCH existing Boot Media image
R) Read Configuration
S) Lcd Resolution select(480x272)
U) DOWNLOAD image now(USB)
W) Write Configuration Right Now

Enter your selection: f
Reserving Blocks [0x0 - 0x3] ...
...reserve complete.
Low-level format Blocks [0x4 - 0xfff] ...
LB######## Error Erasing block 2156!
LB######## Error Erasing block 2158!
...erase complete.

Ethernet Boot Loader Configuration:

0) IP address: 0.0.0.0
1) Subnet mask: 255.255.255.0
2) DHCP: Disabled
3) Boot delay: 5 seconds
4) Reset to factory default configuration
5) Startup image: LAUNCH EXISTING
6) Program disk image into SmartMedia card: Enabled
7) Program DM9000A MAC address (00:00:00:00:00:00)
8) KITL Configuration: DISABLED
9) Format Boot Media for BinFS

A) Erase All Blocks
B) Mark Bad Block at Reserved Block
C) Clean Boot Option: FALSE
D) Download image now
E) Erase Reserved Block
F) Low-level format the Smart Media card
L) LAUNCH existing Boot Media image
R) Read Configuration
S) Lcd Resolution select(480x272)
U) DOWNLOAD image now(USB)
W) Write Configuration Right Now

Enter your selection: 9
Enter LowLevelFormat [0x4, 0xfff].
Erasing flash block(s) [0x4, 0xfff] (please wait): EraseBlocks: found a bad block (0x86c) - skipping...
EraseBlocks: found a bad block (0x86e) - skipping...
Done.
WriteMBR: MBR block = 0x4.
Done.


Ethernet Boot Loader Configuration:

0) IP address: 0.0.0.0
1) Subnet mask: 255.255.255.0
2) DHCP: Disabled
3) Boot delay: 5 seconds
4) Reset to factory default configuration
5) Startup image: LAUNCH EXISTING
6) Program disk image into SmartMedia card: Enabled
7) Program DM9000A MAC address (00:00:00:00:00:00)
8) KITL Configuration: DISABLED
9) Format Boot Media for BinFS

A) Erase All Blocks
B) Mark Bad Block at Reserved Block
C) Clean Boot Option: FALSE
D) Download image now
E) Erase Reserved Block
F) Low-level format the Smart Media card
L) LAUNCH existing Boot Media image
R) Read Configuration
S) Lcd Resolution select(480x272)
U) DOWNLOAD image now(USB)
W) Write Configuration Right Now

Enter your selection: w
Successfully Written

Ethernet Boot Loader Configuration:

0) IP address: 0.0.0.0
1) Subnet mask: 255.255.255.0
2) DHCP: Disabled
3) Boot delay: 5 seconds
4) Reset to factory default configuration
5) Startup image: LAUNCH EXISTING
6) Program disk image into SmartMedia card: Enabled
7) Program DM9000A MAC address (00:00:00:00:00:00)
8) KITL Configuration: DISABLED
9) Format Boot Media for BinFS

A) Erase All Blocks
B) Mark Bad Block at Reserved Block
C) Clean Boot Option: FALSE
D) Download image now
E) Erase Reserved Block
F) Low-level format the Smart Media card
L) LAUNCH existing Boot Media image
R) Read Configuration
S) Lcd Resolution select(480x272)
U) DOWNLOAD image now(USB)
W) Write Configuration Right Now

Enter your selection: u
System ready!
Preparing for download...
INFO: *** Device Name 'SMDK64100' ***
Please send the Image through USB.

BL_IMAGE_TYPE_BIN


Download BIN file information:
-----------------------------------------------------
[0]: Base Address=0x80150000  Length=0x2311184
-----------------------------------------------------
RAM image
rom_offset=0x0.
ImageStart = 0x80150000, ImageLength = 0x2311184, LaunchAddr = 0x80157734

Completed file(s):
-------------------------------------------------------------------------------
[0]: Address=0x80150000  Length=0x2311184  Name="" Target=RAM
ROMHDR at Address 80150044h
TOC {
dwSignature: 0x434F544E
BootCfg {
  ConfigFlags: 0x20830
  BootDelay: 0x5
  ImageIndex: 1
  IP: 0.0.0.0
  MAC Address: 00:00:00:00:00:00
  Port: 0.0.0.0
  SubnetMask: 255.255.255.0
}
ID[0] {
  dwVersion: 0x20004
  dwSignature: 0x45424F54
  String: 'eboot.nb0'
  dwImageType: 0x2
  dwTtlSectors: 0x3C
  dwLoadAddress: 0x80030000
  dwJumpAddress: 0x800420F4
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x100
  sgList[0].dwLength: 0x3C
}
ID[1] {
  dwVersion: 0x1
  dwSignature: 0x43465348
  String: ''
  dwImageType: 0x2
  dwTtlSectors: 0x4623
  dwLoadAddress: 0x80150000
  dwJumpAddress: 0x80157734
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x480
  sgList[0].dwLength: 0x4623
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
+WriteOSImageToBootMedia: g_dwTocEntry =1, ImageStart: 0x80150000, ImageLength: 0x2311184, LaunchAddr:0x80157734
INFO: OEMLaunch: Found chain extenstion: '' @ 0x80150000
Writing single region/multi-region update, dwBINFSPartLength: 36770180
IsValidMBR: block = 0x0.
IsValidMBR: block = 0x1.
IsValidMBR: block = 0x2.
IsValidMBR: block = 0x3.
IsValidMBR: MBR sector = 0x200 (valid MBR)
OpenPartition: Partition Exists=0x0 for part 0x21.
CreatePartition: Enter CreatePartition for 0x21.
LastLogSector: Last log sector is: 0x7fc7f.
CreatePartition: Start = 0x280, Num = 0x4680.
Log2Phys: Logical 0x280 -> Physical 0x480
WriteMBR: MBR block = 0x4.
BP_SetDataPointer at 0x0
Log2Phys: Logical 0x280 -> Physical 0x480
############################################################################################################################################
Write OS to Nand Flash finished!!!
Updateded TOC!
IsValidMBR: block = 0x0.
IsValidMBR: block = 0x1.
IsValidMBR: block = 0x2.
IsValidMBR: block = 0x3.
IsValidMBR: MBR sector = 0x200 (valid MBR)
OpenPartition: Partition Exists=0x0 for part 0xb.
CreatePartition: Enter CreatePartition for 0xb.
FindFreeSector: FreeSector is: 0x4900 after processing part 0x21.
CreatePartition: Num sectors set to 0x7ae80 to allow for compaction blocks.
CreatePartition: Start = 0x4900, Num = 0x7ae80.
WriteMBR: MBR block = 0x4.
-WriteOSImageToBootMedia
waitforconnect
INFO: OEMLaunch: Jumping to Physical Address 0x50157734h (Virtual Address 0x80157734h)...


Windows CE Kernel for ARM (Thumb Enabled) Built on Sep 25 2009 at 11:04:23
[OAL] ++OEMInit()
[OAL] S3C6410_APLL_CLK   : 532000000
[OAL] ARMCLK : 532000000
[OAL] HCLK   : 133000000
[OAL] PCLK   : 66500000
[OAL] InitializeGPIO()
[OAL] InitializeCLKSource()
[OAL] InitializeCLKGating()
[OAL] InitializeBlockPower()
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
+OALArgsInit()
Arguments area has some values
-OALArgsInit()
+OALTimerInit( 1, 33249, 0 )
-OALIntrRequestSysIntr(irq = 38, sysIntr = 16)
[OAL] --OEMInit()


WinCE 6.0 Steploader for SMDK6410

Launch Eboot...


Microsoft Windows CE Bootloader Common Library Version 1.4 Built Aug  8 2010 13:24:59
Microsoft Windows CE Bootloader for the Samsung SMDK6410 Version 2.4 Built Aug 15 2010

+OALArgsInit()
SocID:0x36410101
Arguments area is initialized
-OALArgsInit()
INFO: (unsigned)C_IsrHandler : 0x8003FEF4
INFO: (unsigned)ASM_IsrHandler : 0x800424DC
INFO: (unsigned)pISR : 0xEA01092F
BP_Init
[FMD] ++FMD_Init() ****
[FMD:INF] FMD_Init() : Read ID = 0x0000ecd3
[FMD] FMD_Init() : NUM_OF_BLOCKS = 4096
[FMD] FMD_Init() : PAGES_PER_BLOCK = 128
[FMD] FMD_Init() : SECTORS_PER_PAGE = 4
[FMD] --FMD_Init()
[FMD] FMD_GetInfo() : NUMBLOCKS = 4096(0x1000), SECTORSPERBLOCK = 128(0x80), BYTESPERSECTOR = 2048(0x800)
[FMD] FMD_GetInfo() : NUMBLOCKS = 4096(0x1000), SECTORSPERBLOCK = 128(0x80), BYTESPERSECTOR = 2048(0x800)
wNUM_BLOCKS : 4096(0x1000)
[Eboot] ++InitializeDisplay()
EBOOT_FRAMEBUFFER_PA_START == 53800000
[Eboot] --InitializeDisplay()
Press [ENTER] to launch image stored on boot media, or [SPACE] to enter boot monitor.

Initiating image launch in 0 seconds.

Launching image from boot media ...
OEMPlatformInit: IMAGE_TYPE_RAMIMAGE
RAM image
RAM image
IsValidMBR: block = 0x0.
IsValidMBR: block = 0x1.
IsValidMBR: block = 0x2.
IsValidMBR: block = 0x3.
IsValidMBR: MBR sector = 0x200 (valid MBR)
OpenPartition: Partition Exists=0x1 for part 0x21.
BP_SetDataPointer at 0x0
**[Eboot] BP_ReadData***
ReadData: Start = 0x0, Length = 0x2311800.
Log2Phys: Logical 0x280 -> Physical 0x480
Loading Kernel......
..........................................................................................
System ready!
Preparing for download...
INFO: *** Device Name 'SMDK64100' ***
INFO: Using static IP address 0000.
INFO: Using subnet mask 2525250.
waitforconnect
INFO: using TOC[1] dwJumpAddress: 0x80157734
INFO: OEMLaunch: Jumping to Physical Address 0x50157734h (Virtual Address 0x80157734h)...


Windows CE Kernel for ARM (Thumb Enabled) Built on Sep 25 2009 at 11:04:23
[OAL] ++OEMInit()
[OAL] S3C6410_APLL_CLK   : 532000000
[OAL] ARMCLK : 532000000
[OAL] HCLK   : 133000000
[OAL] PCLK   : 66500000
[OAL] InitializeGPIO()
[OAL] InitializeCLKSource()
[OAL] InitializeCLKGating()
[OAL] InitializeBlockPower()
DCache: 128 sets, 4 ways, 32 line size, 16384 size
ICache: 128 sets, 4 ways, 32 line size, 16384 size
+OALArgsInit()
Arguments area has some values
-OALArgsInit()
+OALTimerInit( 1, 33249, 0 )
-OALIntrRequestSysIntr(irq = 38, sysIntr = 16)
[OAL] --OEMInit()
archeng504 该用户已被删除
发表于 2011-1-11 22:31:01 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

0

主题

7131

帖子

0

积分

发表于 2011-1-12 08:05:10 | 显示全部楼层
eboot,按一下选项a, e

然后你重新下载eboot。stepldr,nk
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2025-1-11 12:41

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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