shany cohen

iMX28 - Booting from Nand

Discussion created by shany cohen on Aug 7, 2012

Hello,

I'm using imx28 with wince6  micron nand chip (2G).

I'm trying to download nk.nb0 image to nand (from platform builder, using sb loader).

I have 2 problems:

1.  After the download I'm recieving the message "reboot the device manually" , "spin forever" but when I reset the system - nothing happens.

2. If I'm running the system again (again - using sb loader) and select "L" in the BL menu for - launch existing image from nand - the NkStartup() sequence starts and fails in the KernelFindMemory(). The last message I'm recieving in the debug port is

"Configuring: Primary pages: 28143, Secondary pages: 0, Filesystem pages = 7035".

 

Here is what I'm recieving from the NkStartUp():

 

Windows CE Kernel for ARM (Thumb Enabled) Built on Aug 6 2012 at 15:28:26

ProcessorType=0926 Revision=5 CpuId=0x41069265

OEMAddressTable = 80201078

INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xffff

+OEMInit

+OEMInit

+OALPAtoVA(0x80074000, 0)

-OALPAtoVA(va = 0xb0074000)

+OALPAtoVA(0x80044000, 0)

-OALPAtoVA(va = 0xb0044000)

+OALPAtoVA(0x80040000, 0)

-OALPAtoVA(va = 0xb0040000)

+OALPAtoVA(0x80018000, 0)

-OALPAtoVA(va = 0xb0018000)

+OALPAtoVA(0x80068000, 0)

-OALPAtoVA(va = 0xb0068000)

+OALPAtoVA(0x8001c000, 0)

-OALPAtoVA(va = 0xb001c000)

+OALPAtoVA(0x80056000, 0)

-OALPAtoVA(va = 0xb0056000)

+OALPAtoVA(0x8007c000, 0)

-OALPAtoVA(va = 0xb007c000)

+OALPAtoVA(0x8007e000, 0)

-OALPAtoVA(va = 0xb007e000)

+OALPAtoVA(0x80080000, 0)

-OALPAtoVA(va = 0xb0080000)

+OALPAtoVA(0x80090000, 0)

-OALPAtoVA(va = 0xb0090000)

+OALPAtoVA(0x8000c000, 0)

-OALPAtoVA(va = 0xb000c000)

+OALPAtoVA(0x80004000, 0)

-OALPAtoVA(va = 0xb0004000)

+OALPAtoVA(0x80024000, 0)

-OALPAtoVA(va = 0xb0024000)

+OALPAtoVA(0x800e0000, 0)

-OALPAtoVA(va = 0xb00e0000)

+OALPAtoVA(0x80050000, 0)

-OALPAtoVA(va = 0xb0050000)

+OALPAtoVA(0x8002c000, 0)

-OALPAtoVA(va = 0xb002c000)

+OALPAtoVA(0x80064000, 0)

-OALPAtoVA(va = 0xb0064000)

+OALPAtoVA(0x8000a000, 0)

-OALPAtoVA(va = 0xb000a000)

+OALPAtoVA(0x80030000, 0)

-OALPAtoVA(va = 0xb0030000)

+OALPAtoVA(0x5000, 0)

-OALPAtoVA(va = 0xa8005000)

Cache:

L1Flags: 0x00000000

L1ISetsPerWay: 0x00000080 (128)

L1INumWays: 0x00000004 (4)

L1ILineSize: 0x00000020 (32)

L1ISize: 0x00004000 (16384)

L1DSetsPerWay: 0x00000100 (256)

L1DNumWays: 0x00000004 (4)

L1DLineSize: 0x00000020 (32)

L1DSize: 0x00008000 (32768)

+OALPAtoVA(0x8001c000, 0)

-OALPAtoVA(va = 0xb001c000)

OALInitCpuHclkClock:Update CPU clock to 454MHz!

+OALPAtoVA(0x400f3000, 0)

-OALPAtoVA(va = 0xa00f3000)

+OALPAtoVA(0x400f3000, 0)

-OALPAtoVA(va = 0xa00f3000)

+OALIntrInit

+OALIntrMapInit

-OALIntrMapInit

+OALPAtoVA(0x80000000, 0)

-OALPAtoVA(va = 0xb0000000)

+OALPAtoVA(0x80018000, 0)

-OALPAtoVA(va = 0xb0018000)

+BSPIntrInit

-BSPIntrInit

-OALIntrInit(rc = 1)

+OALTimerInit(1, 12000, 123)

+OALIntrRequestSysIntr(1, 0xffffc76c, 0x00000004)

-OALIntrRequestSysIntr(sysIntr = 16)

+OALPAtoVA(0x80068000, 0)

-OALPAtoVA(va = 0xb0068000)

+OEMInterruptEnable(16, 0x0, 0)

+OALIntrEnableIrqs(4, 0x811a6820)

+BSPIntrEnableIrq

-BSPIntrEnableIrq(irq = 48)

+BSPIntrEnableIrq

-BSPIntrEnableIrq(irq = -1)

+BSPIntrEnableIrq

-BSPIntrEnableIrq(irq = -1)

+BSPIntrEnableIrq

-BSPIntrEnableIrq(irq = -1)

-OALIntrEnableIrqs(rc = 1)

-OEMInterruptEnable(rc = 1)

+InitRTC(...)

+OALRTC_WriteRawPersistentField

-OALRTC_WriteRawPersistentField(rc = 1)

+OALRTC_WriteRawPersistentField

-OALRTC_WriteRawPersistentField(rc = 1)

+OALRTC_WriteRawPersistentField

-OALRTC_WriteRawPersistentField(rc = 1)

+OALRTC_WriteRawPersistentField

-OALRTC_WriteRawPersistentField(rc = 1)

-InitRTC(...)

-OALTimerInit(rc = 1)

+OEMKitlStartup

+OALKitlInit(' s', 0x 8x - -1609601016/8/0x 8x, 0x 8x)

DeviceId................. MX2817408

pArgs->flags............. 0x8

pArgs->devLoc.IfcType.... 0

pArgs->devLoc.LogicalLoc. 0x80080000

pArgs->devLoc.PhysicalLoc 0x80080000

pArgs->devLoc.Pin........ 0

pArgs->ip4address........ 1

pDevice->Name............ s

pDevice->ifcType......... 0

pDevice->id.............. 0x80080000

pDevice->resource........ 0

pDevice->type............ 2

pDevice->pDriver......... 0x811A902C

WARN: OALKitlInit: KITL Disabled

-OALKitlInit(rc = 1)

-OEMKitlStartup(rc = 1)

+OALIoCtlVBridge(0x 8x,...)

-OALIoCtlVBridge(rc = 1)

+InitWatchDogTimer

-InitWatchDogTimer

-OEMInit

+OEMCacheRangeFlush(0x00000000, 0, 0x0000007f)

-OEMCacheRangeFlush

+OEMCacheRangeFlush(0x00000000, 0, 0x00000001)

-OEMCacheRangeFlush

+OEMCacheRangeFlush(0x00000000, 0, 0x00000001)

-OEMCacheRangeFlush

Booting Windows CE version 6.00 for (ARM)

Old or invalid version stamp in kernel structures - starting clean!

Configuring: Primary pages: 28143, Secondary pages: 0, Filesystem pages = 7035

 

 

Can anybody please suggest what could be the problem?

 

Thanks,

Shany

 

 

Outcomes