怎样搭建用于RISCV的chipyard 环境

chipyard 的RISCV环境的集大成者

平台: ubuntu 16.04

资源: 代理  (源里有的库托管到了google)

步骤:

1.  git clone https://github.com/ucb-bar/chipyard.git

2. 运行scripts/ubuntu-req.sh 保证依赖库完整

     这里如果python3.6 无法安装,可以跳过,直接用python3.5也是可以的。

3. 设置git 的代理

git config --global https.proxy http://127.0.0.1:1080
        git config --global https.proxy https://127.0.0.1:1080

127.0.0.1:1080 是代理的地址和端口

取消的话可以用下面的语句
        git config --global --unset http.proxy
        git config --global --unset https.proxy 

 4. 解决git 无法pull 某些库的问题。

       一般错误提示为:gnutls_handshake() failed: Error in the pull function

      安装如下包可以解决相应问题

        apt-get -y install build-essential nghttp2 libnghttp2-dev libssl-dev

 5.  后面安装正常流程就可以了    

cd chipyard
./scripts/init-submodules-no-riscv-tools.sh
./scripts/build-toolchains.sh riscv-tools # for a normal risc-v toolchain
source ./env.sh

 

 

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值