linker ld script

From: cyber (ant_at_der.de)
Date: 11/03/05

  • Next message: roger.larsson_at_norran.net: "Re: CONFIG_PREEMPT_RT in real-world applications"
    Date: Thu, 3 Nov 2005 21:19:28 +0100
    
    

    Hi
    Can anyone help me with Linker LD script memory allocation
    I need to write a embedded bootloader

    The bootloader should be placed i ROM at 0xa000 and above . The code should
    include some function foo1()... foo10(). and main() and crt0

    The CPU starts at 0x0000 where it should be vector which should point to
    crt0 (rom version)
    .After boot process . The bootloader wil copy its Ram based program ( runing
    in RAM) from external device (Rs232) .

    The Memory is mapped as
    000-0x50 Hardware vectors (prom)
    0x52---0x1ffe Program RAM Where the sshould be copied from external
    device
    2000-3000 Ram ( ram , heap , stack)
    0xa000-0xc000 ROM (bootloader)

    How should I write a LD script file for both Rom and Ram based version

    With regards
    George Arndt


  • Next message: roger.larsson_at_norran.net: "Re: CONFIG_PREEMPT_RT in real-world applications"

    Relevant Pages

    • Re: what is the functionality of kernelrelocate() of eboot code?
      ... Isn't the bootloader moved from rom to ram in order to be run after power on? ... From the bootloadermainthe kernelrelocate() is located at the first ...
      (microsoft.public.windowsce.platbuilder)
    • ld script
      ... Can anyone help me with Linker LD script memory allocation ... The bootloader should be placed i ROM at 0xa000 and above. ... The bootloader wil copy its Ram based program (runing ...
      (comp.os.linux.powerpc)
    • ld script
      ... Can anyone help me with Linker LD script memory allocation ... The bootloader should be placed i ROM at 0xa000 and above. ... The bootloader wil copy its Ram based program (runing ...
      (comp.os.linux.misc)
    • Re: Which is the inexpensive Boot loader for PowerPc/ARM/MIPS based cards?
      ... >> bootloader to do on a board like that? ... see how there could be a "decompress the OS into memory" step. ... He's in all likelyhood just going to run directly from ROM. ... RAM to run it. ...
      (comp.os.linux.embedded)
    • ColdFire M5271 use 52Kb SRAM for C-stack to test DRAM at OS boot ?
      ... allocate C-stack there to test DRAM at the boot time? ... allocating stack on DRAM and jumping over it during DRAM test - anybody ... I need to run the RAM test before the bootrom copies itself into RAM, ... At this point the system is still executing instructions out of ROM. ...
      (comp.arch.embedded)