lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
kevery has quit [Ping timeout: 272 seconds]
kevery has joined #armbian-rockchip
_whitelogger has joined #armbian-rockchip
_whitelogger has joined #armbian-rockchip
_whitelogger has joined #armbian-rockchip
<DC-IRC> [Discord] <beohoff3174> what do you need?
<DC-IRC> [Discord] <mecoblock> I want to make my own edid for hdmi rx, as is something like a Nintendo Switch only shows 480P as resolution
<DC-IRC> [Discord] <beohoff3174> I think you can compile the hdmirx as a module, so you can load and unload it at will, that's what I used for debugging
<DC-IRC> [Discord] <beohoff3174> But shouldn't be that hard to change the edid
<DC-IRC> [Discord] <beohoff3174> it's in the source code
<DC-IRC> [Discord] <mecoblock> do you mean the mainline hdmi rx?
<DC-IRC> [Discord] <beohoff3174> I've used both
<DC-IRC> [Discord] <beohoff3174> mainline you need to use the ATF firmware, which I'm not sure if armbian has adopted completely
<DC-IRC> [Discord] <mecoblock> v4l2-ctl should also be able to set edid but idk how that bin is made
<DC-IRC> [Discord] <mecoblock> i was on bsp
<DC-IRC> [Discord] <beohoff3174> are you on mainline or vendor
<DC-IRC> [Discord] <beohoff3174> ah gotcha
<DC-IRC> [Discord] <beohoff3174> yeah, I would just pull the source for the module and then modify the edid locally
<DC-IRC> [Discord] <beohoff3174> give me a sec and I can link you to the relevent lines of code
<DC-IRC> [Discord] <beohoff3174> if you want it to be hands free, you can make a dkms module
<DC-IRC> [Discord] <beohoff3174> the driver code didn't used to be that stable, but I think the patched the bug in one of the latest fixes
<DC-IRC> [Discord] <beohoff3174> This project has an example of how to configure dkms: https://github.com/benhoff/dev_clipboard/blob/master/Makefile
<DC-IRC> [Discord] <beohoff3174> might not be the best example, I'm not the best in the world for Makefiles and such, but it works
<DC-IRC> [Discord] <beohoff3174> bootstrap.sh as part of that project gives the ability to make it a one-liner, but all that code was written by an LLM that I patiently poked until it did my bidding
<DC-IRC> [Discord] <beohoff3174> bootstrap.sh as part of that project gives the ability to make it a one-liner bash script to install, but all that code was written by an LLM that I patiently poked until it did my bidding
<DC-IRC> [Discord] <beohoff3174> hdmirx_set_edid is also tagged to the v4l2_ioctl_ops, so you should also be able to set it using v4l2-ctl out of the box
<DC-IRC> [Discord] <beohoff3174> If it was me, I would probably just create my own custom IOCTL and then just have it trigger between the two: https://github.com/armbian/linux-rockchip/blob/rk-6.1-rkr5.1/drivers/media/platform/rockchip/hdmirx/rk_hdmirx.c#L2543
<DC-IRC> [Discord] <beohoff3174> Hope that helps!
kevery1 has joined #armbian-rockchip
kevery has quit [Ping timeout: 272 seconds]
kevery1 is now known as kevery
<DC-IRC> [Discord] <mecoblock> can you tell me how I can set it to the 600 one?
<DC-IRC> [Discord] <ohasanov> Hi! I wanted to ask if (or when) the 6.1.115 vendor kernel (rkr5.1 i believe?) will be available in armbian-config. If not, how to compile and install it?
<DC-IRC> [Discord] <mecoblock> no need to specifically call for it. Just building an image for your board is sufficient. If you want to use desktop don’t forget the mesa vpu extension
<DC-IRC> [Discord] <ohasanov> Last time I tried building an image in a Ubuntu VM, it just didn't work hahah... If that is sufficent I will try again then!
<DC-IRC> [Discord] <ohasanov> But are there (still?) plans to integrate it into armbian-config?
<DC-IRC> [Discord] <mecoblock> I think the issue is that 600 one is only listing 4k specially while the 340 one has specific resolutions like 1080P set. When using my macbook I see all resolutions but I assume the Nintendo Switch wants to see 1080P as an available option and therefore defaults to 480P
<DC-IRC> [Discord] <mecoblock> make sure you have docker in your vm
<DC-IRC> [Discord] <mecoblock> I think it should be available there with the next release or beta branch
<DC-IRC> [Discord] <ohasanov> Thanks!
<DC-IRC> [Discord] <ohasanov> I finally downloaded everything for building an image, how exactly do I enable the vpu extension though?
<DC-IRC> [Discord] <beohoff3174> I don't know, I've never tried it
<DC-IRC> [Discord] <mecoblock> lookup armbian build switches