Bug 14021 - Start op-tee start on imx8mm_evk
Summary: Start op-tee start on imx8mm_evk
Status: RESOLVED DUPLICATE of bug 14006
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2021.05
Hardware: Other Other
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-12 14:56 UTC by v9sd
Modified: 2021-07-19 07:43 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description v9sd 2021-07-12 14:56:32 UTC
Hello!
I have a problem with op-tee start on imx8mm_evk (https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-for-the-i-mx-8m-mini-applications-processor:8MMINILPD4-EVK).

My .config file is attached.


I write output/images/sdcard.img on sdcadr, connect terminal emultaion with serial port and start imx8.

After below output imx8mm_evk is output nothing.
U-Boot SPL 2020.04 (Jul 12 2021 - 16:19:50 +0300)
Can't find PMIC:PCA9450
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1
NOTICE:  BL31: v2.4(release):2021.05-393-gb928074e2d
NOTICE:  BL31: Built : 16:16:43, Jul 12 2021


Problem arises after jump execution on op-tee entry point address (0xbe000000)


After reaching the above address breakpoint, we have content in memory: 

(gdb) x/10i $pc
=> [34m0xbe000000[m <[33m_start[m>:     .inst   0x00150000 ; undefined
   [34m0xbe000004[m <[33m_start[m+4>:   .inst   0x00000000 ; undefined
   [34m0xbe000008[m <[33m_start[m+8>:   .inst   0x00000000 ; undefined
   [34m0xbe00000c[m <[33m_start[m+12>:  .inst   0x00000000 ; undefined
   [34m0xbe000010[m <[33m_start[m+16>:  .inst   0x00000000 ; undefined
   [34m0xbe000014[m <[33m_start[m+20>:  .inst   0x00000000 ; undefined
   [34m0xbe000018[m <[33m_start[m+24>:  .inst   0x00000000 ; undefined
   [34m0xbe00001c[m <[33m_start[m+28>:  .inst   0x00000000 ; undefined
   [34m0xbe000020[m <[33m_start[m+32>:  .inst   0x00000000 ; undefined
   [34m0xbe000024[m <[33m_start[m+36>:  .inst   0x00400000 ; undefined

As we look, it is not valid instructions opcode.

After continue execution, imx8 freezes.

Guess that the op-tee was not load in memory in uboot-spl.
Comment 1 v9sd 2021-07-19 07:43:53 UTC

*** This bug has been marked as a duplicate of bug 14006 ***