This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Is the kernel running?

Other Parts Discussed in Thread: OMAP3530

hi,

I just build the BSP for OMAP3530, and download the NK.bin via the vs2005, but  I don't get the WinCE GUI.

Then I tried boot up from "[2] USBFn RNDIS " to " [3] NK from NAND", still no GUI, how to make the kernel running?

 

1. build options and result

 

Processing NK

Writing C:\WINCE600\OSDesigns\EVM_3530\EVM_3530\RelDir\EVM_OMAP3530_ARMV4I_Release\NK.bin
Table of contents  823d5530  00003474  (     13428)
Writing ROM signature and TOC pointer at 80002040
Kernel data copy section  80ac6d80  00000030  (        48)
ROM Header                823d54dc  00000054  (        84)
First DLL Address:       4001c001
Last DLL Address:        41a9c0ca
Physical Start Address:  80002000
Physical End Address:    823d89a4
Start RAM:               823e0000
Start of free RAM:       82443000
End of RAM:              84800000
Number of Modules:       263
Number of Copy Sections: 3
Copy Section Offset:     80ac6d80
FileSys 4K Chunks/Mbyte: 128 <2Mbyte  128 2-4Mbyte  0 4-6Mbyte  0 >6Mbyte
CPU Type:                    01c2h
Miscellaneous Flags:         0002h
Extensions Pointer:      8000740c
Total ROM size:          023d69a4 (  37579172)
Starting ip:             800122f8
Raw files size:          011dbe77
Compressed files size:   008aa300
Compacting bin file...
Done!
makeimg: Check for C:\WINCE600\OSDesigns\EVM_3530\EVM_3530\RelDir\EVM_OMAP3530_ARMV4I_Release\PostRomImage.bat to run.
makeimg: Check for C:\WINCE600\OSDesigns\EVM_3530\EVM_3530\RelDir\EVM_OMAP3530_ARMV4I_Release\PostMakeImg.bat to run.
makeimg: Change directory to C:\WINCE600.
makeimg: run command: cmd /C C:\WINCE600\public\common\oak\misc\pbpostmakeimg
 Volume in drive C is Working
 Volume Serial Number is 68F5-415B

 Directory of C:\WINCE600\OSDesigns\EVM_3530\EVM_3530\RelDir\EVM_OMAP3530_ARMV4I_Release

08/16/2011  04:59 PM        37,019,875 NK.bin
               1 File(s)     37,019,875 bytes
               0 Dir(s)  47,857,709,056 bytes free

BLDDEMO: EVM_3530 build complete.

EVM_3530 - 0 error(s), 221 warning(s)
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

 

2. Download the NK.bin and write it to NAND flash, is it running?

 Selection: 1

 Main:
  Boot device:   USBFn RNDIS
  Debug device:  USBFn RNDIS
  Retail Msgs:   enabled
  Device ID:     0
  Display Res:   LCD  480x640 60Hz
  Flashing NK.bin:   enabled
  OPP Mode:   MPU[600Mhz @ 1.3500V], IVA2[430Mhz @ 1.35V]
ERROR: C:\WINCE600\PLATFORM\COMMON\SRC\SOC\COMMON_TI_V1\COMMON_TI\BOOT\LAN911X\.\lan911x.c line 657: Invalid Ethernet chip ID (0x93ff93ff)!

 Network:
  KITL state:    enabled
  KITL type:     active
  KITL mode:     interrupt
  DHCP:          disabled
  IP address:    90.0.0.10
  IP mask:       255.255.255.0
  IP router:     0.0.0.0
  Eth MAC Addr:  20:20:40:30:60:50 (Boot settings)
  VMINI:         enabled
  Note: USBFN RNDIS MAC Addr cannot be changed.

--------------------------------------------------------------------------------
 Main Menu
--------------------------------------------------------------------------------
 [1] Show Current Settings
 [2] Select Boot Device
 [3] Select KITL (Debug) Device
 [4] Network Settings
 [5] Flash Management
 [6] Set Device ID
 [7] Save Settings
 [8] Enable/Disable OAL Retail Messages
 [9] Select Display Resolution
 [a] Select OPP Mode
 [0] Exit and Continue

 Selection: 0
OALFlashStoreOpen: 2048 blocks, 64 sectors/block
OALFlashStoreOpen: 2048 bytes/sector, 14 reserved blocks
HostMiniInit:: !!
Rndis:: initialization: with addr=480AB000
Rndis:: Address static map to addr=B60AB000
Rndis:: initialization!
Rndis:: PDDInit Success!
Rndis:: Get MAC address 200,902F,B5D
RndisMdd:: PDD's max RX buffer = [8192] bytes.
Rndis:: initialization: Success
HostMini:: New filter set: [0x0] --> [0xB]
INFO: Boot device uses MAC 00:02:2f:90:5d:0b
INFO: *** Device Name EVM3530-23819 ***
+EbootSendBootmeAndWaitForTftp
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Packet has the following data:
  boot.bin[NULL]octet[NULL]
