Skip to content

orangepi-rv2.conf: switch to mainline Linux, U-Boot and OpenSBI - #673

Merged
Khem Raj (kraj) merged 1 commit into
riscv:masterfrom
michaelopdenacker:orangepi-rv2-use-mainline-only
Sep 3, 2026
Merged

orangepi-rv2.conf: switch to mainline Linux, U-Boot and OpenSBI#673
Khem Raj (kraj) merged 1 commit into
riscv:masterfrom
michaelopdenacker:orangepi-rv2-use-mainline-only

Conversation

@michaelopdenacker

Copy link
Copy Markdown
Contributor

Description

This replaces the former "orangepi-rv2-mainline" machine, now that mainline Linux and U-Boot support is usable enough for this board.

Vendor recipes for SpaceMIT K1 are still kept for the "orangepi-r2s" machine.

Checklist

  • [x ] I have read and understood the Contributing Changes to a Component and Recipe Style Guide sections in the Yocto Project documentation
  • [x ] I have tested this change (provide brief details below)
  • [ x] Documentation has been added/updated where necessary in the README and docs/
  • [x ] If the change is to a BSP in
    DEPRECATED.md,
    then it is maintenance-only, i.e. it does not add support for a
    previously-removed BSP (or significant features to one slated for removal)
  • [x ] (For new/modified BSPs) I have added relevant information in the README table
  • [ x] (For new/modified BSPs) The bitbake-setup templates in bitbake-registry/
    have been updated, if necessary
  • [ x] (For new/modified BSPs) A kas file has been provided in kas/
  • [ x] I have added my Signed-off-by and any other tags to each commit

How has this been tested?

Tested on OrangePI RV2. Flashed and SD card following instructions and booted up to a Linux shell.

@threexc

Copy link
Copy Markdown
Contributor

LGTM. Nice to see the vendor BSPs start to get replaced :)

@fcastagnotto

Copy link
Copy Markdown
Contributor

Tested on Orange Pi RV2 using the new orangepi-rv2 configuration. The image builds and boots successfully, and everything works as expected.

@kraj Khem Raj (kraj) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

also files/wic/orangepi-rv2.wks is orphaned now, so perhaps delete that too.

a nit, conf/machine/orangepi-rv2.conf says require conf/machine/include/k1.inc maybe like other machine files change it to require include/k1.inc to match conventions.

recipes-bsp/u-boot/u-boot-orangepi.bb do_deploy:append:orangepi-r2s copies x1_orangepi-rv2.dtb, not the R2S DTB. Looks like a copy-paste bug from before this PR now that RV2 is gone from that recipe it stands out more.

Comment thread bitbake-registry/meta-riscv-oe-nodistro-master.conf.json
@michaelopdenacker

Michael Opdenacker (michaelopdenacker) commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

recipes-bsp/u-boot/u-boot-orangepi.bb do_deploy:append:orangepi-r2s copies x1_orangepi-rv2.dtb, not the R2S DTB. Looks like a copy-paste bug from before this PR now that RV2 is gone from that recipe it stands out more.

I also saw this. However, trying to fix this breaks the u-boot-orangepi build for orangepi-r2s. Maybe that was intended. I should have time tomorrow to update orangepi-r2s and investigate this. Can it be done in a separate set of changes?

@kraj

Copy link
Copy Markdown
Collaborator

recipes-bsp/u-boot/u-boot-orangepi.bb do_deploy:append:orangepi-r2s copies x1_orangepi-rv2.dtb, not the R2S DTB. Looks like a copy-paste bug from before this PR now that RV2 is gone from that recipe it stands out more.

I also saw this. However, trying to fix this breaks the u-boot-orangepi build for orangepi-r2s. Maybe that was intended. I should have time tomorrow to update orangepi-r2s and investigate this. Can it be done in a separate set of changes?

ok that is fine I think.

This replaces the former "orangepi-rv2-mainline" machine,
now that mainline Linux and U-Boot support is usable enough
for this board.

Vendor recipes for SpaceMIT K1 are still kept for the "orangepi-r2s"
machine.

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
@kraj
Khem Raj (kraj) force-pushed the orangepi-rv2-use-mainline-only branch from cebfab3 to 5b1c957 Compare September 3, 2026 17:57

@kraj Khem Raj (kraj) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@kraj
Khem Raj (kraj) merged commit fc57d8f into riscv:master Sep 3, 2026
3 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.

4 participants