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

Alan Carvalho de Assis acassis at gmail.com
Thu Dec 14 19:20:35 CET 2006

Hi people,

I still trying to start U-Boot from flash on M5282Lite, now I am
setting the PC to 0xFFE00400 as said at M5282EVBUM.pdf (M5282EVB flash
base is the same to M5282LITE).

>From M5282EVBUM.pdf:
"If using BDM via a wiggler cable, download first, then start ROM
Monitor by pointing the program counter (PC) to 0xFFE00400 and run."

But it don't work to M5282LITE, I receive SIGGRANT see below. I found
a guy whom got the same problem, but none response to your question:

I already read a lot of documentation and search about the process to
start U-Boot over BDM. Bernhard Kuhn do it, but he used a external
pre-loader, I don't want it.

Please, someone here already started U-Boot from Flash using GDB/BDM ?



===================GDB Output=====================

Detected V2 core
GDB target bdm connected to /dev/bdmcf0
 Coldfire debug module version is 0 (5206(e)/5272/5282)
(gdb) symbol u-boot
Reading symbols from u-boot...done.
(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
Start address 0xffe00000, load size 73571
Transfer rate: 98094 bits/sec, 500 bytes/write.
(gdb) set $pc=0xffe00400
(gdb) b cpu_init_f
Breakpoint 1 at 0xffe04638: file cpu_init.c, line 178.
(gdb) c
[New process 42000]
bdm_wait: Unknown csr:0
Program received signal SIGGRANT, Monitor mode granted.
[Switching to process 42000]
0xffffffe9 in ?? ()

More information about the U-Boot mailing list