Perflosopher0 has quit [Ping timeout: 252 seconds]
sjoerd has quit [Quit: Ping timeout (120 seconds)]
sjoerd has joined #linux-rockchip
Perflosopher0 has joined #linux-rockchip
naoki has quit [Remote host closed the connection]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
Perflosopher0 has quit [Ping timeout: 260 seconds]
sjoerd7 has joined #linux-rockchip
sjoerd has quit [Ping timeout: 252 seconds]
sjoerd7 is now known as sjoerd
naoki has joined #linux-rockchip
Perflosopher03 has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
stikonas has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
naoki has quit [Ping timeout: 248 seconds]
hexdump0815 has quit [Ping timeout: 244 seconds]
hexdump0815 has joined #linux-rockchip
dustinm` has quit [Ping timeout: 244 seconds]
dustinm` has joined #linux-rockchip
naoki has joined #linux-rockchip
naoki has quit [Quit: naoki]
naoki has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
jakllsch has quit [Ping timeout: 246 seconds]
jakllsch has joined #linux-rockchip
raster has joined #linux-rockchip
franoosh has joined #linux-rockchip
ldevulder has joined #linux-rockchip
franoosh has quit [Remote host closed the connection]
franoosh has joined #linux-rockchip
naoki has quit [Quit: naoki]
naoki1 has joined #linux-rockchip
naoki1 is now known as naoki
<Kwiboo>
detlevc: great, I had some issues last time around with hevc on rkvdec1, the iommu flush did not fully solve the issue and some reset was still required, my fluster result where irregular when trying to run multiple parallel decoding streams
dsimic has quit [Ping timeout: 276 seconds]
<Kwiboo>
hoping to cycle back to video decoding next few days, re-spinning my old rkvdec1 h264 442/hi10 and hevc series and ffmpeg v4l2-request, just one or two u-boot series I want to finish up before that ;-)
dsimic has joined #linux-rockchip
f476 has quit [Ping timeout: 272 seconds]
f476 has joined #linux-rockchip
alpernebbi has quit []
<naoki>
I almost forgot what I did last month...
<naoki>
I think I need to send some patches.
Stat_headcrabbed has joined #linux-rockchip
Stat_headcrabbed has quit [Client Quit]
robmur01 has quit [Read error: Connection reset by peer]
robmur01 has joined #linux-rockchip
<qschulz>
Kwiboo: dsimic: shoot, forgot to Cc you on the v3 of the DTSO migration for Rockchip boards in the kernel
<CounterPillow>
Does anyone have Part2 of the RV1106 TRM, if that even exists? I can only find Part1. I'm specifically looking for the TRNG section of that SoC
<mriesch>
qschulz: there is rk3588-edgeble-neu6a-wifi.dtb and rk3588-edgeble-neu6a-wifi.dtbs <- that's correct right? or is there a stray s
<mriesch>
probably correct, as it is applied consistently. also, i didn't check the makefile magic behind it
<qschulz>
mriesch: you misread (but I did misread myself the first time :) )
<qschulz>
there's rk3588-edgeble-neu6a-wifi.dtb and rk3588-edgeble-neu6a-wifi-dtbs
<mriesch>
so there is. right.
<mriesch>
:-)
<qschulz>
If you did read the comment I added in the v3 in the Makefile, did it help or make things worse?
<qschulz>
comprehension-wise
<qschulz>
I also find it confusing but it seems to work and what we have in ti/ too
<mriesch>
it's all good, maybe i should switch to a larger font size
<qschulz>
mriesch: I had another thought also.. maybe we should prefix those "dummy" DTBs with overlay-test maybe>?
<qschulz>
mmind00: ^ maybe also
<qschulz>
because it does actually generate those .dtb files
<mriesch>
qschulz: no strong opinion there
<mmind00>
qschulz: I would just go with what the other arches do ;-)
<qschulz>
mmind00: how boring :)
<qschulz>
they do the same as in my patch wrt naming. Some mix dtb rules with dtbo application dtbs, some have it separate like in my patch
<qschulz>
s/rules/targets/
<mmind00>
qschulz: at least the Makefile positions I like very much ... especially with that nice introductory comment :-)
naoki has quit [Quit: naoki]
<qschulz>
mmind00: thanks, i'll wait a few days before sending a v4 for the nitpicks from mriesch
<mmind00>
qschulz: sounds good ... -rc1 is still till the weekend away :-)
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
vagrantc has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
lvrp16 has quit [Ping timeout: 260 seconds]
steev has quit [Ping timeout: 260 seconds]
norris has quit [Ping timeout: 260 seconds]
norris has joined #linux-rockchip
lvrp16 has joined #linux-rockchip
steev has joined #linux-rockchip
stikonas has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
naoki has joined #linux-rockchip
franoosh has quit [Remote host closed the connection]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
naoki has quit [Quit: naoki]
naoki1 has joined #linux-rockchip
naoki1 is now known as naoki
naoki1 has joined #linux-rockchip
naoki has quit [Read error: Connection reset by peer]
naoki1 is now known as naoki
<macromorgan>
I figured out Optee, and think I might have a few bug fixes in my future... long story short I figured out how to get it to automatically add the memory holes so you don't have to...
<macromorgan>
long story short for the rk3588 we need to 1) increase the CFG_DTB_MAX_SIZE in Optee to match A-TF (which is 0x20000). I'm not sure if this is a good thing or a bad thing though. We also need to tell Optee CFG_AUTO_MAX_PA_BITS=y CFG_CORE_LARGE_PHYS_ADDR=y.
<macromorgan>
2) just build A-TF as usual but with SPD=opteed
<macromorgan>
3) in U-Boot, you need to set CONFIG_OPTEE_LIB=y, CONFIG_OPTEE_TZDRAM_SIZE=0x02000000, and unset CONFIG_SPL_ATF_NO_PLATFORM_PARAM. You also need to change kernel_comp_addr_r so that it doesn't stomp all over Optee (I changed it to 0xa400000) which is just after the reserved memory for Optee.
<macromorgan>
4) remove the Optee device from the Linux device tree under firmware. U-Boot will re-add this and when it does also add the reserved memory nodes. If the optee node is present, however, U-Boot will just skip over it.
<Kwiboo>
macromorgan: for optee itself you should probably change to use CFG_TZDRAM and CFG_SHMEM similar to rk3399 and px30 instead of the vendor addresses that are interfering with u-boot load addresses
<macromorgan>
not sure I understand, those values are already set aren't they?
<Kwiboo>
also suggest you change CFG_DTB_MAX_SIZE to something more than 128 KiB, if DT symbols are enabled for the DT the rk3588 is more than 128 KiB
<macromorgan>
we'd need to change it to match everywhere though right? I know A-TF has the max size at 128KB for now, Optee at 64KB, and not sure if I need to check U-Boot or anywhere else
<macromorgan>
I mean, I'm down with such a change, it's just I don't know if it would work or not for everyone
<macromorgan>
I'll do it to 640k... that ought to be enough for anybody :-p
<Kwiboo>
hehe :-), if you are sending a patch to change it, 128k is probably not big enough once rk3588*.dtsi is fully featured with more dt nodes, and a patch for tf-a is also needed