BPI-RV2 BSP with all sources code?

Hello!

Where can I find the full (GPL compliant) sources of the BSP? The BSP linked in the docs (GitHub - BPI-SINOVOIP/BPI-RV2-SF21H8898-OPENWRT-BSP) seems to be very incomplete. It misses at least the sources for the bootloader nor does it build openwrt-siflower-sf21h8 898-bpi-rv2-nand-squashfs-fullflash.img.

Thanks, //richard

Yay, progress! The documentation points now to the U-Boot source!

Banana Pi BPI-RV2 RISC-V Router board support OpenWRT-24.10 and 6.6 kernel. source code will update to github soon.

Long time no see. The new source code for RV2 has been updated.

Would you also publish a sysupgrade file for 6.6? thanks.

OK, I compiled from source and flashed it. It works fine, but now it became impossible to flash any other version :frowning:

sysupgrade failed with this message Could not open mtd device: firmware:

~# sysupgrade /tmp/openwrt-siflower-sf21-bananapi_bpi-rv2-nand-squashfs-sysupgrade.bin
Mon Dec  8 20:51:24 IST 2025 upgrade: Saving config files...
Mon Dec  8 20:51:26 IST 2025 upgrade: Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Mon Dec  8 20:51:26 IST 2025 upgrade: Sending TERM to remaining processes ...
Mon Dec  8 20:51:30 IST 2025 upgrade: Sending KILL to remaining processes ...
[  453.928233] stage2 (3510): drop_caches: 3
Mon Dec  8 20:51:37 IST 2025 upgrade: Switching to ramdisk...
[  455.715453] UBIFS (ubi0:3): background thread "ubifs_bgt0_3" stops
[  455.729770] UBIFS (ubi0:3): un-mount UBI device 0
Mon Dec  8 18:51:38 UTC 2025 upgrade: Performing system upgrade...
[  455.772480] do_stage2 (3510): drop_caches: 3
Could not open mtd device: firmware
Can't open device for writing!
cat: write error: Bro[  455.785716] reboot: Restarting system

To solve this, edit /lib/upgrade/platform.sh and replace bananapi,bpi-rv2 by bananapi,bpi-rv2-nand, i.e.,

platform_do_upgrade() {
        local board=$(board_name)

        case "$board" in
        bananapi,bpi-rv2-nand)
                fit_do_upgrade "$1"
                ;;
        *)
                default_do_upgrade "$1"
                ;;
        esac
}

Now sysupgrade works.

Awesome! We will also upload the 6.6 upgrade file to the official website’s document section.

Ethernet LEDs (for 1240 and 1211) still don’t work, BTW.

Sorry,The indicator light requires an external pull-up circuit to light up, but this pull-up design is not enabled in the current batch.This does not affect the functionality.

Thanks for confirming it’s a hardware issue.

I know how to solder.

Which pin needs to be pulled up? (with respect to BPI-RV2-V11-SCH-20241121.pdf)

Details of the welding points are as follows:

Then, you also need to enter the following command: 87bb8231184a44bdd90e2bd52926ea85

Try this kind of modification.

Thanks! I’ll try this.

(I guess writing 4 to reg 0x621 can be also done in the siflower phy driver)

Edit: according to schematics (page 17), this is pin 29 (RESV_CFG_0) pulled-up to 3v3.

I guess pin 31 (GP_0) should not be pulled down? i.e. R268 needs to be removed?

By the way, this resistor needs to be moved further upwards.