For the VOP2 series 11 patches to work, you need to make a small correction. I’m not sure if this is a bug, but this line is causing the build issue. After it is turned off, the assembly passes without errors and the HDMI output works. By the way, with the patches of the 11 series, the choice of screen resolution in the latest version of Libreelec began to work for me.
Happy to see Oleg back to contributing to multiple vendors
I have Station P2 patch too, I plan to upstream it soon.
Do you have any plan to upstream it @balbes150 ?
While @sinovoip is still not sent me any R2Pro sample even after confirming that it will be sent out soon.
i have this line in place, but no build error…
function is defined in drivers/gpu/drm/rockchip/rockchip_drm_drv.h (rockchip_drm_drv.c) and always build in…maybe you miss an include?
I think this is a temporary error and it will be fixed without me
I am using the full set of patches of the entire series along with the latest version of the kernel sources (without intermediate patches). Perhaps the reason for the build error is this. But I know for sure that HDMI works with the latest kernel version and the latest V11 patches on all my rk356x devices.
By the way, I checked DTB for BPIR2pro only with your patches on my 5.18-rc4 core, HDMI works without problems.
hdmi itself works for me too, but not the hdmi-sound which is deferred on hdmi-node i don’t know why. analoge audio soundcard is initialized but left/right channel was mixed in my last test
This is a patch that also included HDMI and analog audio on BPIR2pro.
But you may need other patches as well.
etc
I have already
And for analog:
Wonder you have patch for switch…this needs modified driver to work…see my patches on patchwork
got hdmi and analog audio and rtc (found by driver after patch from peter) working:
last state (branches in my repo):
- hdmi: 5.18-r2pro-hdmiv11
- switch (mt7531): 5.18-mt7531-mainline2 (currently limited to 100M RX on r2pro by port5)
- pcie3: 5.18-r2pro-pcie3-mainline3
hi frank-w,
Can linux-5.18 kernel support MT7531’s DSA feature, we hope that R2pro can support it. many peoples are
I have it basicly working,but not yet merged for 5.18. Try to get this state in 5.19. Mainline has still fixed CPU-port (6) which needs changes (currently reviewd by dsa maintainer but not yet mtk).
But it looks like there is something wrong in rgmii setup as tx on cpu-port is only 100mbit/s
what do you mean here?
have sent out v3 for pcie3-support
https://patchwork.kernel.org/project/linux-rockchip/list/?series=641646
@balbes150 , maybe you want to include it into your armbian
Hi frank-w, I’m trying to make it work OpenWrt on 5.18, not having the device,wonder if can boot with the quartz64 dtb.
do not use another dtb as iodomain will differ and may brick your board!
you’ll find the right dts-patches in my kernel-repo
I was referring to the u-boot , now I found your patches, I see you are using the evb.dts ,I will update that.
Yes,but this is save only if iodomain is not set…uboot does not set it in dts and not in code, so dts can be used.
Evb have same config for basic function like sd/emmc/clocks/main pinctrl like r2pro,so it can be used here…enough for bootup
Btw. This thread is about linux,not uboot
I’ll check out a new set of patches and create new versions of the images.
- hdmi and rtc dts patches are added for next
- rtc driver fix is unreviewed, but we have 5 Weeks left for 5.20
- mt7531 patches for basic support are in net-next too
Seems like upper usb-port is broken in 5.19,have not found out why (works in 5.18-main).already set drd-role back to host,but does not fix.
At least pcie ranges are now good without gap, wait for response on bindings and then send out new version with adding missing pinctrl.
I checked the latest version 5.19-rc5 with this set of patches (pay attention to patches 200 and 181) with them, USB works on two ports.
By the way, I’m currently downloading new images with kernel 5.19 for BPIR2pro where USB works.