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: Kory Schoenfliess<kmschoen@n...>
    Date: Mon Aug 22 05:53:43 CEST 2005
    Subject: [openrisc] More problems installing toolchain, this time with uClinux
    Top
    Hi,

    So I have now gotten past installing or1ksim on a Solaris and am now up
    to uClinux-2.0.x. Under bash, I entered the following commands:

    date > checkout_uclinux.txt 2>&1
    nice cvs -d :pserver:cvs@cvs.opencores.org:/home/oc/cvs -z9 co -d
    uClinux-2.0.x \
    or1k/uclinux/uClinux-2.0.x >> checkout_uclinux.txt 2>&1
    mkdir uclinux
    mv uClinux-2.0.x uclinux
    cd uclinux/uClinux-2.0.x
    sed -e 's/^LIBGCC/#LIBGCC/; /^#LIBGCC/ a \
    LIBGCC = '$INSTALL_PREFIX'\/lib\/gcc-lib\/or32-uclinux\/3.2.3\/libgcc.a' \
    < arch/or32/Rules.make > arch/or32/Rules.make.edited
    mv arch/or32/Rules.make.edited arch/or32/Rules.make
    sed -e 's/^CONFIG_NET/#CONFIG_NET/; /^#CONFIG_NET/ a \
    CONFIG_NET=n' < arch/or32/defconfig > arch/or32/defconfig.edited
    mv arch/or32/defconfig.edited arch/or32/defconfig
    nice make oldconfig >> ../../build_uclinux.txt 2>&1
    nice make dep >> ../../build_uclinux.txt 2>&1
    nice make all >> ../../build_uclinux.txt 2>&1


    The first 'sed' invocation is the usual libgcc.a edit. The second 'sed'
    invocation fixes a problem similar to the one below but for the file
    'serial.c' in the drivers/char/ subdirectory of uClinux-2.0.x.I get the
    following error (excerpt from build_uclinux.txt):

    tty_io.c: In function `tty_unregister_driver':
    tty_io.c:1989: internal error: Segmentation Fault
    Please submit a full bug report,

    I don't quite understand this, as line 1989 is the closing brace of the
    function. The very same thing happened in serial.c before the second
    'sed' was put in. Any ideas? Note that this error occurs during 'make all'.

    Thanks,
    Kory Schoenfliess


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