* ls1046ardb tfa
@ 2025-07-18 14:05 Renaud Barbier
2025-07-18 14:31 ` Renaud Barbier
0 siblings, 1 reply; 2+ messages in thread
From: Renaud Barbier @ 2025-07-18 14:05 UTC (permalink / raw)
To: Barebox List
We have a board using the LS1046A (based on the LS1046ARDB) and recently moved to v2025.06.1.
There is a failure to boot.
I noticed that the PPA support is gone from the ls1046ardb and enabled FIRMWARE_LS1046A_ATF and
built the bl31.bin file from https://github.com/nxp-qoriq/atf.git which is copied under the directory firmware/
At present, I have a limited knowledge of TFA support.
The dram structure passed to bl31 is as follows:
static struct dram_regions_info dram_info = {
.num_dram_regions = 1,
.total_dram_size = SZ_2G,
.region = {
{
.addr = SZ_2G,
.size = SZ_2G,
},
},
};
Debug output:
Data Bus test:
Walking 0: PASS
Walking 1: PASS
Pattern Test:
Pattern (ffffffff): PASS.............
Pattern (0): PASS.............
layerscape-tfa: ls1046_start_tfa
firmware_ext_verify
CH cb617c70c11f0f4d21bc31e1e324a952b313de0629cd13f80bd50470814e8a1a
IH cb617c70c11f0f4d21bc31e1e324a952b313de0629cd13f80bd50470814e8a1a
Hexdump of first 64 bytes of 70065
HASH ret = 0
layerscape-tfa: copy bl31: 00000000800975e0, 70065
layerscape-tfa: sync cache
layerscape-tfa: asm
layerscape-tfa: call bl2_plat_get_bl31_params_v2
layerscape-tfa: Starting bl31
Seeing the TQMLS1046A uses the BL31 firmware, I was wondering if my build of bl31.bin is correct.
Any help welcome.
Cheers,
Renaud
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ls1046ardb tfa
2025-07-18 14:05 ls1046ardb tfa Renaud Barbier
@ 2025-07-18 14:31 ` Renaud Barbier
0 siblings, 0 replies; 2+ messages in thread
From: Renaud Barbier @ 2025-07-18 14:31 UTC (permalink / raw)
To: Barebox List
I progressed a bit further. Indeed, wrong build on the bl31.bin as I have not sepcified the platform. Now it is getting further but still does not reach the prompt
NOTICE: BL31: v2.10.0ng(release):lf-6.12.3-1.0.0-dirty
NOTICE: BL31: Built : 14:26:35, Jul 18 2025
NOTICE: Welcome to ls1046ardb BL31 Phase
pbl_barebox_uncompress: call decompress
________________________________________
From: barebox <barebox-bounces@lists.infradead.org> on behalf of Renaud Barbier <Renaud.Barbier@ametek.com>
Sent: Friday, July 18, 2025 15:05
To: Barebox List <barebox@lists.infradead.org>
Subject: ls1046ardb tfa
***NOTICE*** This came from an external source. Use caution when replying, clicking links, or opening attachments.
We have a board using the LS1046A (based on the LS1046ARDB) and recently moved to v2025.06.1.
There is a failure to boot.
I noticed that the PPA support is gone from the ls1046ardb and enabled FIRMWARE_LS1046A_ATF and
built the bl31.bin file from https://urldefense.com/v3/__https://github.com/nxp-qoriq/atf.git__;!!HKOSU0g!C9vKWfP9wujy1d2qcUffTIROvYfo1SQ87Je7j29fjUHLloGxr-0qj3cDKsD2vg7HszKQTkxkg6uGG7QTMuTTUiHA55pc$ which is copied under the directory firmware/
At present, I have a limited knowledge of TFA support.
The dram structure passed to bl31 is as follows:
static struct dram_regions_info dram_info = {
.num_dram_regions = 1,
.total_dram_size = SZ_2G,
.region = {
{
.addr = SZ_2G,
.size = SZ_2G,
},
},
};
Debug output:
Data Bus test:
Walking 0: PASS
Walking 1: PASS
Pattern Test:
Pattern (ffffffff): PASS.............
Pattern (0): PASS.............
layerscape-tfa: ls1046_start_tfa
firmware_ext_verify
CH cb617c70c11f0f4d21bc31e1e324a952b313de0629cd13f80bd50470814e8a1a
IH cb617c70c11f0f4d21bc31e1e324a952b313de0629cd13f80bd50470814e8a1a
Hexdump of first 64 bytes of 70065
HASH ret = 0
layerscape-tfa: copy bl31: 00000000800975e0, 70065
layerscape-tfa: sync cache
layerscape-tfa: asm
layerscape-tfa: call bl2_plat_get_bl31_params_v2
layerscape-tfa: Starting bl31
Seeing the TQMLS1046A uses the BL31 firmware, I was wondering if my build of bl31.bin is correct.
Any help welcome.
Cheers,
Renaud
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-18 14:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-18 14:05 ls1046ardb tfa Renaud Barbier
2025-07-18 14:31 ` Renaud Barbier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox