Changes between Version 4 and Version 5 of venice/tee


Ignore:
Timestamp:
10/21/2021 05:59:17 PM (13 months ago)
Author:
Tim Harvey
Comment:

fixed tee build instructions for latest tee branch

Legend:

Unmodified
Added
Removed
Modified
  • venice/tee

    v4 v5  
    8080git clone https://source.codeaurora.org/external/imx/imx-optee-os -b lf-5.10.52_2.1.0
    8181cd imx-optee-os
    82 rm -rf build*
    83 ARCH=arm ./scripts/nxp_build.sh imx-mx8mmevk && cp build.imx-mx8mmevk/tee-imx-mx8mmevk.bin ../u-boot/tee.bin
     82make -j8 \
     83  ARCH=arm \
     84  CROSS_COMPILE64=$CROSS_COMPILE \
     85  CFG_TEE_CORE_LOG_LEVEL=2 \
     86  PLATFORM=imx \
     87  PLATFORM_FLAVOR=mx8mmevk \
     88  O=out && ${CROSS_COMPILE}objcopy -O binary out/core/tee.elf ../u-boot/tee.bin
     89# confirm TEE_LOAD_ADDR
     90${CROSS_COMPILE}readelf -h out/core/tee.elf | grep "Entry point address" | awk '{print $4}'
     91echo $TEE_LOAD_ADDR # should agree with above result
    8492}}}
     93  - note that out/core/tee.bin is not the correct file that needs to be copied to your u-boot directory; you must use objcopy to produce it
    8594 * rebuild ATF and copy bl31.bin to your U-Boot build dir
    8695{{{#!bash