12-31-2019, 03:28 PM
Hi,
Please, find enclosed the complete sequence of steps I have followed starting from a clean Ubuntu 16.04 installation:
0 - sudo -s
1 - apt install git python3-pip python-pip gawk texinfo libgmp-dev libmpfr-dev libmpc-dev swig3.0 libjpeg-dev lsb-core doxygen python-sphinx sox graphicsmagick-libmagick-dev-compat libsdl2-dev libswitch-perl libftdi1-dev cmake scons libsndfile1-dev
2 - pip3 install twisted prettytable artifactory sqlalchemy pyelftools xlsxwriter pyyaml numpy configparser pyvcd
3 - pip2 install configparser
4 - cd /opt
5 - mkdir riscv
6 - cd riscv
7 - git clone https://github.com/pulp-platform/pulp-ri...-toolchain
8 - cd pulp-riscv-gnu-toolchain
9 - git submodule update --init --recursive
10 - apt-get install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev
11 - ./configure --prefix=/opt/riscv --with-arch=rv32imc --with-cmodel=medlow --enable-multilib
12 - make
13 - export PATH=$PATH:/opt/riscv/bin
14 - export PULP_RISCV_GCC_TOOLCHAIN=/opt/riscv
15 - export VSIM_PATH=/opt/riscv/pulpissimo/sim
—— Install PULP-SDK
16 - cd /opt/riscv
17 - git clone https://github.com/pulp-platform/pulp-builder.git
18 - cd pulp-builder
19 - source configs/pulpissimo.sh
20 - ./scripts/clean
21 - ./scripts/update-runtime
22 - ./scripts/build-gvsoc
23 - ./scripts/build-runtime
24 - source sdk-setup.sh
25 - cd /opt/riscv
26 - pip3 install openpyxl==2.6.4
27 - git clone https://github.com/pulp-platform/pulp-sdk.git -b master
28 - cd pulp-sdk
29 - source configs/pulpissimo.sh
30 - make all
31 - export PULP_SDK_HOME=/opt/riscv/pulp-sdk
—— Install Simulation and implementation
32 - Install QuestaSim
33 - cd /opt/riscv
34 - git clone https://github.com/pulp-platform/pulpissimo.git
35 - cd pulpissimo
36 - ./update-ips
37 - source setup/vsim.sh
38 - make clean build
—— Install Micoprocessor programming and debugging
39 - Verify that the following packages are installed with the proper version:
- autoconf >= 2.64
- automake >= 1.14
- texinfo
- make
- libtool
- pkg-config >= 0.23 (or compatible)
- libusb-1.0
- libftdi
- libusb-0.1 or libusb-compat-0.1 for some older drivers
40 - cd /opt/riscv/pulp-sdk
41 - source sourceme.sh && ./pulp-tools/bin/plpbuild checkout build --p openocd --stdout
This has worked for me. I wish your installation will succeed to.
Best regards,
Manuel
Please, find enclosed the complete sequence of steps I have followed starting from a clean Ubuntu 16.04 installation:
0 - sudo -s
1 - apt install git python3-pip python-pip gawk texinfo libgmp-dev libmpfr-dev libmpc-dev swig3.0 libjpeg-dev lsb-core doxygen python-sphinx sox graphicsmagick-libmagick-dev-compat libsdl2-dev libswitch-perl libftdi1-dev cmake scons libsndfile1-dev
2 - pip3 install twisted prettytable artifactory sqlalchemy pyelftools xlsxwriter pyyaml numpy configparser pyvcd
3 - pip2 install configparser
4 - cd /opt
5 - mkdir riscv
6 - cd riscv
7 - git clone https://github.com/pulp-platform/pulp-ri...-toolchain
8 - cd pulp-riscv-gnu-toolchain
9 - git submodule update --init --recursive
10 - apt-get install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev
11 - ./configure --prefix=/opt/riscv --with-arch=rv32imc --with-cmodel=medlow --enable-multilib
12 - make
13 - export PATH=$PATH:/opt/riscv/bin
14 - export PULP_RISCV_GCC_TOOLCHAIN=/opt/riscv
15 - export VSIM_PATH=/opt/riscv/pulpissimo/sim
—— Install PULP-SDK
16 - cd /opt/riscv
17 - git clone https://github.com/pulp-platform/pulp-builder.git
18 - cd pulp-builder
19 - source configs/pulpissimo.sh
20 - ./scripts/clean
21 - ./scripts/update-runtime
22 - ./scripts/build-gvsoc
23 - ./scripts/build-runtime
24 - source sdk-setup.sh
25 - cd /opt/riscv
26 - pip3 install openpyxl==2.6.4
27 - git clone https://github.com/pulp-platform/pulp-sdk.git -b master
28 - cd pulp-sdk
29 - source configs/pulpissimo.sh
30 - make all
31 - export PULP_SDK_HOME=/opt/riscv/pulp-sdk
—— Install Simulation and implementation
32 - Install QuestaSim
33 - cd /opt/riscv
34 - git clone https://github.com/pulp-platform/pulpissimo.git
35 - cd pulpissimo
36 - ./update-ips
37 - source setup/vsim.sh
38 - make clean build
—— Install Micoprocessor programming and debugging
39 - Verify that the following packages are installed with the proper version:
- autoconf >= 2.64
- automake >= 1.14
- texinfo
- make
- libtool
- pkg-config >= 0.23 (or compatible)
- libusb-1.0
- libftdi
- libusb-0.1 or libusb-compat-0.1 for some older drivers
40 - cd /opt/riscv/pulp-sdk
41 - source sourceme.sh && ./pulp-tools/bin/plpbuild checkout build --p openocd --stdout
This has worked for me. I wish your installation will succeed to.
Best regards,
Manuel