<?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のトピックRe: OTA package build fail</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/OTA-package-build-fail/m-p/455987#M71130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Don,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you should try below command to build otapackage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make otapckage &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;PRODUCT=sabresd_6dq-eng -j4&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Sep 2015 07:35:42 GMT</pubDate>
    <dc:creator>sanshanzhang</dc:creator>
    <dc:date>2015-09-29T07:35:42Z</dc:date>
    <item>
      <title>OTA package build fail</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OTA-package-build-fail/m-p/455986#M71129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dev Board: Sabre SD quad Rev. B&lt;/P&gt;&lt;P&gt;BSP: Android L5.0.0_1.0.0&lt;/P&gt;&lt;P&gt;Build Env: Ubuntu-64bit 14.04&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm following these instructions from the FAQ to build and OTA package:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;30 How do I build an OTA package?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The Android build system supports auto generation of update.zip. It can generate the updater_script and all system.img files.&lt;/P&gt;&lt;P&gt;You can use the following command to generate an OTA package.&lt;/P&gt;&lt;P&gt;$ make dist&lt;/P&gt;&lt;P&gt;For example, you use this command to build sabresd_6dq product after the build finish.&lt;/P&gt;&lt;P&gt;$ make PRODUCT=sabresd_6dq-eng dist -j4&lt;/P&gt;&lt;P&gt;You can find a few packages in the following path for the OTA update.zip to do the OTA and make a different package.&lt;/P&gt;&lt;P&gt;• out/dist/sabresd_6dq-ota-eng.xxx.zip&lt;/P&gt;&lt;P&gt;• out/target/proudct/sabresd_6dq/sabresd_6dq-ota-eng.xxx.zip&lt;/P&gt;&lt;P&gt;The package we used before R13.1 was update.zip. In this package, however, everything is automatically generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This fails while packaging the target files. This is the error I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Package target files: out/target/product/sabresd_6dq/obj/PACKAGING/target_files_intermediates/sabresd_6dq-target_files-20150518.zip&lt;/P&gt;&lt;P&gt;Package symbols: out/target/product/sabresd_6dq/sabresd_6dq-symbols-20150518.zip&lt;/P&gt;&lt;P&gt;Package apps: out/target/product/sabresd_6dq/sabresd_6dq-apps-20150518.zip&lt;/P&gt;&lt;P&gt;Dist: out/dist/sabresd_6dq-apps-20150518.zip&lt;/P&gt;&lt;P&gt;building image from target_files RECOVERY...&lt;/P&gt;&lt;P&gt;building image from target_files BOOT...&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "./build/tools/releasetools/make_recovery_patch", line 53, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; main(sys.argv[1:])&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "./build/tools/releasetools/make_recovery_patch", line 49, in main&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; common.MakeRecoveryPatch(input_dir, output_sink, recovery_img, boot_img)&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "/home/don/myandroid/build/tools/releasetools/common.py", line 1159, in MakeRecoveryPatch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; td_pair = GetTypeAndDevice("/boot", info_dict)&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "/home/don/myandroid/build/tools/releasetools/common.py", line 1110, in GetTypeAndDevice&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return PARTITION_TYPES[fstab[mount_point].fs_type], fstab[mount_point].device&lt;/P&gt;&lt;P&gt;KeyError: '/boot'&lt;/P&gt;&lt;P&gt;make: *** [out/target/product/sabresd_6dq/obj/PACKAGING/target_files_intermediates/sabresd_6dq-target_files-20150518.zip] Error 1&lt;/P&gt;&lt;P&gt;make: *** Waiting for unfinished jobs....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#### make failed to build some targets (11:12 (mm:ss)) ####&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don@LolliBuilder:~/myandroid$&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 14:18:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OTA-package-build-fail/m-p/455986#M71129</guid>
      <dc:creator>donfreiling</dc:creator>
      <dc:date>2015-09-16T14:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: OTA package build fail</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OTA-package-build-fail/m-p/455987#M71130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Don,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you should try below command to build otapackage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make otapckage &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;PRODUCT=sabresd_6dq-eng -j4&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 07:35:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OTA-package-build-fail/m-p/455987#M71130</guid>
      <dc:creator>sanshanzhang</dc:creator>
      <dc:date>2015-09-29T07:35:42Z</dc:date>
    </item>
  </channel>
</rss>

