public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wadim Egorov <w.egorov@phytec.de>
To: Suhaas Joshi <s-joshi@ti.com>, Tom Rini <trini@konsulko.com>
Cc: Francesco Dolcini <francesco@dolcini.it>,
	Anshul Dalal <anshuld@ti.com>, Bryan Brattlof <bb@ti.com>,
	u-boot@lists.denx.de, vigneshr@ti.com, n-francis@ti.com,
	s-tripathi1@ti.com, k-malarvizhi@ti.com, kamlesh@ti.com,
	vishalm@ti.com, d.schultz@phytec.de, ggiordano@phytec.com
Subject: Re: [REGRESSION] Verdin AM62/62P not booting with 42b3ee7fa524
Date: Tue, 10 Feb 2026 17:02:28 +0700	[thread overview]
Message-ID: <4803a086-700b-462f-ae36-2fd55e9dcac2@phytec.de> (raw)
In-Reply-To: <20260210092646.w5bugrscifmsh5px@ula0507357>



On 2/10/26 4:26 PM, Suhaas Joshi wrote:
> On 12:13-20260209, Tom Rini wrote:
>> On Mon, Feb 09, 2026 at 07:07:26PM +0100, Francesco Dolcini wrote:
>>> On Mon, Feb 09, 2026 at 11:43:08AM -0600, Tom Rini wrote:
>>>> On Mon, Feb 09, 2026 at 06:25:46PM +0100, Francesco Dolcini wrote:
>>>>> On Mon, Feb 09, 2026 at 11:16:35AM +0100, Francesco Dolcini wrote:
>>>>>> On Mon, Feb 09, 2026 at 03:38:51PM +0530, Suhaas Joshi wrote:
>>>>>>> On 09:45-20260209, Francesco Dolcini wrote:
>>>>>>>> + Bryan, Anshul
>>>>>>>>
>>>>>>>> On Mon, Feb 09, 2026 at 09:38:55AM +0100, Francesco Dolcini wrote:
>>>>>>>>> Verdin AM62 and AM62P are not booting anymore with U-Boot 42b3ee7fa524,
>>>>>>>>> everything was fine with b5213bbfdcb1.
>>>>>>>>>
>>>>>>>>> Looking at the commits between the two revision, I would say that the
>>>>>>>>> issue is with this series https://lore.kernel.org/all/20260127081652.506357-1-s-joshi@ti.com/
>>>>>>>>
>>>>>>>> We have also commit 3382d75f7a6c ("arch: arm: dts: k3: refactor common
>>>>>>>> nodes to k3-*-r5.dtsi") that might be the root cause for this issue.
>>>>>>>>
>>>>>>>
>>>>>>> Hi Francesco. Unfortunately, I don't have Verdin line of boards with me,
>>>>>>> so I cannot reproduce this issue. This is also why I wasn't able to test
>>>>>>> my series on my end and had requested board-specific maintainers do the
>>>>>>> same.
>>>>>>>
>>>>>>> Since I don't have the boards, could you run the following test to help
>>>>>>> us ascertain which of the 2 suspected commits actually broke the boot?
>>>>>>>
>>>>>>> * First drop my AM625 Verdin patch, and compile and copy the binaries,
>>>>>>>    and boot.
>>>>>>> * Then let my patch remain in the tree, and remove Anshul's refactor
>>>>>>>    patch, and try the same thing again.
>>>>>>>
>>>>>>> This could help us ascertain which commit broke boot, and we can try
>>>>>>> fixing from that commit.
>>>>>>
>>>>>> Sure, I can bisect it.
>>>>>>
>>>>>> Do this difference in the logs
>>>>>>
>>>>>> Failed to set clock rates for '/a53@0': -22
>>>>>>
>>>>>>    vs
>>>>>>
>>>>>> Failed to set clock rates for '/a53@0': -61
>>>>>>
>>>>>> ring any bell?
>>>>>
>>>>> The boot failure start with commit 2ffab9da9142 ("Merge patch series
>>>>> "Firewall ATF and OP-TEE memory regions in Sitara"").
>>>>>
>>>>> With commit 24338c81ec2f ("arm: dts: k3-binman: Use configs for
>>>>> ATF/OPTEE addresses") the board still boots fine.
>>>>> I have some concern that this commit is changing something, however
>>>>> CONFIG_K3_ATF_LOAD_ADDR is 0x80000000, while before in the dtsi file it
>>>>> was 0x70000000. I tried changing it back without any positive result,
>>>>> I just got an EL3 exception.
>>>>>
>>>>> Any more test I should do?
>>>>
>>>> Should I revert that firewall series, at this point?
>>>
>>> I did one more test.
>>>
>>> It seems that the issue is some interaction between the firewall series
>>> and commit 24338c81ec2f ("arm: dts: k3-binman: Use configs for ATF/OPTEE
>>> addresses").
>>
>> That's the first part of the series, and to be clear I'd revert the
>> whole series.
> 
> This series is confirmed to be working on TI boards. I just tested it
> (again) on AM62 SK. See [0] for logs.
> Verdin boards are the only ones that are reporting this issue. Is it
> alright if we revert only the two Verdin-specific commits, and let the
> rest (TI and PhyCore ones) stay as they are? The patches are pretty
> un-connected to each other.

I have not tested the patches on the phycore-soms yet.

> 
> We are working on figuring out why Verdin is seeing these issues, in the
> meantime.
> 
> [0] https://gist.github.com/jsuhaas22/b4d153eedf25e2269ddefc992c6020be
> 
> Thanks
> Suhaas
> 
>>
>>> If I keep the firewall series in, and revert 24338c81ec2f, it boots.
>>>
>>> IMO, unless we understand what is going on exactly, we should revert
>>> both.
>>>
>>> Suhaas: is current master working for you on the am62 SK or beagle play?
>>
>> These changes boot and some pytests run on am64x_evm_a53, am62x_evm_a53
>> and am62x_beagleplay_a53
>>
>> -- 
>> Tom
> 
> 


  reply	other threads:[~2026-02-10 10:03 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-09  8:38 [REGRESSION] Verdin AM62/62P not booting with 42b3ee7fa524 Francesco Dolcini
2026-02-09  8:45 ` Francesco Dolcini
2026-02-09 10:08   ` Suhaas Joshi
2026-02-09 10:16     ` Francesco Dolcini
2026-02-09 17:25       ` Francesco Dolcini
2026-02-09 17:43         ` Tom Rini
2026-02-09 18:07           ` Francesco Dolcini
2026-02-09 18:13             ` Tom Rini
2026-02-10  9:26               ` Suhaas Joshi
2026-02-10 10:02                 ` Wadim Egorov [this message]
2026-02-10 10:22                   ` Wadim Egorov
2026-02-10 10:34                     ` Francesco Dolcini
2026-02-09 20:20         ` Bryan Brattlof
2026-02-10 10:50           ` Francesco Dolcini
2026-02-11 10:11             ` Francesco Dolcini
2026-02-11 11:21               ` Suhaas Joshi
2026-02-13 10:20                 ` Francesco Dolcini
2026-02-17 13:21                   ` Suhaas Joshi
2026-02-18  6:59                     ` Francesco Dolcini
2026-02-18 14:52                       ` Francesco Dolcini
2026-02-19  1:46                         ` Bryan Brattlof
2026-02-19 10:30                           ` Wadim Egorov
2026-02-19 10:40                           ` Suhaas Joshi
2026-02-19 19:30                             ` Francesco Dolcini
2026-02-20  1:05                               ` Bryan Brattlof
2026-02-20 10:46                                 ` Francesco Dolcini
2026-02-20 13:23                                   ` Bryan Brattlof
2026-02-23 15:58                                     ` Francesco Dolcini
2026-02-24 10:21                                       ` Francesco Dolcini
2026-02-24 13:53                                         ` devarsh
2026-02-24 14:38                                         ` Francesco Dolcini
2026-02-24 15:24                                           ` Francesco Dolcini

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=4803a086-700b-462f-ae36-2fd55e9dcac2@phytec.de \
    --to=w.egorov@phytec.de \
    --cc=anshuld@ti.com \
    --cc=bb@ti.com \
    --cc=d.schultz@phytec.de \
    --cc=francesco@dolcini.it \
    --cc=ggiordano@phytec.com \
    --cc=k-malarvizhi@ti.com \
    --cc=kamlesh@ti.com \
    --cc=n-francis@ti.com \
    --cc=s-joshi@ti.com \
    --cc=s-tripathi1@ti.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    --cc=vishalm@ti.com \
    /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