Hi All,
We have modified the uboot by removing the EEPROM read for header and i2c probe for PMIC as we don't use those in our custom board. The PMIC power sequencing is taken care in the hardware.
We shifted the console to UART3 and we are able to get the spl console on the same(We added a few debug puts).
Here is the console log:
U-Boot SPL 2013.10 (Sep 24 2014 - 20:42:52) prcm_init successful In Set mux conf regs Got Custom Board MMC pin mux successful enable board pin mux success set_mux_conf_regs successful rtc32k_enable successful sdram_init successful
- But we are unable to get the u-boot booting. Can anyone suggest how to debug the same (which function is called after s_init?).
- We are using DDR3 RAM part MT41J128M16HA-15E for which calculated register values are as follows:
/* Micron MT41J128M16HA-15E */ #define MT41J128M16HA15E_EMIF_READ_LATENCY 0x100006 #define MT41J128M16HA15E_EMIF_TIM1 0x08887263 #define MT41J128M16HA15E_EMIF_TIM2 0x2A337FDA #define MT41J128M16HA15E_EMIF_TIM3 0x501F830F #define MT41J128M16HA15E_EMIF_SDCFG 0x61C052B2 #define MT41J128M16HA15E_EMIF_SDREF 0x0000093B #define MT41J128M16HA15E_ZQ_CFG 0x50074BE4 #define MT41J128M16HA15E_RATIO 0x40 #define MT41J128M16HA15E_INVERT_CLKOUT 0x0 #define MT41J128M16HA15E_RD_DQS 0x40 #define MT41J128M16HA15E_WR_DQS 0x0 #define MT41J128M16HA15E_PHY_WR_DATA 0x40 #define MT41J128M16HA15E_PHY_FIFO_WE 0x54 #define MT41J128M16HA15E_IOCTRL_VALUE 0x80
Please verify the above setting and suggest if anything needs to be changed.
For DDR3-AM335x interface the trace length is matched to 1inch.