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: Thu Aug 28 09:36:14 CEST 2008
    Subject: [openrisc] Re: continued with last letter
    Top
    On Thu, 2008-08-28 at 10:09 +0800, yejun.golden wrote:
    > Section 3.4.2 of your installation guild mentioned about a '.config'
    > file. But this file will not exist until I configured using the
    > graphical configuration tool.
    >
    > Should I
    > 1)use the graphical configuration tool to generate a '.config' file
    > 2)then copy the content of 'rgd_dot_config' to this file
    > 3)finally 'make vmlinux ARCH=or32
    > CROSS_COMPILE=/opt/or32/bin/or32-uclinux-'
    > ???
    >
    >
    > --
    > Best Regards
    > Ye Jun
    > Ph.D student
    > Computer Science Colleage
    > National University of Defence Technology
    > Chairman of NUDT MsClub
    > China
    >
    Hi Ye Jun,

    I have made this reply to the OpenRISC mailing list, so the wider
    community can benefit from your experience.

    I would not expect the version of GCC or Linux on your workstation to be
    a problem for you. The native GCC (i.e. the one on your workstation) is
    only used to compile the "makeconfig" step, and I don't think this is
    where your listing is showing the error.

    I think your problem is in the configuration. Do this as follows:

    1. In the Linux directory, copy rgd_dot_config to .config:

    cp rgd_dot_config .config

    2. Run the configurator. This takes the .config file (created in the
    previous step), modifies it, and then generates the correct include
    headers for the chosen configuration.

    make menuconfig ARCH=or32 CROSS_COMPILE=/opt/or32/bin/or32-uclinux-

    deselect the Ethernet support in the OpenRISC specific drivers. This is
    done, because the Ethernet does not seem to work with the version of
    Or1ksim (0.2.0) in the application note.

    3. Build Linux

    make vmlinux ARCH=or32 CROSS_COMPILE=/opt/or32/bin/or32-uclinux-

    This is not the first time the instructions on configuring Linux have
    caused confusion. I shall rewrite this section when I update the
    application note.

    Let us know if this fixes the problem. If you still have problems,
    please could you email (to the OpenRISC mailing list), the exact steps
    you have used to build the complete toolchain (including the patches you
    applied etc).

    Best wishes,


    Jeremy

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


    Follow upAuthor
    [openrisc] Another error when buiding uClibcYejun golden

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