Please define lcf file as the following, and program the bin file at 0xEFF00000.
/* Default linker script, for normal executables */
OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
"elf32-powerpc")
OUTPUT_ARCH(powerpc:common)
ENTRY(__start)
MEMORY {
ram : org = 0x00002000, l = 0x7FFFFFFF
rom : org = 0xEFF10000, l = 0x000EEFFF
}
SECTIONS
{
_stack_addr = 0x003dfff0;
_stack_end = 0x003d7ff0;
_heap_addr = 0x3cfff0;
_heap_end = 0x3d7ff0;
.intvec 0xEFF00000 :
{
*(.intvec)
} = 0xffff
.reset 0xEFFFFFFC :
{
*(.reset)
} = 0x4
.init 0xEFFFF000 :
{
*(.init)
*(.init_data)
} = 0xFFC