LS1028A TFA problems

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1028A TFA problems

1,011 次查看
barce
Contributor I

Hello, When burning the system via an SD card on my 1028A board, I encountered issues during the BL2 phase of TFA (Trusted Firmware-A). Sometimes it fails at loading image 4 during the BL2 stage, and other times it fails at loading image 5. The specific issues are as follows. How can I resolve this problem? thank you!

INFO: RCW BOOT SRC is SD

INFO: SoC workaround for DDR Errata A009803 was applied

INFO: SoC workaround for DDR Errata A009942 was applied

INFO: SoC workaround for DDR Errata A010165 was applied

INFO: time base 0 ms

NOTICE: Fixed DDR on board

INFO: Time after parsing SPD 4 ms

INFO: Time before programming controller 8 ms

NOTICE: 2 GB DDR4, 32-bit, CL=11, ECC off

INFO: Time used by DDR driver 18 ms

INFO: RCW BOOT SRC is SD

INFO: esdhc_emmc_init

INFO: Card detected successfully

INFO: init done:

NOTICE: BL2: Built : 11:17:14, Feb 28 2025

INFO: Configuring TrustZone Controller

INFO: ******* image_id: 3 ********

INFO: image_base: 4225761280;image_size: 0;image_max_size: 2097152;

INFO: type: 1;version: 2;size: 24;attr: 4

INFO: ******* image_id: 4 ********

INFO: image_base: 4227858432;image_size: 0;image_max_size: 67108864;

INFO: type: 1;version: 2;size: 24;attr: 0

INFO: ******* image_id: 5 ********

INFO: image_base: 2181038080;image_size: 0;image_max_size: 2044723200;

INFO: type: 1;version: 2;size: 24;attr: 0

INFO: BL2: Doing platform setup

NOTICE: start bl2_load_images id 3

INFO: BL2: Loading image id 3

INFO: Loading image id=3 at address 0xfbe00000

INFO: Image id=3 loaded: 0xfbe00000 - 0xfbe0d23d

INFO: load_auth_image_internal: 0

NOTICE: start post_image_load id 3

NOTICE: start bl2_load_images id 4

INFO: BL2: Loading image id 4

WARNING: Firmware Image Package header check failed. id=0

WARNING: Failed to obtain reference to image id=4 (-2)

INFO: load_auth_image_internal: -2

ERROR: BL2: Failed to load image id 4 (-2)

Authentication failure


INFO: image_base: 4225761280;image_size: 0;image_max_size: 2097152;

INFO: type: 1;version: 2;size: 24;attr: 4

INFO: ******* image_id: 4 ********

INFO: image_base: 4227858432;image_size: 0;image_max_size: 67108864;

INFO: type: 1;version: 2;size: 24;attr: 0

INFO: ******* image_id: 5 ********

INFO: image_base: 2181038080;image_size: 0;image_max_size: 2044723200;

INFO: type: 1;version: 2;size: 24;attr: 0

INFO: BL2: Doing platform setup

NOTICE: start bl2_load_images id 3

INFO: BL2: Loading image id 3

INFO: Loading image id=3 at address 0xfbe00000

INFO: Image id=3 loaded: 0xfbe00000 - 0xfbe0d23d

INFO: load_auth_image_internal: 0

NOTICE: start post_image_load id 3

NOTICE: start bl2_load_images id 4

INFO: BL2: Loading image id 4

INFO: Loading image id=4 at address 0xfc000000

INFO: Image id=4 loaded: 0xfc000000 - 0xfc07bdc0

INFO: load_auth_image_internal: 0

NOTICE: start post_image_load id 4

NOTICE: start bl2_load_images id 5

INFO: BL2: Loading image id 5

WARNING: Firmware Image Package header check failed. id=0

WARNING: Failed to obtain reference to image id=5 (-2)

INFO: load_auth_image_internal: -2

ERROR: BL2: Failed to load image id 5 (-2)

Authentication failure

 

 

标记 (1)
0 项奖励
回复
1 回复

988 次查看
yipingwang
NXP TechSupport
NXP TechSupport

1. Please use QCVS DDRv tool to do DDR optimization and validation.

2. Please refer to the following document to debug ATF.

https://community.nxp.com/t5/Layerscape-Knowledge-Base/Debugging-ATF-and-u-boot-with-CodeWarrior-for...

 

0 项奖励
回复