OpenSBI doesn't appear to be starting - no Output, no ASCII art of OpenSBI starting #1233
Replies: 10 comments 16 replies
-
I'm glad the different flash card fixed the CMD8 issue. I will see if I can get the same "problem" flash card and reproduce the issue you were having. We should be able to work with any standard flash card. It is very strange you got part of the OpenSBI boot messages. The device parameters don't look right. For example the platform name should be @ 20000000Hz. Just to double check the flash card is built correctly did you use the arty a7 dtb and not the dts? The command to flash the card should look something like this. |
Beta Was this translation helpful? Give feedback.
-
Hi Piet, I just noticed at the start of your openSBI banner the version number is v0.9 which is rather old. Mine is currently on v1.3. I think this might be part of the problem. Can you verify you're using a recent git commit and rebuild the buildroot? You might consider making a backup of your exiting /opt/riscv/buildroot or just have the makefile only compile buildroot rather than copy to /opt/riscv/buildroot. To rebuild buildroot To build without installing to /opt/riscv Then reflash the card. |
Beta Was this translation helpful? Give feedback.
-
I rebuilt Buildroot, it pulled the latest bits from the git repo, and I'm now on the buildroot 2024.11.x, I just pulled the latest Wally bits and sub-repos:
I did a
and doing a fresh build of Wally. The V0.9 was from a web document on OpenSBI, not my console. |
Beta Was this translation helpful? Give feedback.
-
Are the errors in RED normal? I suspect they are. |
Beta Was this translation helpful? Give feedback.
-
ROSE: After building Wally I tried simulation of buildroot but wsim fails not finding vsim: (cvw) piet@piet-Precision-7920-Tower:~/riscv/cvw$ wsim buildroot buildroot --args +INSTR_LIMIT=600000000 --lockstep
|
Beta Was this translation helpful? Give feedback.
-
Pete,
Just curious - did you set up site-setup.sh with your location of Questa. Questa is the best of the simulators to use as we originally use this tool. However, we did set up access for Verilator and Synopsys VCS.
Once you install the tool chain, you should modify site-setup.sh or site-setup.csh, depending on your SHELL, to point to your tool base. You may have done this already, but just a friendly reminder, if you did not. Also, Jordan gave the command to change the simulator for wsim at the command-line too. Take care.
All my best,
James
… On Jan 19, 2025, at 1:06 AM, Pete Delaney ***@***.***> wrote:
ROSE: After building Wally I tried simulation of buildroot but wsim fails not finding vsim:
(cvw) ***@***.***:~/riscv/cvw$ wsim buildroot buildroot --args +INSTR_LIMIT=600000000 --lockstep
Config=buildroot tests=buildroot sim=questa gui=False args='+INSTR_LIMIT=600000000' params='' define=''
Running Questa with command: cd $WALLY/sim/questa; MTI_VCO_MODE=64 IMPERAS_TOOLS=/home/piet/riscv/cvw/config/deriv/buildroot/imperas.ic vsim -c -do "do wally.do buildroot buildroot testbench --args "+INSTR_LIMIT=600000000" --define "+define+USE_IMPERAS_DV" --lockstep"
sh: 1: vsim: not found
(cvw) ***@***.***:~/riscv/cvw$
—
Reply to this email directly, view it on GitHub <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenhwgroup%2Fcvw%2Fdiscussions%2F1233%23discussioncomment-11879901&data=05%7C02%7Cjames.stine%40okstate.edu%7C8887213120eb439f493708dd3857d61d%7C2a69c91de8494e34a230cdf8b27e1964%7C0%7C0%7C638728672110364528%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=eOLib%2FjZF1BmiUDBYnkSnJfgi1sys6UNmQ4mEPEyXAQ%3D&reserved=0>, or unsubscribe <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFSIHPCFO4MDGEBPHSPZVKD2LNFIJAVCNFSM6AAAAABVIQ7QBSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOBXHE4TAMI&data=05%7C02%7Cjames.stine%40okstate.edu%7C8887213120eb439f493708dd3857d61d%7C2a69c91de8494e34a230cdf8b27e1964%7C0%7C0%7C638728672110388080%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=9UrCnIHK9HgwPHjlVlvMfUpwiUfcOU2KWWXK1qTL65M%3D&reserved=0>.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
-
ROSE: How to pull the WALLY environment with a working FPGA build. Your using openSBI ver 1.3 and the wally scripts for copying the sdcard are changing. It would be conventional to have a git TAG for stable releases as the main branch is being used for active development. IE: more like the way the Linux and Android AOSP git repos are maintained. -pete |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
This is turning into a huge effort and maybe not a great use of everyone’s
time.
Jordan, I know you are transitioning buildroot versions. Is there a cvw
commit that Pete could check out that just works for us, or should he wait
until things stabilize and then check out a known working version from the
head of the main branch?
Pete, would it be possible for you to install exactly the same Ubuntu that
we are using? Even if it has to be on a virtual machine? Then could you
check out and reproduce exactly what works for Rose and Jordan?
Once you can reproduce their work, you can change one variable at a time
until it works in your preferred distribution.
David
On Sun, Jan 19, 2025 at 3:17 PM James E. Stine ***@***.***>
wrote:
… Pete,
You can always re-install the tools with Jordan’s awesome script that will
install only what is needed. Take care.
All my best,
James
> On Jan 19, 2025, at 4:49 PM, Jordan Carlin ***@***.***> wrote:
>
>
> I just tested with that commit checked out and didn't have any issues
building the tests. I'd assume one of your submodules is out of date (try
git submodule update). Only other thing I can think of is what version of
the toolchain do you have installed? What is the output of
riscv64-unknown-elf-gcc --version? It should be 14.2.0.
>
> —
> Reply to this email directly, view it on GitHub <
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenhwgroup%2Fcvw%2Fdiscussions%2F1233%23discussioncomment-11884558&data=05%7C02%7Cjames.stine%40okstate.edu%7C32e79d88ea5345ff64b608dd38db94ae%7C2a69c91de8494e34a230cdf8b27e1964%7C0%7C0%7C638729237939525126%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=S9GyZN700Ta1upHnAUvqM8GSnpOUJlmWKLI6fY701AA%3D&reserved=0>,
or unsubscribe <
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFSIHPAA5JUQG3KUVVICAJT2LQTYZAVCNFSM6AAAAABVIQ7QBSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOBYGQ2TKOA&data=05%7C02%7Cjames.stine%40okstate.edu%7C32e79d88ea5345ff64b608dd38db94ae%7C2a69c91de8494e34a230cdf8b27e1964%7C0%7C0%7C638729237939545465%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=8y4AavIYf2TYZ%2F0wTG0s5u27W8sdgbxyKz35YhA5T04%3D&reserved=0>.
> You are receiving this because you commented.
>
—
Reply to this email directly, view it on GitHub
<#1233 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR4AA33YJ3LGY667WE6DDKD2LQW7HAVCNFSM6AAAAABVIQ7QBSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOBYGQ3DMMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I've been busy the last few weeks so this fell off my radar. Were you able to get past the scrambled OpenSBI boot? |
Beta Was this translation helpful? Give feedback.
-
I got Wally Booting further now by uisng the 64GB SD card that Rose suggested instead of the 32GB code I had been using.
Now it's jumping info OpenSBI but isn't printing anything.
The book shows it's suppose to print the ASC art OpenSBI:
Beta Was this translation helpful? Give feedback.
All reactions