[U-Boot-Users] Adding support to M5282Lite

Alan Carvalho de Assis acassis at gmail.com
Wed Dec 13 20:52:03 CET 2006


Hi all,
I want port U-Boot to M5282Lite board.

To it create a new target in U-Boot Makefile and create the directory
boards/m5282lite and include/configs/M5282LITE.h based on M5282EVB.

Also added the SDRAM init code to initdram().

These is my main defines:

TEXT_BASE = 0xFFE00000
#define CFG_LOAD_ADDR           0x20000
#define CFG_FLASH_BASE          0xffe00000
#define CFG_MONITOR_BASE        (CFG_INT_FLASH_BASE + 0x400)

Using the m68k-bdm-elf-gdb I am trying to start u-boot:

(gdb) target bdm /dev/bdmcf0
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) b cpu_init_f
Breakpoint 1 at 0xffe04638: file cpu_init.c, line 178.
(gdb) c
Continuing.
^ C
[New process 42000]

Program received signal SIGTSTP, Stopped (user).
[Switching to process 42000]
0xffe0808a in do_bootm (cmdtp=0xffffffff, flag=-1, argc=-1,
argv=0xffffffff) at cmd_bootm.c:345
345                     printf ("   Uncompressing %s ... ", name);
(gdb)

But it never goes to cpu_init_f ...

Am I doing some misconfiguration or some wrong step?

Cheers,

Alan




More information about the U-Boot mailing list