How to build optee on imx8mp development board?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to build optee on imx8mp development board?

995 Views
008kai
Contributor II

I currently use Toradex's verdin-imx8mp development board, but Toradex does not officially support optee. I use yocto to integrate optee os, optee client, and optee test into the root file system.After booting, I found that the optee os could not be successfully loaded. I don't know what the reason is. How can I correctly implement the support for optee on the verdin-imx8mp development board? What do I need to change?

 

U-Boot 2020.04-5.5.0-devel+git.ebd108076039 (Oct 26 2021 - 09:33:45 +0000)

CPU: i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 45C
Reset cause: POR
DRAM: 4 GiB
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Model: Toradex Verdin iMX8M Plus Quad 4GB Wi-Fi / BT IT V1.0D, Serial# 06965616
Carrier: Toradex Verdin Development Board V1.1B, Serial# 10866166

BuildInfo:
- ATF 835a8f6
- U-Boot 2020.04-5.5.0-devel+git.ebd108076039

Setting variant to wifi
flash target is MMC:2
Net: eth1: ethernet@30be0000, eth0: ethernet@30bf0000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
MMC: no card present
switch to partitions #0, OK
mmc2(part 0) is current device
Scanning mmc 2:1...
Found U-Boot script /boot.scr
5752 bytes read in 16 ms (350.6 KiB/s)
## Executing script at 46000000
Loading DeviceTree: imx8mp-verdin-wifi-dev.dtb
86334 bytes read in 16 ms (5.1 MiB/s)
86 bytes read in 12 ms (6.8 KiB/s)
Applying Overlay: verdin-imx8mp_native-hdmi_overlay.dtbo
1860 bytes read in 17 ms (106.4 KiB/s)
Applying Overlay: verdin-imx8mp_lt8912_overlay.dtbo
2007 bytes read in 19 ms (102.5 KiB/s)
10243712 bytes read in 96 ms (101.8 MiB/s)
Uncompressed size: 24199680 = 0x1714200
Bootargs: root=PARTUUID=0bede1fb-02 ro rootwait console=ttymxc2,115200 console=tty1 consoleblank=0 earlycon
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Loading Device Tree to 00000000fdbba000, end 00000000fdbf2fff ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.4.129-5.5.0-devel+git.828ec42a6a32 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Wed Oct 27 12:15:27 UTC 2021
[ 0.000000] Machine model: Toradex Verdin iMX8M Plus WB on Verdin Development Board
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 960 MiB at 0x00000000c0000000
[ 0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030880000 (options '')
[ 0.000000] printk: bootconsole [ec_imx6q0] enabled
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000013fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x13f837500-0x13f838fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000013fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000557fffff]
[ 0.000000] node 0: [mem 0x0000000056000000-0x00000000923fffff]
[ 0.000000] node 0: [mem 0x00000000a4400000-0x000000013fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 24 pages/cpu s58904 r8192 d31208 u98304
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] Speculative Store Bypass Disable mitigation not required
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 957600
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: root=PARTUUID=0bede1fb-02 ro rootwait console=ttymxc2,115200 console=tty1 consoleblank=0 earlycon
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0xbc000000-0xc0000000] (64MB)
[ 0.000000] Memory: 2737444K/3891200K available (13948K kernel code, 976K rwdata, 6148K rodata, 2496K init, 1014K bss, 170716K reserved, 983040K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Tasks RCU enabled.

error1.png

 

0 Kudos
1 Reply