Nut OS: ARM: Missing Linker script files

View: New views
2 Messages — Rating Filter:   Alert me  

Nut OS: ARM: Missing Linker script files

by Faas, Hylke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 
I was "playing" with the options of the linker scripts in the Nut Os
configuration (using ethernut 4.8.2), when I encountered the following
problems;
 
The configuration tool gives the following options for the ethernut 3
(AT91R40008):
 
at91_boot                          AT91R40008, code in ROM, copied to
and running in RAM
at91_bootcrom                   AT91R40008, code in ROM copied to RAM,
but constant data remains in ROM.
at91_bootloader_bootcrom  AT91R40008, code copied to RAM, but consts
remain in ROM. Started by bootloader at address 0x10000
at91_ram                           AT91R40008, code loaded in RAM by
bootloader
at91_rom                           AT91R40008, code running in FLASH
at91_httprom                     AT91R40008, code running in FLASH. Use
this with boothttp.
 
When testing some different options I came with the conclusion that the
at91_bootloader_bootcrom is not implemented yet (the files
at91_bootloader_bootcrom.ld and crtat91_bootloader_bootcrom.S are simply
missing) or am I missing something?
 
The at91_bootcrom and at91_boot give the following error:
"crtat91_boot.S:55: Error: junk at end of line, first unrecognized
character is `0'" (example as you can see is of the at91_boot)
If I search on the internet most of the time it has something to do with
the missing path of the cross-compiler. Correct me if I am wrong, but in
this case the other linker scripts wouldn't work either if the path
wasn't set correct.
Are there other people how encountered this problem and what where
they're solutions?
 
 
Regards,
Hylke Faas
 
EchoStar Europe
Schuilenburglaan 5A
7604 BJ Almelo   The Netherlands
e-mail : hylke.faas@... <mailto:hylke.faas@...>
Website: http://www.echostareurope.com <http://www.echostareurope.com/>
 
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion

Re: Nut OS: ARM: Missing Linker script files

by Ethernut :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Faas, Hylke wrote:

> The at91_bootcrom and at91_boot give the following error:
> "crtat91_boot.S:55: Error: junk at end of line, first unrecognized
> character is `0'" (example as you can see is of the at91_boot)

Hylke,

this had been fixed in 4.8.3.

The entry of the missing script at91_bootloader_bootcrom had been
removed. It had been accidentally committed by Ole and he announced to
include it later. The policy doesn't allow such extensions in a final
release and it is expected to appear in the next major version.

Harald

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion