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
<DC-IRC>
[Discord] <viraniac> Hi team, could someone please confirm whether we ship u-boot in Khadas edge2 image
<DC-IRC>
[Discord] <viraniac> I noticed `change-tracking: after post_family_config hooks [ BOOTCONFIG='none' ]` in the build logs. Hence asking
<DC-IRC>
[Discord] <cyber_grandpa> Good day guys. I need help really hard. I decided to make myself a challenge to enable HDMI IN port normal support for rk3588 orange PI 5 plus board! I spent 2 week without sleep, food, life... THe problem: current rockchip driver shows 9 compliance errors in v4l2-compliance. i've managed to reduce them to 0 errors and 0 warning. BUT i did it by mergin code from colabora synopsis <clipped message>
<DC-IRC>
[Discord] <cyber_grandpa> driver. I'm pretty sure i messed up in many places and i need help with DMA, IRQ, FIQ, DMA fencing.
<DC-IRC>
[Discord] <cyber_grandpa> Good day guys. I need help really hard. I decided to make myself a challenge to enable HDMI IN port normal support for rk3588 orange PI 5 plus board! I spent 2 week without sleep, food, life... THe problem: current rockchip driver shows 9 compliance errors in v4l2-compliance. i've managed to reduce them to 0 errors and 0 warning. BUT i did it by mergin code from colabora synopsis <clipped message>
<DC-IRC>
[Discord] <cyber_grandpa> driver. I'm pretty sure i messed up in many places and i need help with DMA, IRQ, FIQ, DMA fencing.
<DC-IRC>
[Discord] <cyber_grandpa> I was told that there is one guy amazingfate who is very good at rockchips. I hope we can finally make this hdmirx driver work propeptly for both armbian and Joshua-Riek builds!
<DC-IRC>
[Discord] <cyber_grandpa> Good day guys. I need help really hard. I decided to make myself a challenge to enable HDMI IN port normal support for rk3588 orange PI 5 plus board! I spent 2 week without sleep, food, life... THe problem: current rockchip driver shows 9 compliance errors in v4l2-compliance. i've managed to reduce them to 0 errors and 0 warning. BUT i did it by merging code from colabora synopsi <clipped message>
<DC-IRC>
[Discord] <cyber_grandpa> s driver. I'm pretty sure i messed up in many places and i need help with DMA, IRQ, FIQ, DMA fencing.
<DC-IRC>
[Discord] <cyber_grandpa> I was told that there is one guy amazingfate who is very good at rockchips. I hope we can finally make this hdmirx driver work propeptly for both armbian and Joshua-Riek builds!
<DC-IRC>
[Discord] <cyber_grandpa> Good day guys. I need help really hard. I decided to make myself a challenge to enable HDMI IN port normal support for rk3588 orange PI 5 plus board! I spent 2 week without sleep, food, life... THe problem: current rockchip driver shows 9 compliance errors in v4l2-compliance and doesn't work with OBS. i've managed to reduce them to 0 errors and 0 warning. BUT i did it by merging <clipped message>
<DC-IRC>
[Discord] <cyber_grandpa> code from colabora synopsis driver. I'm pretty sure i messed up in many places and i need help with DMA, IRQ, FIQ, DMA fencing.
<DC-IRC>
[Discord] <cyber_grandpa> I was told that there is one guy amazingfate who is very good at rockchips. I hope we can finally make this hdmirx driver work propeptly for both armbian and Joshua-Riek builds!
<DC-IRC>
[Discord] <rpardini> Dunno if anything changed, but when I first added the board, no: we relied on the `oowow`-supplied u-boot in the board's SPI.
<DC-IRC>
[Discord] <rpardini> That then led to hitting an old bug with that rk u-boot that didn't support boot.scr and ended up using extlinux.
<DC-IRC>
[Discord] <rpardini> Unsure if this changed over time -- I never had the board to do a proper (even if 2017-vendor) u-boot for it, or test the interactions between old-DDR/BL31/SPL blobs in SPI and a more modern u-boot proper in eMMC.
<DC-IRC>
[Discord] <viraniac> Thanks Ricardo for confirmation. Apparently Khadas got some report about some display issue on Armbian mainline image for edge2 and Jacobe was checking on the same. He approached me to get the u-boot sources and hence I was looking for the same. It does seem like we still don't have a u-boot in edge2 image and I had conveyed the same to Jacobe. Jacobe was also able to confirm it <clipped message>
<DC-IRC>
[Discord] <viraniac> by erasing emmc which rendered the sd card unbootable there by confirming the same.
<DC-IRC>
[Discord] <efectn> Mainline hdmi support is still WIP
<DC-IRC>
[Discord] <efectn> and barely usable
<DC-IRC>
[Discord] <efectn> Mainline hdmi support is still WIP for rk3588
<DC-IRC>
[Discord] <efectn> @rpardini have you ever tried to ship uboot from their khadas-edges-v2017.09 branch?
<DC-IRC>
[Discord] <rpardini> Yeah I only ever had the board for 2 days on my hands -- so no, I never tried.
<DC-IRC>
[Discord] <rpardini> If I remember correctly board didn't have SD either?
<DC-IRC>
[Discord] <rpardini> I guess it should work fine as long as early blobs match with the ones in SPI.
<DC-IRC>
[Discord] <efectn> Yeah it needs io module
<DC-IRC>
[Discord] <efectn> It exposes sd pins via extio pins
<DC-IRC>
[Discord] <rpardini> oh wow yeah, and also UART I hope?
<DC-IRC>
[Discord] <rpardini> `oowow`, pun intended
<DC-IRC>
[Discord] <rpardini> pogo-pun also intended
<DC-IRC>
[Discord] <efectn> Yeah
<DC-IRC>
[Discord] <efectn> But i'm not able to use uart completely
<DC-IRC>
[Discord] <efectn> I can see output but can't input anything
<DC-IRC>
[Discord] <cyber_grandpa> Thank you for a hint. Yes I have it implemented in my driver version and synapsis driver also have it. But actually it doesn't help with OBS or fps drops issue.
<DC-IRC>
[Discord] <narga_64> Nooo, the wifi card they sell together with the R5C is a bad one 😅 If you don't plan to use it as a router/access point, it may be fine though.
<DC-IRC>
[Discord] <alexl83> I bought it separately, the 4gb board wan't bundled with amazon prime - will just return the wifi card if it works with my MT7922
<DC-IRC>
[Discord] <cyber_grandpa> Thank you for a hint. Yes I have it implemented in my driver version and synapsis driver also have it. But actually it doesn't help with OBS craches or fps drops issue. Another smart guy suggested to wain for panthor driver support... maybe it will solve performance issues... but merging is only planned in kernel version 6.10. Long time to wait. My current kernell is 6.1.0-1016-r <clipped message>
<DC-IRC>
[Discord] <cyber_grandpa> ockchip from Joshua Riek. WHy? becaus it provides hardware video encoding\decoding for ffmpeg and Chrome out of the box. So, maybe it does make sense to ask chip manufacturers directly? But I don't have any contacts
<DC-IRC>
[Discord] <alexl83> thanks for the heads-up, realtek is always a pain in the ass
<DC-IRC>
[Discord] <cyber_grandpa> Thank you for a hint. Yes I have it implemented in my driver version and synapsis driver also have it. But actually it doesn't help with OBS craches or fps drops issue. Another smart guy suggested to wait for panthor driver support... maybe it will solve performance issues... but merging is only planned in kernel version 6.10. Long time to wait. My current kernell is 6.1.0-1016-r <clipped message>
<DC-IRC>
[Discord] <cyber_grandpa> ockchip from Joshua Riek. WHy? becaus it provides hardware video encoding\decoding for ffmpeg and Chrome out of the box. So, maybe it does make sense to ask chip manufacturers directly? But I don't have any contacts
<DC-IRC>
[Discord] <amazingfate> You can run panthor driver with 6.1 kernel.
<DC-IRC>
[Discord] <cyber_grandpa> Is there any manual how to do it?
<DC-IRC>
[Discord] <amazingfate> Armbian has already made it out of box.
<DC-IRC>
[Discord] <amazingfate> Download a desktop 6.1 image and run it.
<DC-IRC>
[Discord] <alexl83> Thanks! having a look at it!
<DC-IRC>
[Discord] <cyber_grandpa> I'll try later today. But do you have any experience in DMA bits addressing? I'm learning it now a hard way. just comparing source code of other drivers ... no clear documentation, no normally working driver examples over internet. Everybody implements DMA in very different way without any comments in the code 🙂 it really gives me a hard time to understand why this bit has to <clipped message>
<DC-IRC>
[Discord] <cyber_grandpa> be set after this IOCTL and then unset after that IOCTL... Maybe you have some more organized information about proper way of DMA access, FIQs, fencing... etc ? It will help me a lot
<DC-IRC>
[Discord] <alexl83> I plan to play around, test it with kali, mt7922 - it would be good to replace my current travel router with it btw
<DC-IRC>
[Discord] <amazingfate> Unfortunately I know less about DMA. My hacking with hdmi-in didn't touch DMA related things.
<DC-IRC>
[Discord] <cyber_grandpa> As all we are 🙂 Anyway Thank you for the help!
<DC-IRC>
[Discord] <cyber_grandpa> I tried armbian 6.1.43 desktop... freezed 3 times in 30 minutes . HDMIRX driver is the same ... 9 errors... only 30 fps max. Panthor activated, but OBS doesn't lanunch because cannot recongnize graphical system... dead end
<DC-IRC>
[Discord] <amazingfate> I'm using 6.1 panthor as daily desktop and no issues.
<DC-IRC>
[Discord] <amazingfate> For obs, there should be some environment variables to make it launch.
<DC-IRC>
[Discord] <cyber_grandpa> Well maybe it's onyly me... with my glitchy orange pi 5 plus
<DC-IRC>
[Discord] <t1msu_87222> Can somebody help me understanding the datasheet for rk3588? I'm looking for all possible pins which can be spdif rx or spdif tx.
<DC-IRC>
[Discord] <t1msu_87222> This only lists very few options and only tx