[Image] Rock3a kernel-5.10.66

源码是rk3588-5.10.66内核,提取自https://github.com/radxa/kernel/tree/stable-5.10-rock5

本版本是对rk3568适配以及panfrost适配,

dts文件仅仅适配了rock-3a,其他开发板请自行设置dts文件,原则上支持rk33**,rk356x(未作测试)

rock3a用户不需要编译内核仅使用镜像文件请到 https://github.com/qxhome/rk3568-kernel5.10-alldrivers/releases 下载镜像

本内核版本内核可能缺乏部分wifi网卡驱动,请自行移植

rk对drm操作或其他硬件操作做了特殊的权限设置,使用内核时候碰到权限问题需自行在内核模块源码中对相关权限做调整(常见操作所需权限已经调整好)

内核config文件中部分模块未开启,导致部分通用程序依赖缺乏,根据需求自行需要开启相关模块config

感谢分享。固件加到 wiki 了。

https://wiki.radxa.com/Rock3/downloads/community_built_images

但是可能没有人会尝试去编译只有 4 次提交的 Linux 内核吧 :slight_smile:

哎,一个人干活适配,精力有限,很多问题一个人发现不了。目前我用一个月的情况来看,基础使用没什么问题,可能更多的问题体现在桌面的各种通用软件中。

我也一直关注着radxa的内核更新中涉及到非3588部分的更新。 因为手头没有5b去测试,改动的部分也不知道会不会影响到3588,也不敢往radxa的内核库里提交代码(虽然没权限)

Thank you very much.
It’s a good deed.

I wrote in her eMMC and tried it. I had a hard time because /root was 100%, so I moved the image to another partition with dd and it worked.

# apt remove x11-common
# apt autoremove
# apt install fdisk
# fdisk
# dd if=/dev/mmcblk0n02 of=/dev/mmcblk0n03
# resize2fs /dev/mmcblk0n03
# vi extlinux.conf

I have one question.
I can’t find file in /lib/modules, it is right?

I used the following procedure to install eMMC.
https://wiki.radxa.com/Rock3/install/usb-install

Thanks.

论坛里还有个人也给rock3a制作过armbian镜像:https://forum.radxa.com/t/armbian-for-rock-3a-unofficial-build-with-mainline-kernel-5-17
要不也加到wiki里面吧。
armbian官方网站也有rock3a镜像的下载了,不过做的不如上面的……

it is a old 5.10

you didn’t clean up printk’s etc

it thought just little change in bifrost something like 2 instead of 4 clocks , the pinctrl or config in dt-bindings and some adjustments of the dts and defconfig

did it few months ago for the other oem partner

buildroot ,debian ,yocto works also

nice thing is the new buildroot2021 with some adjustments it works also on the rk356x

only in android 12 i have no output

这是目前唯一的可以使用NPU 引擎的免费 5. x内核
RK356X 上的 Panfrost 驱动性能是mali驱动的两倍以上
xorg里glmark-es2(800x600)分数是 300 分,glmark-es2-wayland(800x600)是500分,同样环境下,mali驱动差不多只有100分以下
oem的时候,你们可以从rk那里购买更新的内核的版本,并且去修改它,目前只有radxa提供免费内核。我们需要感谢radxa的分享。

2 Likes

感谢radxa \ qxhome,试试这个版本

well sadly it is not the only kernel with npu :slight_smile: that was the easiest part

and sure raxda keeps there bsp sources up to date and easy to use a lot of vendors could take a example of that .

ow and jammy is updated a few hours ago with mpp/rga/glmark etc

我安装gnome后,进去鼠标怎么是一个半透明的正主形,移动到一些应用上才会变为箭头,好奇怪

建议使用budgie桌面, 因为rk的drm体系里设置了不少特殊权限, 所以有些权限不调整的话,有些桌面还存在兼容性问题。还有gnome桌面也依赖某些内核里的文件系统选项。。 因为gnome太占资源和内存了,我也没具体调试过gnome的兼容性问题。

budgie桌面是指桌面环境么?就像xfce、kde这种的?
另外,rk的drm体系有没有啥文档来描述怎么设置的特殊权限?

这个这个。。。。我是根据哪里发生错误就改哪里。。

额……

那么,budgie桌面是指桌面环境么?就像xfce、kde这种的?

@qxhome I am trying to install a desktop using this image. but it seems the cloud.tencent url is causing issues as I am in Japan.
I’ve updated the deb cloud.tencent urls to ports.ubuntu.com.

For budgie desktop and panfrost is lightdm or gdm3 better?

here a nicer one with all the commits

newer npu
newer gpu

in sync with the rock 5b 5.10.66 kernel

only issue with some video playback sometimes

大神请教下 能否分享下全部的制作过程。uboot直接使用的 https://github.com/radxa/rockchip-bsp.git这里面的引导的吗

这个版本测试过mpp吗?能够正常编码解码吗?我这边测试第一次运行可以,多运行几次就出错了!

[ 104.563551] mpp_rkvdec2 fdf80200.rkvdec: frame not complete
[ 104.563567] mpp_rkvdec2 fdf80200.rkvdec: found stuff task error irq 00000008 1/97
[ 104.563572] mpp_rkvdec2 fdf80200.rkvdec: resetting…
[ 104.563618] mpp_rkvdec2 fdf80200.rkvdec: reset done
[ 104.766857] mpp_rkvdec2 fdf80200.rkvdec: process task timeout
[ 104.766886] rkvdec_link_reg_dump:238: dump link config status from timeout
[ 104.766892] rkvdec_link_reg_dump:239: reg 0 00000300 - irq status
[ 104.766895] rkvdec_link_reg_dump:240: reg 1 ffff8000 - cfg addr
[ 104.766899] rkvdec_link_reg_dump:241: reg 2 80000002 - link mode
[ 104.766902] rkvdec_link_reg_dump:242: reg 4 80000000 - decoded num
[ 104.766906] rkvdec_link_reg_dump:243: reg 5 00000006 - total num
[ 104.766909] rkvdec_link_reg_dump:244: reg 6 00000001 - link mode en
[ 104.766912] rkvdec_link_reg_dump:245: reg 6 ffff8000 - next ltb addr
[ 104.766917] mpp_rkvdec2 fdf80200.rkvdec: frame not complete
[ 104.766924] mpp_rkvdec2 fdf80200.rkvdec: found stuff task error irq 00000008 2/98
[ 104.766928] mpp_rkvdec2 fdf80200.rkvdec: stuff task error again 2/98
[ 104.766933] mpp_rkvdec2 fdf80200.rkvdec: resetting…
[ 104.768089] rk_iommu fdf80800.iommu: Enable stall request timed out, retry_count = 0, status: 0x000001
[ 104.768100] rk_iommu fdf80800.iommu: Enable stall request timed out, retry_count = 0, status: 0x00001d
[ 104.769250] rk_iommu fdf80800.iommu: Error during raw reset. MMU_DTE_ADDR is not functioning
[ 104.769270] mpp_rkvdec2 fdf80200.rkvdec: reset done
[ 104.773457] mpp_rkvdec2 fdf80200.rkvdec: process task timeout
[ 104.773479] rkvdec_link_reg_dump:238: dump link config status from timeout
[ 104.773484] rkvdec_link_reg_dump:239: reg 0 00000300 - irq status
[ 104.773488] rkvdec_link_reg_dump:240: reg 1 ffff8000 - cfg addr
[ 104.773492] rkvdec_link_reg_dump:241: reg 2 00000006 - link mode
[ 104.773495] rkvdec_link_reg_dump:242: reg 4 80000000 - decoded num
[ 104.773499] rkvdec_link_reg_dump:243: reg 5 00000006 - total num
[ 104.773502] rkvdec_link_reg_dump:244: reg 6 00000001 - link mode en
[ 104.773505] rkvdec_link_reg_dump:245: reg 6 ffff8000 - next ltb addr
[ 104.773510] mpp_rkvdec2 fdf80200.rkvdec: frame not complete
[ 104.773516] mpp_rkvdec2 fdf80200.rkvdec: found stuff task error irq 00000008 3/99
[ 104.773520] mpp_rkvdec2 fdf80200.rkvdec: stuff task error again 3/99
[ 104.773524] mpp_rkvdec2 fdf80200.rkvdec: resetting…
[ 104.774635] rk_iommu fdf80800.iommu: Error during raw reset. MMU_DTE_ADDR is not functioning
[ 104.774650] mpp_rkvdec2 fdf80200.rkvdec: reset done
[ 105.070051] rkvdec2_link_wait_result:1369: task 1:96 statue 14f timeout -> abort
[ 105.273438] mpp_rkvdec2 fdf80200.rkvdec: process task timeout
[ 105.273466] rkvdec_link_reg_dump:238: dump link config status from timeout
[ 105.273471] rkvdec_link_reg_dump:239: reg 0 00000300 - irq status
[ 105.273474] rkvdec_link_reg_dump:240: reg 1 ffff8000 - cfg addr
[ 105.273478] rkvdec_link_reg_dump:241: reg 2 80000002 - link mode
[ 105.273481] rkvdec_link_reg_dump:242: reg 4 80000000 - decoded num
[ 105.273484] rkvdec_link_reg_dump:243: reg 5 00000008 - total num
[ 105.273487] rkvdec_link_reg_dump:244: reg 6 00000001 - link mode en
[ 105.273491] rkvdec_link_reg_dump:245: reg 6 ffff8000 - next ltb addr
[ 105.273495] mpp_rkvdec2 fdf80200.rkvdec: frame not complete
[ 105.273501] mpp_rkvdec2 fdf80200.rkvdec: found stuff task error irq 00000008 4/100
[ 105.273505] mpp_rkvdec2 fdf80200.rkvdec: stuff task error again 4/100
[ 105.273510] mpp_rkvdec2 fdf80200.rkvdec: resetting…
[ 105.274585] rk_iommu fdf80800.iommu: Error during raw reset. MMU_DTE_ADDR is not functioning
[ 105.274603] mpp_rkvdec2 fdf80200.rkvdec: reset done
[ 105.573477] rkvdec2_link_wait_result:1369: task 1:97 statue 14f timeout -> abort
[ 105.776828] mpp_rkvdec2 fdf80200.rkvdec: process task timeout
[ 105.776855] rkvdec_link_reg_dump:238: dump link config status from timeout
[ 105.776860] rkvdec_link_reg_dump:239: reg 0 00000300 - irq status
[ 105.776864] rkvdec_link_reg_dump:240: reg 1 ffff8000 - cfg addr
[ 105.776868] rkvdec_link_reg_dump:241: reg 2 80000002 - link mode
[ 105.776871] rkvdec_link_reg_dump:242: reg 4 80000000 - decoded num
[ 105.776874] rkvdec_link_reg_dump:243: reg 5 0000000a - total num
[ 105.776878] rkvdec_link_reg_dump:244: reg 6 00000001 - link mode en
[ 105.776881] rkvdec_link_reg_dump:245: reg 6 ffff8000 - next ltb addr
[ 105.776885] mpp_rkvdec2 fdf80200.rkvdec: frame not complete
[ 105.776891] mpp_rkvdec2 fdf80200.rkvdec: found stuff task error irq 00000008 5/101
[ 105.776895] mpp_rkvdec2 fdf80200.rkvdec: stuff task error again 5/101
[ 105.776899] mpp_rkvdec2 fdf80200.rkvdec: resetting…
[ 105.778000] rk_iommu fdf80800.iommu: Error during raw reset. MMU_DTE_ADDR is not functioning
[ 105.778023] mpp_rkvdec2 fdf80200.rkvdec: reset done
[ 106.080171] rkvdec2_link_wait_result:1369: task 1:98 statue 14f timeout -> abort
[ 106.283493] mpp_rkvdec2 fdf80200.rkvdec: process task timeout
[ 106.283517] rkvdec_link_reg_dump:238: dump link config status from timeout
[ 106.283522] rkvdec_link_reg_dump:239: reg 0 00000300 - irq status
[ 106.283526] rkvdec_link_reg_dump:240: reg 1 ffff8000 - cfg addr
[ 106.283530] rkvdec_link_reg_dump:241: reg 2 80000002 - link mode
[ 106.283533] rkvdec_link_reg_dump:242: reg 4 80000000 - decoded num
[ 106.283536] rkvdec_link_reg_dump:243: reg 5 0000000c - total num
[ 106.283539] rkvdec_link_reg_dump:244: reg 6 00000001 - link mode en
[ 106.283542] rkvdec_link_reg_dump:245: reg 6 ffff8000 - next ltb addr
[ 106.283547] mpp_rkvdec2 fdf80200.rkvdec: frame not complete
[ 106.283553] mpp_rkvdec2 fdf80200.rkvdec: found stuff task error irq 00000008 6/102
[ 106.283557] mpp_rkvdec2 fdf80200.rkvdec: stuff task error again 6/102
[ 106.283562] mpp_rkvdec2 fdf80200.rkvdec: resetting…
[ 106.284628] rk_iommu fdf80800.iommu: Error during raw reset. MMU_DTE_ADDR is not functioning
[ 106.284644] mpp_rkvdec2 fdf80200.rkvdec: reset done
[ 106.586721] rkvdec2_link_wait_result:1369: task 1:99 statue 14f timeout -> abort
[ 106.790123] mpp_rkvdec2 fdf80200.rkvdec: process task timeout
[ 106.790146] rkvdec_link_reg_dump:238: dump link config status from timeout
[ 106.790151] rkvdec_link_reg_dump:239: reg 0 00000300 - irq status
[ 106.790154] rkvdec_link_reg_dump:240: reg 1 ffff8000 - cfg addr
[ 106.790158] rkvdec_link_reg_dump:241: reg 2 80000002 - link mode
[ 106.790161] rkvdec_link_reg_dump:242: reg 4 80000000 - decoded num
[ 106.790165] rkvdec_link_reg_dump:243: reg 5 0000000e - total num
[ 106.790168] rkvdec_link_reg_dump:244: reg 6 00000001 - link mode en
[ 106.790171] rkvdec_link_reg_dump:245: reg 6 ffff8000 - next ltb addr
[ 106.790176] mpp_rkvdec2 fdf80200.rkvdec: frame not complete
[ 106.790182] mpp_rkvdec2 fdf80200.rkvdec: found stuff task error irq 00000008 7/103
[ 106.790186] mpp_rkvdec2 fdf80200.rkvdec: stuff task error again 7/103
[ 106.790190] mpp_rkvdec2 fdf80200.rkvdec: resetting…
[ 106.791315] rk_iommu fdf80800.iommu: Error during raw reset. MMU_DTE_ADDR is not functioning
[ 106.791334] mpp_rkvdec2 fdf80200.rkvdec: reset done
[ 107.093471] rkvdec2_link_wait_result:1369: task 1:100 statue 14f timeout -> abort
[ 107.600120] rkvdec2_link_wait_result:1369: task 1:101 statue 14f timeout -> abort
[ 108.106720] rkvdec2_link_wait_result:1369: task 1:102 statue 14f timeout -> abort

已经解决,是rkbin里面的bl31问题,没升级到最新版本导致的