Thanks Steven,
Please see my borad's logs i taken log for WinCE and Linux. I dont find any difference in environment variables when compared with working boards log.
LOG for LINUX :
Booting with TI UBL
Device OPP (456MHz, 1.3V)
U-Boot 2009.11 (Apr 15 2011 - 13:22:24)
I2C: ready
DRAM: 64 MB
MMC: davinci: 0
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
ARM Clock : 456000000 Hz
DDR Clock : 132000000 Hz
Net: Ethernet PHY: GENERIC @ 0x00
Hit any key to stop autoboot: 3 2 1 0
reading boot.scr
Invalid FAT entry
** Unable to read "boot.scr" from mmc 0:1 **
reading uImage
2187544 bytes read
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Arago/2.6.32+2.6.33-rc4-psp03.20
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2187480 Bytes = 2.1 MB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
AND HERE IS HANGS
Environment variables:
U-Boot > printenv
bootargs=console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off
bootcmd=if mmc rescan 0; then if fatload mmc 0 0xc0600000 boot.scr; then source 0xc0600000; else fatload mmc 0 0xc0700000 uImage; bootm c0700000; fi; else sf probe 0; sf read 0xc0700000 0x80000 0x220000; bootm 0xc0700000; fi
bootdelay=3
baudrate=115200
bootfile="uImage"
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:08:ee:04:ad:2d
ver=U-Boot 2009.11 (Apr 15 2011 - 13:22:24)
Environment size: 453/65532 bytes
LOG for WinCE :
Booting with TI UBL
Device OPP (456MHz, 1.3V)01
Microsoft Windows CE Bootloader Common Library Version 1.4 Built Dec 28 2010 20:26:10
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
Microsoft Windows CE EBOOT 1.0 for AM1808 OMAPL138/AM18X EVM. Built Dec 28 2010 at 20:29:18
BSP version 1.3.0, SOC version 1.3.0
CODE : 0xC7F60000 -> 0xC7FA0000
DATA : 0xC7FA0000 -> 0xC7FE0000
STACK : 0xC7FE0000 -> 0xC8000000
Enabled OAL Log Zones : ERROR, WARN, INFO,
Platform Init done
System ready!
Preparing for download...
Predownload...
WARN: Invalid boot configuration found (using defaults)
Read production data: done
Lan MAC: 00:08:ee:04:ad:2d
INFO: MAC address: 00:08:ee:04:ad:2d
WARN: Invalid BSP_ARGS data found (using defaults)
WARN: Unable to get hardware entropy
Hit space to enter configuration menu 3 2 1 0
Device ID set to AM1808-44333
BLFlashDownload: LogicalLoc - 0x01C40000
Loading from SD card
+ReadNKFromSDMMC
ReadFileFromSDMMC: reading file 'nk.bin'
SDBootPDD: PDD_SDInitializeHardware: MMCSD
SDBootMDD: SDInitializeHardware: SD card detected
SDBootMDD: SDInitializeHardware: V2.0 card detected
SDBootMDD: SDInitializeHardware: timeOut = 0
SDBootMDD: SDInitializeHardware: timeOut = 1
SDBootMDD: SDInitializeHardware: SD High Capacity card detected
SDBootMDD: Card address is b368
SDBootMDD: 4-bit data bus selected
InitMasterBootRecord: Partition 0, type 11
InitMasterBootRecord: Partition 0, FAT32, start 0x9ce2800, length 0xe49d0200
InitPartition: Offset 0x9ce2800, length 0xe49d0200
ReadFileFromSDMMC: can't open image file 'nk.bin'
ReadFileFromSDMMC: reading file 'nk.nb0'
SDBootPDD: PDD_SDInitializeHardware: MMCSD
SDBootMDD: SDInitializeHardware: SD card detected
SDBootMDD: SDInitializeHardware: V2.0 card detected
SDBootMDD: SDInitializeHardware: timeOut = 0
SDBootMDD: SDInitializeHardware: timeOut = 1
SDBootMDD: SDInitializeHardware: SD High Capacity card detected
SDBootMDD: Card address is b368
SDBootMDD: 4-bit data bus selected
InitMasterBootRecord: Partition 0, type 11
InitMasterBootRecord: Partition 0, FAT32, start 0x9ce2800, length 0xe49d0200
InitPartition: Offset 0x9ce2800, length 0xe49d0200
ReadFileFromSDMMC: file size = 33554432 bytes
CheckCEImage: checking image at 0xc0000000
ROMHDR (pTOC = 0xc1a6dc14) ---------------------
DLL First : 0x4001c001
DLL Last : 0x4158c0a2
Physical First : 0x80000000
Physical Last : 0x81a70268
Num Modules : 199
RAM Start : 0x81a80000
RAM Free : 0x81a8f000
RAM End : 0x8373f800
Num Copy Entries : 2
Copy Entries Offset : 0x81101924
Prof Symbol Length : 0x00000000
Prof Symbol Offset : 0x00000000
Num Files : 120
Kernel Flags : 0x00000000
FileSys RAM Percent : 0x30303030
Driver Glob Start : 0x00000000
Driver Glob Length : 0x00000000
CPU : 0x01c2
MiscFlags : 0x0002
Extensions : 0x80001070
Tracking Mem Start : 0x00000000
Tracking Mem Length : 0x00000000
------------------------------------------------
Image Start .......: 0x00000000
Image Size ........: 0x00000000
Image Launch Addr .: 0x00000000
Image ROMHDR ......: 0x00000000
Boot Device/Type ..: 3 / 6
INFO: Launch Windows Embedded CE by jumping to 0xc0000000...ADE
Windows CE Kernel for ARM (Thumb Enabled) Built on Mar 31 2010 at 15:28:51
OEMInit: init.c built on Feb 6 2011 at 17:06:03.
BSP version 1.3.0, SOC version 1.3.0
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xf
WARN: Updating local copy of BSP_ARGS
Intr Init done...
Timer Init done...
+OALDumpClocks
Clock Configuration :
Reference Clock 0 .. 24000000 Hz
PLL0 ............. 456000000 Hz
PLL0:SYSCLK1 ..... 456000000 Hz (DSP Subsystem)
PLL0:SYSCLK2 ..... 228000000 Hz (UART,EDMA,SPI,MMC/SD,VPIF,LCDC,SATA,uPP,USB2.0,HPI,PRU)
PLL0:SYSCLK3 ..... 91200000 Hz (EMIFA)
PLL0:SYSCLK4 ..... 114000000 Hz (INTC, SYSCFG, GPIO, PSC, I2C1, USB1.1, EMAC/MDIO, GPIO)
PLL0:SYSCLK5 ..... 152000000 Hz (reserved)
PLL0:SYSCLK6 ..... 456000000 Hz (ARM Subsystem)
PLL0:SYSCLK7 ..... 76000000 Hz (EMAC)
PLL0:AUXCLK ...... 24000000 Hz (I2C0, Timers, McASP0 serial clock, RTC, USB2.0 PHY)
PLL1 ............. 264000000 Hz
PLL1:SYSCLK1 ..... 264000000 Hz (DDR2/mDDR PHY)
PLL1:SYSCLK2 ..... 132000000 Hz (Optional for: McASP0,McBSP,ePWM,eCAP,SPI1)
PLL1:SYSCLK3 ..... 88000000 Hz (PLL0 input)
-OALDumpClocks
-OEMInit
PINMUX14=0x00000000
PINMUX15=0x00000000
PINMUX16=0x22222200
PINMUX17=0x22222222
PINMUX18=0x22000022
PINMUX19=0x02000022
OEMGetExtensionDRAM: Added 0x83E00000 -> 0x88000000
AND HERE IS HANGS
Thanks,
zakariya