From: ich <contumax@gmx.at>
To: u-boot@lists.denx.de
Subject: [U-Boot] Boot uboot from another position in flash
Date: Wed, 03 Aug 2011 14:49:59 +0200 [thread overview]
Message-ID: <1312375799.4776.16.camel@debian> (raw)
Hello guys
I use u-boot U-Boot 1.3.1 - stm24_0054 for sh (Board mb411)
(STLinux 2.4)
It is no problem to boot with u-boot from flash at 0x000000.
But I have to install u-boot in another position in flash than 0x000000.
I can also load the uboot from a u-boot loaded in RAM with jtag
(with go 0xa0650000).
In the Bootvector is a jump written in Assembly language like:
#####################################
.text
.org 0
mov.l start_addr, r0
mov.l p2_mask, r1
mov.l @r0, r0
or r1, r0
jmp @r0
nop
.align 2
start_addr: .long 0xa0650000
p2_mask: .long 0xa0000000
.end
#####################################
(I have no idea about assembly language; I just modified an existing
code!)
Here is hangs. No start at all.
I used the CFG_MONITOR_BASE=0xa0650000 without success.
Is the problem my U-boot or the assembly code?
Thank you
contumax
next reply other threads:[~2011-08-03 12:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-03 12:49 ich [this message]
2011-08-03 13:16 ` [U-Boot] Boot uboot from another position in flash Wolfgang Denk
2011-08-03 14:59 ` ich
2011-08-03 19:21 ` Wolfgang Denk
2011-08-10 14:52 ` ich
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=1312375799.4776.16.camel@debian \
--to=contumax@gmx.at \
--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