mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* 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

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