stikonas has quit [Remote host closed the connection]
Hypfer has quit [Ping timeout: 244 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
Hypfer has joined #linux-rockchip
Hypfer has quit [Ping timeout: 268 seconds]
Daanct12 has joined #linux-rockchip
Hypfer has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
franoosh has joined #linux-rockchip
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #linux-rockchip
mripard has joined #linux-rockchip
chewitt has joined #linux-rockchip
raster has joined #linux-rockchip
franoosh has quit [Ping timeout: 245 seconds]
franoosh has joined #linux-rockchip
ldevulder has joined #linux-rockchip
stikonas has joined #linux-rockchip
<mmind00>
CounterPillow: looks like your thermal driver changes have made it
<diederik>
a3f: Thanks for your remark about the SDcard as that was the key to make the maskrom work ... even with output on serial :-)
<diederik>
I had borked the system on eMMC and when there's a working system on SDcard (which I had) then it just boots that. Remove the SDcard and I no longer had a bootable system -> the SoC (?) automatically went into maskrom mode
<diederik>
But when I put a working system on the eMMC and kept the SDcard unplugged, then the maskrom button did what I expected it to do :-)
helene has joined #linux-rockchip
<CounterPillow>
mmind00: twice, even ;D
<mmind00>
CounterPillow: though I somehow never saw v5 getting applied
<CounterPillow>
it was applied the same day as v6, they just picked the wrong one by accident
_whitelogger has joined #linux-rockchip
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-rockchip
ldevulder has joined #linux-rockchip
<diederik>
Is there some reason why I don't see RK3568_PD_LOGIC_ALIVE being used?
<CounterPillow>
It's likely an always-on power domain that defaults to on, and nothing should ever turn it off, so modelling it in any way doesn't really carry tangible benefits and just has the downsides of implementation bugs causing it to be messed with in the PD hardware
<diederik>
I guess you're right. It would also explain why RK3568_PD_CPU_N isn't used either
<diederik>
Or RK3568_PD_CORE_ALIVE or RK3568_PD_PMU
<diederik>
While the ALIVE PD is defined in Table 7-1 (page 474-476 of TRM Part 1), it's not mentioned in Fig 7-2 (page 474)
<CounterPillow>
mmind00: so, is it too late for the TSADC DT patches to land?
ungeskriptet has quit [Ping timeout: 245 seconds]
ungeskriptet_ has joined #linux-rockchip
ungeskriptet_ is now known as ungeskriptet
stikonas has quit [Remote host closed the connection]
<detlevc>
chewitt: I was able to see the same issue as you with the jellyfin hevc 10 bits test video file using rkvdec + mpv
<chewitt>
that's good .. always nice to know it wasn't my own incompetence :)
Daanct12 has quit [Quit: WeeChat 4.6.3]
<chewitt>
I have your ffmpeg building now too
<detlevc>
thos test files don't seem to be using any long or short term ref frame sets, so you can use them without my ffmpeg patch for now (not that the patch would work anyway)
<chewitt>
I am still in discovery mode for RK things .. so I just figured out vp9 has no driver yet (for vdpu381) and av1 lacks an ffmpeg hwaccel
<chewitt>
but, aside from 10-bit HEVC, everything LE users normally want seems to generally work
<chewitt>
I need to move the board to a proper TV to experiment with 4K stuff ..
<detlevc>
yes, currently it's onle hevc/h264. AV1 might come soon but vp9 is not planned for now on my side
<chewitt>
possibly dumb question .. but how is deinterlaced media handled currently?
<chewitt>
s/deinterlaced/interlaced
cp- has quit [Ping timeout: 252 seconds]
raster has quit [Quit: Gettin' stinky!]
cp- has joined #linux-rockchip
<CyReVolt>
write leveling took me a while because of course I made stupid whoopsies
<qschulz>
CyReVolt: try to avoid formatting, many people don't want to be clicking on a link to read you :)
<qschulz>
CyReVolt: the biggest difference I know (or I think I know, I have never worked with rk356x devices :) ) is that RK3568 has ECC support and RK3566 doesn't
<CyReVolt>
qschulz: That makes sense. There are indeed some cases even in the RK3566 binary, presumably leftovers, to handle ECC.
<CyReVolt>
qschulz: Sorry, I'm not sure what you mean by formatting and how it relates to links, could you explain? 🥺
<qschulz>
somehow your client (likely?) replaces your message with a link to the full message
<qschulz>
I'm used to seeing this with Matrix clients bridging with an IRC server but I';m not sure we're bridging this channel?
<CyReVolt>
huh weird - I have no idea how that happened, sorry... I'm here via Matrix, yes. :/
<qschulz>
ah yes, then that explains it I think :)
<CyReVolt>
#libera_#linux-rockchip:pixie.town is what I use
<qschulz>
I think it may work if you simply do not use "fancy" things like newlines (and/or quoting)?
<CyReVolt>
oh gotcha - I'll avoid newlines, that is doable
<qschulz>
CyReVolt: let's see how if that is what triggered it :)
<diederik>
CyReVolt: Most people use rk3566_ddr_1056MHz_v1.23.bin on rk3566 I suspect. IIRC the _ultra variant is for (extra?) power saving functionality?
<CyReVolt>
I have no idea yet what the difference is. I went with the 528MHz one because it is small and I expected it to be simple.
<qschulz>
diederik: very likely indeed as this is the one used by RKBOOT/RK3566MINIALL.ini
<CyReVolt>
At some point, I will look at the other ones as well, but first I want to be done with one and have a rough idea how this stuff works. :)
<diederik>
I wasn't aware of rk3568 supporting ECC, but it does support higher frequency (so the default is rk3568_ddr_1560MHz_v1.23.bin)
<qschulz>
CyReVolt: yeah, starting small and having something working is already very nice
<qschulz>
some people probably care more about an open DDR init than having it run at high(er) frequencies
<diederik>
I guess you haven't been in the #pinetab channel then ;-P
<qschulz>
WHY oh WHY haven't they added ECC support to RK3588 or RK3576?
<CounterPillow>
RK3588 has ECC support
<qschulz>
CounterPillow: publicly advertised?
<qschulz>
or you mean the basic one that comes with DDR5?
<qschulz>
(is it even there on LPDDR5?)
<CounterPillow>
No I don't
<CyReVolt>
I will take a quick glance at some binary diffs at some point. That could reveal how much they really diverge. I hope it's mainly configuration parameters and the logic is otherwise the same.
<diederik>
qschulz: indeed. Also found it in my Rockchip_RK3568B2_Datasheet_V2.0-20230926.pdf, but not in my Rockchip_RK3566_Datasheet_V1.0-20201210.pdf one
<qschulz>
CounterPillow: uh, a few hits for an "ecc" grep in the RK3588 TRM
<qschulz>
we probably need an EDAC driver for that?
<qschulz>
there's one edac driver in linux-6.1-stan-rkr3.2 which is used for the rk3568 but don't see one for rk3588
<CyReVolt>
Ah I should also look at the TRM part 2 of the other SoCs, because I hope they DDR PHY is still the same. That would help a lot.
<CounterPillow>
I honestly don't know, it's possible the TRM regs are just a copypaste mistake. I vaguely recall seeing ECC stuff when I looked at DFI
<CyReVolt>
I can at least confirm that there are errors and some things clearly missing in the TRMs for the RK3566. ^^
<CyReVolt>
e.g. the vendor code using some registers in "reserved" blocks
<CyReVolt>
btw I just got my tickets for Kernel Recipes, would be happy to meet some of you there if you'd like to chat in person :)
franoosh has quit [Remote host closed the connection]
franoosh has joined #linux-rockchip
franoosh has quit [Remote host closed the connection]
<linkmauve>
Ow, I don’t have 180€ to spend on a conference, but I’d like to come. :(
<linkmauve>
CyReVolt, it is LPDDR4 too apparently, that’s the ODROID-M1.
cp- has quit [Ping timeout: 276 seconds]
cp- has joined #linux-rockchip
ldevulder has quit [Ping timeout: 248 seconds]
ldevulder has joined #linux-rockchip
vagrantc has joined #linux-rockchip
stikonas has joined #linux-rockchip
ldevulder has quit [Ping timeout: 252 seconds]
<detlevc>
mmind00: I remember now which clocks are needed for hdmi audio regs: Those are the vp clocks, for the video port in use by the vop. So we'd need a bit of api between the drivers (hdmi and vop) to get the clocks and the video port in use
<detlevc>
maybe that's a bit much for writing fake values in registers
ldevulder has joined #linux-rockchip
Kwiboo has quit [Quit: .]
Kwiboo has joined #linux-rockchip
ldevulder has quit [Ping timeout: 248 seconds]
stikonas has quit [Remote host closed the connection]