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

Run CheriBSD and Toooba on VCU118 #20

Open
pig-pig-yang opened this issue Nov 30, 2021 · 4 comments
Open

Run CheriBSD and Toooba on VCU118 #20

pig-pig-yang opened this issue Nov 30, 2021 · 4 comments

Comments

@pig-pig-yang
Copy link

Whether there is any project can be used for reference?

@francislaus
Copy link

francislaus commented Nov 30, 2021

In order to get CheriBSD running on Toooba on the VCU-118 board, you will need to build your own Toooba bitfile. Here are pointers on how to do that: Bitfile manual.

Next you need to program the FPGA and load your desired kernel version of CheriBSD on the FPGA. You can find more information here.

@francislaus
Copy link

In order to build a CheriBSD kernel, please use cheribuild. You can find more information in the README of the cheribuild repo.

@pig-pig-yang
Copy link
Author

Now I am studying the GFE project. When building Debian IMG, the following error occurred, and I have not found a good method so far. This is where files like BBL will be built to start cheriBSD later.
I: Retrieving InRelease I: Checking Release signature E: Release signed by unknown key (key id 5A88D659DCB811BB)
It's run in BESSPIN-GFE/debian/create_chroot.sh. I know it's my Keyring file which is different from a .gpg public key. But i don't know how tomanually create a keyring file next.

@pig-pig-yang
Copy link
Author

pig-pig-yang commented Dec 14, 2021

Hi,
When using cheribuild, the vcu118-run.py requires a BIOS and kernel. How do I generate cheri BIOS and kernel? So far I have tried./cheribuild.py bbl-gfe-baremetal-riscv64-purecap and used it as BIOS. /cheribuild.py disk-image-riscv64-purecap Generates cheribsd-riscv64-purecap.img.

However,
1b936128f04e227c9b650ffd2951542

./vcu118-run.py --bitfile ../vcu118/jenkins/design_1.bit --ltxfile ../vcu118/jenkins/design_1.ltx --bios ../vcu118/jenkins/bbl-gfe-riscv64-purecap --kernel ../vcu118/jenkins/kernel-riscv64-purecap.CHERI-GFE-NODEBUG --gdb /homes/jrtc4/out/criscv-gdb --openocd /usr/bin/openocd --num-cores <cores-in-bitfile>

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

2 participants