crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-rockchip
tomeu7 has joined #linux-rockchip
archetyp has joined #linux-rockchip
stikonas has joined #linux-rockchip
lopsided98 has quit [Remote host closed the connection]
lopsided98 has joined #linux-rockchip
wwilly has quit [Ping timeout: 245 seconds]
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
kevery has quit [Quit: kevery]
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
<tlwoerner>
i was hoping to bisect into broonie's tree, but that exact tag ('regulator-fix-v5.13-rc4') in his tree succeeds
kevery has joined #linux-rockchip
<urja>
i was kinda confused about why it'd point out a merge ... but it's that the combination is what fails then (that is, his tree was fine, and the tree before the merge was fine, but combined they fail)
warpme_ has joined #linux-rockchip
kevery has quit [Quit: kevery]
<urja>
i bisected my issue... and it ended up similarly unhelpful (i'm not 100% if this is correct yet either...)
<urja>
8fb59ce15c43d025dadc2df3d21590bd1e91eff0 is the first bad commit
<urja>
" Merge branches 'clk-nvidia', 'clk-rockchip', 'clk-at91' and 'clk-vc5' into clk-next
<urja>
" ...
<tlwoerner>
urja: exactly. to make it even more fun, in my case linus' merge of broonie's tree is the first bad commit. but when i build the exact tag from broonie's tree it succeeds
<tlwoerner>
therefore the bug must be caused by an interaction between something in broonie's tree interacting badly with something that was added to linus' tree between the time broonie forked off linus' tree and the time broonie's tree was merged to linus'
<tlwoerner>
therefore i'm adding the ~20 or so patches from broonie's tree on top of linus' and bisecting those 20
<urja>
okay i've got a new first bad ... i guess i messed up something along the first run? anyways this is the result of biasect from v5.14 to 8fb59ce... (above)
<urja>
69a00fb3d6970681c15a23595ec54233ce10295c is the first bad commit
<urja>
"clk: divider: Implement and wire up .determine_rate by default" ...
<urja>
(i'll re-check this still...)
<urja>
merges melt my brain ...
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #linux-rockchip
<urja>
okay confirmed: reverting that (69a...) from 5.15-rc3 (+a couple of patches i'm carrying) gets my C201 to boot all the way to desktop
<urja>
but yeah still need to figure out WTF did it break & how (for it to break eMMC but not µSD..)
vagrantc has quit [Quit: leaving]
vagrantc has joined #linux-rockchip
stikonas has quit [Ping timeout: 245 seconds]
stikonas has joined #linux-rockchip
<samueldr>
I couldn't find confirmation, but is `7c4e0304550509072d2c7b38170d1711`, the well-known RC4 private key, related to the OTP efuses?
<samueldr>
in other words, while not looking for guides or anything, only a shallow answer, is secure boot with user-controlled keys fused to the SoC possible for an arbitrary SBC?
<samueldr>
I'm not looking for the cop-out answer "you'll brick it", only whether it's possible or not, no more information, and only if you *know*, not suppositions. thanks!
<samueldr>
(I'm thinking it's possible only large volume vendors get the option to customizing the fused-in keys)
macromorgan has quit [Quit: Leaving]
<mmind00>
samueldr: secure boot does actually work ... at least on the px30 I've worked on that first-hand ;-)
<mmind00>
samueldr: with a user controlled-key written to fuses/otp memory
<samueldr>
oh, that is excellent news to have actual info :)
<samueldr>
it was hard finding more than tidbits of info to extrapolate from
<samueldr>
so that RC4 signature is totally unrelated I gather?
<samueldr>
and used really as a CRC?
<samueldr>
(or not?)
<mmind00>
samueldr: that's no part of the secureboot but I guess part of a later stage
<samueldr>
good to know I did extrapolate badly from not enough info :)
<mmind00>
samueldr: i.e. on all SoCs the "secureboot" part is the one where bootrom verifies the _initial_ bootcode (u-boot tpl/spl in most cases)