From: Sergey Organov <sorganov@gmail.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: linux-kernel@vger.kernel.org,
Russell King <linux@armlinux.org.uk>,
Ulf Hansson <ulf.hansson@linaro.org>,
Shawn Guo <shawnguo@kernel.org>,
"Rob Herring (Arm)" <robh@kernel.org>,
Angelo Dureghello <angelo@kernel-space.org>
Subject: Re: ARM iMX6sx board fails to boot with kernel 6.17
Date: Mon, 27 Oct 2025 17:39:59 +0300 [thread overview]
Message-ID: <87v7k06ppg.fsf@osv.gnss.ru> (raw)
In-Reply-To: <87ms5lqn1e.fsf@osv.gnss.ru> (Sergey Organov's message of "Tue, 21 Oct 2025 00:30:05 +0300")
Hi Fabio,
Sergey Organov <sorganov@gmail.com> writes:
> Hi Fabio,
>
> Fabio Estevam <festevam@gmail.com> writes:
>
>> Hi Sergey,
>>
>> On Sat, Oct 11, 2025 at 5:57 PM Sergey Organov <sorganov@gmail.com>
>> wrote:
>>
>>> I'm not familiar with the code and can't figure what exactly I'm
>>> expected to check. Could you please prepare a patch, and I'll be
>>> happy to apply and check it.
>>
>> Here is a patch you can try.
>>
>> It's not a formal patch yet, as it needs to be split.
>
> No, this patch doesn't help.
[...]
> I'm going to dig into imx_4.9.11_1.0.0_ga branch again more carefully to
> try to figure what's going on, and what actually either fixes or
> work-arounds the problem at hand.
Well, that activity ended up being almost useless. Even though I've
found yet another patch that "fixes" the build for my board in
imx_4.9.11_1.0.0_ga branch, it happens to cure neither latest mainstream
kernel nor NXP lf-6.12.y branch.
For reference, the patch is:
https://github.com/nxp-imx/linux-imx/commit/fe3aca041b0b8042d59bcf1d9169109c9220e783
I figure the only sensible option that is left is to try to actually
debug the issue on my board using either the latest mainstream kernel,
or lf-6.12.y by NXP (which one is more promising BTW?), but right
now I have no idea where to start. Any hints?
Also, could you please comment on the issues I've raised earlier, to help
me better understand the state of iMX6SX support:
1. Documentation/usage-model.rst suggests "interrupt-parent = <&intc>;"
to be root node property, not of /soc as in imx6sx.dtsi. Is this
essential? Anyway, shouldn't either documentation or implementation be
fixed to agree on this?
2. intc: in imx6sx.dtsi is interrupt-parent of itself? Is it a mistake?
If not, this asks for an explanation in a comment?
intc: interrupt-controller@a01000 {
compatible = "arm,cortex-a9-gic";
#interrupt-cells = <3>;
interrupt-controller;
reg = <0x00a01000 0x1000>,
<0x00a00100 0x100>;
interrupt-parent = <&intc>;
};
3. Some nodes have <&intc>, and some <&gpc> as interrupt-parent. Could
somebody please re-check if it makes sense? Besides, "gpc" is not true
interrupt controller, right, so what's the matter of having it as
interrupt-parent for some nodes?
4. Suspect cycles in DTS:
/soc/bus@2000000/clock-controller@20c4000: Fixed dependency cycle(s) with /soc/bus@2000000/gpc@20dc000
/soc/bus@2000000/gpc@20dc000: Fixed dependency cycle(s) with /soc/bus@2000000/clock-controller@20c4000
/soc/bus@2000000/clock-controller@20c4000: Fixed dependency cycle(s) with /soc/bus@2000000/gpc@20dc000
/soc/bus@2000000/gpc@20dc000: Fixed dependency cycle(s) with /soc/bus@2000000/clock-controller@20c4000
/soc/bus@2000000/gpc@20dc000: Fixed dependency cycle(s) with /soc/bus@2000000/clock-controller@20c4000
Are they to better be manually fixed?
Thanks,
-- Sergey Organov
prev parent reply other threads:[~2025-10-27 20:43 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-30 15:49 ARM iMX6sx board fails to boot with kernel 6.17 Sergey Organov
2025-09-30 19:09 ` Fabio Estevam
2025-09-30 19:11 ` Fabio Estevam
2025-10-06 20:11 ` Sergey Organov
2025-10-06 20:20 ` Fabio Estevam
2025-10-06 21:22 ` Sergey Organov
2025-10-07 2:05 ` Fabio Estevam
2025-10-07 11:35 ` Sergey Organov
2025-10-07 15:19 ` Ulf Hansson
2025-10-07 21:17 ` Sergey Organov
2025-10-07 21:29 ` Fabio Estevam
2025-10-07 21:44 ` Fabio Estevam
2025-10-08 12:53 ` Sergey Organov
2025-10-08 17:04 ` Sergey Organov
2025-10-01 20:04 ` Sergey Organov
2025-10-02 0:45 ` Fabio Estevam
2025-10-09 14:46 ` Sergey Organov
2025-10-09 15:50 ` Fabio Estevam
2025-10-09 16:29 ` Sergey Organov
2025-10-09 17:26 ` Fabio Estevam
2025-10-09 21:51 ` Sergey Organov
2025-10-09 22:40 ` Fabio Estevam
2025-10-10 14:59 ` Sergey Organov
2025-10-10 15:14 ` Fabio Estevam
2025-10-11 20:57 ` Sergey Organov
2025-10-14 0:45 ` Fabio Estevam
2025-10-14 12:04 ` Sergey Organov
2025-10-20 21:30 ` Sergey Organov
2025-10-27 14:39 ` Sergey Organov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v7k06ppg.fsf@osv.gnss.ru \
--to=sorganov@gmail.com \
--cc=angelo@kernel-space.org \
--cc=festevam@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=robh@kernel.org \
--cc=shawnguo@kernel.org \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox