public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Boot uboot from another position in flash
@ 2011-08-03 12:49 ich
  2011-08-03 13:16 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: ich @ 2011-08-03 12:49 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-10 14:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03 12:49 [U-Boot] Boot uboot from another position in flash ich
2011-08-03 13:16 ` Wolfgang Denk
2011-08-03 14:59   ` ich
2011-08-03 19:21     ` Wolfgang Denk
2011-08-10 14:52       ` ich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox