<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: OPTEE with Android on IMX6 quad in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818895#M126149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，&lt;A _jive_internal="true" data-avatarid="29594" data-externalid="" data-online="false" data-presence="null" data-userid="320447" data-username="saidgani.musaev@gmail.com" href="https://community.nxp.com/people/saidgani.musaev@gmail.com" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;Saidgani Musaev&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Thanks for your apply，the type of board which I am using is IMX6Q，the method of booting the IMX6Q board is by sdcard，the address of FDT and NS_ENTRY are the same with your board.I do not understand the meaning of "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;then I just changed bootz {a_zImage}... to bootm 0x20000000&lt;/SPAN&gt;", like bootm 0x20000000 -&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;0x18000000 ? and I can not find your&amp;nbsp;&lt;SPAN&gt;6x_bootscript&amp;nbsp; too, can you just copy and paste your bootscript in the answer,thank you very mach!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Aug 2018 01:44:20 GMT</pubDate>
    <dc:creator>chenlifu2015</dc:creator>
    <dc:date>2018-08-27T01:44:20Z</dc:date>
    <item>
      <title>OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818892#M126146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone, I am using Nitrogen6x board from boundarydevice. It's based on IMX6Q chip. I am working on studying project related to Trusted execution environment. I could boot OPTEE with Linux kernel from linaro repo. When I try to boot Android with OPTEE it is stuck. I see logs from OPTEE itself: the last log message is "Primary CPU switching to normal world boot". I got android sources from boundary device private repo. Without OPTEE Android boots correctly. With the same OPTEE kernel,&amp;nbsp; Linux kernel boots correctly as well( all client tests pass ). I recompiled Android kernel with CONFIG_EARLY_PRINTK and CONFIG_EARLY_PRINTK_DIRECT. Also I disabled SMP to not boot secondary CPUs.&amp;nbsp; I don't see any message after OPTEE&amp;nbsp;executes&amp;nbsp;"smc #0" for first time. I assume Android booting code does do something which is forbidden in normal world. I wrote to Boundary Device support (&lt;A class="link-titled" href="https://boundarydevices.com/android-getting-started-guide/" title="https://boundarydevices.com/android-getting-started-guide/"&gt;Android Getting Started Guide - Boundary Devices&lt;/A&gt;&amp;nbsp;), but they directed me here :smileyhappy:. What could be a good starting point for me to get deep and to port Android to my board? As I understand this Android distribution will not work with "Trusty"-TEE, right?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 18:51:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818892#M126146</guid>
      <dc:creator>saidgani_musaev</dc:creator>
      <dc:date>2018-08-23T18:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818893#M126147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;A _jive_internal="true" data-content-finding="Community" data-userid="320447" data-username="saidgani.musaev@gmail.com" href="https://community.nxp.com/people/saidgani.musaev@gmail.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Saidgani Musaev&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am also trying to load Android img with OP-TEE,but how do you boot &amp;nbsp;tee.bin and boot.img, use boota cmd or bootm? can you tell me the environment in&amp;nbsp; U-Boot ? I have been blocked by this problem, Thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 03:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818893#M126147</guid>
      <dc:creator>chenlifu2015</dc:creator>
      <dc:date>2018-08-24T03:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818894#M126148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which chip do you use? In general it is similar to what you are doing for booting Linux Kernel. I modified 6x_bootscript which is located on boot partition on my boot flash( note that I am working with ready sdcard. I put link to instruction in my question). In this script I have changed addresses of zImage, fdt, ramdisk and script. It really depends on how did you compile OPTEE( in my case FDT is supposed to be on address 0x18000000, NS_Entry_addr is 0x12000000 ), so in my case I used these addresses:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;setexpr a_script&amp;nbsp; 0x10000000&lt;BR /&gt;setexpr a_zImage&amp;nbsp; 0x12000000&lt;BR /&gt;setexpr a_fdt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x18000000&lt;BR /&gt;setexpr a_ramdisk 0x13800000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just before booting Android Kernel I loaded tee.bin (I used address 0x20000000 for this purpose), and then I just changed bootz {a_zImage}... to bootm 0x20000000. I hope it helped, Please let me know about your progress and which board do you use. Anyway I am going to put step by step guide to boot it on for my board. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 06:51:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818894#M126148</guid>
      <dc:creator>saidgani_musaev</dc:creator>
      <dc:date>2018-08-24T06:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818895#M126149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，&lt;A _jive_internal="true" data-avatarid="29594" data-externalid="" data-online="false" data-presence="null" data-userid="320447" data-username="saidgani.musaev@gmail.com" href="https://community.nxp.com/people/saidgani.musaev@gmail.com" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;Saidgani Musaev&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Thanks for your apply，the type of board which I am using is IMX6Q，the method of booting the IMX6Q board is by sdcard，the address of FDT and NS_ENTRY are the same with your board.I do not understand the meaning of "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;then I just changed bootz {a_zImage}... to bootm 0x20000000&lt;/SPAN&gt;", like bootm 0x20000000 -&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;0x18000000 ? and I can not find your&amp;nbsp;&lt;SPAN&gt;6x_bootscript&amp;nbsp; too, can you just copy and paste your bootscript in the answer,thank you very mach!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 01:44:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818895#M126149</guid>
      <dc:creator>chenlifu2015</dc:creator>
      <dc:date>2018-08-27T01:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818896#M126150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, yes, like bootm 0x20000000 ..., but you miss ramdisk. I have attached my script here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# ==================== script ================================&lt;/P&gt;&lt;P&gt;setenv bootpart 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;setexpr rval *0x020CC068 \&amp;amp; 0x180&lt;BR /&gt;if itest.s "x$rval" -eq "x100"; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "Starting fastboot..."&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fastboot 0&lt;BR /&gt;else&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if itest.s "x$rval" -eq "x80"; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;setenv bootpart 2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fi&lt;BR /&gt;fi&lt;BR /&gt;mw.l 0x020cc068 0 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;setenv bootargs ''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;m4=''&lt;BR /&gt;a_base=0x10000000&lt;BR /&gt;if itest.s x51 == "x${cpu}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;a_base=0x90000000&lt;BR /&gt;elif itest.s x53 == "x${cpu}"; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;a_base=0x70000000&lt;BR /&gt;elif itest.s x6SX == "x${cpu}" || itest.s x7D == "x${cpu}"; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;a_base=0x80000000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if itest.s "x1" == "x$m4enabled" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;run m4boot;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;m4='-m4';&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fi&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;setexpr a_script&amp;nbsp; 0x10000000&lt;BR /&gt;setexpr a_zImage&amp;nbsp; 0x12000000&lt;BR /&gt;setexpr a_fdt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x18000000&lt;BR /&gt;setexpr a_ramdisk 0x13800000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itest.s "x" == "x${board}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "!!!! Error: Your u-boot is outdated. Please upgrade.";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;exit;&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itest.s "x" == "x${dtbname}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if itest.s x6SOLO == "x${cpu}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;dtbname=imx6dl-${board}.dtb;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;elif itest.s x6DL == "x${cpu}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;dtbname=imx6dl-${board}.dtb;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;elif itest.s x6QP == "x${cpu}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;dtbname=imx6qp-${board}.dtb;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;elif itest.s x6SX == "x${cpu}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;dtbname=imx6sx-${board}${m4}.dtb;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;elif itest.s x7D == "x${cpu}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;dtbname=imx7d-${board}${m4}.dtb;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;elif itest.s x51 == "x${cpu}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;dtbname=imx51-${board}${m4}.dtb;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;elif itest.s x53 == "x${cpu}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;dtbname=imx53-${board}${m4}.dtb;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;dtbname=imx6q-${board}.dtb;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fi&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if load ${dtype} ${disk}:${bootpart} ${a_script} uEnv.txt ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; env import -t ${a_script} ${filesize}&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if load ${dtype} ${disk}:${bootpart} ${a_fdt} ${bootdir}${dtbname} ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fdt addr ${a_fdt}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;setenv fdt_high 0xffffffff&lt;BR /&gt;else&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "!!!! Error loading ${bootdir}${dtbname}";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;exit;&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cmd_xxx_present=&lt;BR /&gt;fdt resize&lt;BR /&gt;if itest.s "x" != "x${cmd_custom}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;run cmd_custom&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cmd_xxx_present=1;&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# ------------------- Displays detection&lt;BR /&gt;if itest.s "x" != "x${cmd_hdmi}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;run cmd_hdmi&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cmd_xxx_present=1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if itest.s x == x${allow_noncea} ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;setenv bootargs ${bootargs} mxc_hdmi.only_cea=1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "only CEA modes allowed on HDMI port";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;setenv bootargs ${bootargs} mxc_hdmi.only_cea=0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "non-CEA modes allowed on HDMI, audio may be affected";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fi&lt;BR /&gt;fi&lt;BR /&gt;if itest.s "x" != "x${cmd_lcd}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;run cmd_lcd&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cmd_xxx_present=1;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;setenv bootargs $bootargs tsc2004.calibration=-67247,-764,272499173,324,69283,-8653010,65536&lt;BR /&gt;fi&lt;BR /&gt;if itest.s "x" != "x${cmd_lvds}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;run cmd_lvds&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cmd_xxx_present=1;&lt;BR /&gt;fi&lt;BR /&gt;if itest.s "x" != "x${cmd_lvds2}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;run cmd_lvds2&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cmd_xxx_present=1;&lt;BR /&gt;fi&lt;BR /&gt;if itest.s "x" == "x${cmd_xxx_present}" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "!!!!!!!!!!!!!!!!"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "warning: your u-boot may be outdated, please upgrade"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo "!!!!!!!!!!!!!!!!"&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;setenv bootargs "$bootargs console=${console},115200 vmalloc=128M consoleblank=0 androidboot.selinux=permissive androidboot.selinux=enforcing rootwait"&lt;BR /&gt;setenv bootargs $bootargs androidboot.hardware=freescale&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itest.s "xsata" == "x$dtype" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;bootdev=sda&lt;BR /&gt;elif itest.s "xusb" == "x$dtype" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;bootdev=sda&lt;BR /&gt;else&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;bootdev=mmcblk${disk}&lt;BR /&gt;fi&lt;BR /&gt;setenv bootargs $bootargs androidboot.bootdev=$bootdev&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itest.s "x" != "x$selinux" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;setenv bootargs $bootargs androidboot.selinux=$selinux&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# add serial number based on MAC address&lt;BR /&gt;setexpr mac_hi *0x021bc630&lt;BR /&gt;setexpr mac_lo *0x021bc620&lt;BR /&gt;setenv bootargs $bootargs androidboot.serialno="$mac_hi$mac_lo"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itest.s "x" != "x$hwrotation" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;setenv bootargs $bootargs androidboot.hwrotation=$hwrotation&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itest.s "x" != "x$disable_giga" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setenv bootargs $bootargs fec.disable_giga=1&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itest.s "x" != "x$wlmac" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;setenv bootargs $bootargs wlcore.mac=$wlmac&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;setenv bootargs $bootargs androidboot.wlan.mac=$wlmac&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;# create a bt mac address from the wlan one&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;setexpr btmac sub "(..:..:..:).(.*)" "\\1b\\2" ${wlmac}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;setenv bootargs $bootargs androidboot.btmacaddr=${btmac}&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itest.s "x" == "x$cma" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;cma=448M&lt;BR /&gt;fi&lt;BR /&gt;setenv bootargs $bootargs cma=$cma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itest.s "x" != "x$gpumem" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;setenv bootargs $bootargs galcore.contiguousSize=$gpumem&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itest.s "x" != "x$show_fdt" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fdt print /&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if itest.s "x" != "x$show_env" ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;printenv&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tftp 0x20000000 uTee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ${fs}load ${dtype} ${disk}:${bootpart} ${a_zImage} zImage ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ${fs}load ${dtype} ${disk}:${bootpart} ${a_ramdisk} uramdisk.img ; then&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bootm 0x20000000 ${a_ramdisk} ${a_fdt} ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;fi&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;echo "Error loading the OS"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 10:42:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818896#M126150</guid>
      <dc:creator>saidgani_musaev</dc:creator>
      <dc:date>2018-08-27T10:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818897#M126151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi，&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="320447" data-objecttype="3" href="https://community.nxp.com/people/saidgani.musaev@gmail.com" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Saidgani Musaev&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Thanks for your apply，I just load optee on IMX6Q by referencing your idea，I just modify the function ：do_boota，because do_boota finally used function :do_bootm，so I fixed the args for the do_bootm like:"sprintf(boot_addr_start, "0x%lx", tee_entry_addr);" (&lt;SPAN&gt;tee_entry_addr is 0x4E000000&lt;/SPAN&gt;).In this way，I just load boot.img and the use boota cmd，then，uboot will load the optee correctly，but I also stuck in the log：“Primary CPU switching to normal world boot”， and I think the question is not about android code，I think the reason is we changed the process of loading kernel(like analysis zImge or boot.img)，so when optee has been load and return to normal world for loading kernel，can not get the args(like length load address entry address and bootargs) for loading kernel&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 07:45:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818897#M126151</guid>
      <dc:creator>chenlifu2015</dc:creator>
      <dc:date>2018-08-28T07:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818898#M126152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think so.&lt;/P&gt;&lt;P&gt;Here is code from core/arch/arm/kernel/geberic_entry_a32.S:&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;/*
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Save boot arguments
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * entry r0, saved r4: pagestore
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * entry r1, saved r7: (ARMv7 standard bootarg #1)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * entry r2, saved r6: device tree address, (ARMv7 standard bootarg #2)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * entry lr, saved r5: non-secure entry address (ARMv7 bootarg #0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;macro bootargs_entry
&lt;SPAN class="property macro token"&gt;#if defined(CFG_NS_ENTRY_ADDR)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ldr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;r5&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;CFG_NS_ENTRY_ADDR
&lt;SPAN class="property macro token"&gt;#else&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mov&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;r5&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; lr
&lt;SPAN class="property macro token"&gt;#endif&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#if defined(CFG_PAGEABLE_ADDR)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ldr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;r4&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;CFG_PAGEABLE_ADDR
&lt;SPAN class="property macro token"&gt;#else&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mov&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;r4&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; r0
&lt;SPAN class="property macro token"&gt;#endif&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#if defined(CFG_DT_ADDR)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ldr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;r6&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;CFG_DT_ADDR
&lt;SPAN class="property macro token"&gt;#else&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mov&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;r6&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; r2
&lt;SPAN class="property macro token"&gt;#endif&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mov&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;r7&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; r1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;endm
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So as you see bootargs are being saved for normal world. Moreover - I could boot Android with OPTEE. But I have weird problem with Android itself - it remounts filesystem, restart services and then reboots itself. I used Android kernel from linaro for hikey( which is ported for using with OPTEE).&amp;nbsp; (&lt;A class="link-titled" href="https://github.com/linaro-swg/optee_android_manifest" rel="nofollow noopener noreferrer" title="https://github.com/linaro-swg/optee_android_manifest" target="_blank"&gt;GitHub - linaro-swg/optee_android_manifest: Android manifest for building OP-TEE in AOSP&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 20:09:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818898#M126152</guid>
      <dc:creator>saidgani_musaev</dc:creator>
      <dc:date>2018-08-28T20:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818899#M126153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;It is my bad,but I&amp;nbsp;still think&amp;nbsp;the problem is not about the Android code,maybe we should read the code of the bootloader(u-boot) more carefully，or OP-TEE may not be load correctly（I supprt the SMP，the Second Cpu init will print another log，but I do not see it）because in this case，system.img&amp;nbsp; is load behind boot.img, when we resolve this problem,system.img maybe load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 06:23:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818899#M126153</guid>
      <dc:creator>chenlifu2015</dc:creator>
      <dc:date>2018-08-29T06:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818900#M126154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I could boot everything with different version of the kernel. But currently I have another problem - healthd daemon and some other services don't work. I am still looking for different configurations of AOSP( but it takes a lot of time to download it,&amp;nbsp; build it, reconfigure it). But at least I could boot it. The main problem with current build is that I can't enable adb shell. And I can't get root access through serial console. So, as far as different Kernel works ( with absolutely the same environment, filesystem, init scripts etc.) - I think the problem is in Kernel(boot) code :smileyhappy: .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. You can find link to the working kernel in my previous message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 19:05:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818900#M126154</guid>
      <dc:creator>saidgani_musaev</dc:creator>
      <dc:date>2018-08-29T19:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818901#M126155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，Thanks for your share，I will use your kernel code to build boot.img and try again，The link to working kernel is&amp;nbsp;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Flinaro-swg%2Foptee_android_manifest" rel="nofollow" style="color: #3d9ce7; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;GitHub - linaro-swg/optee_android_manifest: Android manifest for building OP-TEE in AOSP&lt;/A&gt;？Should I download another version of the kernel，because you said "&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;I could boot everything with different version of the kernel&lt;/SPAN&gt;",can you tell me the link to working OP-TEE and Android Code，I want to use the same code exactly like you，so I will rule out the&amp;nbsp;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13px;"&gt;&amp;nbsp;possibilities of wrong code。&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 01:34:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818901#M126155</guid>
      <dc:creator>chenlifu2015</dc:creator>
      <dc:date>2018-08-30T01:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818902#M126156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;SPAN style="background-color: #ffffff; color: #646464; font-size: 18.004px;"&gt;I have used the kernel with the link：&lt;SPAN style="color: #51626f;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Flinaro-swg%2Foptee_android_manifest" rel="nofollow" style="color: #3d9ce7; border: 0px; text-decoration: none; font-size: 15px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;GitHub - linaro-swg/optee_android_manifest: Android manifest for building OP-TEE in AOSP&lt;/A&gt;，but it does not work ，too.&lt;SPAN style="color: #51626f;"&gt;Should I download another version of the kernel,I have been drived mad by this question，I am looking forward to your apply，thanks for your help in this week。&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 07:00:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818902#M126156</guid>
      <dc:creator>chenlifu2015</dc:creator>
      <dc:date>2018-08-31T07:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818903#M126157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;I'm sorry to bother you，but I have tried so many versions of kernel, but I still can not boot optee and boot.img correctly,so,can you tell me the &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;link to the working kernel ,and the version you use, Thanks a lot&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 03:24:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818903#M126157</guid>
      <dc:creator>chenlifu2015</dc:creator>
      <dc:date>2018-09-06T03:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818904#M126158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello , I am really sorry for "ignoring" your questions. I was busy recent days.&amp;nbsp; I would really love to help you with that. Could we move our discussion in other chat. Because of it's hard to discuss it here. You can find me on Facebook by my name. Or Send me a pm, please. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 15:56:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818904#M126158</guid>
      <dc:creator>saidgani_musaev</dc:creator>
      <dc:date>2018-09-06T15:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: OPTEE with Android on IMX6 quad</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818905#M126159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;A _jive_internal="true" data-avatarid="29594" data-externalid="" data-online="false" data-presence="null" data-userid="320447" data-username="saidgani.musaev@gmail.com" href="https://community.nxp.com/people/saidgani.musaev@gmail.com" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;Saidgani Musaev&lt;/A&gt;&lt;SPAN style="color: #3d9ce7; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I have send a message to you in facebook,my name is the same with the username in NXP: 陈礼夫，I enable the CONFIG_DEBUG_PRINTK and CONFIG_DEBUG_LL,I got more details about the problem:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unhandled fault: imprecise external abort (0xc06) at 0x12402d8c&lt;BR /&gt;10:33:41.297: pgd = c0004000&lt;BR /&gt;10:33:41.301: [12402d8c] *pgd=00000000&lt;BR /&gt;10:33:41.301: Internal error: : c06 [#1] PREEMPT ARM&lt;BR /&gt;10:33:41.305: Modules linked in:&lt;BR /&gt;10:33:41.309: CPU: 0 PID: 0 Comm: swapper Tainted: G W 4.1.15-dirty #1&lt;BR /&gt;10:33:41.313: Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)&lt;BR /&gt;10:33:41.318: task: c110a3f8 ti: c1100000 task.ti: c1100000&lt;BR /&gt;10:33:41.323: PC is at &lt;STRONG&gt;find_static_vm_vaddr&lt;/STRONG&gt;+0x18/0x6c&lt;BR /&gt;10:33:41.326: LR is at &lt;STRONG&gt;__iounmap&lt;/STRONG&gt;+0x14/0x50&lt;BR /&gt;10:33:41.329: pc : [&amp;lt;c01141d0&amp;gt;] lr : [&amp;lt;c011439c&amp;gt;] psr: 20000093&lt;BR /&gt;10:33:41.333: sp : c1101fa0 ip : 000000c0 fp : 00000000&lt;BR /&gt;10:33:41.338: r10: ee7572c0 r9 : c10846e0 r8 : c11f4000&lt;BR /&gt;10:33:41.342: r7 : ffffffff r6 : c1102000 r5 : c11f4000 r4 : f4a02000&lt;BR /&gt;10:33:41.347: r3 : eefffff8 r2 : eeffffd8 r1 : c110bf0c r0 : f4a02000&lt;BR /&gt;10:33:41.352: Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel&lt;BR /&gt;10:33:41.359: Control: 10c57c7d Table: 10004059 DAC: 00000015&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;so I am sure the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;the problem is in Kernel(boot) code,so can you tell me the right version for kernel code you use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks a lot&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2018 06:46:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OPTEE-with-Android-on-IMX6-quad/m-p/818905#M126159</guid>
      <dc:creator>chenlifu2015</dc:creator>
      <dc:date>2018-09-10T06:46:20Z</dc:date>
    </item>
  </channel>
</rss>

