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.

STARTERWARE-SITARA: NOR boot fails

Part Number: STARTERWARE-SITARA

Hello,

We are using Am335x based custom board. In this, we want to boot the board from NOR.

We are using bootloader  code for this.

We have flashed the code into NOR, but booting is not started. We are getting "C" on the debug console.

We have also generated the trace vector sheet, but we are not able to analyze the problem.

Our tracing vector file is as following:

CONTROL: device_id = 0x2b94402e
  * AM335x family
  * Silicon Revision 2.1

PRM_DEVICE: PRM_RSTST = 0x00000001
  * Bit 0 : GLOBAL_COLD_RST

CONTROL: control_status = 0x0040031b
  * SYSBOOT[15:14] = 01b (24 MHz)
  * SYSBOOT[11:10] = 00b No GPMC CS0 addr/data muxing
  * Device Type = General Purpose (GP)
  * SYSBOOT[7:6] = 00b MII (EMAC boot modes only)
  * SYSBOOT[5] = 0 CLKOUT1 disabled
  * Boot Sequence : XIP w/WAIT (MUX2) -> UART0 -> SPI0 -> MMC0

ROM: Current tracing vector, word 1 = 0x0000907f
  * Bit 0  : [General] Passed the public reset vector
  * Bit 1  : [General] Entered main function
  * Bit 2  : [General] Running after the cold reset
  * Bit 3  : [Boot] Main booting routine entered
  * Bit 4  : [Memory Boot] Memory booting started
  * Bit 5  : [Peripheral Boot] Peripheral booting started
  * Bit 6  : [Boot] Booting loop reached last device
  * Bit 12 : [Peripheral Boot] Device initialized
  * Bit 15 : [Peripheral Boot] Peripheral booting failed

ROM: Current tracing vector, word 1 = 0x00001000
  * Bit 12 : [Memory Boot] Memory booting trial 0

ROM: Current tracing vector, word 1 = 0x00011004
  * Bit 2  : [Memory Boot] Memory booting device XIPWAIT
  * Bit 12 : Memory booting device SPI
  * Bit 16 : Peripheral booting device UART0

ROM: Current copy of PRM_RSTST = 0x00000000

ROM: Cold reset tracing vector, word 1 = 0x00000000

ROM: Cold reset tracing vector, word 1 = 0x00000000

ROM: Cold reset tracing vector, word 1 = 0x00000001
  * Bit 0  : [Memory Boot] Memory booting device NULL

Cortex A8 Program Counter = 0x000233d0

ROM Exception Vectors
  * 0x4030CE04 Undefined
  * 0x4030CE08 SWI
  * 0x4030CE0C Pre-fetch abort
  * 0x4030CE10 Data abort
  * 0x4030CE14 Unused
  * 0x4030CE18 IRQ
  * 0x4030CE1C FIQ

ROM Dead Loops
  * 0x00020080 Undefined exception default handler
  * 0x00020084 SWI exception default handler
  * 0x00020088 Pre-fetch abort exception default handler
  * 0x0002008C Data exception default handler
  * 0x00020090 Unused exception default handler
  * 0x00020094 IRQ exception default handler
  * 0x00020098 FIQ exception default handler
  * 0x0002009C Validation test PASS
  * 0x000200A0 Validation test FAIL
  * 0x000200A4 Reserved
  * 0x000200A8 Image not executed or returned
  * 0x000200AC Reserved
  * 0x000200B0 Reserved
  * 0x000200B4 Reserved
  * 0x000200B8 Reserved
  * 0x000200BC Reserved


Can anybody tell me where is the issue?

Problem is with boot loader code or with nor detection?

Thanks & Regards

Uma Shanker Gupta