<?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>i.MX ProcessorsのトピックU-boot - Boot time optimization on imx8qm</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-Boot-time-optimization-on-imx8qm/m-p/1096101#M160559</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;We are working on imx8qm running with Android 9 automotive. We tried to optimize u-boot but it still takes ~2.59 sec to start the kernel. We have already removed unnecessary drivers and Logs. After looking more closely we see that there are some logs coming from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="border: 0px; font-weight: inherit;"&gt;tee.bin&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;which is sitting inside&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="border: 0px; font-weight: inherit;"&gt;/vendor/nxp-opensource/imx-mkimage&lt;/EM&gt;. Can we remove these logs ?&amp;nbsp;How can we further optimize u-boot ?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Here are the current logs from u-boot with timestamp:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="color: #51626f; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #cccccc; margin: 10px 0px; padding: 10px 20px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;[0.000001 0.000001]&lt;BR /&gt;[0.959662 0.959661] BTO: U-Boot SPL 2018.03-00004-g69a33ef (Apr 01 2020 - 19:04:59 +0530)&lt;BR /&gt;[1.278124 0.318462] U&lt;BR /&gt;[1.294403 0.016279] welcome to lk/MP&lt;BR /&gt;[1.295475 0.001072]&lt;BR /&gt;[1.295542 0.000067] boot args 0x2000000 0xfe000000 0x2000 0x&lt;BR /&gt;[1.297647 0.002105] generic_arm64_map_regs: failed -5 name=gic&lt;BR /&gt;[1.312700 0.015053] initializing trusty (Built: :00:46 Mar 5 2019)&lt;BR /&gt;[1.315494 0.002794] Initializing Trusted OS SMC handler&lt;BR /&gt;[1.317379 0.001885] int build_hset_all(struct uctx *):238: Rebuilding all handles set&lt;BR /&gt;[1.326491 0.009112] hwcrypto: 222: Initializing&lt;BR /&gt;[1.328177 0.001686] hwrng_caam: 44: Init HWRNG rvice provider&lt;BR /&gt;[1.330215 0.002038] hwrng_srv: 256: Start HWRNG service&lt;BR /&gt;[1.332220 0.002005] int rebui_hset_all(struct uctx *):238: Rebuilding all handles set&lt;BR /&gt;[1.342303 0.010083] hwcrypto_caam: 78: Init HWCRYPTO service provider&lt;BR /&gt;[1.344947 0.002644] hwcrypto_v: 306: Start HWCRYPTO service&lt;BR /&gt;[1.349575 0.004628] hwkey_caam: 169: Init HWKEY seice provider&lt;BR /&gt;[1.358296 0.008721] hwkey_caam: 138: Invalid magic&lt;BR /&gt;[1.363949 0.005653] hwkey_srv: 331: Start HWKEY service&lt;BR /&gt;[1.370600 0.006651] hwcrypto: 237: enter main event loo&lt;BR /&gt;[1.376187 0.005587] int rebuild_hset_all(struct uctx *):238: Rebuilding all handl set&lt;BR /&gt;[1.381949 0.005762] int rebuild_hset_all(struct uctx *):238: Rebuilding all handles set&lt;BR /&gt;[1.383734 0.001785] int rebuild_hset_all(struct uctx *):238: Reilding all handles set&lt;BR /&gt;[2.110303 0.726569] ss: get_rpmb_auth_key: failed to get key: -2&lt;BR /&gt;[2.128344 0.018041] ss: proxy_connect: can't t storage auth key: (-2)&lt;BR /&gt;[2.134139 0.005795] ipc: do_connect: failure initializinchannel state (1001)&lt;BR /&gt;[2.158401 0.024262] Fastboot: Normal&lt;BR /&gt;[2.159615 0.001214]&lt;BR /&gt;[2.593082 0.433467]&lt;BR /&gt;[2.593327 0.000245] Starting kernel ...&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2020 12:34:14 GMT</pubDate>
    <dc:creator>amit251291</dc:creator>
    <dc:date>2020-04-29T12:34:14Z</dc:date>
    <item>
      <title>U-boot - Boot time optimization on imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-Boot-time-optimization-on-imx8qm/m-p/1096101#M160559</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;We are working on imx8qm running with Android 9 automotive. We tried to optimize u-boot but it still takes ~2.59 sec to start the kernel. We have already removed unnecessary drivers and Logs. After looking more closely we see that there are some logs coming from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="border: 0px; font-weight: inherit;"&gt;tee.bin&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;which is sitting inside&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="border: 0px; font-weight: inherit;"&gt;/vendor/nxp-opensource/imx-mkimage&lt;/EM&gt;. Can we remove these logs ?&amp;nbsp;How can we further optimize u-boot ?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Here are the current logs from u-boot with timestamp:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="color: #51626f; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #cccccc; margin: 10px 0px; padding: 10px 20px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;[0.000001 0.000001]&lt;BR /&gt;[0.959662 0.959661] BTO: U-Boot SPL 2018.03-00004-g69a33ef (Apr 01 2020 - 19:04:59 +0530)&lt;BR /&gt;[1.278124 0.318462] U&lt;BR /&gt;[1.294403 0.016279] welcome to lk/MP&lt;BR /&gt;[1.295475 0.001072]&lt;BR /&gt;[1.295542 0.000067] boot args 0x2000000 0xfe000000 0x2000 0x&lt;BR /&gt;[1.297647 0.002105] generic_arm64_map_regs: failed -5 name=gic&lt;BR /&gt;[1.312700 0.015053] initializing trusty (Built: :00:46 Mar 5 2019)&lt;BR /&gt;[1.315494 0.002794] Initializing Trusted OS SMC handler&lt;BR /&gt;[1.317379 0.001885] int build_hset_all(struct uctx *):238: Rebuilding all handles set&lt;BR /&gt;[1.326491 0.009112] hwcrypto: 222: Initializing&lt;BR /&gt;[1.328177 0.001686] hwrng_caam: 44: Init HWRNG rvice provider&lt;BR /&gt;[1.330215 0.002038] hwrng_srv: 256: Start HWRNG service&lt;BR /&gt;[1.332220 0.002005] int rebui_hset_all(struct uctx *):238: Rebuilding all handles set&lt;BR /&gt;[1.342303 0.010083] hwcrypto_caam: 78: Init HWCRYPTO service provider&lt;BR /&gt;[1.344947 0.002644] hwcrypto_v: 306: Start HWCRYPTO service&lt;BR /&gt;[1.349575 0.004628] hwkey_caam: 169: Init HWKEY seice provider&lt;BR /&gt;[1.358296 0.008721] hwkey_caam: 138: Invalid magic&lt;BR /&gt;[1.363949 0.005653] hwkey_srv: 331: Start HWKEY service&lt;BR /&gt;[1.370600 0.006651] hwcrypto: 237: enter main event loo&lt;BR /&gt;[1.376187 0.005587] int rebuild_hset_all(struct uctx *):238: Rebuilding all handl set&lt;BR /&gt;[1.381949 0.005762] int rebuild_hset_all(struct uctx *):238: Rebuilding all handles set&lt;BR /&gt;[1.383734 0.001785] int rebuild_hset_all(struct uctx *):238: Reilding all handles set&lt;BR /&gt;[2.110303 0.726569] ss: get_rpmb_auth_key: failed to get key: -2&lt;BR /&gt;[2.128344 0.018041] ss: proxy_connect: can't t storage auth key: (-2)&lt;BR /&gt;[2.134139 0.005795] ipc: do_connect: failure initializinchannel state (1001)&lt;BR /&gt;[2.158401 0.024262] Fastboot: Normal&lt;BR /&gt;[2.159615 0.001214]&lt;BR /&gt;[2.593082 0.433467]&lt;BR /&gt;[2.593327 0.000245] Starting kernel ...&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 12:34:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-Boot-time-optimization-on-imx8qm/m-p/1096101#M160559</guid>
      <dc:creator>amit251291</dc:creator>
      <dc:date>2020-04-29T12:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot - Boot time optimization on imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-Boot-time-optimization-on-imx8qm/m-p/1096102#M160560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try the falcon mode in your BSP:&lt;/P&gt;&lt;P&gt;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgit.denx.de%2F%3Fp%3Du-boot.git%3Ba%3Dblob%3Bf%3Ddoc%2FREADME.falcon%3Bh%3De9f8a7583c721cd96eb364ff23d591c0284c70b3%3Bhb%3DHEAD" rel="nofollow" target="_blank"&gt;git.denx.de Git - u-boot.git/blob - doc/README.falcon&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as demonstrate the i.mx6Q:&lt;/P&gt;&lt;P&gt;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fimxdev.gitlab.io%2Ftutorial%2FHow_to_decrease_boot_time_on_iMX6%2F" rel="nofollow" target="_blank"&gt;How to decrease boot time on iMX6 - i.MXDev Blog&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2020 14:02:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-Boot-time-optimization-on-imx8qm/m-p/1096102#M160560</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2020-04-29T14:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot - Boot time optimization on imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-Boot-time-optimization-on-imx8qm/m-p/1096103#M160561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Igor for guidelines. I will have a look.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2020 07:29:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-Boot-time-optimization-on-imx8qm/m-p/1096103#M160561</guid>
      <dc:creator>amit251291</dc:creator>
      <dc:date>2020-04-30T07:29:57Z</dc:date>
    </item>
    <item>
      <title>回复： U-boot - Boot time optimization on imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-Boot-time-optimization-on-imx8qm/m-p/1577668#M199556</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/154574"&gt;@amit251291&lt;/a&gt;&amp;nbsp;hello amit&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How did you optimize the part tee.bin? Did you remove this stage to optimize the startup time&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 05:38:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-Boot-time-optimization-on-imx8qm/m-p/1577668#M199556</guid>
      <dc:creator>likaixinstar</dc:creator>
      <dc:date>2023-01-05T05:38:40Z</dc:date>
    </item>
  </channel>
</rss>

