avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] move assembler bootloader code to end of flash


From: Bernhard Kuemel
Subject: Re: [avr-gcc-list] move assembler bootloader code to end of flash
Date: Fri, 09 Sep 2011 09:57:59 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110818 Icedove/3.0.11

On 09/08/2011 11:26 PM, Bernhard Kuemel wrote:
> Hi!
> 
> I'm trying to modify and port Kasper Pedersens assembler bootloader
> tinyloader to gnu avr-gcc.
> 
> I'm stuck with moving the code to the end of flash. I read about
> .section statements and --section-start linker arguments (in the
> makefile), but I just can't figure it out. Either the section is not
> moved up, or it's missing in the .hex file while it shows up fine in the
> .lst file.

> %.hex: %.elf
>         $(OBJCOPY) -j .text -j .data -O ihex $< $@

Ok, the .bootloader section was missing here.

Found it in the archives here.

Bernhard



reply via email to

[Prev in Thread] Current Thread [Next in Thread]