Re: [U-Boot-Users] SDRAM init problem? Was Re: uboot 1.1.2 problem

Scott McNutt smcnutt@psyent.com wrote:
Just wanna to confirm one thing. If one board's SDRAM init was good enough but with poor layout (Layout design or PCB Processing), it would crash like this?
Yes, if your clock signals were not routed cleanly ... but re-check your SDRAM init first.
Thanks. Actually, it involves the grey area which a probelm was supposed to produce by hardware or software. The golden role is to check SW first.
[snip]
The good part is that u-boot remains stable (due to some handy design decisions) ... and the POST cache tests are a great starting point to determine if the problem exists ... in a deterministic manner ;-)
Really a nice explanation and experience share.
I have been thinking one puzzle related u-boot itself. I noticed that sometimes u-boot would hang after relocation on my board. The chance is slim but have an effect on normal operation. Maybe 1 out of 10 times. Especially when power down and on in a short interval like no more than 1 minute. I don't know whether this symptom is due to SDRAM init problem.
My wild guess is some elements like capacitances don't discharge enough to restore the original state they should be.
U-Boot 1.0.0 (Aug 20 2004 - 21:11:30) CPU: PPC823EZTnnB2 at 48 MHz: 16 kB I-Cache 8 kB Cache Board: DMTXX DRAM: 128 MB
Code reached to relocate_code()->board_init_r(). Stoped before flash_init().
Does anyone encounter such a problem? Ideas?
Thanks in advance,
Sam
_________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1...

In message 20050525083355.6524.qmail@web15904.mail.cnb.yahoo.com you wrote:
Thanks. Actually, it involves the grey area which a probelm was supposed to produce by hardware or software. The golden role is to check SW first.
You must be one of these hardware guys who always blame the software. I hope you have your asbestos ready in case you need them soon ;-)
I have been thinking one puzzle related u-boot itself. I noticed that sometimes u-boot would hang after relocation on my board. The chance is slim but have an effect on normal operation. Maybe 1 out of 10 times. Especially when power down and on in a short interval like no more than 1 minute. I don't know whether this symptom is due to SDRAM init problem.
This is one of the possible reasons.
Does anyone encounter such a problem? Ideas?
We've seen lots of "funny" problems with the many boards we lay hands on. Three more things to check:
* Check the voltages on your system: tolerances ok? spikes or other noise on the lines? especially close to the CPU? * Check the clocks. Check the clocks again. * check for unconnected pins, missing pull-ups or -downs, or incorrect resistor values
Best regards,
Wolfgang Denk
participants (2)
-
Sam Song
-
Wolfgang Denk