-
Notifications
You must be signed in to change notification settings - Fork 161
grub-efi: add .bbappend for visionfive2 #553
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
base: master
Are you sure you want to change the base?
Conversation
|
I'm waiting to get confirmation from the original patch creator to keep their sign-off, so this shouldn't be merged quite yet, but it'd be good to get general feedback. |
recipes-bsp/grub/grub-efi/.0263-Use-medany-instead-of-large-model-for-RISCV.patch.swp
Outdated
Show resolved
Hide resolved
Builds with newer gcc versions fail for the visionfive2 MACHINE target with the following error: |grub-mkimage: error: relocation 0x2b is not implemented yet. Add a patch to use medany instead of the large model for the target. This could apply to all builds, but only visionfive2 has thus far been tested. See: https://savannah.gnu.org/bugs/?65909 Signed-off-by: Trevor Gamblin <[email protected]>
81e45a6 to
5f9c5d6
Compare
| Date: Fri, 3 May 2024 13:18:37 -0400 | ||
| Subject: [PATCH] Use medany instead of large model for RISCV | ||
|
|
||
| Upstream-Status: Submitted [https://savannah.gnu.org/bugs/?65909] |
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.
why not submit it to oe-core directly ?, the patch is already submitted upstream
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.
I could. I'll probably have to change the logic to match against TARGET_ARCH or something similar. I'd like to give the original patch creator 24-48h before doing that though.
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.
On the flipside, I haven't run into this with qemuriscv64 in oe-core. Is this something that should be there instead of in meta-riscv (at least right now)?
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.
hmmm that is interesting. If its specific to a real h/w then it might make sense to keep it in meta-riscv, although the change looks generic so if it does not hurt qemu, I think it would still make. sense to have it in core. I would ask to analyse it a bit more from regression POV
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.
It's possible it could be triggered from oe-core without meta-riscv, but I've been doing some builds that way for experimenting/debugging with ptests and haven't seen it. The VisionFive 2 is the only board I've been able to test with as of now (I have an OrangePi RV2 coming soon and an unresponsive BeagleV-Ahead, but no other usable hardware except maybe a Nezha yet).
|
I'm going to leave this one open for a while, as I don't think we can do much with it until #560 is resolved upstream. |
Builds with newer gcc versions fail for the visionfive2 MACHINE target with the following error:
|grub-mkimage: error: relocation 0x2b is not implemented yet.
Add a patch to use medany instead of the large model for the target. This could apply to all builds, but only visionfive2 has thus far been tested.
See: https://savannah.gnu.org/bugs/?65909