Bootloader Linker Script Help

Hallo, I have compiled "simple bootloader" generated with tool "Program Flash memory" of EDK Platform studio.

At Local date and time: Fri Aug 26 10:15:15 2005 Command xbash -q -c "cd /cygdrive/d/Projects/sistema_boot/; /usr/bin/make -f system.make program; exit;" Started...

mb-gcc -Os bootloader/bootloader.c bootloader/srec.c -o bootloader/executable.elf \

-mno-xl-soft-mul -I./microblaze_0/include/ -Ibootloader/

-L./microblaze_0/lib/ \

-xl-mode-executable \ mb-size bootloader/executable.elf text data bss dec hex filename

2576 20 1192 3788 ecc bootloader/executable.elf Done.

After I have opened the tool: "Generate Linker script" to configure memory sections.

.text 0x000008C8 .rodata 0x00000120 .sdata2 0x00000028 .data 0x00000014 .sbss 0x00000000 .bss 0x000004A8

Heap 0xA28 Stack 0XE28

I generate Linker Script using a dedicated bram of 8Kbytes connected to system through opb_bram_controller.

When I recompile bootloader I receive the following error message:

Linker Script generated successfully.

At Local date and time: Fri Aug 26 10:21:16 2005 Command xbash -q -c "cd /cygdrive/d/Projects/sistema_boot/; /usr/bin/make -f system.make program; exit;" Started...

mb-gcc -Os bootloader/bootloader.c bootloader/srec.c -o bootloader/executable.elf \

-mno-xl-soft-mul -Wl,-T -Wl,bootloader/bootloader_linker_script

-I./microblaze_0/include/ -Ibootloader/ -L./microblaze_0/lib/ \

-xl-mode-executable \ /cygdrive/c/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real: region opb_bram_if_cntlr_0 is full (bootloader/executable.elf section bss_stack) /cygdrive/c/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/bin/ld.real: region opb_bram_if_cntlr_0 is full (bootloader/executable.elf section bss_stack) collect2: ld returned 1 exit status make: *** [bootloader/executable.elf] Error 1 Done.

What could I do to solve this trouble?

Many Thanks Marco

Reply to
Marco
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.