-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add OpenSBI compilation to D1 #7077
Conversation
@Randl Евгений, Good health. You change the general code, but there is no explanation in the message |
I fully agree with the previous comment, thanks @The-going ! I picked a few commits as positive examples on how the messsage should optimally look like: Note to project members: The quality of the commit messages is currently still all over the place. This is less of a problem when there a only a few contributors and the project is small, but will become a bigger problem when the project grows. We should really establish some consistency and some guidance on how to write good commit messages. This is also important for generating changelogs. One should be able to easily see all changes just by scrolling through the recent commits. The message title should say enough to make it at least roughly clear what this commit added or changed. |
Sure! |
But the message in the commit contains:
Perhaps you wanted to write something like this? I still have one question. |
I've used As for the discrepancy in the commit message, I think the variable naming may be confusing, which also contributes to the confusing commit message. The compilation function is named So maybe something like |
Why did I ask?
OpenSBI ? |
There is no error building opensbi, the problem was it wasn't built for d1 family, and thus uboot build failed. |
Is something missing to merge this? |
There is a typo in the message to commit. У меня нет претензий к вашему коду. И в предыдущей версии не было. Пожалуйста поймите правильно. Пояснения к сообщению в фиксации почему сделано именно так, Мне неудобно об этом писать повторно. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without OpenSPI, the uboot compilation fails.
->
Without OpenSBI, the uboot compilation fails.
Without OpenSBI, the uboot compilation fails.
Description
Building for mangopi mq crashes with the following error:
See, e.g., https://forum.armbian.com/topic/21465-armbian-image-and-build-support-for-risc-v/?do=findComment&comment=190008
The fix is to build OpenSBI and use it to build uboot as suggested in error message, as discussed in https://forum.rvspace.org/t/building-u-boot-from-mainline-repo/3398 for example. This PR adds OpenSBI building stage.
How Has This Been Tested?
BOARD=mangopi-m28k
Checklist: