NishanthMenon changed the topic of #linux-ti to: Linux development for TI SoCs | Logs: https://libera.irclog.whitequark.org/linux-ti/| paste logs in https://pastebin.ubuntu.com/ | Let it rock! Vendor SDK/kernel: Also see e2e.ti.com
florian_kc has joined #linux-ti
florian has quit [Ping timeout: 244 seconds]
Peng_Fan has joined #linux-ti
rob_w has joined #linux-ti
lucaceresoli has joined #linux-ti
lucaceresoli has quit [Ping timeout: 240 seconds]
florian_kc is now known as florian
Pali has joined #linux-ti
florian has quit [Read error: Connection reset by peer]
florian_kc has joined #linux-ti
florian_kc is now known as florian
Peng_Fan has quit [Quit: Connection closed for inactivity]
rob_w has quit [Quit: Leaving]
<ecdhe> tmlind: I set my yocto recipe to build 5.13-rc6 but ran into an error: the yocto recipe that ti ships wants the file ti_config_fragments/defconfig_builder.sh; this file is present in the commits targetted by linux-ti-mainline/linux-ti-staging but it's not present in mainline
<ecdhe> Again, just trying to reproduce (or confirm the absense of) my am3517 booting issue with this
<ecdhe> tmlind: I managed to get a build of 5.13-rc6! But it also exhibits the same error listing in the earlycon output as earlier kernels 5.4, 5.10, 5.12
<ecdhe> tmlind: on your suggestion that the n900 is an actively supported omap3 platform, I wanted to see what the difference was between it and the am3517. So I did a dependency analysis on the dts files in arch/arm/boot/dts
florian has quit [Ping timeout: 268 seconds]
<ecdhe> My error listing on earlycon contains about 70 warnings like this: [ 0.000000] ti_clk_get_reg_addr: clk-provider not found for mcbsp5_gate_fck!
<ecdhe> the names, like mcbsp5_gate_fck, gpio1_dbck, wdt2_fck are all defined in omap3xxx-clocks.dtsi
<ecdhe> And the kernel appears to not like how they're nested
<ecdhe> The dependency graph for this file on the am3517-evm is: am3517-evm.dts -> am3517.dtsi -> omap3.dtsi -> omap3xxx-clocks.dtsi;
<ecdhe> But looking at the n900, it turns out it ALSO depends on this file: omap3-n900.dts -> omap34xx.dtsi -> omap3.dtsi -> omap3xxx-clocks.dtsi;
<ecdhe> So it looks like the n900 shares the problem code with the am3517-evm
<ecdhe> The ti_clk_get_reg_addr() function is failing when it doesn't find a node->parent that it considers valid
<ecdhe> The file omap3xxxx-clocks.dtsi nests all clocks in a device tree node called &prm_clocks {}. However, on omap5 the clocks are nested in the same structure: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/omap54xx-clocks.dtsi?h=v5.10.44#n454
florian has joined #linux-ti
<ecdhe> So I think the clocks in the device tree are probably actually correct, since the same structure is working for other platforms.
florian has quit [Ping timeout: 252 seconds]
<ecdhe> Just tested on kernel v4.19 and still have the issue. Tried to reach back a little farther but the yocto recipe needed tweaking
LokeshVutla has quit [Remote host closed the connection]
LokeshVutla has joined #linux-ti
<ecdhe> NishanthMenon: I have the patchwork submission address linux-omap@vger.kernel.org but wondered if there's a good email list to which I can submit a couple of questions
florian has joined #linux-ti
<ecdhe> tmlind: I found only one other example on the web of the ti_clk_get_reg_addr error in the wild, and it didn't seem to be the cause of the poster's issue. Since the dtsi files that cause it are common to a known-working platform (n900) I wonder if it's just a warning I could ignore.
<ecdhe> tmlind: here is the earlycon output I get: https://pastebin.ubuntu.com/p/9T39qWWXWQ/
<ecdhe> The only symptom I have is that I get no more output after that, and no files seem to be written to /var/tmp, /var/log (so I don't think it's booting silently to a tty I can't read.)
florian has quit [Ping timeout: 252 seconds]
florian has joined #linux-ti
florian has quit [Ping timeout: 244 seconds]
florian has joined #linux-ti
florian has quit [Ping timeout: 264 seconds]
florian has joined #linux-ti
florian has quit [Ping timeout: 244 seconds]