Tool/software: Linux
Hello,
We have built a custom AM3358 board and the board layout of eval board was not followed.So with the help of forum and some expertise we are able to perform the software leveling and able to get the optimized timing parameters. After loading these values I was able perform all the DDR tests using CCS. Through code composer studio I was able to connect to board and see the memory , registers, SRAM content everything.
The problem is when I load the same values into ddr_def file , board.c file and generate customized MLO,u-boot.img and load it into MMC0, I have seen that PC(Program Counter) is stuck at 0x402f0440 and not moving further.
Even if we try to load the same into serial port , It was not booting.
The following is the output when I run dss script.
CONTROL: device_id = 0x2b94402e
* AM335x family
* Silicon Revision 2.1
PRM_DEVICE: PRM_RSTST = 0x00000001
* Bit 0 : GLOBAL_COLD_RST
CONTROL: control_status = 0x007f03d7
* SYSBOOT[15:14] = 01b (24 MHz)
* SYSBOOT[13:12] have been set improperly!
* SYSBOOT[11:10] = 11b ILLEGAL VALUE!
* SYSBOOT[9] = 0 GPMC CS0 Ignore WAIT input
* SYSBOOT[9] = 1 GPMC CS0 Use WAIT input
* SYSBOOT[8] = 0 GPMC CS0 8-bit data bus
* SYSBOOT[8] = 1 GPMC CS0 16-bit data bus
* Device Type = General Purpose (GP)
* SYSBOOT[7:6] = 11b RGMII no internal delay (EMAC boot modes only)
* SYSBOOT[5] = 0 CLKOUT1 disabled
* Boot Sequence : MMC0 -> SPI0 -> UART0 -> USB0
ROM: Current tracing vector, word 1 = 0x0010009e
* 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 7 : [Boot] GP header found
* Bit 20 : [Configuration Header] CHSETTINGS found
ROM: Current tracing vector, word 1 = 0x00011000
* Bit 12 : [Memory Boot] Memory booting trial 0
* Bit 16 : [Memory Boot] Execute GP image
ROM: Current tracing vector, word 1 = 0x00001000
* Bit 12 : Memory booting device SPI
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 = 0x402f0440
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
Kindly help me at the earliest.