LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Matjaz Breskvar<phoenix@o...>
    Date: Wed May 12 19:21:44 CEST 2004
    Subject: [openrisc] simulator: write out of memory problem with Tremor
    Top
    * jfafinski@h... (jfafinski@h...) wrote:
    > Hello everybody,
    >
    > I have a problem when I want to simulate Tremor , take a look:
    >
    > hod 116% or32-uclinux-sim -f sim.cfg tremor.or32
    > Reading script file from 'sim.cfg'...
    > Verbose on, simdebug off, interactive prompt off
    > Machine initialization...
    > Clock cycle: 100ns
    > Data cache present.
    > Insn cache tag present.
    > BPB simulation off.
    > BTIC simulation off.
    >
    > Building automata... done, num uncovered: 0/212.
    > Parsing operands data... done.
    > loadcode: filename tremor.or32 startaddr=0 virtphy_transl=0
    > Not COFF file format
    > ELF type: 0x0002
    > ELF machine: 0x8472
    > ELF version: 0x00000001
    > ELF sec = 17
    > Section: .text, vaddr: 0x01000074, paddr: 0x01000074, offset:
    > 0x00000074, size: 0x0002f978

    i don't know how you configured the simulator, but if you have a default
    config, there is no memory section at 0x01000074...

    so you may change the sim.cfg (though you'll still need some code at
    0x100, that's the entry for or32). but i guess you need to
    change paddr (physical address) in the elf file header.

    the code is loaded to paddr address of section so you may also
    change the default linker script with one to put sections at right
    addresses. (please take a look at orpmon, or
    linux/arc/or32/vmlinux.lds for some examples.)

    regards,
    p.

    ReferenceAuthor
    [openrisc] simulator: write out of memory problem with TremorJfafinski

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.