public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peter Ryser <Peter.Ryser@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] booting uboot from flash on a memec evaluation board
Date: Mon, 21 Mar 2005 22:46:43 -0800	[thread overview]
Message-ID: <423FBF53.5020309@xilinx.com> (raw)
In-Reply-To: <1111149539l.12024l.3l@ipnnarval>

What you actually want to do is to modify the EDK design to map the 
flash to the top of the memory. Assuming that you used the ML300 board 
support as your starting point to port u-boot to the Memec board modify 
board/xilinx/ml300/u-boot.lds and include the following right after the 
beginning of the SECTORS declaration:

.resetvec oxFFFFFFFC :
{
    *(.resetvec)
} = 0xffff

Modify board/xilinx/ml300/config.mk and change the TEXT_BASE to the 
start of the u-boot monitor. Further, you need to modify 
include/configs/ml300.h to map the monitor to the area of your flash, e.g.
#define CFG_MONITOR_BASE   0xfffc0000         // needs to match TEXT_BASE
#define CFG_FLASH_BASE          0xff800000       // start of flash in 
memory map

If you compile flash support into u-boot you will be able to use u-boot 
to install a newer version of itself into the flash.

- Peter



grave wrote:

> Hi,
>
> I'm new to uboot and I try to boot it on an evaluation board with a  
> VirtexIIpro. I have compiled an uboot version inspired from the ml300  
> design and flashed it to our flash media using uboot.srec and a memec  
> flash programmer. Now I wonder how to make the ppc boot in the flash.  
> Do I need a specific and very simple code at address 0xfffffffc that  
> jump to the flash address where there is the uboot code ?
>
> Any hint would be welcome...
>
> Thanks in advance, Xavier
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>

      parent reply	other threads:[~2005-03-22  6:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-18 12:38 [U-Boot-Users] booting uboot from flash on a memec evaluation board grave
2005-03-18 16:31 ` Wolfgang Denk
2005-03-18 16:51   ` Re : " grave
2005-03-18 17:32     ` Wolfgang Denk
2005-03-21  9:37       ` Re : " grave
2005-03-21 15:48         ` [U-Boot-Users] more on " grave
2005-03-21 18:22           ` Andrew May
2005-03-22  6:51           ` Peter Ryser
2005-03-22  6:46 ` Peter Ryser [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=423FBF53.5020309@xilinx.com \
    --to=peter.ryser@xilinx.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