Other Parts Discussed in Thread: TDA4VH
hello,
I am using TDA4VH EVM board,and i‘m using sdk8.5.
I compiled OPTEE_OS according to the method in the figure below, and got tee-pager_v2.bin。
then i make the uboot,i change the Makefile in la
then make u-boot.
finally, i use dfu mode to verify the tiboot3.bin and tispl.bin
As a result, DFU started error,the log is below
U-Boot SPL 2021.01-dirty (May 10 2023 - 16:02:25 +0800) ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar') SPL initial stack usage: 13472 bytes Trying to boot from DFU ####DOWNLOAD ... OK Ctrl+C to exit ... Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted init_env from device 18 not supported! Starting ATF on ARM64 core... NOTICE: BL31: v2.7(release):v2.7.0-359-g1309c6c80 NOTICE: BL31: Built : 14:51:27, May 9 2023 ERROR: Unhandled External Abort received on 0x80000000 from S-EL1 ERROR: exception reason=0 syndrome=0xbf000000 Unhandled Exception from EL1 x0 = 0x000000009b600000 x1 = 0x0000000000000000 x2 = 0x0000000000000aff x3 = 0x000000009e867c58 x4 = 0x0000000002800000 x5 = 0x000000000000001f x6 = 0x000000000280001f x7 = 0x0000000000200000 x8 = 0x000000009e89ea00 x9 = 0x000000009e884ff0 x10 = 0x0000000000000000 x11 = 0x0000000000000000 x12 = 0x000000009e89e970 x13 = 0x000000000000000a x14 = 0x00000000ffffffff x15 = 0x0000000000000020 x16 = 0x000000009e813b68 x17 = 0x0000000000000000 x18 = 0x0000000000000000 x19 = 0x000000009e89eae8 x20 = 0x0000000000000001 x21 = 0x000000009e8736a4 x22 = 0x0000000000000000 x23 = 0x0000000000000007 x24 = 0x000000009e89ec30 x25 = 0x0000000000000000 x26 = 0x0000000000000005 x27 = 0x0000000000000006 x28 = 0x0000000000000001 x29 = 0x000000009e89ea10 x30 = 0x000000009e813b7c scr_el3 = 0x0000000000000e38 sctlr_el3 = 0x0000000030cd183f cptr_el3 = 0x0000000000000000 tcr_el3 = 0x0000000080803520 daif = 0x00000000000002c0 mair_el3 = 0x00000000004404ff spsr_el3 = 0x00000000800003c4 elr_el3 = 0x000000009e813b7c ttbr0_el3 = 0x0000000070011cc0 esr_el3 = 0x00000000bf000000 far_el3 = 0x0000000000000000 spsr_el1 = 0x0000000000000000 elr_el1 = 0x0000000000000000 spsr_abt = 0x0000000000000000 spsr_und = 0x0000000000000000 spsr_irq = 0x0000000000000000 spsr_fiq = 0x0000000000000000 sctlr_el1 = 0x0000000000c8180d actlr_el1 = 0x0000000000000000 cpacr_el1 = 0x0000000000000000 csselr_el1 = 0x0000000000000000 sp_el1 = 0x000000009e8744f0 esr_el1 = 0x0000000000000000 ttbr0_el1 = 0x000000009e894000 ttbr1_el1 = 0x0000000000000000 mair_el1 = 0x00000000ff00ff04 amair_el1 = 0x0000000000000000 tcr_el1 = 0x0000000180803fa0 tpidr_el1 = 0x0000000000000000 tpidr_el0 = 0x0000000000000000 tpidrro_el0 = 0x0000000000000000 par_el1 = 0x0400000002800b00 mpidr_el1 = 0x0000000080000000 afsr0_el1 = 0x0000000000000000 afsr1_el1 = 0x0000000000000000 contextidr_el1 = 0x0000000000000000 vbar_el1 = 0x000000009e801000 cntp_ctl_el0 = 0x0000000000000000 cntp_cval_el0 = 0x0000000000000000 cntv_ctl_el0 = 0x0000000000000000 cntv_cval_el0 = 0x0000000000000000 cntkctl_el1 = 0x0000000000000000 sp_el0 = 0x000000007000b2e0 isr_el1 = 0x0000000000000000 dacr32_el2 = 0x0000000000000000 ifsr32_el2 = 0x0000000000000000 cpuectlr_el1 = 0x0000001b00000040 cpumerrsr_el1 = 0x0000000000000000 l2merrsr_el1 = 0x0000000000000000
then i change the tee as UBOOT_TEE=$(TI_SDK_PATH)/board-support/prebuilt-images/bl32.bin,The result is normal
the log is
U-Boot SPL 2021.01-dirty (May 10 2023 - 15:55:02 +0800) ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 ti_i2c_eeprom_am6_get: Ignoring record id 255 SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar') SPL initial stack usage: 13472 bytes Trying to boot from DFU ####DOWNLOAD ... OK Ctrl+C to exit ... Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted init_env from device 18 not supported! Starting ATF on ARM64 core... NOTICE: BL31: v2.7(release):v2.7.0-359-g1309c6c80 NOTICE: BL31: Built : 14:51:27, May 9 2023 I/TC: I/TC: OP-TEE version: 3.20.0 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Mon Mar 13 15:43:08 UTC 2 023 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: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar') I/TC: HUK Initialized I/TC: Activated SA2UL device I/TC: Fixing SA2UL firewall owner for GP device I/TC: Enabled firewalls for SA2UL TRNG device I/TC: SA2UL TRNG initialized I/TC: SA2UL Drivers initialized I/TC: Primary CPU switching to normal world boot U-Boot SPL 2021.01-dirty (May 10 2023 - 15:54:58 +0800) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar') Trying to boot from DFU cdns-usb3-peripheral usb@6000000: Unable to get USB2 phy (ret -61) cdns-usb3-peripheral usb@6000000: Unable to get USB3 phy (ret -22) cdns-usb3-peripheral usb@6000000: DRD version v1 (ID: 0004024e, rev: 00000200) cdns-usb3-peripheral usb@6000000: Initialized ep0 support: cdns-usb3-peripheral usb@6000000: Initialized ep1out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep2out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep3out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep4out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep5out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep6out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep7out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep8out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep9out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep10out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep11out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep12out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep13out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep14out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep15out support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep1in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep2in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep3in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep4in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep5in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep6in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep7in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep8in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep9in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep10in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep11in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep12in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep13in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep14in support: BULK, INT ISO cdns-usb3-peripheral usb@6000000: Initialized ep15in support: BULK, INT ISO
Question
I saw that the size of the bl32.bin in the prebuilt-images and tee-pager_v2.bin compiled by myself was exactly the same. I want to ask where it was wrong.
best regards!