[U-Boot-Users] My problem is solved in this way!

Joe lgxue at yahoo.com
Tue Oct 28 03:19:21 CET 2003


Dear Wolf Denk:
    My problem of ld scripts has been solved!I make
two
mistake.  1. The enviroment file is
common/env_common.o
not common/enviroment.o 
2. The arm seem can't use ppcenv but text.
    I use the scripts below and put the enviroment
parameter in right room. Thanks!
.SECTIONS
{
        . = 0x00000000;
        . = ALIGN(4);
        .text      :
        {
        cpu/arm720t/start.o     (.text)
        *(.text)
        }

        . = ALIGN(0x1000);
        .rodata : { *(.rodata) }

        . = ALIGN(4);
        .data : { *(.data) }

        . = ALIGN(4);
        .got : { *(.got) }

        armboot_end_data = .;

        . = ALIGN(4);
        .bss : { *(.bss) }

        . = ALIGN(4);

        .text   :    
        {
        . = 0x10000;
        common/env_common.o
        }

        armboot_end = .;
}




__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/




More information about the U-Boot mailing list