Jump to content

Radxa Rock 5B+ compatible with Radxa Rock 5B images?


Recommended Posts

Hey Everyone, I'm sorry if this has been answered elsewhere. I recently purchased a Radxa Rock 5B+ and I installed the debian bookworm test build provided by radxa on there getting started page.

 

https://docs.radxa.com/en/rock5/rock5b/getting-started/install-os/boot_from_sd_card

https://github.com/radxa-build/rock-5b-plus-6_1/releases/download/rsdk-t4/rock-5b-plus-6_1_bookworm_kde_t4.output.img.xz

 

I was mainly intent on using the HDMI with gstreamer using custom resolutions, but found that when using custom resolutions they cannot use the YCrCb pixel format only RGB8.

It seems based on the following comment that RGB8 videoconvert hardware acceleration is missing from the default GPU drivers so one needs custom drivers.

 

https://forum.radxa.com/t/hdmi-input-on-rock-5b/16242/4

https://forum.radxa.com/t/rk3588-kodi-rkmpp-accelerated-decoding-working-out-of-box/12785

 

Looking at the ppa they want you to add it seems like it only supports ubuntu and reading more they recommend you install armbian jammy on the rock 5B.

I did find one github repo that appears to have the raw scripts related to rockchip-multimedia-config and a folder called debian

 

https://github.com/amazingfate/rockchip-multimedia-config

 

But looking at the files it seems like it relies on the device-tree files, which I feel may be different between the 5B and 5B+.

 

So my two questions are

1) is there a working build of armbian ubuntu jammy or noble, that will install on the Rock 5B+ and work as well as it does for the Rock 5B.

2) Does anyone know if the rockchip-multimedia-config ppa with custom drivers will work on the Rock 5B+ ?

 

Any other  tips you all may have would be much appreciated. If I can provide any more details from my end just let me know.

Edited by jrd6g
grammatical errors
Link to comment
Share on other sites

  • jrd6g changed the title to Radxa Rock 5B+ compatible with Radxa Rock 5B images?

Armbian & Khadas are rewarding contributors

Posted (edited)

I Just tried the "Ubuntu 24.04 (Noble)Gnometrunk MESA / VPUSHA   ASC1.3GB" Image from "May 25, 2024" and it didn't work.

 

https://dl.armbian.com/rock-5b/archive/Armbian_24.5.1_Rock-5b_noble_vendor_6.1.43_gnome-oibaf_desktop.img.xz

 

EDIT:

I also tried the latest nightly "Ubuntu 24.04 (Noble)Gnome MESA / VPUstable6.1.75SHA  ASC1.4GB" and it gave me the same error "Blutooth: hc11: BCM: Reset failed (-110)"

https://github.com/armbian/os/releases/download/24.8.0-trunk.488/Armbian_24.8.0-trunk.488_Rock-5b_noble_vendor_6.1.75_gnome-kisak_desktop.img.xz

 

I guess I will need to wait for a 5B+ specific image. If you guys are beta testing one let me know where I can download it and I'll be happy to give it a go.

Edited by jrd6g
tested one other image and it didn't work
Link to comment
Share on other sites

Alternatively if there is no working armbian image planned for the 5B+, is there anyway to apply the same "rockchip-multimedia-config" path to the debian bookworm release for the 5B+?

Link to comment
Share on other sites

Hi. I'm not sure if anyone has this 5B+. 
Might be there's a dtb file for it. You need to adjust /boot/armbianEnv.txt
To point to a dtb that's for your device. I just don't know/think there's one yet for that.
They make way too many versions of the same what makes supporting it all a hell. 

Link to comment
Share on other sites

On 7/31/2024 at 3:08 PM, jrd6g said:

i just received my radxa rock 5b plus board.
i'd like to run armbian on it. has anyone yet made progress on adding that board yet?
i'd be happy to build and test.
 

 

Link to comment
Share on other sites

Posted (edited)

Thanks I'll need to look into this more. I guess it will probably need a bunch of cross compilers and what not. Perhaps that's why they recommend using a VM or docker environment.

 

Then I guess it's just a matter of adding the dtb, dts files like this (but the latest ones merged from the armbian repo and the rockchip repo for the rockpi 5b+).

https://github.com/armbian/linux-rockchip/pull/129/files

 

Then adding the csc board config file (seems they end in a ".conf" extension now unlike the original commit in this case that ended in ".csc").

https://github.com/armbian/build/pull/6551/files

This seems to be the command to compile just the single board

https://github.com/armbian/build/pull/6551

"./compile.sh BOARD=rock-5-itx BRANCH=vendor BUILD_DESKTOP=no BUILD_MINIMAL=no DEB_COMPRESS=xz KERNEL_CONFIGURE=no RELEASE=bookworm KERNEL_GIT=shallow"

 

 

If anyone else wants to try to build it in the meantime though I'll be happy to test whatever pull request they might make.

 

Personal Notes:

Also unrelated (just putting these notes here for my own record to help me remember) but I need the legacy kernel support so I probably need to revert the changes made here for my own local build, unless there is a way to manually specify the "legacy" kernel when you build.

https://github.com/armbian/build/commit/0bc5d27701286cca8a76820a0263b4d8a42b5b56

There's some interesting details on this pull request about the different build parameters that might let me specify LEGACY. https://github.com/armbian/build/pull/6881

"./compile.sh kernel BOARD=nanopi-r6s BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=no EXPERT=yes KERNEL_CONFIGURE=no RELEASE=trixie"
So I think for my build what I will probably need is.

"./compile.sh BOARD=rock-5b-plus BRANCH=legacy BUILD_DESKTOP=yes BUILD_MINIMAL=no DEB_COMPRESS=xz EXPERT=yes KERNEL_CONFIGURE=no RELEASE=jammy KERNEL_GIT=shallow"

 

 

 

 

 

Edited by jrd6g
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines