This is the mail archive of the ecos-bugs@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 20305] New: Loading and executing from DRAM/SIMM


http://bugs.ecos.sourceware.org/show_bug.cgi?id=20305

           Summary: Loading and executing from DRAM/SIMM
           Product: eCos
           Version: 1.2.1
          Platform: jmr3904 (Toshiba JMR-TX3904 board)
        OS/Version: MIPS
            Status: ASSIGNED
          Severity: normal
          Priority: low
         Component: Other
        AssignedTo: jifl at ecoscentric dot com
        ReportedBy: anonymous at egcs dot cygnus dot com


Build eCos and Tests with startup RAM and modified the MLT
Linker script for the ram startup as follow:

MEMORY
{
    sram : ORIGIN = 0x80008000, LENGTH = 0x78000
    dram : ORIGIN = 0x88008000, LENGTH = 0x400000
}

SECTIONS
{
    SECTIONS_BEGIN
    SECTION_rom_vectors (dram, 0x88008000, LMA_EQ_VMA)
    SECTION_text (dram, ALIGN (0x1), LMA_EQ_VMA)
    SECTION_fini (dram, ALIGN (0x1), LMA_EQ_VMA)
    SECTION_rodata (dram, ALIGN (0x1), LMA_EQ_VMA)
    SECTION_rodata1 (dram, ALIGN (0x1), LMA_EQ_VMA)
    SECTION_fixup (dram, ALIGN (0x1), LMA_EQ_VMA)
    SECTION_rel__dyn (dram, ALIGN (0x1), LMA_EQ_VMA)
    SECTION_gcc_except_table (dram, ALIGN (0x1), LMA_EQ_VMA)
    SECTION_data (dram, ALIGN (0x8), LMA_EQ_VMA)
    SECTION_bss (dram, ALIGN (0x4), LMA_EQ_VMA)
    SECTIONS_END
}

I set the origin for the dram section based on the Virtual
address as defined in the Toshiba JMR-TX3904 User's Manual.

I then tried loading this into the simulator using the cygmon.rom
as startup and gdb to load one of the kernel tests (memfix1).
This initial test loaded correctly into memory at 0x88008000.

When I tried to load it on the hardware, it hung at the
following:

+0xbfc07b64 in ?? ()
Loading section .rom_vectors, size 0xcc lma 0x88008000
þþþIgnoring packet error, continuing...
þþ

Does Cygmon support loading and executing a program from the
DRAM? I want to do this since my program is larger than the
512K available SRAM.  I do have a 16M 60ns SIMM in the slot.

Is there a way to verify the memory available from Cygmon
via a terminal program?  I want to verify that the board 
can see the 16M simm.

Thanks for your help

Sau!


---------------------------------------------------------------------------

Originator:
Saul Wold

Organization:
Sun Microsystems

Audit-Trail:
Responsible-Changed-From-To: alexs->jlarmour 
Responsible-Changed-By: alexs 
Responsible-Changed-When: Mon Jul 19 18:40:22 PDT 1999 
Responsible-Changed-Why:

Unformatted:
Originator:  

page: sourceware.cygnus.com/ecos/problemreport.html

Send_PR_form: Sent_from_sourceware.cygnus.com



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]