Rk3582 soc broken ip node check

I have written a shell script to check which soc node is broken on rk3582 soc.

You have to flash an armbian 5.10 legacy image of rock5c because it has modified uboot to unblock all good ip cores. If you flash 6.1 vendor image, you will get gpu enabled even you have broken gpu.

How to use:

curl --silent https://cdn.haguro.top/check-rk3582.sh |bash -

Result is in Chinese, you can use google translate for your language.

6 Likes

possible bug with your script or just some diffrence between our installs. both encoders will return NO as the device to query for me should be:

/sys/devices/platform/fdbd0000.rkvenc
/sys/devices/platform/fdbe0000.rkvenc

rather than

/sys/devices/platform/fdbd0000.rkvenc-core
/sys/devices/platform/fdbe0000.rkvenc-core

it seems only decoders have the -core suffix

the other option for people that dont want to run a script from an unknown source, you can just use journalctl -b | grep <DEVICE_PATH>

I don’t know which kernel you are using.
In the devicetree that armbian is using node name is rkvenc-core:

yeah, im wrong… just booted up my other 5c lite and this one has a dead gpu but both encoders and the script works as expected.

the min spec for RK3582 is one encoder core right? possible its getting renamed when theres only one?

Yes uboot has renamed the node when disabling one decoder or encoder. I have updated the check script.

2 Likes

thanks for all your work on this

@amazingfate - is there a prebuilt image with 5.10 kernel and adjusted u-boot somewhere downloadable? i’m asking as the armbian downloads seem to focus on v6.1 and mainline only.

a lot of thanks in advance and best wishes - hexdump

1 Like

5.10 kernel can use exactly the same deivcetree from 6.1. There is no 5.10 prebuilt image but you can build one by yourself.

1 Like

If you are interested on Arch Linux, my image have this patch applied for the CM5 and Rock 5C:
https://github.com/kwankiu/archlinux-installer/releases/tag/b07

And here is the patched u-boot package with rk3582 unlocked
https://github.com/kwankiu/archlinux-installer/releases/download/kernel/uboot-radxa-rknext_2017.09-1_arm64.deb

1 Like

Sorry for the newbie question, how does OS images are created?