u-boot-brain/board/freescale
Fabio Estevam aee0013e53 mx53loco: Fix boot hang during reboot stress test
Currently by running the following test:

=> setenv bootcmd reset
=> save
=> reset

, we observe a hang after approximately 20-30 minutes of stress reboot test.

Investigation of this issue revealed that when a single DDR chip select is used,
the hang does not happen. It only happens when the two chip selects are active.

MX53 reference manual states at "28.6.2 Memory ZQ calibration sequence":

"The controller must keep the memory lines quiet (except for CK) for the ZQ
calibration time as defined in the Jedec (512 cycles for ZQCL after reset, 256
for other ZQCL and 64 for ZQCS)."

According to the SDE_0 and SDE_1 bit descriptions from register ESDCTL_ESDCTL:

"Writing 1 to SDE0 or SDE1 will initiate power up delays as JEDEC defines.
Power up delays are a function of the configured memory type (DDR2/DDR3/LPDDR2)"

So make sure to activate one chip select at time (CS0 first and then CS1 later),
so that the required JEDEC delay is respected for each chip select.

With this change applied the board has gone through three days of reboot stress
test without any hang.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
2015-02-10 12:48:50 +01:00
..
b4860qds B4860QDS: Enable enet port as per fsl_b4860_serdes2 string in hwconfig 2014-12-05 08:06:14 -08:00
bsc9131rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
bsc9132qds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
c29xpcie fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
common ARM: ls102xa: Setting device's stream id for SMMUs. 2014-12-11 09:42:22 -08:00
corenet_ds powerpc/hydra: fix judging condition of RGMII selection 2014-12-05 08:06:17 -08:00
ls1021aqds ARM: ls102xa: Setting device's stream id for SMMUs. 2014-12-11 09:42:22 -08:00
ls1021atwr ARM: ls102xa: Setting device's stream id for SMMUs. 2014-12-11 09:42:22 -08:00
ls2085a fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
m547xevb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m548xevb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m5208evbe MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5235evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m5249evb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5253demo kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m5253evbe MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
m5272c3 MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5275evb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5282evb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5329evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m5373evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m52277evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m53017evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m54418twr MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m54451evb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m54455evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc832xemds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc837xemds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc837xerdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc5121ads fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8308rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8313erdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8315erdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8323erdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8349emds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8349itx fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8360emds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8360erdk fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8536ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8540ads fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8541cds MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
mpc8544ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8548cds MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
mpc8555cds MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
mpc8560ads fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8568mds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8569mds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8572ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8610hpcd fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
mpc8641hpcn fdt: Try to use fdt_address_cells()/fdt_size_cells() 2014-11-21 04:43:18 +01:00
mx6qarm2 imx:mx6qarm2 add board level support for usb 2014-12-19 15:32:13 +01:00
mx6qsabreauto imx: mx6qsabreauto: Change to use common GPMI IO clock function 2015-02-10 12:48:49 +01:00
mx6sabresd imx:mx6sabresd add board level support for usb 2014-12-19 15:32:13 +01:00
mx6slevk Merge branch 'master' of git://git.denx.de/u-boot-spi 2015-01-02 07:42:58 -05:00
mx6sxsabresd imx:mx6sxsabresd board spl support 2015-01-22 09:56:06 +01:00
mx23evk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx25pdk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx28evk mx28evk: README: Revision C is also supported 2014-11-12 09:05:57 +01:00
mx31ads kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx31pdk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx35pdk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx51evk mx51evk: Fix MX51EVK_USB_CLK_EN_B definition 2014-12-19 15:32:14 +01:00
mx53ard mx53ard: Fix error handling in board_mmc_init() 2014-11-21 16:47:55 +01:00
mx53evk mx53evk: Fix error handling in board_mmc_init() 2014-11-21 16:47:55 +01:00
mx53loco mx53loco: Fix boot hang during reboot stress test 2015-02-10 12:48:50 +01:00
mx53smd mx53smd: Fix error handling in board_mmc_init() 2014-11-21 16:47:55 +01:00
p1_p2_rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p1_p2_rdb_pc fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p1_twr fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p1010rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p1022ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p1023rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p2020come fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p2020ds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
p2041rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
qemu-ppce500 fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
t4qds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
t4rdb fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
t102xqds board/t1024qds: add retimer support on t1024qds 2014-12-05 08:06:16 -08:00
t102xrdb powerpc/t1024rdb: Add T1024 RDB board support 2014-12-05 08:06:15 -08:00
t104xrdb mpc85xx/t104xrdb: convert deep sleep to generic board interface 2014-12-15 09:17:12 -08:00
t208xqds powerpc/t2080: updating rcw for silicon v1.1 2014-12-05 08:06:14 -08:00
t208xrdb powerpc/t2080: updating rcw for silicon v1.1 2014-12-05 08:06:14 -08:00
t1040qds fdt: Allow ft_board_setup() to report failure 2014-11-21 04:43:15 +01:00
vf610twr kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00