-
Notifications
You must be signed in to change notification settings - Fork 137
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
Support for HiFive Unmatched #246
Comments
I too am interesting in extending Keystone to run on the HiFive Unmatched! I'm currently attempting to make the required platform files (using the fu540 files as an example); but development has been slow-going as I'm not a software developer. Has anyone made a generic guide as for what to do to? I'm willing to put in the effort to get this going, but I'm not entirely sure where to start. Thanks! |
Could you try to compile our sm with the |
Dayeol, |
All, Some context: I intend to build a bootable image for the Unmatched with Keystone Enclave with Ubuntu 22.04 LTS as the OS. Ideally, I'd like to be able to boot the Unmatched from the onboard flash (QuadSPI) and from an SD card. From what I can tell, Canonical only provides pre-built server images for the Unmatched. After examining the generic platform files included within the most recent OpenSBI version, I can confirm that the U740 is supported, and thus it should be possible to get Keystone on the Unmatched. Unfortunately, I have been unsuccessful at building a bootable SD card. I am unfamiliar with the build steps and directory hierarchies required to build the bootloader with Keystone Enclave. My confusion revolves around the appropriate directory structure and my lack of understanding about the build process: Where does the From the Keystone SM GitHub page, for the Kindly, could anyone assist in building my desired bootable image? I'm happy to learn and build the image myself, but I'm hitting some walls. Much thanks! |
If you do |
And thank you for doing this! Please keep me posted how it goes. :D |
Thanks for reaching out! I continue to hit errors within the Most notably, What file type is expected for the Linux image? Is my use of the Ubuntu Preinstalled Server Image Thanks! Hopefully, I'll be up and running soon with Keystone on the Unmatched! |
What I meant is running make after cmake: http://docs.keystone-enclave.org/en/latest/Getting-Started/QEMU-Compile-Sources.html
We already have written CMakeListst.txt which generates makefile commands for building SM. I'm recommending you build the top-level repo, instead of the SM separately. |
Dayeol, Would it be possible to update Keystone's OpenSBI git submodule to the latest version? It would help streamline my testing process by allowing me to use OpenSBI's most recent platform configuration files (including the Thanks. |
Update: I've nearly gotten it working... But not quite there yet. I have followed the Keystone Documentation to build Keystone. After running the From there, I created the keystone
Since I am particularly focused on building the Any advice? |
Success! Mostly. After commenting out the I now have the appropriate binaries to proceed with building U-Boot. |
Just curious, has anyone else had luck getting Keystone Enclave running on the Unmatched? I can't seem to get past the |
What is your current Linux version? and what error message |
I've built for Linux versions 5.11.0-1020-generic and for 5.13.0.1007-generic. I get |
So, I've just now realized that Canonical provides their own distribution kernels for Ubuntu that are based on upstream Linux kernel versions. Because of this difference in kernel versioning, my I've built Keystone with a few versions of the Side note, I've been able to successfully build Thanks! |
Hello all, Is keystone driver supports for latest kernel. If yes, is any changes required in kernel. Is anyone tried for hifive-unmatched board. Please send me the steps/procedure. Thanks |
Hello everyone!
Since the HiFive Unleashed is discontinued (and pretty much unavailable in Europe) I was wondering if the successor, the HiFive Unmatched, was being considered. Are there any efforts regarding support of that board or the U740 RISC-V processor? I am looking for hardware to natively run Keystone on, and this seems the most promising one so far, but any other suggestions are appreciated.
How does one create these platform-specific files as found in sm/plat/sifive/fu540/ of the SM project?
*update: just saw a similar request in the SM repo: keystone-enclave/sm#13 (comment)
The text was updated successfully, but these errors were encountered: