<CounterPillow>
ok, so that validates robmur01's theory that this is the firmware being buggy
<CounterPillow>
but the Linux kernel getting more strict about it
<CounterPillow>
here's an interesting question: why does the code even care if the protocol response size is wrong? It's clearly able to get the real size anyway.
<amazingfate>
arm-scmi firmware:scmi: Malformed reply - real_sz:8 calc_sz:4, t->rx.len is 12, sizeof(u32) is 4, loop_num_ret is 3
<amazingfate>
here is the log I printed
<CounterPillow>
remove the ret = -EPROTO; break; and it should boot I think
<amazingfate>
yes, I commented it and cpu and gpu can get clk now
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
<CounterPillow>
rockchip should fix the bug in their firmware or let us fix the bug by publishing the source but Linux should still be tolerant of the wrongly implemented protocol here I think
<amazingfate>
Distros like armbian can patch the kernel since we have found the root cause. And then wait for a firmware update
lurchi_ has quit [Quit: Konversation terminated!]
lurchi__ has joined #linux-rockchip
<CounterPillow>
which version of rkbin is this?
<CounterPillow>
or whatever their ATF blob is called
<macc24>
try compiling it yourself from upstream if it's available
<amazingfate>
it should be a close source binary
<CounterPillow>
macc24: it's not yet
<CounterPillow>
they plan to open-source it eventually but they keep delaying it
<macc24>
classic rockchip
<CounterPillow>
Eh, they had a stressful development cycle for rk3588
lurchi__ has quit [Quit: Konversation terminated!]
lurchi_ has joined #linux-rockchip
lurchi_ has quit [Quit: Konversation terminated!]
lurchi__ has joined #linux-rockchip
lurchi__ has quit [Client Quit]
jakllsch has quit [Quit: brb]
jakllsch has joined #linux-rockchip
<macc24>
is there any way to support multiple devices with same soc using one sd card with u-boot on sd card? each device has a "hardware id" info connected to an adc channel and dtb files aren't compatible?
lurchi__ has joined #linux-rockchip
<robmur01>
in principle I guess it ought to be feasible to pack a U-Boot FIT image with multiple DTBs and implement a mechanism for selecting between them
<macc24>
are there any examples?
<robmur01>
no idea, sorry, just a general observation on the nature of FIT
<macc24>
hmm "board_fit_config_name_mach"
<robmur01>
oh, so MULTI_DTB_FIT is a thing already, neat! :)