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-Users] [uboot] Walnut PPC405GP flash
Date: Mon, 21 Apr 2008 10:34:18 +0200	[thread overview]
Message-ID: <200804211034.18719.sr@denx.de> (raw)
In-Reply-To: <cdb837ea0804202342i4285ee8em4794993560b06182@mail.gmail.com>

On Monday 21 April 2008, ?? wrote:
> Yep! The ppcboot is very ancient. hehe.
> Actually, my board is DHT-walnut: http://elinux.org/DHT-Walnut_U_Boot

So, it's no "real" Walnut. Then the official Walnut U-Boot will probably not 
work for your board.

> The web provides a pre-compiled bin uboot 1.1.4  for my board. The size is
> 256KB.

4xx U-Boot images need to get loaded at the "end" of flash. So a 256k image 
need to get loaded at 0xfffc0000.

> I downloaded it, and burn this bin into flash. But the board is still not
> work.
> Well, you point out a very important thing that 4xx use 0xfffffffc as the
> reset vector.
> My flash is 512KB larger, therefore the bin only fills the first 256KB of
> the flash.
> The reset vector is not set correct. Am I correct? It seem that it depends
> on how CPU
> maps flash contents into address space. And how to set it? I don't know
> how to determine the real entry of a specific uboot-bin.  :<

As mentioned above, you have to program a 256k image to 0xfffc0000.

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@denx.de
=====================================================================

      reply	other threads:[~2008-04-21  8:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-21  5:49 [U-Boot-Users] [uboot] Walnut PPC405GP flash 甜瓜
2008-04-21  6:24 ` Stefan Roese
2008-04-21  6:42   ` 甜瓜
2008-04-21  8:34     ` 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=200804211034.18719.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