TFTP packet could have 1 name/value pairs
Locked Down Link 1
Src IP 90.0.0.10 Port 03D4   Dest IP 90.0.0.1 Port 0C4D
Default TFTP block size set to: 512 bytes
There were no options detected in the TFTP
EthDown::TFTPD_OPEN::boot.bin
-EbootSendBootmeAndWaitForTftp

BL_IMAGE_TYPE_BIN

Download file information:
-----------------------------------------------------------
[0]: Address=0x80002000  Length=0x023d69a4  Save=0x80002000
-----------------------------------------------------------
Download file type: 1
............................................................................................................................................................................................................................................................rom_offset=0x0.
..ImageStart = 0x80002000, ImageLength = 0x23D69A4, LaunchAddr = 0x800122F8

Completed file(s):
-------------------------------------------------------------------------------
[0]: Address=0x80002000  Length=0x23D69A4  Name="" Target=RAM
ROMHDR at Address 80002044h
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000

Writing NK image to OS partition address=80002000, SIZE=23d69a4

ROMHDR (pTOC = 0x823d54dc) ---------------------
  DLL First           : 0x4001c001
  DLL Last            : 0x41a9c0ca
  Physical First      : 0x80002000
  Physical Last       : 0x823d89a4
  Num Modules         :        263
  RAM Start           : 0x823e0000
  RAM Free            : 0x82443000
  RAM End             : 0x84800000
  Num Copy Entries    :          3
  Copy Entries Offset : 0x80ac6d80
  Prof Symbol Length  : 0x00000000
  Prof Symbol Offset  : 0x00000000
  Num Files           :        179
  Kernel Flags        : 0x00000000
  FileSys RAM Percent : 0x80808080
  Driver Glob Start   : 0x00000000
  Driver Glob Length  : 0x00000000
  CPU                 :     0x01c2
  MiscFlags           :     0x0002
  Extensions          : 0x8000740c
  Tracking Mem Start  : 0x00000000
  Tracking Mem Length : 0x00000000
------------------------------------------------

IsValidMBR: MBR sector = 0x380 (valid MBR)
OpenPartition: Partition Exists=0x1 for part 0x20.
hPartition = 0x87EBE420
BP_SetDataPointer at 0x23d69a4
BP_SetDataPointer at 0x0
WriteData: Start = 0x0, Length = 0x23d69a4.
Log2Phys: Logical 0x1 -> Physical 0x381
Launch Windows CE image by jumping to 0x800122f8...

Windows CE Kernel for ARM (Thumb Enabled) Built on Nov  3 2010 at 07:30:04
OAL: CPU revision 0x2:OMAP3530
OAL: CPU L2 Aux register 0x400042
****Profiler Build****
---High Performance Frequency is 26001451 hz---
DeviceId................. EVM3530-
pArgs->flags............. 0x29
pArgs->devLoc.IfcType.... 0
pArgs->devLoc.LogicalLoc. 0x480AB000
pArgs->devLoc.PhysicalLoc 0x0
pArgs->devLoc.Pin........ -2015347364
pArgs->ip4address........ 9
pArgs->mac............... 0x2020 0x3040 0x5060
pDevice->Name............  s
pDevice->ifcType......... 0
pDevice->id.............. 0x15000000
pDevice->resource........ 0
pDevice->type............ 2
pDevice->pDriver......... 0x823F2000
HostMiniInit:: !!
Rndis:: initialization: with addr=480AB000
Rndis:: Address static map to addr=B60AB000
Rndis:: initialization!
Rndis:: PDDInit Success!
Rndis:: Get MAC address 200,902F,B5D
RndisMdd:: PDD's max RX buffer = [8192] bytes.
Rndis:: initialization: Success
HostMini:: New filter set: [0x0] --> [0xB]
KITL: *** Device Name EVM3530-23819 ***
WARN: KITL can't obtain IRQ for KITL device
WARN: KITL will run in polling mode
VBridge:: built on [Aug 16 2011] time [15:40:01]
VBridgeInit()...TX = [16384] bytes -- Rx = [16384] bytes
Tx buffer [0xA24326E0] to [0xA24366E0].
Rx buffer [0xA2436700] to [0xA243A700].
VBridge:: NK add MAC: [0-2-2F-90-5D-B]
Connecting to Desktop
KITL: Connected host  IP: 9  Port: 3148

 

3. boot up from NAND flash

Microsoft Windows CE Bootloader Common Library Version 1.4 Built Aug 16 2011 16:45:52

Texas Instruments Windows CE EBOOT for OMAP35xx/37xx, Built Aug 16 2011 at 16:52:25
EBOOT Version 0.0, BSP BSP_WINCE_ARM_A8 1.02.00.02

TI OMAP3530 Version 0x00000002 (ES2.1)
TPS659XX Version 0x50 (Unknown)
System ready!
Preparing for download...
INFO: Predownload....
Checking bootloader blocks are marked as reserved (Num = 14)

INFO: Boot configuration found
IsValidMBR: MBR sector = 0x380 (valid MBR)
OpenPartition: Partition Exists=0x1 for part 0x20.

>>> Forcing cold boot (non-persistent registry and other data will be wiped) <<<
Hit space to enter configuration menu 5...

--------------------------------------------------------------------------------
 Main Menu
--------------------------------------------------------------------------------
 [1] Show Current Settings
 [2] Select Boot Device
 [3] Select KITL (Debug) Device
 [4] Network Settings
 [5] Flash Management
 [6] Set Device ID
 [7] Save Settings
 [8] Enable/Disable OAL Retail Messages
 [9] Select Display Resolution
 [a] Select OPP Mode
 [0] Exit and Continue

 Selection: 2

--------------------------------------------------------------------------------
 Select Boot Device
--------------------------------------------------------------------------------
 [1] LAN9115 MAC
 [2] USBFn RNDIS
 [3] NK from NAND
 [0] Exit and Continue

 Selection (actual USBFn RNDIS ): 3
 Boot device set to NK from NAND

--------------------------------------------------------------------------------
 Main Menu
--------------------------------------------------------------------------------
 [1] Show Current Settings
 [2] Select Boot Device
 [3] Select KITL (Debug) Device
 [4] Network Settings
 [5] Flash Management
 [6] Set Device ID
 [7] Save Settings
 [8] Enable/Disable OAL Retail Messages
 [9] Select Display Resolution
 [a] Select OPP Mode
 [0] Exit and Continue

 Selection: 0
OALFlashStoreOpen: 2048 blocks, 64 sectors/block
OALFlashStoreOpen: 2048 bytes/sector, 14 reserved blocks

Load NK image from flash memory
IsValidMBR: MBR sector = 0x380 (valid MBR)
OpenPartition: Partition Exists=0x1 for part 0x20.
BP_SetDataPointer at 0x0
ReadData: Start = 0x0, Length = 0x1000.
Log2Phys: Logical 0x1 -> Physical 0x381
ReadData: Start = 0x1000, Length = 0x23d2530.
Log2Phys: Logical 0x3 -> Physical 0x383

ROMHDR (pTOC = 0x823d54dc) ---------------------
  DLL First           : 0x4001c001
  DLL Last            : 0x41a9c0ca
  Physical First      : 0x80002000
  Physical Last       : 0x823d89a4
  Num Modules         :        263
  RAM Start           : 0x823e0000
  RAM Free            : 0x82443000
  RAM End             : 0x84800000
  Num Copy Entries    :          3
  Copy Entries Offset : 0x80ac6d80
  Prof Symbol Length  : 0x00000000
  Prof Symbol Offset  : 0x00000000
  Num Files           :        179
  Kernel Flags        : 0x00000000
  FileSys RAM Percent : 0x80808080
  Driver Glob Start   : 0x00000000
  Driver Glob Length  : 0x00000000
  CPU                 :     0x01c2
  MiscFlags           :     0x0002
  Extensions          : 0x8000740c
  Tracking Mem Start  : 0x00000000
  Tracking Mem Length : 0x00000000
------------------------------------------------

ReadData: Start = 0x23d3530, Length = 0x3474.
Log2Phys: Logical 0x47a7 -> Physical 0x4b67
NK Image Loaded
Launch Windows CE image by jumping to 0x80002000...

Windows CE Kernel for ARM (Thumb Enabled) Built on Nov  3 2010 at 07:30:04
OAL: CPU revision 0x2:OMAP3530
OAL: CPU L2 Aux register 0x400042
****Profiler Build****
---High Performance Frequency is 26001469 hz---
DeviceId................. EVM3530-
pArgs->flags............. 0x29
pArgs->devLoc.IfcType.... 0
pArgs->devLoc.LogicalLoc. 0x480AB000
pArgs->devLoc.PhysicalLoc 0x0
pArgs->devLoc.Pin........ -2015347364
pArgs->ip4address........ 9
pArgs->mac............... 0x2020 0x3040 0x5060
pDevice->Name............  s
pDevice->ifcType......... 0
pDevice->id.............. 0x15000000
pDevice->resource........ 0
pDevice->type............ 2
pDevice->pDriver......... 0x823F2000
HostMiniInit:: !!
Rndis:: initialization: with addr=480AB000
Rndis:: Address static map to addr=B60AB000
Rndis:: initialization!
Rndis:: PDDInit Success!
Rndis:: Get MAC address 200,902F,B5D
RndisMdd:: PDD's max RX buffer = [8192] bytes.
Rndis:: initialization: Success
HostMini:: New filter set: [0x0] --> [0xB]
KITL: *** Device Name EVM3530-23819 ***
WARN: KITL can't obtain IRQ for KITL device
WARN: KITL will run in polling mode
VBridge:: built on [Aug 16 2011] time [15:40:01]
VBridgeInit()...TX = [16384] bytes -- Rx = [16384] bytes
Tx buffer [0xA24326E0] to [0xA24366E0].
Rx buffer [0xA2436700] to [0xA243A700].
VBridge:: NK add MAC: [0-2-2F-90-5D-B]
Connecting to Desktop
Connecting to Desktop .. resending
Connecting to Desktop .. resending
KITL: Connected host  IP: 9  Port: 3148
Connecting to Desktop .. resending