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: Jeremy Bennett<jeremy.bennett@e...>
    Date: Wed Sep 24 14:30:17 CEST 2008
    Subject: [openrisc] Problems building rtems toolchain
    Top
    On Wed, 2008-09-24 at 12:09 +0200, ailia@l... wrote:
    > Thank you very much for your help, Jeremy. The links you provided have
    > proved to be immensely useful.
    >
    > I have successfully installed the ubuntu virtual image for vmware.
    > However, upon running or1ksim, I get the following errors:
    > /bin/sh: can't access tty; job control turned off
    > serial8250: too much work for irq2
    >
    > I found out that I should replace the existing linux kernel 2.6.19
    > with linux 2.6.22 but when I try to create a new folder in the opt
    > folder where all the tools have been installed, i get a permission
    > denied error. Is there any way I can get a write access to this folder?

    Too much irq2 is known Linux problem. There is a patch for 2.6.19, which
    partially fixes this problem. However I don't think that was available
    when the VMWare image was created.

    In fact there is linux 2.6.23 available for OpenRISC, which fixes this
    problem under most circumstances. This is described in the new edition
    of Embecosm Application note #2:

    http://www.embecosm.com/download/ean2.html

    The problem you have is with installation. I don't use the VMware image
    myself, so I'm not familiar with how it works, but I presume you don't
    have write permission to the /opt directory. If you have the super user
    password, you could fix this with

    su
    chmod ugo+rwx /opt

    Which will give everyone write permission to /opt. Otherwise you may be
    able to just install it in your home folder.

    You can certainly do this if you build the tool chain yourself (as
    described in the application note). When you configure the tools, use
    the --prefix option to configure to select a directory where the tools
    should be installed. You can make this somewhere in your own file space.
    For example if your home directory is /home/ailia, then you could use:

    configure --target=/or32-uclinux --prefix=/home/ailia/or32

    All the executables, libraries, info files etc will be stored
    in /home/ailia/or32. You can add the binaries to your search path with:

    export PATH=/home/ailia/or32/bin:$PATH (for sh or bash users)
    setenv PATH /home/ailia/or32/bin:$PATH (for csh or tcsh users)

    HTH,


    Jeremy

    --
    Tel: +44 (1202) 416955
    Cell: +44 (7970) 676050
    SkypeID: jeremybennett
    Email: jeremy.bennett@e...
    Web: www.embecosm.com


    ReferenceAuthor
    [openrisc] Problems building rtems toolchainAilia

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