[U-Boot-Users] U-boot starting from RAM or Flash

Alan Carvalho de Assis acassis at gmail.com
Fri Dec 15 17:07:20 CET 2006


Hi Denk,

2006/12/14, Wolfgang Denk <wd at denx.de>:
> In message <37367b3a0612141020v1a595604vf9e012b39a5136ff at mail.gmail.com> you wrote:
> >
> > I still trying to start U-Boot from flash on M5282Lite, now I am
> ...
> > (gdb) load u-boot
> > Loading section .text, size 0xcd0a lma 0xffe00000
> > Loading section .rodata, size 0x37b1 lma 0xffe0cd0a
> > Loading section .reloc, size 0xc3c lma 0xffe10500
> > Loading section .data, size 0xae8 lma 0xffe1113c
> > Loading section .got.plt, size 0xc lma 0xffe11c24
> > Loading section .u_boot_cmd, size 0x378 lma 0xffe11c30
>
> If this is flash, and you already stored the U-Boot image there, then
> what is this "load" command doing here?
>

hum, this is problem, I can't stored it on flash.
I want to use U-Boot itself to store it on flash.

I tried also start U-Boot from dBug:

dBUG> go 10000

U-Boot 1.1.6 (Dec  8 2006 - 17:23:16)

CPU:   Freescale Coldfire MCF5282 (PIN: 20 REV: 01)
Reset: External
MOTOROLA M5282Lite Evaluation Board
DRAM:  16 MB
Unimplemented F-Line Instruction
PC: 00FE906C SR: 2714 [t.Sm.111...XnZvc]
An: 00FF9000 00FE906C 00021B00 00FFAB00 00000000 00020000 2000FF88 00FA6F78
Dn: 00FB6F90 FFFFFFFF 00FF9000 00FB6F90 00000000 00000000 00000000 2000FFC0
00FE906C: FFFF                 DC.W      0xFFFF
dBUG>


Now I will try other approach:
I will initialize the SDRAM using commands on gdbinit, and compile
U-Boot (with define CONFIG_MONITOR_IS_IN_RAM) to 0x00000400 and start
it directly from RAM.

Do you have other suggestion?

> Best regards,
>
> Wolfgang Denk
>

Greetings,

Alan




More information about the U-Boot mailing list