public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: grave <grave@ipno.in2p3.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] more on booting uboot from flash on a memec evaluation board
Date: Mon, 21 Mar 2005 15:48:39 +0000	[thread overview]
Message-ID: <1111420119l.20542l.2l@ipnnarval> (raw)
In-Reply-To: <1111397855l.19618l.0l@ipnnarval> (from grave@ipno.in2p3.fr on Mon Mar 21 10:37:35 2005)

More information on our design :

We have 32 MB of RAM @ 0x00000000
A flash system @ 0x0300000

I have copied the ml300 design and change a few things :
monitor address goes from 0x04000000 to 0x01000000 in ml300.h
the same in config.mk

I put the uboot.srec file in the flash memory
and I setup the following code to jump to 0x03000100

file depart.s :
	.section ".boot","ax"
	.align 2
	.globl _boot
	.type _boot, at function
_boot:
	b _uboot

file suite.s :
	.section ".text"
	align 2
	.globl _uboot
	.type _uboot, at function
_uboot:
	lis 0,0x300
	ori 0,0,256
	mtlr 0
	blrl

ld script :
ENTRY(_boot)
SECTIONS
{
   .text 0xffff8000 :
   {
       *(.text)
??}
   .boot 0xfffffffc :
   {
       *(.boot)
   }
}

the small code generated is used to boot the ppc with the xilinx edk.

uboot doesn't seem to boot, what I have done wrong ?

xavier

  reply	other threads:[~2005-03-21 15:48 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         ` grave [this message]
2005-03-21 18:22           ` [U-Boot-Users] more on " Andrew May
2005-03-22  6:51           ` Peter Ryser
2005-03-22  6:46 ` [U-Boot-Users] " Peter Ryser

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=1111420119l.20542l.2l@ipnnarval \
    --to=grave@ipno.in2p3.fr \
    --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