public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Flashing u-boot on NAND flash
Date: Tue, 20 Jan 2009 14:35:43 +0100	[thread overview]
Message-ID: <200901201435.43503.sr@denx.de> (raw)
In-Reply-To: <174230991E95D743B0C91DF471EF44E8434339CBBE@MTW02MSG02.mindtree.com>

On Tuesday 20 January 2009, Afzal Nadirshah wrote:
> I was going through the u-boot archives and I came across a reply from
> Leonid (http://lists.denx.de/pipermail/u-boot/2008-March/030788.html)
>
> Accordingly I did the following :
>
> 1. I set the TEXT_BASE to the address 0x1000000 in
> board/amcc/canyonlands/config.mk 2. The initdram function in
> board/amcc/canyonlands/canyonlands.c was left alone as it contained only
> the following code : return CFG_MBYTES_SDRAM << 20;
> 3.i did not have the file board/xilinx/ml403/u-boot.lds, instead of that, I
> used the file board/xilinx/ppc440generic/u-boot-ram.lds.
>
>
> With these changes I compiled the u-boot and it compiled properly.
>
> Then I loaded the bin file using the BDI 3000 to the location 0x1000000, I
> set rm pc 0x1000100 And entered the command "go".
> After this I expected to get the u-boot messages through the serial port on
> minicom. But I din get anything on minicom.
>
> Could you please guide me as to where I am going wrong?

Are you sure that your DDR2 setup in the BDI init script is correct? Did you 
do some basic memory testing via the BDI?

As explained before, this is not a supported config option for PPC4xx. So many 
things could go wrong here. You must make sure for example that no SDRAM init 
code is executed anymore. And perhaps other CPU init stuff has to be removed 
for such an image as well.

Best regards,
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
=====================================================================

      reply	other threads:[~2009-01-20 13:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-20  4:06 [U-Boot] Flashing u-boot on NAND flash Afzal Nadirshah
2009-01-20  8:54 ` Stefan Roese
2009-01-20 13:27   ` Afzal Nadirshah
2009-01-20 13:35     ` Stefan Roese [this message]

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=200901201435.43503.sr@denx.de \
    --to=sr@denx.de \
    --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