ucb-bar / fpga-zynq

Support for Rocket Chip on Zynq FPGAs
http://bar.eecs.berkeley.edu/projects/2014-rocket_chip.html
Other
393 stars 192 forks source link

latest fpga-zynq repo: ./fesvr-zynq pk hello ERROR: No cores found #85

Closed clx782782 closed 6 years ago

clx782782 commented 6 years ago

I've re-cloned the repo from the scratch.

Whether I used boot.bin devicetree.dtb uImage uramdisk.image.gz received by make fetch-ramdisk or used those files made by myself usingclass ZynqConfig extends Config(new WithZynqAdapter ++ new DefaultFPGAConfig) ,./fesvr-zynq pk hello on zedboard always failed.

I've never encountered this kind of error.May someone help,thanks.


| \ | | | | () | |/ / | |_ | | _ | / / _ | | / ` || | | || ' \ | | | |\ \/ / | | | /| | | (| || |__| || | | || || | > < _| _| \| _,|_____/|||| || _,|//\\

PetaLinux v2013.10 (Yocto 1.4) zynq ttyPS0

zynq login: root Password: login[818]: root login on `ttyPS0'

root@zynq:~# ./fesvr-zynq pk hello ERROR: No cores found

clx782782 commented 6 years ago

Under the last version of fpga-zynq, ./fesvr-zynq pk hello on zedboard works fine using class ZynqConfig extends Config(new WithZynqAdapter ++ new DefaultFPGAConfig).

So I doubt that this is because the rocket-chip source files have bugs.

Or maybe the default fesvr-zynq is unusable.And it's strange that after I run

mkdir build
cd build 
../configure --prefix=$RISCV
make install

or ./build-spike-pk.sh there's no fesvr-zynq executable file in /riscv-fesvr/build and there's only elf2hex executable file.

clx782782 commented 6 years ago

I still could not solve this problem,and I just want to back to the previous version.

But I don't know how to thoroughly back to the previous version.

Embarrassed.

clx782782 commented 6 years ago

I had a misunderstanding when I tried to change the version.

But fortunately now I've changed my version of repository into the previous one.

alexanderFell commented 6 years ago

Hey, @clx7913 . Just a quick question: Which old version are you using? The latest one that works for me, is commit f03982e from last year.

JeremieMelo commented 5 years ago

me too. I am using zybo-z7-20. After booting the linux from ramdisk, this "fesvr-zynq pk hello" will output no cores found. I don't know why.

gongqingfeng commented 5 years ago

me too. I am using zybo-z7-20. After booting the linux from ramdisk, this "fesvr-zynq pk hello" will output no cores found. I don't know why.

I also meet the same problem: I use "make fetch-images" to get files, and run my zybo. However, "ERROR: No cores found" occurred when I run "./fesvr-zynq pk hello" or "./fesvr-zynq bbl".

josecm commented 5 years ago

@gongqingfeng try https://github.com/josecm/fpga-images-zybo

gongqingfeng commented 5 years ago

@gongqingfeng try https://github.com/josecm/fpga-images-zybo

Thank you! I have followed your advice, and I run "./fesvr-zynq pk hello" successfully. However, when I run "./fesvr-zynq pk hello" , I get some new errors like this: " terminate called after throwing an instance of 'std::runtime_error' what(): could not open bb l". Have you ever met this problem. This is my issue: https://github.com/ucb-bar/fpga-zynq/issues/107