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

VisionFive2: Replace custom uboot with latest version #321

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

maxberger
Copy link
Contributor

Support for visionfive2 has been in mainline uboot for a while.

Copy link
Member

@paralin paralin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great thanks. A couple minor comments. If you haven't had a chance to fix those by the time I'm back on my PC I will fix them while merging.

# source: https://github.com/starfive-tech/u-boot/tree/JH7110_VisionFive2_devel
# 59cf9af678dbfa3d73f6cb86ed1ae7219da9f5c9
BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,u-boot,ac0ac696256abf412826d74ee918dd417e207d7b)/u-boot-visionfive2-ac0ac6-r2.tar.gz"
BR2_TARGET_UBOOT_LATEST_VERSION=y
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we set a specific version instead of LATEST? I usually do that to avoid random breakages when updating buildroot. This way someone can update it when needed and test to make sure the new version works properly before committing.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maxberger I think you still have latest version set here as well as the custom version. Probably need to delete this line - LATEST_VERSION

BR2_TARGET_OPENSBI_PLAT="generic"
BR2_TARGET_OPENSBI_UBOOT_PAYLOAD=n
BR2_TARGET_OPENSBI_FW_FDT_PATH=y
BR2_TARGET_OPENSBI_CUSTOM_TARBALL=n
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the is not set comment syntax instead of =n for consistency

Support for visionfive2 has been in mainline uboot for a while.

Signed-off-by: Max Berger <[email protected]>
@maxberger
Copy link
Contributor Author

Looks great thanks. A couple minor comments. If you haven't had a chance to fix those by the time I'm back on my PC I will fix them while merging.

Comments addressed.

@paralin paralin self-requested a review September 29, 2024 19:19
@paralin paralin dismissed their stale review September 29, 2024 19:20

rereview

# source: https://github.com/starfive-tech/u-boot/tree/JH7110_VisionFive2_devel
# 59cf9af678dbfa3d73f6cb86ed1ae7219da9f5c9
BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,u-boot,ac0ac696256abf412826d74ee918dd417e207d7b)/u-boot-visionfive2-ac0ac6-r2.tar.gz"
BR2_TARGET_UBOOT_LATEST_VERSION=y
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maxberger I think you still have latest version set here as well as the custom version. Probably need to delete this line - LATEST_VERSION

# BR2_TARGET_OPENSBI_UBOOT_PAYLOAD is not set
BR2_TARGET_OPENSBI_FW_FDT_PATH=y
# BR2_TARGET_OPENSBI_CUSTOM_TARBALL is not set
BR2_TARGET_OPENSBI_LATEST_VERSION=y
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to pin opensbi to a specific version too? (Not critical)

@paralin paralin changed the base branch from master to dev September 30, 2024 07:30
@paralin
Copy link
Member

paralin commented Sep 30, 2024

Okay this is all good, will merge now.

@paralin paralin merged commit b113e00 into skiffos:dev Sep 30, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants