Other Parts Discussed in Thread: AM5728
Hi there,
I'm currently working on the first-time operation of our AM5728 SR2.0 based board. I have two banks:
- EMIF1 with 1GB (2 x Micron MT41K256M16) with ECC (1 x Micron MT41K256M16) and
- EMIF2 with 1GB (2 x Micron MT41K256M16) w/o ECC
- I can access the A15 via XDS100v2 USB debug probe.
- I did use the SPRAC36_EMIF_RegisterConfig_v2 tool to get the proper register values for our DDR3 chips & board.
- I updated the GEL scripts for the AM5728 EVM with the values from the XLS + some adaptations for the two banks w/o interleaving
- et voila: I can access both banks at 0x80000000 (EMIF1) and 0xC0000000 (EMIF2)
Next step was uboot:
- I generated a new board below vendor=TI to have the common stuff easy
- I did some initial mods to adapt to our board
- I (tried to) updated the VTT enable stuff, memory config (emif_get_reg_dump, emif_get_reg_dump, emif_get_reg_dump, values from the XLS, ...) and DMM setup in board.c
- I got the #RESET board ... stuff on the RS232, but trouble on the DDR3
First issue: I got no clock. At first glance, I found that the memory is put in self refresh in emif_update_timings(...) in emif-common.c. For the quick win, I simply commented out the &emif->emif_pwr_mgmt_ctrl stuff.
After that, I can "access" both memories, but the memory content is not stable.
Question:
- Is there an updated uboot for the SR2.0 of AM5728?
- Is there probably something special in uboot regarding SR2.0 and DDR3?
- It looks a bit like the hw calibration is not used or disabled or so. Any hints in that direction?
Maybe there is some knowledge arround to help me get on track. As the GEL settings seem to work quite good, I feel so close to being able to continue with uboot in DDR3 ...
Kind regards
Wolfram Stumpf