ls1046ardb tfa

Renaud Barbier Renaud.Barbier at ametek.com
Fri Jul 18 07:05:18 PDT 2025


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






More information about the barebox mailing list