Verdin AM62/62P not booting with 42b3ee7fa524
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/[email protected]/
Suhaas: Can you help?
Failure::
U-Boot SPL 2026.04-rc1-0.0.0-devel+git.42b3ee7fa524 (Feb 08 2026 - 16:14:45 +0000) SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13504 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_env from device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...
NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025
U-Boot SPL 2026.04-rc1-0.0.0-devel+git.42b3ee7fa524 (Feb 08 2026 - 16:14:45 +0000) SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)')
## ... and after that just no logs at all.
Success::
U-Boot SPL 2026.04-rc1-0.0.0-devel+git.b5213bbfdcb1 (Feb 04 2026 - 16:41:48 +0000) SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -61
SPL initial stack usage: 13504 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_env from device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...
NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025
U-Boot SPL 2026.04-rc1-0.0.0-devel+git.b5213bbfdcb1 (Feb 04 2026 - 16:41:48 +0000) SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
U-Boot 2026.04-rc1-0.0.0-devel+git.b5213bbfdcb1 (Feb 04 2026 - 16:41:48 +0000)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 160 devices, 35 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2A
Serial#: 15412814
Carrier: Toradex Dahlia V1.1D, Serial# 11287147
Thanks,
Francesco
+ Bryan, Anshul
Quoted 5 lines · Francesco Dolcini
Verdin AM62 and AM62P are not booting anymore with U-Boot
42b3ee7fa524, everything was fine withb5213bbfdcb1.Looking at the commits between the two revision, I would say that the
issue is with this series https://lore.kernel.org/all/[email protected]/
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.
Francesco
Quoted 12 lines · Francesco Dolcini
+ Bryan, Anshul
Quoted 5 lines · Francesco Dolcini
Verdin AM62 and AM62P are not booting anymore with U-Boot
42b3ee7fa524, everything was fine withb5213bbfdcb1.Looking at the commits between the two revision, I would say that the
issue is with this series https://lore.kernel.org/all/[email protected]/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.
Thanks
Suhaas
Quoted 3 lines
Francesco
Quoted 22 lines · Suhaas Joshi
Quoted 12 lines · Francesco Dolcini
+ Bryan, Anshul
Quoted 5 lines · Francesco Dolcini
Verdin AM62 and AM62P are not booting anymore with U-Boot
42b3ee7fa524, everything was fine withb5213bbfdcb1.Looking at the commits between the two revision, I would say that the
issue is with this series https://lore.kernel.org/all/[email protected]/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?
Quoted 7 lines
* 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?
Francesco
Quoted 35 lines · Francesco Dolcini
Quoted 22 lines · Suhaas Joshi
Quoted 12 lines · Francesco Dolcini
+ Bryan, Anshul
Quoted 5 lines · Francesco Dolcini
Verdin AM62 and AM62P are not booting anymore with U-Boot
42b3ee7fa524, everything was fine withb5213bbfdcb1.Looking at the commits between the two revision, I would say that the
issue is with this series https://lore.kernel.org/all/[email protected]/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?
Quoted 7 lines
* 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
Quoted 7 lines
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?
Francesco
Quoted 47 lines · Francesco Dolcini
Quoted 35 lines · Francesco Dolcini
Quoted 22 lines · Suhaas Joshi
Quoted 12 lines · Francesco Dolcini
+ Bryan, Anshul
Quoted 5 lines · Francesco Dolcini
Verdin AM62 and AM62P are not booting anymore with U-Boot
42b3ee7fa524, everything was fine withb5213bbfdcb1.Looking at the commits between the two revision, I would say that the
issue is with this series https://lore.kernel.org/all/[email protected]/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?
Quoted 7 lines
* 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
Quoted 7 lines
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"").
Quoted 8 lines
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, howeverCONFIG_K3_ATF_LOAD_ADDRis0x80000000, while before in the dtsi file it was0x70000000. 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?
Signature · 1 line
Tom
Quoted 55 lines · Tom Rini
Quoted 54 lines · Francesco Dolcini
Quoted 35 lines · Francesco Dolcini
Quoted 22 lines · Suhaas Joshi
Quoted 12 lines · Francesco Dolcini
+ Bryan, Anshul
Quoted 5 lines · Francesco Dolcini
Verdin AM62 and AM62P are not booting anymore with U-Boot
42b3ee7fa524, everything was fine withb5213bbfdcb1.Looking at the commits between the two revision, I would say that the
issue is with this series https://lore.kernel.org/all/[email protected]/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?
Quoted 7 lines
* 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
Quoted 7 lines
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, howeverCONFIG_K3_ATF_LOAD_ADDRis0x80000000, while before in the dtsi file it was0x70000000. I tried changing it back without any positive result, I just got an EL3 exception.
Quoted 3 lines
Quoted 1 line
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").
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?
Francesco
Quoted 58 lines · Francesco Dolcini
Quoted 57 lines · Tom Rini
Quoted 55 lines · Francesco Dolcini
Quoted 35 lines · Francesco Dolcini
Quoted 22 lines · Suhaas Joshi
Quoted 12 lines · Francesco Dolcini
+ Bryan, Anshul
Quoted 5 lines · Francesco Dolcini
Verdin AM62 and AM62P are not booting anymore with U-Boot
42b3ee7fa524, everything was fine withb5213bbfdcb1.Looking at the commits between the two revision, I would say that the
issue is with this series https://lore.kernel.org/all/[email protected]/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?
Quoted 7 lines
* 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
Quoted 7 lines
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, howeverCONFIG_K3_ATF_LOAD_ADDRis0x80000000, while before in the dtsi file it was0x70000000. I tried changing it back without any positive result, I just got an EL3 exception.Any more test I should do?
Quoted 7 lines
Quoted 1 line
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.
Quoted 6 lines
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
Signature · 1 line
Tom
Quoted 61 lines · Tom Rini
Quoted 60 lines · Francesco Dolcini
Quoted 58 lines · Tom Rini
Quoted 47 lines · Francesco Dolcini
Quoted 35 lines · Francesco Dolcini
Quoted 22 lines · Suhaas Joshi
Quoted 12 lines · Francesco Dolcini
+ Bryan, Anshul
Quoted 5 lines · Francesco Dolcini
Verdin AM62 and AM62P are not booting anymore with U-Boot
42b3ee7fa524, everything was fine withb5213bbfdcb1.Looking at the commits between the two revision, I would say that the
issue is with this series https://lore.kernel.org/all/[email protected]/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?
Quoted 7 lines
* 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
Quoted 7 lines
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"").Quoted 8 lines
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, howeverCONFIG_K3_ATF_LOAD_ADDRis0x80000000, while before in the dtsi file it was0x70000000. 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?
Quoted 8 lines
Quoted 5 lines
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.
We are working on figuring out why Verdin is seeing these issues, in the meantime.
[0] https://gist.github.com/jsuhaas22/b4d153eedf25e2269ddefc992c6020be
Thanks
Suhaas
Quoted 13 lines
Quoted 7 lines
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_a53andam62x_beagleplay_a53Signature · 1 line
Tom
Quoted 71 lines · Suhaas Joshi
Quoted 61 lines · Tom Rini
Quoted 60 lines · Francesco Dolcini
Quoted 58 lines · Tom Rini
Quoted 47 lines · Francesco Dolcini
Quoted 35 lines · Francesco Dolcini
Quoted 22 lines · Suhaas Joshi
Quoted 12 lines · Francesco Dolcini
+ Bryan, Anshul
Quoted 5 lines · Francesco Dolcini
Verdin AM62 and AM62P are not booting anymore with U-Boot
42b3ee7fa524, everything was fine withb5213bbfdcb1.Looking at the commits between the two revision, I would say that the
issue is with this series https://lore.kernel.org/all/[email protected]/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?
Quoted 7 lines
* 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
Quoted 7 lines
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"").Quoted 8 lines
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, howeverCONFIG_K3_ATF_LOAD_ADDRis0x80000000, while before in the dtsi file it was0x70000000. 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?
Quoted 8 lines
Quoted 5 lines
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.
Quoted 6 lines
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.
Quoted 24 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
[0] https://gist.github.com/jsuhaas22/b4d153eedf25e2269ddefc992c6020be
Thanks
SuhaasQuoted 13 lines
Quoted 7 lines
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_a53andam62x_beagleplay_a53Signature · 1 line
Tom
Quoted 74 lines · Wadim Egorov
Quoted 71 lines · Suhaas Joshi
Quoted 69 lines · Tom Rini
Quoted 58 lines · Francesco Dolcini
Quoted 57 lines · Tom Rini
Quoted 55 lines · Francesco Dolcini
Quoted 35 lines · Francesco Dolcini
Quoted 22 lines · Suhaas Joshi
Quoted 12 lines · Francesco Dolcini
+ Bryan, Anshul
Quoted 5 lines · Francesco Dolcini
Verdin AM62 and AM62P are not booting anymore with U-Boot
42b3ee7fa524, everything was fine withb5213bbfdcb1.Looking at the commits between the two revision, I would say that the
issue is with this series https://lore.kernel.org/ all/[email protected]/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?
Quoted 7 lines
* 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
Quoted 7 lines
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, howeverCONFIG_K3_ATF_LOAD_ADDRis0x80000000, while before in the dtsi file it was0x70000000. I tried changing it back without any positive result, I just got an EL3 exception.Any more test I should do?
Quoted 7 lines
Quoted 1 line
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.
Quoted 8 lines
Quoted 6 lines
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.
The phycore-am62x boots, see the logs
https://pastebin.ubuntu.com/p/P3GHhZw8xc/plain/
But I can also see this new error
Failed to set clock rates for '/a53@0': -61
Quoted 26 lines
Quoted 25 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
[0] https://gist.github.com/jsuhaas22/b4d153eedf25e2269ddefc992c6020be
Thanks
SuhaasQuoted 13 lines
Quoted 7 lines
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_a53andam62x_beagleplay_a53Signature · 1 line
Tom
Quoted 31 lines · Wadim Egorov
Quoted 28 lines · Wadim Egorov
Quoted 25 lines · Suhaas Joshi
Quoted 24 lines · Tom Rini
Quoted 23 lines · Francesco Dolcini
Quoted 22 lines · Tom Rini
Quoted 21 lines · Francesco Dolcini
Quoted 20 lines · Francesco Dolcini
Quoted 19 lines · Suhaas Joshi
Quoted 18 lines · Francesco Dolcini
+ Bryan, Anshul
Quoted 10 lines · Francesco Dolcini
Verdin AM62 and AM62P are not booting anymore with U-Boot
42b3ee7fa524,
everything was fine withb5213bbfdcb1.Looking at the commits between the two revision, I would say that the issue is with this series
https://lore.kernel.org/
all/[email protected]/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.
...
Quoted 9 lines
Quoted 8 lines
Quoted 6 lines
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.
Quoted 7 lines
The phycore-am62x boots, see the logs
https://pastebin.ubuntu.com/p/P3GHhZw8xc/plain/
But I can also see this new error
Failed to set clock rates for '/a53@0': -61
Yes, this is also new on verdin am62. It seems unrelated, and it should be also be fixed / investigated.
Francesco
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it.
0x80000000should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAM
Here some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.
Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more 42b3ee7fa524 and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
Francesco
Quoted 27 lines · Francesco Dolcini
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it.
0x80000000should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.
Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more
42b3ee7fa524and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.
Quoted 7 lines
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
I was able to trace the issue to the get_ram_size() in verdin-am62.c:dram_init().
That function walks the addressable memory range to dynamically detect how much memory is available.
Not sure on the proper way to fix it however, Bryan? Suhaas?
Francesco
Quoted 36 lines · Francesco Dolcini
Quoted 27 lines · Francesco Dolcini
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it.
0x80000000should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.
Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more
42b3ee7fa524and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.Quoted 7 lines
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
Quoted 7 lines
I was able to trace the issue to the
get_ram_size()in verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect how much memory is available.
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
Thanks
Suhaas
[0] https://lore.kernel.org/u-boot/[email protected]/
Quoted 3 lines
Francesco
Hello Suhaas, Bryan, all
Quoted 43 lines · Suhaas Joshi
Quoted 42 lines · Francesco Dolcini
Quoted 27 lines · Francesco Dolcini
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it.
0x80000000should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.
Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more
42b3ee7fa524and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.Quoted 7 lines
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
I was able to trace the issue to the
get_ram_size()in verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect how much memory is available.
Quoted 6 lines
Quoted 1 line
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
With commit f9ffeec4bdcf ("board: toradex: Make A53 get RAM size from DT in K3 boards") merged we had our CI running on our whole board farm last night.
Good news: the issue is confirmed to be fixed on Verdin AM62P and Verdin AM62 [Quad|Dual] with [1|2]GB RAM.
Bad news: we we do still have a boot failure regression on Verdin AM62 single core with 512MB RAM. I have no idea if this is the same issue or a different one, but from the logs it look different (despite that I decided to keep using this email thread and not start a new one).
The failing board from the logs uses a AM6231ASGGHAALW SoC, maximum frequency 1GHz, we also have another device failing, single core again, with maximum frequency 800MHz, the working one have 1.4GHz max frequency.
Worth noticing the errors
Failed to set clock rates
These are new compared to the previous U-Boot release, it affects also other boards, and I have no idea if this is related to this issue or not.
Logs of the failing device (U-Boot is commit f9ffeec4bdcf1da655a0ffea482062adde78fee8)
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.9--v11.02.09 (Fancy Rat)')
Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_env from device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
Logs of the booting device
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000) SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.9--v11.02.09 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_env from device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...
NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000) SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.9--v11.02.09 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
U-Boot 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 1 GiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 160 devices, 35 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0073 Verdin AM62 Dual 1GB ET V1.2A
Serial#: 15412849
Carrier: Toradex Dahlia V1.1D, Serial# 11287113
Unfortunately I do not have a single core board to test readily available now, and I will be out of office a couple of days, but I decided to share this immediately so that we can try to understand what's going on. Middle of next week I should be able to do more tests.
Thanks for the support,
Francesco
Quoted 53 lines · Francesco Dolcini
Hello Suhaas, Bryan, all
Quoted 43 lines · Suhaas Joshi
Quoted 42 lines · Francesco Dolcini
Quoted 27 lines · Francesco Dolcini
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it.
0x80000000should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.
Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more
42b3ee7fa524and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.Quoted 7 lines
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
I was able to trace the issue to the
get_ram_size()in verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect how much memory is available.
Quoted 6 lines
Quoted 1 line
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
Quoted 6 lines
With commit
f9ffeec4bdcf("board: toradex: Make A53 get RAM size from DT in K3 boards") merged we had our CI running on our whole board farm last night.Good news: the issue is confirmed to be fixed on Verdin AM62P and Verdin AM62 [Quad|Dual] with [1|2]GB RAM.
That's great!
Quoted 19 lines
Bad news: we we do still have a boot failure regression on Verdin AM62 single core with 512MB RAM. I have no idea if this is the same issue or a different one, but from the logs it look different (despite that I decided to keep using this email thread and not start a new one).
The failing board from the logs uses a AM6231ASGGHAALW SoC, maximum frequency 1GHz, we also have another device failing, single core again, with maximum frequency 800MHz, the working one have 1.4GHz max frequency.
Worth noticing the errors
Failed to set clock ratesThese are new compared to the previous U-Boot release, it affects also other boards, and I have no idea if this is related to this issue or not.
Logs of the failing device (U-Boot is commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8)
Quoted 12 lines
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.9--v11.02.09 (Fancy Rat)')
Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
I don't think this one is related to the firewall series. Not really sure what the issue is. Just to rule this series out -- could you drop my patch(es) and check if this specific device boots?
Was this device booting earlier? Could it be a build misconfig, since it says that it can't detect an image signing certificate?
Regards
Suhaas
Quoted 48 lines
Logs of the booting device
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.9--v11.02.09 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.9--v11.02.09 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
U-Boot 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 1 GiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 160 devices, 35 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0073 Verdin AM62 Dual 1GB ET V1.2ASerial#: 15412849
Carrier: Toradex Dahlia V1.1D, Serial# 11287113Unfortunately I do not have a single core board to test readily available now, and I will be out of office a couple of days, but I decided to share this immediately so that we can try to understand what's going on. Middle of next week I should be able to do more tests.
Thanks for the support,
Francesco
Quoted 92 lines · Suhaas Joshi
Quoted 51 lines · Francesco Dolcini
Quoted 43 lines · Suhaas Joshi
Quoted 42 lines · Francesco Dolcini
Quoted 27 lines · Francesco Dolcini
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it.
0x80000000should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.
Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more
42b3ee7fa524and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.Quoted 7 lines
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
I was able to trace the issue to the
get_ram_size()in verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect how much memory is available.
Quoted 6 lines
Quoted 1 line
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
Quoted 6 lines
With commit
f9ffeec4bdcf("board: toradex: Make A53 get RAM size from DT in K3 boards") merged we had our CI running on our whole board farm last night.Good news: the issue is confirmed to be fixed on Verdin AM62P and Verdin AM62 [Quad|Dual] with [1|2]GB RAM.
That's great!
Quoted 19 lines
Bad news: we we do still have a boot failure regression on Verdin AM62 single core with 512MB RAM. I have no idea if this is the same issue or a different one, but from the logs it look different (despite that I decided to keep using this email thread and not start a new one).
The failing board from the logs uses a AM6231ASGGHAALW SoC, maximum frequency 1GHz, we also have another device failing, single core again, with maximum frequency 800MHz, the working one have 1.4GHz max frequency.
Worth noticing the errors
Failed to set clock ratesThese are new compared to the previous U-Boot release, it affects also other boards, and I have no idea if this is related to this issue or not.
Logs of the failing device (U-Boot is commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8)Quoted 12 lines
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.9--v11.02.09 (Fancy Rat)')
Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
Quoted 6 lines
I don't think this one is related to the firewall series. Not really sure what the issue is. Just to rule this series out -- could you drop my patch(es) and check if this specific device boots?
Was this device booting earlier? Could it be a build misconfig, since it says that it can't detect an image signing certificate?
This is a regression with 2026.04. 2026.04-rc never booted on this device, and before commit f9ffeec4bdcf1da655a0ffea482062adde78fee8 none of the verdin am62[p] variants were booting for multiple bugs that were present in the release.
2026.01 is booting fine on this device, with plain vanilla U-Boot.
Francesco
Hello Suhaas,
Quoted 100 lines · Francesco Dolcini
Quoted 92 lines · Suhaas Joshi
Quoted 51 lines · Francesco Dolcini
Quoted 43 lines · Suhaas Joshi
Quoted 42 lines · Francesco Dolcini
Quoted 27 lines · Francesco Dolcini
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it.
0x80000000should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.
Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more
42b3ee7fa524and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.Quoted 7 lines
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
I was able to trace the issue to the
get_ram_size()in verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect how much memory is available.
Quoted 6 lines
Quoted 1 line
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
Quoted 6 lines
With commit
f9ffeec4bdcf("board: toradex: Make A53 get RAM size from DT in K3 boards") merged we had our CI running on our whole board farm last night.Good news: the issue is confirmed to be fixed on Verdin AM62P and Verdin AM62 [Quad|Dual] with [1|2]GB RAM.
That's great!
Quoted 19 lines
Bad news: we we do still have a boot failure regression on Verdin AM62 single core with 512MB RAM. I have no idea if this is the same issue or a different one, but from the logs it look different (despite that I decided to keep using this email thread and not start a new one).
The failing board from the logs uses a AM6231ASGGHAALW SoC, maximum frequency 1GHz, we also have another device failing, single core again, with maximum frequency 800MHz, the working one have 1.4GHz max frequency.
Worth noticing the errors
Failed to set clock ratesThese are new compared to the previous U-Boot release, it affects also other boards, and I have no idea if this is related to this issue or not.
Logs of the failing device (U-Boot is commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8)Quoted 12 lines
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.9--v11.02.09 (Fancy Rat)')
Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devicesQuoted 6 lines
I don't think this one is related to the firewall series. Not really sure what the issue is. Just to rule this series out -- could you drop my patch(es) and check if this specific device boots?
Was this device booting earlier? Could it be a build misconfig, since it says that it can't detect an image signing certificate?
Quoted 6 lines
This is a regression with 2026.04. 2026.04-rc never booted on this device, and before commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8none of the verdin am62[p] variants were booting for multiple bugs that were present in the release.2026.01 is booting fine on this device, with plain vanilla U-Boot.
The issue is still there, and it seems again related with your changes.
Can you help? Any test that I should do?
v2026.01 booting fine
=====================
U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:15 +0100)
SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)') Changed A53 CPU frequency to 800000000Hz (K grade) in DT SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_env from device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...
NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025
U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
U-Boot 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000
2026.04, commit 3243a73102c3 ("Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-sh"), booting fine
=================================================================
U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:33 +0100) SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_env from device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...
NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025
U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100) SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
U-Boot 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 160 devices, 35 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2A
2026.04, current master, commit 8666b16015d4, NOT working
=========================================================
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:31 +0100) SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_env from device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...
NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:54 +0100) SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)')
Thanks,
Francesco
On February 18, 2026 thus sayeth Francesco Dolcini:
Quoted 201 lines
Hello Suhaas,
Quoted 100 lines · Francesco Dolcini
Quoted 92 lines · Suhaas Joshi
Quoted 51 lines · Francesco Dolcini
Quoted 43 lines · Suhaas Joshi
Quoted 42 lines · Francesco Dolcini
Quoted 27 lines · Francesco Dolcini
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it.
0x80000000should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.
Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more
42b3ee7fa524and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.Quoted 7 lines
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
I was able to trace the issue to the
get_ram_size()in verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect how much memory is available.
Quoted 6 lines
Quoted 1 line
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
Quoted 6 lines
With commit
f9ffeec4bdcf("board: toradex: Make A53 get RAM size from DT in K3 boards") merged we had our CI running on our whole board farm last night.Good news: the issue is confirmed to be fixed on Verdin AM62P and Verdin AM62 [Quad|Dual] with [1|2]GB RAM.
That's great!
Quoted 19 lines
Bad news: we we do still have a boot failure regression on Verdin AM62 single core with 512MB RAM. I have no idea if this is the same issue or a different one, but from the logs it look different (despite that I decided to keep using this email thread and not start a new one).
The failing board from the logs uses a AM6231ASGGHAALW SoC, maximum frequency 1GHz, we also have another device failing, single core again, with maximum frequency 800MHz, the working one have 1.4GHz max frequency.
Worth noticing the errors
Failed to set clock ratesThese are new compared to the previous U-Boot release, it affects also other boards, and I have no idea if this is related to this issue or not.
Logs of the failing device (U-Boot is commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8)Quoted 12 lines
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.9--v11.02.09 (Fancy Rat)')
Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devicesQuoted 6 lines
I don't think this one is related to the firewall series. Not really sure what the issue is. Just to rule this series out -- could you drop my patch(es) and check if this specific device boots?
Was this device booting earlier? Could it be a build misconfig, since it says that it can't detect an image signing certificate?
Quoted 6 lines
This is a regression with 2026.04. 2026.04-rc never booted on this device, and before commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8none of the verdin am62[p] variants were booting for multiple bugs that were present in the release.2026.01 is booting fine on this device, with plain vanilla U-Boot.
The issue is still there, and it seems again related with your changes.
Can you help? Any test that I should do?
v2026.01 booting fine
=====================U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:15 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') Changed A53 CPU frequency to 800000000Hz (K grade) in DT SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@28000002026.04, commit
3243a73102c3("Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-sh"), booting fine
=================================================================U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:33 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 160 devices, 35 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2A
Quoted 7 lines
2026.04, current master, commit
8666b16015d4, NOT working
=========================================================U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:31 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
Hmm It's interesting to see this start to fail.
Quoted 11 lines
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...
Quoted 6 lines
NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:54 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)')
I'm suspicious of the spl_enable_cache(). I've witnessed issues if we add MMU entries that are not backed by DRAM which can cause the MMU to crash the CPU.
I wonder (complete guess right now) if we're passing the correct DRAM density to the A53 SPL?
~Bryan
Quoted 206 lines · Bryan Brattlof
On February 18, 2026 thus sayeth Francesco Dolcini:
Quoted 205 lines
Hello Suhaas,
Quoted 100 lines · Francesco Dolcini
Quoted 92 lines · Suhaas Joshi
Quoted 51 lines · Francesco Dolcini
Quoted 43 lines · Suhaas Joshi
Quoted 42 lines · Francesco Dolcini
Quoted 27 lines · Francesco Dolcini
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it.
0x80000000should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.
Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more
42b3ee7fa524and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.Quoted 7 lines
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
I was able to trace the issue to the
get_ram_size()in verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect how much memory is available.
Quoted 6 lines
Quoted 1 line
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
Quoted 6 lines
With commit
f9ffeec4bdcf("board: toradex: Make A53 get RAM size from DT in K3 boards") merged we had our CI running on our whole board farm last night.Good news: the issue is confirmed to be fixed on Verdin AM62P and Verdin AM62 [Quad|Dual] with [1|2]GB RAM.
That's great!
Quoted 19 lines
Bad news: we we do still have a boot failure regression on Verdin AM62 single core with 512MB RAM. I have no idea if this is the same issue or a different one, but from the logs it look different (despite that I decided to keep using this email thread and not start a new one).
The failing board from the logs uses a AM6231ASGGHAALW SoC, maximum frequency 1GHz, we also have another device failing, single core again, with maximum frequency 800MHz, the working one have 1.4GHz max frequency.
Worth noticing the errors
Failed to set clock ratesThese are new compared to the previous U-Boot release, it affects also other boards, and I have no idea if this is related to this issue or not.
Logs of the failing device (U-Boot is commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8)Quoted 12 lines
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.9--v11.02.09 (Fancy Rat)')
Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devicesQuoted 6 lines
I don't think this one is related to the firewall series. Not really sure what the issue is. Just to rule this series out -- could you drop my patch(es) and check if this specific device boots?
Was this device booting earlier? Could it be a build misconfig, since it says that it can't detect an image signing certificate?
Quoted 6 lines
This is a regression with 2026.04. 2026.04-rc never booted on this device, and before commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8none of the verdin am62[p] variants were booting for multiple bugs that were present in the release.2026.01 is booting fine on this device, with plain vanilla U-Boot.
The issue is still there, and it seems again related with your changes.
Can you help? Any test that I should do?
v2026.01 booting fine
=====================U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:15 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') Changed A53 CPU frequency to 800000000Hz (K grade) in DT SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@28000002026.04, commit
3243a73102c3("Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-sh"), booting fine
=================================================================U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:33 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 160 devices, 35 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2A2026.04, current master, commit
8666b16015d4, NOT working
=========================================================
Quoted 5 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:31 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22Hmm It's interesting to see this start to fail.
I have sent out a fix patch to drop the a53 clock overrides from the board files, https://lists.denx.de/pipermail/u-boot/2026-February/610466.html
With that fixed the boards will now show
Set clock rates for '/a53@0', CPU: 1250MHz at Speed Grade 'T'
Quoted 27 lines
Quoted 12 lines
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...Quoted 6 lines
NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:54 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)')I'm suspicious of the
spl_enable_cache(). I've witnessed issues if we add MMU entries that are not backed by DRAM which can cause the MMU to crash the CPU.I wonder (complete guess right now) if we're passing the correct DRAM density to the A53 SPL?
~Bryan
Quoted 226 lines · Bryan Brattlof
On February 18, 2026 thus sayeth Francesco Dolcini:
Quoted 201 lines
Hello Suhaas,
Quoted 100 lines · Francesco Dolcini
Quoted 92 lines · Suhaas Joshi
Quoted 51 lines · Francesco Dolcini
Quoted 43 lines · Suhaas Joshi
Quoted 42 lines · Francesco Dolcini
Quoted 27 lines · Francesco Dolcini
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it.
0x80000000should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.
Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more
42b3ee7fa524and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.Quoted 7 lines
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
I was able to trace the issue to the
get_ram_size()in verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect how much memory is available.
Quoted 6 lines
Quoted 1 line
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
Quoted 6 lines
With commit
f9ffeec4bdcf("board: toradex: Make A53 get RAM size from DT in K3 boards") merged we had our CI running on our whole board farm last night.Good news: the issue is confirmed to be fixed on Verdin AM62P and Verdin AM62 [Quad|Dual] with [1|2]GB RAM.
That's great!
Quoted 19 lines
Bad news: we we do still have a boot failure regression on Verdin AM62 single core with 512MB RAM. I have no idea if this is the same issue or a different one, but from the logs it look different (despite that I decided to keep using this email thread and not start a new one).
The failing board from the logs uses a AM6231ASGGHAALW SoC, maximum frequency 1GHz, we also have another device failing, single core again, with maximum frequency 800MHz, the working one have 1.4GHz max frequency.
Worth noticing the errors
Failed to set clock ratesThese are new compared to the previous U-Boot release, it affects also other boards, and I have no idea if this is related to this issue or not.
Logs of the failing device (U-Boot is commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8)Quoted 12 lines
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.9--v11.02.09 (Fancy Rat)')
Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devicesQuoted 6 lines
I don't think this one is related to the firewall series. Not really sure what the issue is. Just to rule this series out -- could you drop my patch(es) and check if this specific device boots?
Was this device booting earlier? Could it be a build misconfig, since it says that it can't detect an image signing certificate?
Quoted 6 lines
This is a regression with 2026.04. 2026.04-rc never booted on this device, and before commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8none of the verdin am62[p] variants were booting for multiple bugs that were present in the release.2026.01 is booting fine on this device, with plain vanilla U-Boot.
The issue is still there, and it seems again related with your changes.
Can you help? Any test that I should do?
v2026.01 booting fine
=====================U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:15 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') Changed A53 CPU frequency to 800000000Hz (K grade) in DT SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@28000002026.04, commit
3243a73102c3("Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-sh"), booting fine
=================================================================U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:33 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 160 devices, 35 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2AQuoted 7 lines
2026.04, current master, commit
8666b16015d4, NOT working
=========================================================U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:31 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22Hmm It's interesting to see this start to fail.
Quoted 14 lines
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025
Quoted 8 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:54 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)')I'm suspicious of the
spl_enable_cache(). I've witnessed issues if we add MMU entries that are not backed by DRAM which can cause the MMU to crash the CPU.
I looked into that function.
This is my current theory:
The end address of 512MB RAM is 0x9FFFFFFF. This is the same as OPTEE's end address.
If you look into the spl_enable_cache() function, you'll see that it is subtracting the size of page tables from the top of RAM, i.e. it is placing the page table at the end of RAM, i.e. it is placing the page table in OPTEE's memory region. Since this region wasn't protected by firewalls earlier, everything worked. But now the firewall disallows U-Boot's access to the page table.
On 1GB and 2GB devices, there's a great deal of distance between the end addresses of RAM (0xBFFFFFFF and 0xFFFFFFFF respectively) and the end address of OPTEE. So we don't run into this issue.
Francesco -- Just to confirm if this indeed is the case, could you change CONFIG_K3_OPTEE_LOAD_ADDR to any other free location, and check if the device boots?
Thanks
Suhaas
Quoted 4 lines
I wonder (complete guess right now) if we're passing the correct DRAM density to the A53 SPL?
~Bryan
Quoted 207 lines · Suhaas Joshi
Quoted 206 lines · Bryan Brattlof
On February 18, 2026 thus sayeth Francesco Dolcini:
Quoted 205 lines
Hello Suhaas,
Quoted 100 lines · Francesco Dolcini
Quoted 92 lines · Suhaas Joshi
Quoted 51 lines · Francesco Dolcini
Quoted 43 lines · Suhaas Joshi
Quoted 42 lines · Francesco Dolcini
Quoted 27 lines · Francesco Dolcini
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it.
0x80000000should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.
Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more
42b3ee7fa524and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.Quoted 7 lines
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
I was able to trace the issue to the
get_ram_size()in verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect how much memory is available.
Quoted 6 lines
Quoted 1 line
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
Quoted 6 lines
With commit
f9ffeec4bdcf("board: toradex: Make A53 get RAM size from DT in K3 boards") merged we had our CI running on our whole board farm last night.Good news: the issue is confirmed to be fixed on Verdin AM62P and Verdin AM62 [Quad|Dual] with [1|2]GB RAM.
That's great!
Quoted 19 lines
Bad news: we we do still have a boot failure regression on Verdin AM62 single core with 512MB RAM. I have no idea if this is the same issue or a different one, but from the logs it look different (despite that I decided to keep using this email thread and not start a new one).
The failing board from the logs uses a AM6231ASGGHAALW SoC, maximum frequency 1GHz, we also have another device failing, single core again, with maximum frequency 800MHz, the working one have 1.4GHz max frequency.
Worth noticing the errors
Failed to set clock ratesThese are new compared to the previous U-Boot release, it affects also other boards, and I have no idea if this is related to this issue or not.
Logs of the failing device (U-Boot is commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8)Quoted 12 lines
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.9--v11.02.09 (Fancy Rat)')
Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devicesQuoted 6 lines
I don't think this one is related to the firewall series. Not really sure what the issue is. Just to rule this series out -- could you drop my patch(es) and check if this specific device boots?
Was this device booting earlier? Could it be a build misconfig, since it says that it can't detect an image signing certificate?
Quoted 6 lines
This is a regression with 2026.04. 2026.04-rc never booted on this device, and before commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8none of the verdin am62[p] variants were booting for multiple bugs that were present in the release.2026.01 is booting fine on this device, with plain vanilla U-Boot.
The issue is still there, and it seems again related with your changes.
Can you help? Any test that I should do?
v2026.01 booting fine
=====================U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:15 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') Changed A53 CPU frequency to 800000000Hz (K grade) in DT SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@28000002026.04, commit
3243a73102c3("Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-sh"), booting fine
=================================================================U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:33 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 160 devices, 35 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2A2026.04, current master, commit
8666b16015d4, NOT working
=========================================================
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:31 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22Hmm It's interesting to see this start to fail.
This is fixed with another patch, and I would confirm that this is unrelated to the issue we are debugging here
Quoted 37 lines
Quoted 14 lines
Quoted 14 lines
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025Quoted 8 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:54 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)')I'm suspicious of the
spl_enable_cache(). I've witnessed issues if we add MMU entries that are not backed by DRAM which can cause the MMU to crash the CPU.I looked into that function.
This is my current theory:
The end address of 512MB RAM is
0x9FFFFFFF. This is the same as OPTEE's end address.If you look into the
spl_enable_cache()function, you'll see that it is subtracting the size of page tables from the top of RAM, i.e. it is placing the page table at the end of RAM, i.e. it is placing the page table in OPTEE's memory region. Since this region wasn't protected by firewalls earlier, everything worked. But now the firewall disallows U-Boot's access to the page table.
Quoted 7 lines
On 1GB and 2GB devices, there's a great deal of distance between the end addresses of RAM (
0xBFFFFFFFand0xFFFFFFFFrespectively) and the end address of OPTEE. So we don't run into this issue.Francesco -- Just to confirm if this indeed is the case, could you change
CONFIG_K3_OPTEE_LOAD_ADDRto any other free location, and check if the device boots?
Any suggestion on a good address to use?
I tried 0x83800000, and the result is not booting in different ways, failing in different ways
Sometime
U-Boot SPL 2026.04-rc2-00035-g94764e8c861f-dirty (Feb 19 2026 - 19:21:39 +0100) SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)') Set clock rates for '/a53@0', CPU: 800MHz at Speed Grade 'K'
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_env from device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...
NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025
and sometime
U-Boot SPL 2026.04-rc2-00035-g94764e8c861f-dirty (Feb 19 2026 - 19:21:39 +0100)
SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)')
Set clock rates for '/a53@0', CPU: 800MHz at Speed Grade 'K'
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_env from device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS- SE) devices
Authentication passed
Starting ATF on ARM64 core...
Francesco
On February 19, 2026 thus sayeth Francesco Dolcini:
Quoted 258 lines · Suhaas Joshi
Quoted 207 lines · Bryan Brattlof
Quoted 206 lines
On February 18, 2026 thus sayeth Francesco Dolcini:
Quoted 205 lines
Hello Suhaas,
Quoted 100 lines · Francesco Dolcini
Quoted 92 lines · Suhaas Joshi
Quoted 51 lines · Francesco Dolcini
Quoted 43 lines · Suhaas Joshi
Quoted 42 lines · Francesco Dolcini
Quoted 27 lines · Francesco Dolcini
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it.
0x80000000should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.
Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more
42b3ee7fa524and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.Quoted 7 lines
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
I was able to trace the issue to the
get_ram_size()in verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect how much memory is available.
Quoted 6 lines
Quoted 1 line
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
Quoted 6 lines
With commit
f9ffeec4bdcf("board: toradex: Make A53 get RAM size from DT in K3 boards") merged we had our CI running on our whole board farm last night.Good news: the issue is confirmed to be fixed on Verdin AM62P and Verdin AM62 [Quad|Dual] with [1|2]GB RAM.
That's great!
Quoted 19 lines
Bad news: we we do still have a boot failure regression on Verdin AM62 single core with 512MB RAM. I have no idea if this is the same issue or a different one, but from the logs it look different (despite that I decided to keep using this email thread and not start a new one).
The failing board from the logs uses a AM6231ASGGHAALW SoC, maximum frequency 1GHz, we also have another device failing, single core again, with maximum frequency 800MHz, the working one have 1.4GHz max frequency.
Worth noticing the errors
Failed to set clock ratesThese are new compared to the previous U-Boot release, it affects also other boards, and I have no idea if this is related to this issue or not.
Logs of the failing device (U-Boot is commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8)Quoted 12 lines
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.9--v11.02.09 (Fancy Rat)')
Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devicesQuoted 6 lines
I don't think this one is related to the firewall series. Not really sure what the issue is. Just to rule this series out -- could you drop my patch(es) and check if this specific device boots?
Was this device booting earlier? Could it be a build misconfig, since it says that it can't detect an image signing certificate?
Quoted 6 lines
This is a regression with 2026.04. 2026.04-rc never booted on this device, and before commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8none of the verdin am62[p] variants were booting for multiple bugs that were present in the release.2026.01 is booting fine on this device, with plain vanilla U-Boot.
The issue is still there, and it seems again related with your changes.
Can you help? Any test that I should do?
v2026.01 booting fine
=====================U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:15 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') Changed A53 CPU frequency to 800000000Hz (K grade) in DT SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@28000002026.04, commit
3243a73102c3("Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-sh"), booting fine
=================================================================U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:33 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 160 devices, 35 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2A2026.04, current master, commit
8666b16015d4, NOT working
=========================================================Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:31 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22Hmm It's interesting to see this start to fail.
This is fixed with another patch, and I would confirm that this is unrelated to the issue we are debugging here
Quoted 41 lines
Quoted 14 lines
Quoted 14 lines
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025Quoted 8 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:54 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)')I'm suspicious of the
spl_enable_cache(). I've witnessed issues if we add MMU entries that are not backed by DRAM which can cause the MMU to crash the CPU.I looked into that function.
This is my current theory:
The end address of 512MB RAM is
0x9FFFFFFF. This is the same as OPTEE's end address.If you look into the
spl_enable_cache()function, you'll see that it is subtracting the size of page tables from the top of RAM, i.e. it is placing the page table at the end of RAM, i.e. it is placing the page table in OPTEE's memory region. Since this region wasn't protected by firewalls earlier, everything worked. But now the firewall disallows U-Boot's access to the page table.On 1GB and 2GB devices, there's a great deal of distance between the end addresses of RAM (
0xBFFFFFFFand0xFFFFFFFFrespectively) and the end address of OPTEE. So we don't run into this issue.
Quoted 8 lines
Quoted 3 lines
Francesco -- Just to confirm if this indeed is the case, could you change
CONFIG_K3_OPTEE_LOAD_ADDRto any other free location, and check if the device boots?Any suggestion on a good address to use?
I tried
0x83800000, and the result is not booting in different ways, failing in different ways
Ah so for our am62 SiP package (which also has 512MB of DDR) we ended up moving OP-TEE down to 0x80080000[0] to let U-Boot relocate itself without crashing into OPTEE or TFA
Because tiboot3.bin starts off the main domain by sending the A53 to TFA -> OPTEE -> SPL there isn't a great way to pass along the info to TFA on where to go next at run-time.
So for this to work we will need to adjust the jump defaults in both TF-A and OP-TEE as well as modify the K3_OPTEE_LOAD_ADDR here.
We're doing this in yocto here[1][2]
[0] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/conf/machine/am62xxsip-evm.conf#n7
[1] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc#n29
[2] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc#n9
With that updated it should allow us to get past the TFA init
~Bryan
Quoted 17 lines
Sometime
U-Boot SPL 2026.04-rc2-00035-g94764e8c861f-dirty (Feb 19 2026 - 19:21:39 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Set clock rates for '/a53@0', CPU: 800MHz at Speed Grade 'K'
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...
Quoted 5 lines
NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025and sometime
Though this all assumes we're expecting OP-TEE init prints here and the board reset's itself after sometime because a watchdog went off.
~Bryan
Quoted 18 lines
U-Boot SPL 2026.04-rc2-00035-g94764e8c861f-dirty (Feb 19 2026 - 19:21:39 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)')
Set clock rates for '/a53@0', CPU: 800MHz at Speed Grade 'K'
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS- SE) devices
Authentication passed
Starting ATF on ARM64 core...Francesco
Quoted 279 lines · Bryan Brattlof
On February 19, 2026 thus sayeth Francesco Dolcini:
Quoted 258 lines · Suhaas Joshi
Quoted 207 lines · Bryan Brattlof
Quoted 206 lines
On February 18, 2026 thus sayeth Francesco Dolcini:
Quoted 205 lines
Hello Suhaas,
Quoted 100 lines · Francesco Dolcini
Quoted 92 lines · Suhaas Joshi
Quoted 51 lines · Francesco Dolcini
Quoted 43 lines · Suhaas Joshi
Quoted 42 lines · Francesco Dolcini
Quoted 27 lines · Francesco Dolcini
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it.
0x80000000should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.
Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more
42b3ee7fa524and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.Quoted 7 lines
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the meantime.
Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
I was able to trace the issue to the
get_ram_size()in verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect how much memory is available.
Quoted 6 lines
Quoted 1 line
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
Quoted 6 lines
With commit
f9ffeec4bdcf("board: toradex: Make A53 get RAM size from DT in K3 boards") merged we had our CI running on our whole board farm last night.Good news: the issue is confirmed to be fixed on Verdin AM62P and Verdin AM62 [Quad|Dual] with [1|2]GB RAM.
That's great!
Quoted 19 lines
Bad news: we we do still have a boot failure regression on Verdin AM62 single core with 512MB RAM. I have no idea if this is the same issue or a different one, but from the logs it look different (despite that I decided to keep using this email thread and not start a new one).
The failing board from the logs uses a AM6231ASGGHAALW SoC, maximum frequency 1GHz, we also have another device failing, single core again, with maximum frequency 800MHz, the working one have 1.4GHz max frequency.
Worth noticing the errors
Failed to set clock ratesThese are new compared to the previous U-Boot release, it affects also other boards, and I have no idea if this is related to this issue or not.
Logs of the failing device (U-Boot is commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8)Quoted 12 lines
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.9--v11.02.09 (Fancy Rat)')
Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devicesQuoted 6 lines
I don't think this one is related to the firewall series. Not really sure what the issue is. Just to rule this series out -- could you drop my patch(es) and check if this specific device boots?
Was this device booting earlier? Could it be a build misconfig, since it says that it can't detect an image signing certificate?
Quoted 6 lines
This is a regression with 2026.04. 2026.04-rc never booted on this device, and before commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8none of the verdin am62[p] variants were booting for multiple bugs that were present in the release.2026.01 is booting fine on this device, with plain vanilla U-Boot.
The issue is still there, and it seems again related with your changes.
Can you help? Any test that I should do?
v2026.01 booting fine
=====================U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:15 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') Changed A53 CPU frequency to 800000000Hz (K grade) in DT SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@28000002026.04, commit
3243a73102c3("Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-sh"), booting fine
=================================================================U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:33 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 160 devices, 35 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2A2026.04, current master, commit
8666b16015d4, NOT working
=========================================================Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:31 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22Hmm It's interesting to see this start to fail.
This is fixed with another patch, and I would confirm that this is unrelated to the issue we are debugging here
Quoted 41 lines
Quoted 14 lines
Quoted 14 lines
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025Quoted 8 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:54 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)')I'm suspicious of the
spl_enable_cache(). I've witnessed issues if we add MMU entries that are not backed by DRAM which can cause the MMU to crash the CPU.I looked into that function.
This is my current theory:
The end address of 512MB RAM is
0x9FFFFFFF. This is the same as OPTEE's end address.If you look into the
spl_enable_cache()function, you'll see that it is subtracting the size of page tables from the top of RAM, i.e. it is placing the page table at the end of RAM, i.e. it is placing the page table in OPTEE's memory region. Since this region wasn't protected by firewalls earlier, everything worked. But now the firewall disallows U-Boot's access to the page table.On 1GB and 2GB devices, there's a great deal of distance between the end addresses of RAM (
0xBFFFFFFFand0xFFFFFFFFrespectively) and the end address of OPTEE. So we don't run into this issue.Quoted 8 lines
Quoted 3 lines
Francesco -- Just to confirm if this indeed is the case, could you change
CONFIG_K3_OPTEE_LOAD_ADDRto any other free location, and check if the device boots?Any suggestion on a good address to use?
I tried
0x83800000, and the result is not booting in different ways, failing in different waysAh so for our am62 SiP package (which also has 512MB of DDR) we ended up moving OP-TEE down to 0x80080000[0] to let U-Boot relocate itself without crashing into OPTEE or TFA
Because tiboot3.bin starts off the main domain by sending the A53 to TFA -> OPTEE -> SPL there isn't a great way to pass along the info to TFA on where to go next at run-time.
So for this to work we will need to adjust the jump defaults in both TF-A and OP-TEE as well as modify the
K3_OPTEE_LOAD_ADDRhere.
Quoted 7 lines
We're doing this in yocto here[1][2]
[0] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/conf/machine/am62xxsip-evm.conf#n7
[1] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc#n29
[2] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc#n9With that updated it should allow us to get past the TFA init
Some progress ...
I had to review also the U-Boot configuration, the whole memory map must be revised ...
With that sometime it works ...
U-Boot SPL 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:36 +0100) SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)') Set clock rates for '/a53@0', CPU: 800MHz at Speed Grade 'K'
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_env from device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...
NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b38 NOTICE: BL31: Built : 10:24:51, Feb 20 2026
I/TC:
I/TC: OP-TEE version: 4.9.0-34-g33919ffbd54a (gcc version 14.2.0 (Debian 14.2.0-19)) #2 Fri Feb 20 09:27:46 UTC 2026 aarch64 I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: GIC redistributor base address not provided
I/TC: Assuming default GIC group status and modifier
I/TC: SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)')
I/TC: HUK Initialized
I/TC: Disabling output console
U-Boot SPL 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:59 +0100) SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
U-Boot 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:59 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.9 (33919ffbd54a7cea) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2A
Serial#: 15412819
Carrier: Toradex Verdin Development Board V1.1D, Serial# 10996055
Net: am65_cpsw_nuss ethernet@8000000: K3 CPSW: nuss_ver: 0x6BA01103 cpsw_ver: 0x6BA81103 ale_ver: 0x00290105 Ports:2am65_cpsw_nuss_port ethernet@8000000port@1: RGMII mode without internal TX delay unsupported; please fix your Device Tree
Warning: ethernet@8000000port@1 MAC addresses don't match:
Address in ROM is 64:1c:10:2a:6d:c2
Address in environment is 00:14:2d:eb:2e:53
eth0: ethernet@8000000port@1 [PRIME]am65_cpsw_nuss_port ethernet@8000000port@2: RGMII mode without internal TX delay unsupported; please
fix your Device Tree
, eth1: ethernet@8000000port@2
Hit any key to stop autoboot: 0
Verdin AM62 #
however, sometime it just crashes somewhere ...
Verdin AM62 # reset
resetting ...
U-Boot SPL 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:36 +0100)
SYSFW ABI: 4.0 (firmware rev 0x000b '11.2.5--v11.02.05 (Fancy Rat)')
Set clock rates for '/a53@0', CPU: 800MHz at Speed Grade 'K'
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_env from device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing (HS-SE) devices
It's quite a pain. I will review the complete memory map and check if I missed something.
Bryan: I think TI should consider having both OP-TEE and TFA at the beginning of the memory on any AM62* SOC by default, this would just be the most robust way to have something working no matter the amount of memory that is fitted.
Francesco
On February 20, 2026 thus sayeth Francesco Dolcini:
Quoted 286 lines · Bryan Brattlof
Quoted 285 lines
On February 19, 2026 thus sayeth Francesco Dolcini:
Quoted 258 lines · Suhaas Joshi
Quoted 207 lines · Bryan Brattlof
Quoted 206 lines
On February 18, 2026 thus sayeth Francesco Dolcini:
Quoted 205 lines
Hello Suhaas,
Quoted 100 lines · Francesco Dolcini
Quoted 92 lines · Suhaas Joshi
Quoted 51 lines · Francesco Dolcini
Quoted 43 lines · Suhaas Joshi
Quoted 42 lines · Francesco Dolcini
Quoted 27 lines · Francesco Dolcini
Quoted 4 lines · Bryan Brattlof
Do you mind copying a boot log to a pastebin for me? I thought I had one
of these boards but I'm still digging around for it. 0x80000000 should
be where we load TFA now days unless some boards have opted out of
letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
Quoted 4 lines · Suhaas Joshi
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.Verdin AM62 should not have anything special, the code is all there for everyone to see, including the defconfig, the DT and so on, and the changes we are talking about to me are self contained withing the SoC. Something is wrong, and we are not understanding what yet.
I just retested once more
42b3ee7fa524and it just hung, you never know if I did something wrong. And for what matter this was spotted by our CI.Quoted 7 lines
Quoted 2 lines
We are working on figuring out why Verdin is seeing these issues, in the
meantime.Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and the SoC is a AM6252ATCGHAALW.
I was able to trace the issue to the
get_ram_size()in verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect how much memory is available.
Quoted 6 lines
Quoted 1 line
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
Quoted 6 lines
With commit
f9ffeec4bdcf("board: toradex: Make A53 get RAM size from DT in K3 boards") merged we had our CI running on our whole board farm last night.Good news: the issue is confirmed to be fixed on Verdin AM62P and Verdin AM62 [Quad|Dual] with [1|2]GB RAM.
That's great!
Quoted 19 lines
Bad news: we we do still have a boot failure regression on Verdin AM62 single core with 512MB RAM. I have no idea if this is the same issue or a different one, but from the logs it look different (despite that I decided to keep using this email thread and not start a new one).
The failing board from the logs uses a AM6231ASGGHAALW SoC, maximum frequency 1GHz, we also have another device failing, single core again, with maximum frequency 800MHz, the working one have 1.4GHz max frequency.
Worth noticing the errors
Failed to set clock ratesThese are new compared to the previous U-Boot release, it affects also other boards, and I have no idea if this is related to this issue or not.
Logs of the failing device (U-Boot is commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8)Quoted 12 lines
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.9--v11.02.09 (Fancy Rat)')
Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devicesQuoted 6 lines
I don't think this one is related to the firewall series. Not really sure what the issue is. Just to rule this series out -- could you drop my patch(es) and check if this specific device boots?
Was this device booting earlier? Could it be a build misconfig, since it says that it can't detect an image signing certificate?
Quoted 6 lines
This is a regression with 2026.04. 2026.04-rc never booted on this device, and before commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8none of the verdin am62[p] variants were booting for multiple bugs that were present in the release.2026.01 is booting fine on this device, with plain vanilla U-Boot.
The issue is still there, and it seems again related with your changes.
Can you help? Any test that I should do?
v2026.01 booting fine
=====================U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:15 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') Changed A53 CPU frequency to 800000000Hz (K grade) in DT SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@28000002026.04, commit
3243a73102c3("Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-sh"), booting fine
=================================================================U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:33 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 160 devices, 35 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2A2026.04, current master, commit
8666b16015d4, NOT working
=========================================================Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:31 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22Hmm It's interesting to see this start to fail.
This is fixed with another patch, and I would confirm that this is unrelated to the issue we are debugging here
Quoted 41 lines
Quoted 14 lines
Quoted 14 lines
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025Quoted 8 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:54 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)')I'm suspicious of the
spl_enable_cache(). I've witnessed issues if we add MMU entries that are not backed by DRAM which can cause the MMU to crash the CPU.I looked into that function.
This is my current theory:
The end address of 512MB RAM is
0x9FFFFFFF. This is the same as OPTEE's end address.If you look into the
spl_enable_cache()function, you'll see that it is subtracting the size of page tables from the top of RAM, i.e. it is placing the page table at the end of RAM, i.e. it is placing the page table in OPTEE's memory region. Since this region wasn't protected by firewalls earlier, everything worked. But now the firewall disallows U-Boot's access to the page table.On 1GB and 2GB devices, there's a great deal of distance between the end addresses of RAM (
0xBFFFFFFFand0xFFFFFFFFrespectively) and the end address of OPTEE. So we don't run into this issue.Quoted 8 lines
Quoted 3 lines
Francesco -- Just to confirm if this indeed is the case, could you change
CONFIG_K3_OPTEE_LOAD_ADDRto any other free location, and check if the device boots?Any suggestion on a good address to use?
I tried
0x83800000, and the result is not booting in different ways, failing in different waysAh so for our am62 SiP package (which also has 512MB of DDR) we ended up moving OP-TEE down to 0x80080000[0] to let U-Boot relocate itself without crashing into OPTEE or TFA
Because tiboot3.bin starts off the main domain by sending the A53 to TFA -> OPTEE -> SPL there isn't a great way to pass along the info to TFA on where to go next at run-time.
So for this to work we will need to adjust the jump defaults in both TF-A and OP-TEE as well as modify the
K3_OPTEE_LOAD_ADDRhere.We're doing this in yocto here[1][2]
[0] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/conf/machine/am62xxsip-evm.conf#n7
[1] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc#n29
[2] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc#n9
Quoted 8 lines
Quoted 1 line
With that updated it should allow us to get past the TFA init
Some progress ...
I had to review also the U-Boot configuration, the whole memory map must be revised ...
With that sometime it works ...
Nice!
Quoted 69 lines
U-Boot SPL 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:36 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Set clock rates for '/a53@0', CPU: 800MHz at Speed Grade 'K'
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b38 NOTICE: BL31: Built : 10:24:51, Feb 20 2026I/TC:
I/TC: OP-TEE version: 4.9.0-34-g33919ffbd54a (gcc version 14.2.0 (Debian 14.2.0-19)) #2 Fri Feb 20 09:27:46 UTC 2026 aarch64 I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: GIC redistributor base address not provided
I/TC: Assuming default GIC group status and modifier
I/TC: SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)')
I/TC: HUK Initialized
I/TC: Disabling output consoleU-Boot SPL 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:59 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:59 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.9 (33919ffbd54a7cea) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2ASerial#: 15412819
Carrier: Toradex Verdin Development Board V1.1D, Serial# 10996055
Net:am65_cpsw_nussethernet@8000000: K3 CPSW:nuss_ver:0x6BA01103cpsw_ver:0x6BA81103ale_ver:0x00290105Ports:2am65_cpsw_nuss_portethernet@8000000port@1: RGMII mode without internal TX delay unsupported; please fix your Device TreeWarning: ethernet@8000000port@1 MAC addresses don't match:
Address in ROM is 64:1c:10:2a:6d:c2
Address in environment is 00:14:2d:eb:2e:53
eth0: ethernet@8000000port@1 [PRIME]am65_cpsw_nuss_port ethernet@8000000port@2: RGMII mode without internal TX delay unsupported; please
fix your Device Tree
, eth1: ethernet@8000000port@2
Hit any key to stop autoboot: 0
Verdin AM62 #however, sometime it just crashes somewhere ...
Verdin AM62 # reset
resetting ...
Quoted 12 lines
U-Boot SPL 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:36 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)')
Set clock rates for '/a53@0', CPU: 800MHz at Speed Grade 'K'
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing (HS-SE) devices
How strange. It's odd U-Boot on some boots finds a certificate with the binaries and on others attempts it does not. If the image inside the tispl.bin was corrupted I would expect the SPL to reject the image.
I'll start bothering Andrei for some of your hardware :)
Quoted 9 lines
It's quite a pain. I will review the complete memory map and check if I missed something.
Bryan: I think TI should consider having both OP-TEE and TFA at the beginning of the memory on any AM62* SOC by default, this would just be the most robust way to have something working no matter the amount of memory that is fitted.
Completely agree.
The BeagleBoard people went through this pain a few weeks ago for the Pocketbeagle2 boards. It's a problem.
Originally we envisioned DRAM density would go up just like with flash densities as the SoC's matured. Obviously this isn't happening
It might be worth finding a way to move them (or change their default locations). I'll start pestering people in TI to get a plan in place.
~Bryan
+Devarsh
Quoted 380 lines · Bryan Brattlof
On February 20, 2026 thus sayeth Francesco Dolcini:
Quoted 286 lines · Bryan Brattlof
Quoted 285 lines
On February 19, 2026 thus sayeth Francesco Dolcini:
Quoted 258 lines · Suhaas Joshi
Quoted 207 lines · Bryan Brattlof
Quoted 206 lines
On February 18, 2026 thus sayeth Francesco Dolcini:
Quoted 205 lines
Hello Suhaas,
Quoted 100 lines · Francesco Dolcini
Quoted 92 lines · Suhaas Joshi
Quoted 51 lines · Francesco Dolcini
Quoted 43 lines · Suhaas Joshi
Quoted 42 lines · Francesco Dolcini
Quoted 34 lines · Francesco Dolcini
On Mon, Feb 09, 2026 at 02:20:01PM -0600, Bryan Brattlof wrote:
Do you mind copying a boot log to a pastebin for me? I thought I had one
of these boards but I'm still digging around for it. 0x80000000 should
be where we load TFA now days unless some boards have opted out of
letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
On Tue, Feb 10, 2026 at 02:56:46PM +0530, Suhaas Joshi wrote:
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.Verdin AM62 should not have anything special, the code is all there for
everyone to see, including the defconfig, the DT and so on, and the changes
we are talking about to me are self contained withing the SoC. Something
is wrong, and we are not understanding what yet.I just retested once more 42b3ee7fa524 and it just hung, you never know
if I did something wrong. And for what matter this was spotted by our
CI.We are working on figuring out why Verdin is seeing these issues, in the
meantime.Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and
the SoC is a AM6252ATCGHAALW.I was able to trace the issue to the
get_ram_size()in verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect how much memory is available.
Quoted 6 lines
Quoted 1 line
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
Quoted 6 lines
With commit
f9ffeec4bdcf("board: toradex: Make A53 get RAM size from DT in K3 boards") merged we had our CI running on our whole board farm last night.Good news: the issue is confirmed to be fixed on Verdin AM62P and Verdin AM62 [Quad|Dual] with [1|2]GB RAM.
That's great!
Quoted 19 lines
Bad news: we we do still have a boot failure regression on Verdin AM62 single core with 512MB RAM. I have no idea if this is the same issue or a different one, but from the logs it look different (despite that I decided to keep using this email thread and not start a new one).
The failing board from the logs uses a AM6231ASGGHAALW SoC, maximum frequency 1GHz, we also have another device failing, single core again, with maximum frequency 800MHz, the working one have 1.4GHz max frequency.
Worth noticing the errors
Failed to set clock ratesThese are new compared to the previous U-Boot release, it affects also other boards, and I have no idea if this is related to this issue or not.
Logs of the failing device (U-Boot is commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8)Quoted 12 lines
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.9--v11.02.09 (Fancy Rat)')
Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devicesQuoted 6 lines
I don't think this one is related to the firewall series. Not really sure what the issue is. Just to rule this series out -- could you drop my patch(es) and check if this specific device boots?
Was this device booting earlier? Could it be a build misconfig, since it says that it can't detect an image signing certificate?
Quoted 6 lines
This is a regression with 2026.04. 2026.04-rc never booted on this device, and before commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8none of the verdin am62[p] variants were booting for multiple bugs that were present in the release.2026.01 is booting fine on this device, with plain vanilla U-Boot.
The issue is still there, and it seems again related with your changes.
Can you help? Any test that I should do?
v2026.01 booting fine
=====================U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:15 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') Changed A53 CPU frequency to 800000000Hz (K grade) in DT SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@28000002026.04, commit
3243a73102c3("Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-sh"), booting fine
=================================================================U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:33 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 160 devices, 35 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2A2026.04, current master, commit
8666b16015d4, NOT working
=========================================================Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:31 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22Hmm It's interesting to see this start to fail.
This is fixed with another patch, and I would confirm that this is unrelated to the issue we are debugging here
Quoted 41 lines
Quoted 14 lines
Quoted 14 lines
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025Quoted 8 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:54 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)')I'm suspicious of the
spl_enable_cache(). I've witnessed issues if we add MMU entries that are not backed by DRAM which can cause the MMU to crash the CPU.I looked into that function.
This is my current theory:
The end address of 512MB RAM is
0x9FFFFFFF. This is the same as OPTEE's end address.If you look into the
spl_enable_cache()function, you'll see that it is subtracting the size of page tables from the top of RAM, i.e. it is placing the page table at the end of RAM, i.e. it is placing the page table in OPTEE's memory region. Since this region wasn't protected by firewalls earlier, everything worked. But now the firewall disallows U-Boot's access to the page table.On 1GB and 2GB devices, there's a great deal of distance between the end addresses of RAM (
0xBFFFFFFFand0xFFFFFFFFrespectively) and the end address of OPTEE. So we don't run into this issue.Quoted 8 lines
Quoted 3 lines
Francesco -- Just to confirm if this indeed is the case, could you change
CONFIG_K3_OPTEE_LOAD_ADDRto any other free location, and check if the device boots?Any suggestion on a good address to use?
I tried
0x83800000, and the result is not booting in different ways, failing in different waysAh so for our am62 SiP package (which also has 512MB of DDR) we ended up moving OP-TEE down to 0x80080000[0] to let U-Boot relocate itself without crashing into OPTEE or TFA
Because tiboot3.bin starts off the main domain by sending the A53 to TFA -> OPTEE -> SPL there isn't a great way to pass along the info to TFA on where to go next at run-time.
So for this to work we will need to adjust the jump defaults in both TF-A and OP-TEE as well as modify the
K3_OPTEE_LOAD_ADDRhere.We're doing this in yocto here[1][2]
[0] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/conf/machine/am62xxsip-evm.conf#n7
[1] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc#n29
[2] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc#n9Quoted 8 lines
Quoted 1 line
With that updated it should allow us to get past the TFA init
Some progress ...
I had to review also the U-Boot configuration, the whole memory map must be revised ...
With that sometime it works ...
Nice!
Quoted 69 lines
U-Boot SPL 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:36 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Set clock rates for '/a53@0', CPU: 800MHz at Speed Grade 'K'
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b38 NOTICE: BL31: Built : 10:24:51, Feb 20 2026I/TC:
I/TC: OP-TEE version: 4.9.0-34-g33919ffbd54a (gcc version 14.2.0 (Debian 14.2.0-19)) #2 Fri Feb 20 09:27:46 UTC 2026 aarch64 I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: GIC redistributor base address not provided
I/TC: Assuming default GIC group status and modifier
I/TC: SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)')
I/TC: HUK Initialized
I/TC: Disabling output consoleU-Boot SPL 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:59 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:59 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.9 (33919ffbd54a7cea) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2ASerial#: 15412819
Carrier: Toradex Verdin Development Board V1.1D, Serial# 10996055
Net:am65_cpsw_nussethernet@8000000: K3 CPSW:nuss_ver:0x6BA01103cpsw_ver:0x6BA81103ale_ver:0x00290105Ports:2am65_cpsw_nuss_portethernet@8000000port@1: RGMII mode without internal TX delay unsupported; please fix your Device TreeWarning: ethernet@8000000port@1 MAC addresses don't match:
Address in ROM is 64:1c:10:2a:6d:c2
Address in environment is 00:14:2d:eb:2e:53
eth0: ethernet@8000000port@1 [PRIME]am65_cpsw_nuss_port ethernet@8000000port@2: RGMII mode without internal TX delay unsupported; please
fix your Device Tree
, eth1: ethernet@8000000port@2
Hit any key to stop autoboot: 0
Verdin AM62 #however, sometime it just crashes somewhere ...
Verdin AM62 # reset
resetting ...Quoted 12 lines
U-Boot SPL 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:36 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)')
Set clock rates for '/a53@0', CPU: 800MHz at Speed Grade 'K'
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing (HS-SE) devices
Quoted 3 lines
How strange. It's odd U-Boot on some boots finds a certificate with the binaries and on others attempts it does not. If the image inside the tispl.bin was corrupted I would expect the SPL to reject the image.
Some more updates ...
I was not able to verify this yet, but it seems that since commit ba20b2443c29 ("arm: mach-k3: common: Reserve video memory from end of the RAM") the ram top is overwritten and our verdin-am62.c:board_get_usable_ram_top() is ignored :-(
So, the change from devarsh broke it, but before the addition of the memory firewall the memory corruption was not leading to a crash ...
Please verify this, because it is as well possible that I am completely wrong.
Thanks
Francesco
Quoted 387 lines · Francesco Dolcini
Quoted 380 lines · Bryan Brattlof
On February 20, 2026 thus sayeth Francesco Dolcini:
Quoted 286 lines · Bryan Brattlof
Quoted 285 lines
On February 19, 2026 thus sayeth Francesco Dolcini:
Quoted 258 lines · Suhaas Joshi
Quoted 207 lines · Bryan Brattlof
Quoted 206 lines
On February 18, 2026 thus sayeth Francesco Dolcini:
Quoted 205 lines
Hello Suhaas,
Quoted 100 lines · Francesco Dolcini
Quoted 92 lines · Suhaas Joshi
Quoted 51 lines · Francesco Dolcini
Quoted 43 lines · Suhaas Joshi
Quoted 42 lines · Francesco Dolcini
On Tue, Feb 10, 2026 at 11:50:14AM +0100, Francesco Dolcini wrote:
On Mon, Feb 09, 2026 at 02:20:01PM -0600, Bryan Brattlof wrote:
Do you mind copying a boot log to a pastebin for me? I thought I had one
of these boards but I'm still digging around for it. 0x80000000 should
be where we load TFA now days unless some boards have opted out of
letting U-Boot move it to the bottom of DRAMHere some more logs
https://gist.github.com/dolcini/aa4b669c6349cc6da1b9e7b19cf53fed
The files are named with the commit sha that is tested.
On Tue, Feb 10, 2026 at 02:56:46PM +0530, Suhaas Joshi wrote:
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.Verdin AM62 should not have anything special, the code is all there for
everyone to see, including the defconfig, the DT and so on, and the changes
we are talking about to me are self contained withing the SoC. Something
is wrong, and we are not understanding what yet.I just retested once more 42b3ee7fa524 and it just hung, you never know
if I did something wrong. And for what matter this was spotted by our
CI.We are working on figuring out why Verdin is seeing these issues, in the
meantime.Anything I can do let me know.
If it matter the board that I am currently testing has 1GiB DDR RAM, and
the SoC is a AM6252ATCGHAALW.I was able to trace the issue to the get_ram_size() in
verdin-am62.c:dram_init().That function walks the addressable memory range to dynamically detect
how much memory is available.Quoted 6 lines
Quoted 1 line
Not sure on the proper way to fix it however, Bryan? Suhaas?
Yes, this does seem to be the issue, even in my digging. I have sent a patch to fix this. But since I don't have boards, I have not tested this. Could you please test this and let us know if it works, or if there are any other issues that pop up?
Quoted 6 lines
With commit
f9ffeec4bdcf("board: toradex: Make A53 get RAM size from DT in K3 boards") merged we had our CI running on our whole board farm last night.Good news: the issue is confirmed to be fixed on Verdin AM62P and Verdin AM62 [Quad|Dual] with [1|2]GB RAM.
That's great!
Quoted 19 lines
Bad news: we we do still have a boot failure regression on Verdin AM62 single core with 512MB RAM. I have no idea if this is the same issue or a different one, but from the logs it look different (despite that I decided to keep using this email thread and not start a new one).
The failing board from the logs uses a AM6231ASGGHAALW SoC, maximum frequency 1GHz, we also have another device failing, single core again, with maximum frequency 800MHz, the working one have 1.4GHz max frequency.
Worth noticing the errors
Failed to set clock ratesThese are new compared to the previous U-Boot release, it affects also other boards, and I have no idea if this is related to this issue or not.
Logs of the failing device (U-Boot is commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8)Quoted 12 lines
U-Boot SPL 2026.04-rc2-0.0.0-devel+git.f9ffeec4bdcf (Feb 12 2026 - 14:12:09 +0000)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.9--v11.02.09 (Fancy Rat)')
Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13456 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devicesQuoted 6 lines
I don't think this one is related to the firewall series. Not really sure what the issue is. Just to rule this series out -- could you drop my patch(es) and check if this specific device boots?
Was this device booting earlier? Could it be a build misconfig, since it says that it can't detect an image signing certificate?
Quoted 6 lines
This is a regression with 2026.04. 2026.04-rc never booted on this device, and before commit
f9ffeec4bdcf1da655a0ffea482062adde78fee8none of the verdin am62[p] variants were booting for multiple bugs that were present in the release.2026.01 is booting fine on this device, with plain vanilla U-Boot.
The issue is still there, and it seems again related with your changes.
Can you help? Any test that I should do?
v2026.01 booting fine
=====================U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:15 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') Changed A53 CPU frequency to 800000000Hz (K grade) in DT SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.01 (Feb 18 2026 - 12:12:38 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@28000002026.04, commit
3243a73102c3("Merge branch 'master' of
https://source.denx.de/u-boot/custodians/u-boot-sh"), booting fine
=================================================================U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:33 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22
SPL initial stack usage: 13512 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025U-Boot SPL 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.04-rc1-00199-g3243a73102c3 (Feb 18 2026 - 15:38:57 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.7 (a9690ae39995af36) Core: 160 devices, 35 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2A2026.04, current master, commit
8666b16015d4, NOT working
=========================================================Quoted 5 lines
Quoted 5 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:31 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Failed to set clock rates for '/a53@0': -22Hmm It's interesting to see this start to fail.
This is fixed with another patch, and I would confirm that this is unrelated to the issue we are debugging here
Quoted 41 lines
Quoted 14 lines
Quoted 14 lines
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b-dirty NOTICE: BL31: Built : 07:01:36, Jul 1 2025Quoted 8 lines
Quoted 3 lines
U-Boot SPL 2026.04-rc2-00033-g8666b16015d4 (Feb 18 2026 - 15:05:54 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)')I'm suspicious of the
spl_enable_cache(). I've witnessed issues if we add MMU entries that are not backed by DRAM which can cause the MMU to crash the CPU.I looked into that function.
This is my current theory:
The end address of 512MB RAM is
0x9FFFFFFF. This is the same as OPTEE's end address.If you look into the
spl_enable_cache()function, you'll see that it is subtracting the size of page tables from the top of RAM, i.e. it is placing the page table at the end of RAM, i.e. it is placing the page table in OPTEE's memory region. Since this region wasn't protected by firewalls earlier, everything worked. But now the firewall disallows U-Boot's access to the page table.On 1GB and 2GB devices, there's a great deal of distance between the end addresses of RAM (
0xBFFFFFFFand0xFFFFFFFFrespectively) and the end address of OPTEE. So we don't run into this issue.Quoted 8 lines
Quoted 3 lines
Francesco -- Just to confirm if this indeed is the case, could you change
CONFIG_K3_OPTEE_LOAD_ADDRto any other free location, and check if the device boots?Any suggestion on a good address to use?
I tried
0x83800000, and the result is not booting in different ways, failing in different waysAh so for our am62 SiP package (which also has 512MB of DDR) we ended up moving OP-TEE down to 0x80080000[0] to let U-Boot relocate itself without crashing into OPTEE or TFA
Because tiboot3.bin starts off the main domain by sending the A53 to TFA -> OPTEE -> SPL there isn't a great way to pass along the info to TFA on where to go next at run-time.
So for this to work we will need to adjust the jump defaults in both TF-A and OP-TEE as well as modify the
K3_OPTEE_LOAD_ADDRhere.We're doing this in yocto here[1][2]
[0] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/conf/machine/am62xxsip-evm.conf#n7
[1] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-ti.inc#n29
[2] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc#n9Quoted 8 lines
Quoted 1 line
With that updated it should allow us to get past the TFA init
Some progress ...
I had to review also the U-Boot configuration, the whole memory map must be revised ...
With that sometime it works ...
Nice!
Quoted 69 lines
U-Boot SPL 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:36 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Set clock rates for '/a53@0', CPU: 800MHz at Speed Grade 'K'
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...NOTICE: BL31: v2.13.0(release):v2.13.0-259-ge0c4d3903b38 NOTICE: BL31: Built : 10:24:51, Feb 20 2026I/TC:
I/TC: OP-TEE version: 4.9.0-34-g33919ffbd54a (gcc version 14.2.0 (Debian 14.2.0-19)) #2 Fri Feb 20 09:27:46 UTC 2026 aarch64 I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: GIC redistributor base address not provided
I/TC: Assuming default GIC group status and modifier
I/TC: SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)')
I/TC: HUK Initialized
I/TC: Disabling output consoleU-Boot SPL 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:59 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') SPL initial stack usage: 2048 bytes
Trying to boot from MMC1
Authentication passed
Authentication passedU-Boot 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:59 +0100)
SoC: AM62X SR1.0 HS-FS Reset reason: POR DRAM: 512 MiB optee optee: OP-TEE: revision 4.9 (33919ffbd54a7cea) Core: 159 devices, 34 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from MMC... Reading from MMC(0)... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Model: Toradex 0071 Verdin AM62 Solo 512MB V1.2ASerial#: 15412819
Carrier: Toradex Verdin Development Board V1.1D, Serial# 10996055
Net:am65_cpsw_nussethernet@8000000: K3 CPSW:nuss_ver:0x6BA01103cpsw_ver:0x6BA81103ale_ver:0x00290105Ports:2am65_cpsw_nuss_portethernet@8000000port@1: RGMII mode without internal TX delay unsupported; please fix your Device TreeWarning: ethernet@8000000port@1 MAC addresses don't match:
Address in ROM is 64:1c:10:2a:6d:c2
Address in environment is 00:14:2d:eb:2e:53
eth0: ethernet@8000000port@1 [PRIME]am65_cpsw_nuss_port ethernet@8000000port@2: RGMII mode without internal TX delay unsupported; please
fix your Device Tree
, eth1: ethernet@8000000port@2
Hit any key to stop autoboot: 0
Verdin AM62 #however, sometime it just crashes somewhere ...
Verdin AM62 # reset
resetting ...Quoted 12 lines
U-Boot SPL 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:36 +0100)
SYSFW ABI: 4.0 (firmware rev0x000b'11.2.5--v11.02.05 (Fancy Rat)')
Set clock rates for '/a53@0', CPU: 800MHz at Speed Grade 'K'
SPL initial stack usage: 13464 bytes
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing (HS-SE) devicesQuoted 3 lines
How strange. It's odd U-Boot on some boots finds a certificate with the binaries and on others attempts it does not. If the image inside the tispl.bin was corrupted I would expect the SPL to reject the image.
Some more updates ...
Quoted 7 lines
I was not able to verify this yet, but it seems that since commit
ba20b2443c29("arm: mach-k3: common: Reserve video memory from end of the RAM") the ram top is overwritten and our verdin-am62.c:board_get_usable_ram_top() is ignored :-(So, the change from devarsh broke it, but before the addition of the memory firewall the memory corruption was not leading to a crash ...
Some small progress.
I can confirm that the issue is around the board_init_f() that is overridden on the k3 architecture and spl_enable_cache(). It messes up with gd->*ram* variables ignoring various config options, including verdin-am62.c:board_get_usable_ram_top(). Any comment on this?
Trying to get out of this regression, one solution would be to move the whole memory map as it was done on the pocket beagle2, as it was suggested a few email ago.
Or fix the spl_enable_cache() implementation.
Bryan, and TI folks, what's your suggestion on the next steps here?
In addition to that, no matter if I do a quick and dirty hack on spl_enable_cache(), or if I move the optee at the beginning of the ram, I get this error once every few resets
``` ... Authentication passed Authentication passed Loading Environment from nowhere... OK init_env from device 9 not supported! Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices ```
and after that a freeze. I am starting to think that this is another, unrelated issue.
Thanks for the support,
Francesco
Hi Francesco,
On 24/02/26 15:51, Francesco Dolcini wrote:
<snip>
Quoted 27 lines
Quoted 19 lines
Quoted 13 lines
Quoted 4 lines
U-Boot SPL 2026.04-rc2-00038-g2d83c0fbbfed-dirty (Feb 20 2026 - 11:23:36 +0100) SYSFW ABI: 4.0 (firmware rev
0x000b'11.2.5--v11.02.05 (Fancy Rat)') Set clock rates for '/a53@0', CPU: 800MHz at Speed Grade 'K'
SPL initial stack usage: 13464 bytesQuoted 8 lines
Trying to boot from MMC1
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OKinit_envfrom device 9 not supported!
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing (HS-SE) devicesQuoted 3 lines
How strange. It's odd U-Boot on some boots finds a certificate with the binaries and on others attempts it does not. If the image inside the tispl.bin was corrupted I would expect the SPL to reject the image.
Some more updates ...
Quoted 7 lines
I was not able to verify this yet, but it seems that since commit
ba20b2443c29("arm: mach-k3: common: Reserve video memory from end of the RAM") the ram top is overwritten and our verdin-am62.c:board_get_usable_ram_top() is ignored :-(So, the change from devarsh broke it, but before the addition of the memory firewall the memory corruption was not leading to a crash ...
Quoted 7 lines
Some small progress.
I can confirm that the issue is around the
board_init_f()that is overridden on the k3 architecture andspl_enable_cache(). It messes up with gd->*ram* variables ignoring various config options, including verdin-am62.c:board_get_usable_ram_top(). Any comment on this?
Thanks for sharing this information, maybe I missed out handling the board_get_usable_ram_top scenario in my original patch.
For this particular problem, could you please try with "[PATCH] arm:
mach-k3: common: Clamp RAM end address to board-usable region in spl_enable_cache()"
that I sent over the list/email and let us know if it helps solve above problem ?
Regards
Devarsh
Quoted 39 lines · Francesco Dolcini
Quoted 10 lines · Francesco Dolcini
Quoted 1 line · Bryan Brattlof
On February 20, 2026 thus sayeth Francesco Dolcini:
I was not able to verify this yet, but it seems that since commit
ba20b2443c29("arm: mach-k3: common: Reserve video memory from end of the RAM") the ram top is overwritten and our verdin-am62.c:board_get_usable_ram_top() is ignored :-(So, the change from devarsh broke it, but before the addition of the memory firewall the memory corruption was not leading to a crash ...
I can confirm that the issue is around the
board_init_f()that is overridden on the k3 architecture andspl_enable_cache(). It messes up with gd->*ram* variables ignoring various config options, including verdin-am62.c:board_get_usable_ram_top(). Any comment on this?Trying to get out of this regression, one solution would be to move the whole memory map as it was done on the pocket beagle2, as it was suggested a few email ago.
Or fix the
spl_enable_cache()implementation.Bryan, and TI folks, what's your suggestion on the next steps here?
In addition to that, no matter if I do a quick and dirty hack on
spl_enable_cache(), or if I move the optee at the beginning of the ram, I get this error once every few resets``` ... Authentication passed Authentication passed Loading Environment from nowhere... OK init_env from device 9 not supported! Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices ```
Quoted 2 lines
and after that a freeze. I am starting to think that this is another, unrelated issue.
Yes, I can confirm that this is another, but related issue :-/
There is a memory corruption, something not ok in get_ram_size(), cache related, that is leading to a memory corruption and therefore these random crashes.
For some reason the memory corruption is happening calling dram_init() twice and with 512MB module and with commit cb41b7c83444 ("board:
toradex: Make A53 get RAM size from DT in K3 boards"), I did debug this with plain v2026.01 + cb41b7c83444.
This https://lore.kernel.org/all/[email protected]/
solves the issue, but it was not applied when it was first sent months ago.
Tom: you were the one with some concern, from my point of view we should just apply it, any concern?
On the other topic I am waiting for TI advise if they plan to fix spl_enable_cache() or I would need to work on revising the memory map for the various firmwares + U-Boot.
Francesco
Hello Tom,
Quoted 44 lines · Francesco Dolcini
Quoted 39 lines · Francesco Dolcini
Quoted 10 lines · Francesco Dolcini
Quoted 1 line · Bryan Brattlof
On February 20, 2026 thus sayeth Francesco Dolcini:
I was not able to verify this yet, but it seems that since commit
ba20b2443c29("arm: mach-k3: common: Reserve video memory from end of the RAM") the ram top is overwritten and our verdin-am62.c:board_get_usable_ram_top() is ignored :-(So, the change from devarsh broke it, but before the addition of the memory firewall the memory corruption was not leading to a crash ...
I can confirm that the issue is around the
board_init_f()that is overridden on the k3 architecture andspl_enable_cache(). It messes up with gd->*ram* variables ignoring various config options, including verdin-am62.c:board_get_usable_ram_top(). Any comment on this?Trying to get out of this regression, one solution would be to move the whole memory map as it was done on the pocket beagle2, as it was suggested a few email ago.
Or fix the
spl_enable_cache()implementation.Bryan, and TI folks, what's your suggestion on the next steps here?
In addition to that, no matter if I do a quick and dirty hack on
spl_enable_cache(), or if I move the optee at the beginning of the ram, I get this error once every few resets``` ... Authentication passed Authentication passed Loading Environment from nowhere... OK init_env from device 9 not supported! Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices ```Quoted 2 lines
and after that a freeze. I am starting to think that this is another, unrelated issue.
Yes, I can confirm that this is another, but related issue :-/
...
Quoted 3 lines
On the other topic I am waiting for TI advise if they plan to fix
spl_enable_cache()or I would need to work on revising the memory map for the various firmwares + U-Boot.
current master +
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/[email protected]/
fixes the boot failure on Verdin AM62 512MB variants.
Tom: does this looks ok to you? It should solve this regression, finally.
Francesco
On February 9, 2026 thus sayeth Francesco Dolcini:
Quoted 47 lines · Francesco Dolcini
Quoted 35 lines · Suhaas Joshi
Quoted 22 lines · Francesco Dolcini
Quoted 12 lines
+ Bryan, Anshul
Quoted 5 lines · Francesco Dolcini
Verdin AM62 and AM62P are not booting anymore with U-Boot
42b3ee7fa524, everything was fine withb5213bbfdcb1.Looking at the commits between the two revision, I would say that the
issue is with this series https://lore.kernel.org/all/[email protected]/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?
Quoted 7 lines
* 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
Quoted 7 lines
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"").
Quoted 9 lines
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, howeverCONFIG_K3_ATF_LOAD_ADDRis0x80000000, while before in the dtsi file it was0x70000000. I tried changing it back without any positive result, I just got an EL3 exception.Any more test I should do?
Do you mind copying a boot log to a pastebin for me? I thought I had one of these boards but I'm still digging around for it. 0x80000000 should be where we load TFA now days unless some boards have opted out of letting U-Boot move it to the bottom of DRAM
~Bryan