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: aggemous at hotmail.com<aggemous@h...>
    Date: Wed Sep 17 10:02:06 CEST 2008
    Subject: [openrisc] Problem running simulator
    Top
    Hi Jeremy,

    The answer in all your questions is yes, I have used correct patched
    version of or1ksim, correct sim.cfg and disabled ethernet.

    But I have not used issue 2 of the application notes, as I had them
    downloaded some weeks ago. I will try to fix the problem following issue
    2 instructions and I will post again if the problem persists, giving full
    sequence of commands used.

    Thank you for your kind help.

    Aggemous

    ----- Original Message -----
    From: Jeremy Bennett<jeremy.bennett@e...>
    To:
    Date: Tue Sep 16 10:04:00 CEST 2008
    Subject: [openrisc] Problem running simulator

    > On Mon, 2008-09-15 at 15:17 +0200, aggemous at hotmail.com
    wrote:
    >
    > > I need help getting architectural simulator run. Using Fedora
    > 9, I
    > > followed instructions as found in Embecosm's "The
    > OpenCores OpenRISC
    > > 1000 Simulator and Tool Chain: Installation Guide ".
    > > Everything seems OK up to the point I am trying to run the
    > simulator.
    > > Here follows the output:
    > >
    > > Copying Linux... Ok, booting the kernel.
    > < stuff deleted>
    > > NET: Registered protocol family 1
    > > NET: Registered protocol family 17
    > > NET: Registered protocol family 15
    > > EXCEPTION: read out of memory (32-bit access to 4000002c)
    > >
    > > Runarunaround: Unhandled exception 0x200: EPC=0x4104
    > > EXCEPTION: read out of memory (32-bit access to 4000032c)
    > >
    > > Runarunaround: Unhandled exception 0x200: EPC=0x4104
    > > EXCEPTION: read out of memory (32-bit access to 4000032c)
    > >
    > > Runarunaround: Unhandled exception 0x200: EPC=0x4104
    > > EXCEPTION: read out of memory (32-bit access to 4000032c)
    > >
    > > Runarunaround: Unhandled exception 0x200: EPC=0x4104
    > > EXCEPTION: read out of memory (32-bit access to 4000032c)
    > >
    > > Runarunaround: Unhandled exception 0x200: EPC=0x4104
    > > EXCEPTION: read out of memory (32-bit access to 4000032c)
    > >
    > > The exception message keeps on repeating.
    > >
    > > What am I doing wrong? Has someone seen the same error before?
    > Hi Aggemous,
    > The simulator is complaining about a read to a location (0x4000002c
    > initially) where it has no memory.
    > Three questions:
    > 1. Are you using the correct version of Or1ksim (0.2.0, NOT
    > 0.2.0rc1,
    > 0.2.0rc2 or 0.2.0rc3) and have you patched this as in the Embecosm
    > application note?
    > 2. Have you disabled the Ethernet before building Linux as
    > described in
    > the application note? This is known not to work with Or1ksim 0.2.0.
    > 3. Are you using the correct simulator configuration file. You must
    > use
    > the sim.cfg in the Linux root directory, NOT the one in the Or1ksim
    > root
    > directory.
    > I suspect the last of these, since it seems Linux is trying to use
    > its
    > virtual addresses as physical addresses, as though the
    > configuration had
    > the MMUs disabled.
    > If this doesn't work, could you post the exact sequence of commands
    > you
    > used to download, patch, configure and build the tool chain,
    > library,
    > Linux and Or1ksim. I run on Fedora 9, so I'm confident we can get
    > your
    > system working.
    > I updated the instructions for building the tool chain, Linux and
    > simulator earlier this month (they are a bit simpler now). Make
    > sure you
    > are using issue 2 of the application note.
    > http://www.embecosm.com/download/ean2.html
    > HTH,
    > Jeremy
    > --
    > Tel: +44 (1202) 416955
    > Cell: +44 (7970) 676050
    > SkypeID: jeremybennett
    > Email: jeremy.bennett at embecosm.com
    > Web: www.embecosm.com
    >
    >

    Follow upAuthor
    [openrisc] Problem running simulatorJeremy Bennett

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