florian has quit [Read error: Connection reset by peer]
florian__ has joined #linux-ti
florian__ is now known as florian
florian_kc has joined #linux-ti
florian__ has joined #linux-ti
florian has quit [Read error: Connection reset by peer]
florian_kc has quit [Ping timeout: 252 seconds]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #linux-ti
kristo has quit [Ping timeout: 268 seconds]
kristo has joined #linux-ti
florian__ is now known as florian
Peng_Fan has quit [Quit: Connection closed for inactivity]
rob_w has quit [Remote host closed the connection]
rob_w has joined #linux-ti
<ecdhe>
kristo: any ideas on the above pastebin? Just trying to get linux-ti-staging from yocto/meta-ti to boot on an am3517-evm platform. Defconfigs are all there, kernel builds, but at boot all I have is the earlycon output you see there.
<kristo>
hmm don't have immediate thoughts, it would be good to add some printks to kernel to see why the clk-provider is not found
<ecdhe>
kristo: there are other dmesg logs where this doesn't seem to be an issue
<kristo>
try printing out info about the registered providers at omap2_clk_provider_init
<ecdhe>
I mean, that particular error is present, but as the clocks are already configured (and linux doesn't need to reconfigure them) the boot proceeds unaffected
<ecdhe>
kristo: will debug omap2_clk_provider_init to see what's going on
<kristo>
having some of those prints is typically okay
<kristo>
but having a huge amount like in your log, seems something goes terribly wrong
<kristo>
also, print some info about the nodes being compared at ti_clk_get_reg_addr
<ecdhe>
kristo: I'd bet a lunch that the array is empty
<ecdhe>
And the way the array initializes is through the device tree, it is not?
<kristo>
yeah, it is initialized based on DT data
<ecdhe>
Which means the device tree is corrupt or the device tree loader is corrupt
<ecdhe>
This seems unlikely as this issue is consistent from 4.19 to 5.13
<ecdhe>
And the DT has been validated on other platforms
<ecdhe>
It *could* be corrupted but I calculated my kernel/dt bounds where U-Boot loads them and they do not overlap
<ecdhe>
Also, I'd assume more of a panic in that case
rob_w has quit [Quit: Leaving]
<kristo>
so you have a custom DT? have you modified the hierarchy somehow?
<kristo>
the clock driver is quite picky about the relationship of clocks and the clock-provider nodes
florian has quit [Ping timeout: 250 seconds]
florian has joined #linux-ti
<ecdhe>
kristo: I'm using stock dt from meta-ti
<ecdhe>
the am3517-evm platform ones
<ecdhe>
kristo: the am3517-evm in the 2.6.37 tree from TI works. So it may be a matter of making small jumps forward and bisecting. Tedious but could yield a solution in time.
florian_kc has joined #linux-ti
florian has quit [Ping timeout: 252 seconds]
florian_kc has quit [Read error: Connection reset by peer]
florian_kc has joined #linux-ti
LokeshVutla has quit [Remote host closed the connection]
LokeshVutla has joined #linux-ti
florian__ has joined #linux-ti
florian_kc has quit [Read error: Connection reset by peer]
florian has joined #linux-ti
florian__ has quit [Ping timeout: 268 seconds]
<kristo>
ecdhe: i think it would be faster just to add a few prints to see whats going wrong; also bisecting probably will just point to some generic clock driver patch which may not help too much; we have had compatibility breaks with omap platforms before