AnsweredAssumed Answered

OP-TEE  U boot fail

Question asked by Zhenchuan Chai on Nov 21, 2018
Latest reply on Dec 27, 2018 by Zhenchuan Chai


I have included OP TEE in ppa by enabling CONFIG_BUILD_OPTEE=y in file configs/build_lsdk.cfg, and build a composite firmware by running:

       $flex-builder -i mkfw -m ls1012afrwy -b qspi

and installed the firmware_ls1012afrwy_uboot_qspiboot.img by:


    =>load mmc 0:2 $load_addr irmware_ls1012afrwy_uboot_qspiboot.img 

     => sf probe 0:0;sf erase 0 +$filesize; sf write $load_addr  0 $filesize

     => sf erase 0x1d0000 +0x10000;


However, the board counld boot after that.


Reset Configuration Word (RCW):

       00000000: 0800000a 00000000 00000000 00000000

       00000010: 33050000 c000000c 40000000 00001800

       00000020: 00000000 00000000 00000000 000c47f2

       00000030: 00000000 1082a120 00000096 00000000

I2C:   ready

DRAM:  446 MiB

PPA Firmware: Version LSDK-18.09

SEC Firmware: 'loadables' present in config

loadables: 'trustedOS@1'

E/TC:0 Panic at core/arch/arm/mm/core_mmu.c:1745 <check_pa_matches_va>

E/TC:0 Call stack:

E/TC:0  0x000000009c00a8d0


Anyone know why it fails?