Igor Orlovich

Inconsistent WINCE6 boot on IMX28

Discussion created by Igor Orlovich on Jun 18, 2012
Latest reply on Jun 25, 2012 by Qiang Li - Mpu Se

Working with a custom IMX28 board, I can get it to boot Linux every time reliably. Booting WinCE is a bit of an issue. Most of the time it stops at the Freescale logo from Eboot and just sits there. A few times I managed to get it into Windows CE  and everything worked while it was there. Problem is I can't quite figure out what makes it boot all the way one time and prevents it the other, but it seems it is waiting for some peripheral we don't have or the like. Debug log is rather useless:

So, my question is- any pointers what may be holding off the boot, or secondly, any way to make WinCE boot a bit more verbose?

 


BSP Clock Configuration:
PLL0 = 480000000 Hz
PLL1 = 480000000 Hz
PLL2 = 0 Hz
REF_CPU = 480000000 Hz
REF_EMI = 392727272 Hz
REF_IO0 = 480000000 Hz
REF_IO1 = 480000000 Hz
REF_PIX = 480000000 Hz
REF_HSADC = 480000000 Hz
REF_GPMI = 480000000 Hz
REF_PLL = 480000000 Hz
REF_XTAL = 24000000 Hz
REF_ENET_PLL= 0 Hz
P_CLK = 240000000 Hz
H_CLK = 80000000 Hz
X_CLk = 24000000 Hz
ETM = 24000000 Hz
EMI = 196363636 Hz
SSP0 = 24000000 Hz
SSP1 = 24000000 Hz
SSP2 = 24000000 Hz
SSP3 = 24000000 Hz
GPMI = 24000000 Hz
HSADC = 26666666 Hz
LCDIF = 24000000 Hz
SPDIF = 120000000 Hz
UTMI0 = 480000000 Hz
UTMI1 = 480000000 Hz
UART24MHZ = 24000000 Hz
PWM24MHZ = 24000000 Hz
TIMROT32K = 32000 Hz

Microsoft Windows CE Bootloader Common Library Version 1.4 Built Jun 15 2012 10:23:10
Microsoft Windows CE Ethernet Bootloader 1.0 for iMX28 (Jun 15 2012 10:27:34)
reset GPMI module
enable bch module
ERROR: C:\WINCE600\PLATFORM\COMMON\SRC\SOC\COMMON_FSL_V2_PDK1_9\NAND\FMDCOMMON\BIG_SECTOR_INTERLEAVE\.\fmd.cpp line 203: no NAND type matched!
WARNING: OEMPlatformInit: Failed to initialize NAND flash device.
SD Low Density card
SD: Switched to 4 bit mode
INFO: Initialized SD Card
Card Capacity 995328 (Kbytes)
INFO: Booted from SD/MMC
INFO: Loading boot configuration from SDHC
INFO: Successfully loaded boot configuration from SDHC
System ready!
Preparing for download...
INFO: Initial Eboot Screen Display...
EBOOT: DisplayInit++ :BSP_DISPLAY_43WVF1G-0

Press [ENTER] to launch image stored in SD/MMC or [SPACE] to cancel.

Initiating image launch in 3 seconds. 2 seconds. 1 seconds. 0 seconds.
Launching flash image ...
-BLMenu .
INFO: Using device name: 'MX2865535'
INFO: Reading NK image to SDHC (please wait)...
INFO: Copying NK image to RAM address 0xa0200000
INFO: Read is 1% complete INFO: Read is 2% complete INFO: Read is 3% complete INFO: Read is 4% complete INFO: Read is 5% complete INFO: Read is 6% complete INFO: Read is 7% complete INFO: Read is 8% complete INFO: Read is 9% complete INFO: Read is 10% complete INFO: Read is 11% complete INFO: Read is 12% complete INFO: Read is 13% complete INFO: Read is 14% complete INFO: Read is 15% complete INFO: Read is 16% complete INFO: Read is 17% complete INFO: Read is 18% complete INFO: Read is 19% complete INFO: Read is 20% complete INFO: Read is 21% complete INFO: Read is 22% complete INFO: Read is 23% complete INFO: Read is 24% complete INFO: Read is 25% complete INFO: Read is 26% complete INFO: Read is 27% complete INFO: Read is 28% complete INFO: Read is 29% complete INFO: Read is 30% complete INFO: Read is 31% complete INFO: Read is 32% complete INFO: Read is 33% complete INFO: Read is 34% complete INFO: Read is 35% complete INFO: Read is 36% complete INFO: Read is 37% complete INFO: Read is 38% complete INFO: Read is 39% complete INFO: Read is 40% complete INFO: Read is 41% complete INFO: Read is 42% complete INFO: Read is 43% complete INFO: Read is 44% complete INFO: Read is 45% complete INFO: Read is 46% complete INFO: Read is 47% complete INFO: Read is 48% complete INFO: Read is 49% complete INFO: Read is 50% complete INFO: Read is 51% complete INFO: Read is 52% complete INFO: Read is 53% complete INFO: Read is 54% complete INFO: Read is 55% complete INFO: Read is 56% complete INFO: Read is 57% complete INFO: Read is 58% complete INFO: Read is 59% complete INFO: Read is 60% complete INFO: Read is 61% complete INFO: Read is 62% complete INFO: Read is 63% complete INFO: Read is 64% complete INFO: Read is 65% complete INFO: Read is 66% complete INFO: Read is 67% complete INFO: Read is 68% complete INFO: Read is 69% complete INFO: Read is 70% complete INFO: Read is 71% complete INFO: Read is 72% complete INFO: Read is 73% complete INFO: Read is 74% complete INFO: Read is 75% complete INFO: Read is 76% complete INFO: Read is 77% complete INFO: Read is 78% complete INFO: Read is 79% complete INFO: Read is 80% complete INFO: Read is 81% complete INFO: Read is 82% complete INFO: Read is 83% complete INFO: Read is 84% complete INFO: Read is 85% complete INFO: Read is 86% complete INFO: Read is 87% complete INFO: Read is 88% complete INFO: Read is 89% complete INFO: Read is 90% complete INFO: Read is 91% complete INFO: Read is 92% complete INFO: Read is 93% complete INFO: Read is 94% complete INFO: Read is 95% complete INFO: Read is 96% complete INFO: Read is 97% complete INFO: Read is 98% complete INFO: Read is 99% complete INFO: Read is 100% complete
INFO: Copy of NK completed successfully
OEMLaunch called PhysAddress 0x40200000.
Download successful! Jumping to image at 0x0 (physical 0x40200000)...

 

BSP Clock Configuration:
PLL0 = 480000000 Hz
PLL1 = 480000000 Hz
PLL2 = 0 Hz
REF_CPU = 480000000 Hz
REF_EMI = 392727272 Hz
REF_IO0 = 480000000 Hz
REF_IO1 = 480000000 Hz
REF_PIX = 480000000 Hz
REF_HSADC = 480000000 Hz
REF_GPMI = 480000000 Hz
REF_PLL = 480000000 Hz
REF_XTAL = 24000000 Hz
REF_ENET_PLL= 0 Hz
P_CLK = 240000000 Hz
H_CLK = 80000000 Hz
X_CLk = 24000000 Hz
ETM = 24000000 Hz
EMI = 196363636 Hz
SSP0 = 24000000 Hz
SSP1 = 24000000 Hz
SSP2 = 24000000 Hz
SSP3 = 24000000 Hz
GPMI = 120000000 Hz
HSADC = 26666666 Hz
LCDIF = 24000000 Hz
SPDIF = 120000000 Hz
UTMI0 = 480000000 Hz
UTMI1 = 480000000 Hz
UART24MHZ = 24000000 Hz
PWM24MHZ = 24000000 Hz
TIMROT32K = 32000 Hz
Windows CE Kernel for ARM (Thumb Enabled) Built on Sep 14 2011 at 17:32:03
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
OALInitCpuHclkClock:Update CPU clock to 454MHz!
DeviceId................. MX2865535
pArgs->flags............. 0xC
pArgs->devLoc.IfcType.... 0
pArgs->devLoc.LogicalLoc. 0x80080000
pArgs->devLoc.PhysicalLoc 0x80080000
pArgs->devLoc.Pin........ 0
pArgs->ip4address........ 0
pDevice->Name............ s
pDevice->ifcType......... 0
pDevice->id.............. 0x80080000
pDevice->resource........ 0
pDevice->type............ 2
pDevice->pDriver......... 0x81DF902C
WARN: OALKitlInit: KITL Disabled
NLedDriverInitialize: invoked
Deteced gBatteryVoltage = 3960

Outcomes