From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 14 Jan 2010 11:24:46 +0100 Subject: [U-Boot] U-Boot Crashes with Dumps In-Reply-To: <001636ed6c7e8c9189047d1cab86@google.com> References: <001636ed6c7e8c9189047d1cab86@google.com> Message-ID: <201001141124.46982.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 14 January 2010 10:39:57 anupbehare at gmail.com wrote: > now as I am getting u-boot prompt that means DDR initilised properly. > now I am debuging for trap_init and flash_init(). Could be that your DDR init code somehow generates an exception that is triggered once trap_init() is called. This is also know to happen in the common denali_data_eye code. See here: #if defined(CONFIG_DDR_DATA_EYE) /* * Running denali_core_search_data_eye() when ECC is enabled * causes non-ECC machine checks. This clears them. */ print_mcsr(); mtspr(SPRN_MCSR, mfspr(SPRN_MCSR)); print_mcsr(); #endif I suggest you analyse this and the Denali registers for any source/status of a generated exception. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de