Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
clx782782 opened this issue Apr 25, 2018 · 8 comments
Closed

Comments

@clx782782
Copy link

clx782782 commented Apr 25, 2018

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 using class 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
Copy link
Author

clx782782 commented Apr 25, 2018

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 clx782782 changed the title latest fpga-zynq ./fesvr-zynq pk hello ERROR: No cores found latest fpga-zynq repo: ./fesvr-zynq pk hello ERROR: No cores found Apr 25, 2018
@clx782782
Copy link
Author

clx782782 commented May 12, 2018

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
Copy link
Author

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
Copy link

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
Copy link

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
Copy link

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
Copy link

josecm commented Jun 3, 2019

@gongqingfeng
Copy link

@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: #107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants