-
Notifications
You must be signed in to change notification settings - Fork 135
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
keystone on CVA6 with Genesys 2 Board include new example #444
Comments
Hi @niovi ! Would you be able to copy your |
of course Thank you for your response. |
Okay, in your build log I see the following lines:
This seems to me like you are not linking the standard C libraries to your eapp, which you need to use functions like |
hello again Thank you for your response. int main() and with CMakeLIsts.txt eappadd_executable(${eapp_bin} ${eapp_src}) target_link_libraries(${eapp_bin} hostadd_executable(${host_bin} ${host_src}) add target for Eyrie runtime (see keystone.cmake)set(eyrie_files_to_copy .options_log eyrie-rt loader.bin) add target for packaging (see keystone.cmake)add_keystone_package(${eapp_bin}-package add_dependencies(${eapp_bin}-package ${eapp_bin}-eyrie) add package to the top-level targetadd_dependencies(examples ${eapp_bin}-package) and i am getting segmentation fault . |
I see very many lines that look like (I chose one arbitrarily):
One thing that I notice here is that the linker believes you are making a shared object, which we do not support (yet) in Keystone. You may want to explicitly compile your eapp as a static binary, in the same way as in the
|
Hello,
i clone the repository dev-cva6-support.
i run ./fast-setup.sh and then i create a new example the ci(eapp,host like hello example) which has in the eapp only
int main()
{
printf("hello, ci!\n");
return 0;
}
and put add_subdirectory(ci) in CMakeLists.txt.
I try KEYSTONE_PLATFORM=cva6 make and i am getting
i have manage to flash sd card and run keystone on cva6 with Genessys 2 board.
but i need to include my example also.
where do i need to make changes beside the examples folder?
Thank you in advance.
The text was updated successfully, but these errors were encountered: