URL
https://opencores.org/ocsvn/minsoc/minsoc/trunk
Subversion Repositories minsoc
Compare Revisions
- This comparison shows the changes necessary to convert path
/minsoc/trunk/utils/contributions
- from Rev 41 to Rev 40
- ↔ Reverse comparison
Rev 41 → Rev 40
/setup/conxshlib.sh
File deleted
/setup/cable-install.sh
File deleted
setup/cable-install.sh
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: setup/minsoc-install.sh
===================================================================
--- setup/minsoc-install.sh (revision 41)
+++ setup/minsoc-install.sh (nonexistent)
@@ -1,74 +0,0 @@
-#!/bin/bash
-# Xanthopoulos Constantinos
-# Installing cable drivers for the impact to work
-# under Debian Squeeze.
-
-
-# ===== CONFIGURATIONS =====
-# ==========================
-
-# Where should I put the dir. minsoc?
-# ex. /home/conx/Thesis/
-DIR_TO_INSTALL=""
-
-
-# ===== SCRIPT ======
-# ===================
-export DEBUG=0;
-. conxshlib.sh
-
-if [ `whoami` == "root" ];
-then
- errormsg "You shouldn't be root for this script to run.";
-fi;
-
-if [ ! -d $DIR_TO_INSTALL ]
-then
- errormsg "Directory doesn't exist. Please create it";
-fi;
-
-cd $DIR_TO_INSTALL
-
-if [ ! -f "minsoc.tar.gz" ];
-then
- execcmd "Download minsoc" "wget http://xanthopoulos.info/pub/minsoc.tar.gz"
-fi
-
-if [ -d "minsoc" ]
-then
- rm minsoc -rf
-fi
-
-execcmd "Un-tar minsoc" "tar xf minsoc.tar.gz"
-
-cecho "I will now start to compile everything that's needed";
-
-cd minsoc/sw/utils
-
-execcmd "Make utils" "make"
-
-cd ../support
-
-execcmd "Make support tools" "make"
-
-cd ../drivers
-
-execcmd "Make drivers" "make"
-
-cd ../gpio
-
-execcmd "Make GPIO" "make"
-
-cd ../uart
-
-execcmd "Make UART" "make"
-
-cd ${DIR_TO_INSTALL}/minsoc/rtl/verilog/adv_debug_sys/Software/adv_jtag_bridge
-
-cecho "Installing FTDI headers! You will be asked to give root pass"
-
-execcmd "Install FTDI headers" "su -c \"aptitude install libftdi-dev\"";
-
-execcmd "Make adv_jtag_bridge" "make"
-
-cecho "Installation Finised"
setup/minsoc-install.sh
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: setup/README
===================================================================
--- setup/README (revision 41)
+++ setup/README (nonexistent)
@@ -1,24 +0,0 @@
-===== STEPS =====
-
-A. Install Cable Drivers:
- - Edit the cable-install.sh file and set the variable ISE_PATH to the directory
- where you have installed ISE (that directory must contain a directory ISE_DS).
- - Run the script: ./cable-install.sh
- - When finished type lsusb and you should get a line similar to
- "Bus 001 Device 005: ID 03fd:0008 Xilinx, Inc." where the ID
- should be as shown (03fd:0008).
- - You should be able to run IMPACT and see the devices in the JTAG chain.
-
-B. Install GNU Toolchain for OR:
- - Edit the toolchain-install.sh file and set the variables DIR_TO_INSTALL and
- KERNEL_ARCH as explained in the file.
- - Run the script: ./toolchain-install.sh
- - When finished you should be able to run or32-elf-gdb in a new terminal.
-
-C. Install minsoc:
- - Edit the minsoc-install.sh file and the variable DIR_TO_INSTALL.
- - Run the script: ./minsoc-install.sh
- - When finished you should have a working copy of minsoc project in the
- specified directory.
-
-Hope it works!
Index: setup/toolchain-install.sh
===================================================================
--- setup/toolchain-install.sh (revision 41)
+++ setup/toolchain-install.sh (nonexistent)
@@ -1,51 +0,0 @@
-#!/bin/bash
-# Xanthopoulos Constantinos
-# Installing OR GNU Toolchain.
-# Only tested in Debian Squeeze.
-
-
-# ===== CONFIGURATIONS =====
-# ==========================
-
-# Where will I put the binaries?
-# ex. /opt/openrisc/bin
-DIR_TO_INSTALL="";
-
-# Debian's kernel architecture {32,64}
-# ex. KERNEL_ARCH="32"
-KERNEL_ARCH=""
-
-# ===== SCRIPT ======
-# ===================
-export DEBUG=0;
-. conxshlib.sh
-
-if [ `whoami` == "root" ];
-then
- errormsg "You shouldn't be root for this script to run.";
-fi;
-
-if [ ! -d $DIR_TO_INSTALL ]
-then
- errormsg "Directory doesn't exist. Please create it";
-fi;
-
-execcmd "Change permissions" "chmod 777 $DIR_TO_INSTALL";
-
-cd $DIR_TO_INSTALL;
-
-if [ $KERNEL_ARCH == "32" ];
-then
- execcmd "Download toolchain (it may take a while)" "wget ftp://ocuser:oc@opencores.org/toolchain/or32-elf-linux-x86.tar.bz2";
-elif [ $KERNEL_ARCH == "64"];
-then
- execcmd "Download toolchain (it may take a while)" "wget ftp://ocuser:oc@opencores.org/toolchain/or32-elf-linux-x86_64.tar.bz2";
-else
- errormsg "Not a correct architecture. Check Configurations";
-fi
-
-execcmd "Un-tar" "tar xf *bz2";
-
-execcmd "Adding toolchain to PATH" "echo \"PATH=\\\$PATH:$DIR_TO_INSTALL/or32-elf/bin/\" >> /home/$(whoami)/.bashrc;";
-
-cecho "Install completed"
setup/toolchain-install.sh
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property