public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] MPC8641D stucks before relocation
Date: Fri, 25 Oct 2013 09:55:46 -0700	[thread overview]
Message-ID: <526AA292.4080805@freescale.com> (raw)
In-Reply-To: <CAERE9Pow+NHXZRO1y4F7LhrQ3qx2O3PuAQ7Lwj_v2xSJN6k6QA@mail.gmail.com>

It is probably because your DDR wasn't initialized correctly. You can
try to dump all DDR registers and check if anyone is suspicious. You can
also override any register before enabling the controller.

You may also add some memory test before relocation.

York

On 10/25/2013 06:38 AM, Ashish Khetan wrote:
> hii I am using MPC8641D based custom board for evaluation purpose. I am
> using minimal configuration for this board i.e. only FLASH and DDR
> initialisation. when I compiled U-boot in debug mode its printing
> addresses, i check for those addresses and found that it is unable to
> relocate itself to DDR(4*MT47H64M16). The following message was printed...
> 
> U-Boot 2013.04 (Oct 25 2013 - 15:05:33)
> 
> Unicore software on multiprocessor system!!
> To enable mutlticore build define CONFIG_MP
> CPU:   8641, Version: 2.1, (0x80900021)
> Core:  E600 Core 0 (MSSCR0=8000, PORDEVSR=ab08307), Version: 2.2,
> (0x80040202)
> Clock Configuration:
>        CPU:800  MHz, MPX:400  MHz
>        DDR:200  MHz (400 MT/s data rate), LBC:25   MHz
> L1:    D-cache 32 KB enabled
>        I-cache 32 KB enabled
> L2:    Disabled
> Board: Wind River SBC8641D
> DRAM:      DDR: 512 MiB
> Top of RAM usable for U-Boot at: 20000000
> Reserving 114k for U-Boot at: 1ffe3000
> Reserving 136k for malloc() at: 1ffc1000
> Reserving 80 Bytes for Board Info at: 1ffc0fb0
> Reserving 152 Bytes for Global Data at: 1ffc0f18
> Stack Pointer at: 1ffc0f00
> New Stack Pointer is: 1ffc0f00
> 
> and stuck here...
> 
> Any pointer or link to get more about this will be helpful.
> Thanks in Advance
> 
> 
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 

  reply	other threads:[~2013-10-25 16:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-25 13:38 [U-Boot] MPC8641D stucks before relocation Ashish Khetan
2013-10-25 16:55 ` York Sun [this message]
2013-10-25 18:50   ` Ashish Khetan
2013-10-28 12:01     ` Ashish Khetan
2013-10-28 15:58       ` York Sun
2013-11-09  9:51       ` Ashish
2013-11-12  1:02         ` York Sun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=526AA292.4080805@freescale.com \
    --to=yorksun@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox