pad_image.sh - tee.bin file not found in aosp

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

pad_image.sh - tee.bin file not found in aosp

1,030 Views
hulk101
Contributor III

While trying to build the android 15 image for imx8mp, I am getting an error :
ERROR: ./../scripts/pad_image.sh: Could not find file tee.bin. Exiting.

But the image is created and can be flashed to the board, It works fine.
After this I had build an OTA package for the same using the command:
make otapackage

and the OTA package.zip file was generated. While I tried to do the OTA update using ADB, The logs shows :
12-30 07:48:15.301 577 577 I update_engine: [INFO:postinstall_runner_action.cc(273)] Performing postinst (bin/imx_ota_postinstall at /postinstall/bin/imx_ota_postinstall) installed on mountable device /dev/block/mapper/vendor_b
12-30 07:48:15.306 577 577 I update_engine: [INFO:postinstall_runner_action.cc(280)] Format file for new bin/imx_ota_postinstall is: File not found.
12-30 07:48:15.310 577 577 I update_engine: [INFO:subprocess.cc(103)] Running "/postinstall/bin/imx_ota_postinstall 1 3"
12-30 07:48:15.344 577 577 I update_engine: [INFO:subprocess.cc(158)] Subprocess 2181 exited with si_status: 127
12-30 07:48:15.350 577 577 E update_engine: [ERROR:postinstall_runner_action.cc(403)] Postinst command failed with code: 127
12-30 07:48:15.352 577 577 I update_engine: [INFO:postinstall_runner_action.cc(476)] All post-install commands succeeded
12-30 07:48:15.354 577 577 E update_engine: [ERROR:postinstall_runner_action.cc(450)] Postinstall action failed. ErrorCode::kPostinstallRunnerError
12-30 07:48:15.377 577 577 I update_engine: [INFO:snapshot.cpp(2943)] Lock acquired for UnmapAllSnapshots
12-30 07:48:15.379 577 577 I update_engine: [INFO:snapshot.cpp(2948)] Found 6 partitions with snapshots
12-30 07:48:15.493 577 577 I update_engine: [INFO:snapshot.cpp(2715)] Successfully unmapped snapshot product_b
12-30 07:48:15.585 577 577 I update_engine: [INFO:snapshot.cpp(2715)] Successfully unmapped snapshot system_b
12-30 07:48:15.673 577 577 I update_engine: [INFO:snapshot.cpp(2715)] Successfully unmapped snapshot system_dlkm_b
12-30 07:48:15.785 577 577 I update_engine: [INFO:snapshot.cpp(2715)] Successfully unmapped snapshot vendor_dlkm_b
12-30 07:48:15.897 577 577 I update_engine: [INFO:snapshot.cpp(2715)] Successfully unmapped snapshot system_ext_b
12-30 07:48:15.981 577 577 I update_engine: [INFO:snapshot.cpp(2715)] Successfully unmapped snapshot vendor_b
12-30 07:48:15.988 577 577 I update_engine: [INFO:snapshot.cpp(2956)] Unmapped 6 partitions with snapshots
12-30 07:48:15.990 577 577 I update_engine: [INFO:snapshot.cpp(2962)] Shutdown snapuserd daemon
12-30 07:48:16.092 577 577 I update_engine: [INFO:postinstall_runner_action.cc(440)] Unmapped all partitions.
12-30 07:48:16.094 577 577 I update_engine: [INFO:action_processor.cc(116)] ActionProcessor: finished last action PostinstallRunnerAction with code ErrorCode::kPostinstallRunnerError
12-30 07:48:16.098 577 577 I update_engine: [INFO:update_attempter_android.cc(711)] Processing Done.
12-30 07:48:16.143 577 577 I update_engine: [INFO:snapshot.cpp(2943)] Lock acquired for UnmapAllSnapshots
12-30 07:48:16.145 577 577 I update_engine: [INFO:snapshot.cpp(2948)] Found 6 partitions with snapshots
12-30 07:48:16.149 577 577 I update_engine: [INFO:snapshot.cpp(2715)] Successfully unmapped snapshot product_b
12-30 07:48:16.153 577 577 I update_engine: [INFO:snapshot.cpp(2715)] Successfully unmapped snapshot system_b
12-30 07:48:16.157 577 577 I update_engine: [INFO:snapshot.cpp(2715)] Successfully unmapped snapshot system_dlkm_b
12-30 07:48:16.161 577 577 I update_engine: [INFO:snapshot.cpp(2715)] Successfully unmapped snapshot vendor_dlkm_b
12-30 07:48:16.165 577 577 I update_engine: [INFO:snapshot.cpp(2715)] Successfully unmapped snapshot system_ext_b
12-30 07:48:16.172 577 577 I update_engine: [INFO:snapshot.cpp(2715)] Successfully unmapped snapshot vendor_b
12-30 07:48:16.174 577 577 I update_engine: [INFO:snapshot.cpp(2956)] Unmapped 6 partitions with snapshots
12-30 07:48:16.177 577 577 I update_engine: [INFO:dynamic_partition_control_android.cc(320)] UnmapAllPartitions done
12-30 07:48:16.179 577 577 I update_engine: [INFO:dynamic_partition_control_android.cc(328)] SnapshotManager initialized.
12-30 07:48:16.184 577 577 I update_engine: [INFO:metrics_reporter_android.cc(159)] Current update attempt downloads 794 bytes data


NOTE: I am using docker for the build.

0 Kudos
Reply
9 Replies

943 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi,

'tee.bin file not found' log can be ignored, it will not affect system building and OTA.

Are you using IMX_OTA_POSTINSTALL?

Best Regards,
Zhiming

0 Kudos
Reply

932 Views
hulk101
Contributor III

Hi,
I have run the below commands:

$ ./imx-make.sh bootloader kernel -j4
$ make otapackage -j4 IMX_OTA_POSTINSTALL=1

for the make otapackage -j4 IMX_OTA_POSTINSTALL=1 command I am getting the error:


[100% 1/1] analyzing Android.bp files and generating ninja file at out/soong/build.dart_mx8mp.ninja
Warning: Module 'androidx.wear_wear' depends on non-existing optional_uses_libs 'wear-sdk'
Warning: Module 'androidx.wear.compose_compose-foundation' depends on non-existing optional_uses_libs 'wear-sdk'
Environment variable IMX_OTA_POSTINSTALL was set, regenerating...
Environment variable IMX_OTA_POSTINSTALL was set, regenerating...
[ 9% 8/87] including build/make/target/board/Android.mk ...

FAILED: ninja: 'out/target/product/dart_mx8mp/obj/UBOOT_COLLECTION/spl-imx8mp-trusty-dual.bin', needed by 'out/target/product/dart_mx8mp/vendor/etc/bootloader0.img', missing and no known rule to make it
06:32:07 ninja failed with: exit status 1

#### failed to build some targets (08:16 (mm:ss)) ####

I have attached the build logs for the ./imx-make.sh bootloader kernel -j4 command

0 Kudos
Reply

716 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @hulk101 

Did you add below lines into evk_8mp.mk?

PRODUCT_COPY_FILES += \
 $(OUT_DIR)/target/product/$(firstword $(PRODUCT_DEVICE))/obj/UBOOT_COLLECTION/
u-boot-imx8mm-trusty.imx:$(TARGET_COPY_OUT_VENDOR)/etc/bootloader0.img


Best Regards,
Zhiming

0 Kudos
Reply

701 Views
hulk101
Contributor III

Hello, 
I have included it in my device.mk (dart_mx8mp.mk) file.
and when executing the "make otapackage IMX_OTA_POSTINSTALL=1" command I 'am facing the error:

vari@20-04-3b61eb74-android-15-0-0_1-2-0:/workdir$ make otapackage IMX_OTA_POSTINSTALL=1 -j4
In file included from build/make/core/config.mk:394:
In file included from build/make/core/envsetup.mk:351:
build/make/core/product_config.mk:272: error: : malformed COPY_FILE "out/target/product/dart_mx8mp/obj/UBOOT_COLLECTION/".
08:36:33 dumpvars failed with: exit status 1

#### failed to build some targets (1 seconds) ####

0 Kudos
Reply

676 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi,

The name should not be u-boot-imx8mm-trusty.imx about your dart board, you can check the real file name in uboot build folder.

Best Regards,
Zhiming

0 Kudos
Reply

628 Views
hulk101
Contributor III

Hi,

Thankyou for the solution. The dart_mx8mp-ota.zip file has been generated.

I pushed the payload.bin and payload_properties.txt file to the /data/ota_package location on the board. 

I have executed the command :
update_engine_client --payload=file:///data/ota_package/payload.bin --update --headers="FILE_HASH=t3Wb2AK6Tss4RRqFOGGgSvhiHj0NzTfiaGM/lddWXLc=
FILE_SIZE=829207574
METADATA_HASH=p7DVleD6h7eTgr/HamonXYxhWG64qmIVmP+OCi9WDxY=
METADATA_SIZE=36963"

I got the logs using the command: logcat -s update_engine.
I have attached the logs below in the logfile.

After the update was successful, I ran the " adb reboot" command. 

The serial logs are attached in the file serial_log_u_boot file.

The booting is from slot_b / bootloader_b
But is stuck at starting kernel ... as given the serial_log file.

NOTE: There is no changes with the previous_slot image and the ota_package image.

0 Kudos
Reply

587 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi @hulk101 

Did you use -u dual while flashing?

Best Regards,
Zhiming

0 Kudos
Reply

561 Views
hulk101
Contributor III

Hi,

I am using the var-mksdcard.sh script to flash the base image, The script uses dual bootloader by default. I have attached the script file.

Thankyou.

0 Kudos
Reply

930 Views
hulk101
Contributor III
Inside the out/target/product/dart_mx8mp/obj/UBOOT_COLLECTION/ folder the below files are present:
spl-imx8mp-var-dart-dual.bin
spl-imx8mp-var-dart-trusty-dual.bin
spl-imx8mp-var-dart-trusty-secure-unlock-dual.bin
bootloader-imx8mp-var-dart-dual.img
bootloader-imx8mp-var-dart-trusty-dual.img
bootloader-imx8mp-var-dart-trusty-secure-unlock-dual.img
u-boot-imx8mp-var-dart-uuu.imx
u-boot-imx8mp-var-dart.imx
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2289170%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Epad_image.sh%20-%20tee.bin%20file%20not%20found%20in%20aosp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2289170%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWhile%20trying%20to%20build%20the%20android%2015%20image%20for%20imx8mp%2C%20I%20am%20getting%20an%20error%20%3A%3CBR%20%2F%3EERROR%3A%20.%2F..%2Fscripts%2Fpad_image.sh%3A%20Could%20not%20find%20file%20tee.bin.%20Exiting.%3CBR%20%2F%3E%3CBR%20%2F%3EBut%20the%20image%20is%20created%20and%20can%20be%20flashed%20to%20the%20board%2C%20It%20works%20fine.%3CBR%20%2F%3EAfter%20this%20I%20had%20build%20an%20OTA%20package%20for%20the%20same%20using%20the%20command%3A%3CBR%20%2F%3Emake%20otapackage%3CBR%20%2F%3E%3CBR%20%2F%3Eand%20the%20OTA%20package.zip%20file%20was%20generated.%20While%20I%20tried%20to%20do%20the%20OTA%20update%20using%20ADB%2C%20The%20logs%20shows%20%3A%3CBR%20%2F%3E12-30%2007%3A48%3A15.301%20577%20577%20I%20update_engine%3A%20%5BINFO%3Apostinstall_runner_action.cc(273)%5D%20Performing%20postinst%20(bin%2Fimx_ota_postinstall%20at%20%2Fpostinstall%2Fbin%2Fimx_ota_postinstall)%20installed%20on%20mountable%20device%20%2Fdev%2Fblock%2Fmapper%2Fvendor_b%3CBR%20%2F%3E12-30%2007%3A48%3A15.306%20577%20577%20I%20update_engine%3A%20%5BINFO%3Apostinstall_runner_action.cc(280)%5D%20Format%20file%20for%20new%20bin%2Fimx_ota_postinstall%20is%3A%20File%20not%20found.%3CBR%20%2F%3E12-30%2007%3A48%3A15.310%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asubprocess.cc(103)%5D%20Running%20%22%2Fpostinstall%2Fbin%2Fimx_ota_postinstall%201%203%22%3CBR%20%2F%3E12-30%2007%3A48%3A15.344%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asubprocess.cc(158)%5D%20Subprocess%202181%20exited%20with%20si_status%3A%20127%3CBR%20%2F%3E12-30%2007%3A48%3A15.350%20577%20577%20E%20update_engine%3A%20%5BERROR%3Apostinstall_runner_action.cc(403)%5D%20Postinst%20command%20failed%20with%20code%3A%20127%3CBR%20%2F%3E12-30%2007%3A48%3A15.352%20577%20577%20I%20update_engine%3A%20%5BINFO%3Apostinstall_runner_action.cc(476)%5D%20All%20post-install%20commands%20succeeded%3CBR%20%2F%3E12-30%2007%3A48%3A15.354%20577%20577%20E%20update_engine%3A%20%5BERROR%3Apostinstall_runner_action.cc(450)%5D%20Postinstall%20action%20failed.%20ErrorCode%3A%3AkPostinstallRunnerError%3CBR%20%2F%3E12-30%2007%3A48%3A15.377%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2943)%5D%20Lock%20acquired%20for%20UnmapAllSnapshots%3CBR%20%2F%3E12-30%2007%3A48%3A15.379%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2948)%5D%20Found%206%20partitions%20with%20snapshots%3CBR%20%2F%3E12-30%2007%3A48%3A15.493%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2715)%5D%20Successfully%20unmapped%20snapshot%20product_b%3CBR%20%2F%3E12-30%2007%3A48%3A15.585%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2715)%5D%20Successfully%20unmapped%20snapshot%20system_b%3CBR%20%2F%3E12-30%2007%3A48%3A15.673%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2715)%5D%20Successfully%20unmapped%20snapshot%20system_dlkm_b%3CBR%20%2F%3E12-30%2007%3A48%3A15.785%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2715)%5D%20Successfully%20unmapped%20snapshot%20vendor_dlkm_b%3CBR%20%2F%3E12-30%2007%3A48%3A15.897%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2715)%5D%20Successfully%20unmapped%20snapshot%20system_ext_b%3CBR%20%2F%3E12-30%2007%3A48%3A15.981%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2715)%5D%20Successfully%20unmapped%20snapshot%20vendor_b%3CBR%20%2F%3E12-30%2007%3A48%3A15.988%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2956)%5D%20Unmapped%206%20partitions%20with%20snapshots%3CBR%20%2F%3E12-30%2007%3A48%3A15.990%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2962)%5D%20Shutdown%20snapuserd%20daemon%3CBR%20%2F%3E12-30%2007%3A48%3A16.092%20577%20577%20I%20update_engine%3A%20%5BINFO%3Apostinstall_runner_action.cc(440)%5D%20Unmapped%20all%20partitions.%3CBR%20%2F%3E12-30%2007%3A48%3A16.094%20577%20577%20I%20update_engine%3A%20%5BINFO%3Aaction_processor.cc(116)%5D%20ActionProcessor%3A%20finished%20last%20action%20PostinstallRunnerAction%20with%20code%20ErrorCode%3A%3AkPostinstallRunnerError%3CBR%20%2F%3E12-30%2007%3A48%3A16.098%20577%20577%20I%20update_engine%3A%20%5BINFO%3Aupdate_attempter_android.cc(711)%5D%20Processing%20Done.%3CBR%20%2F%3E12-30%2007%3A48%3A16.143%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2943)%5D%20Lock%20acquired%20for%20UnmapAllSnapshots%3CBR%20%2F%3E12-30%2007%3A48%3A16.145%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2948)%5D%20Found%206%20partitions%20with%20snapshots%3CBR%20%2F%3E12-30%2007%3A48%3A16.149%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2715)%5D%20Successfully%20unmapped%20snapshot%20product_b%3CBR%20%2F%3E12-30%2007%3A48%3A16.153%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2715)%5D%20Successfully%20unmapped%20snapshot%20system_b%3CBR%20%2F%3E12-30%2007%3A48%3A16.157%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2715)%5D%20Successfully%20unmapped%20snapshot%20system_dlkm_b%3CBR%20%2F%3E12-30%2007%3A48%3A16.161%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2715)%5D%20Successfully%20unmapped%20snapshot%20vendor_dlkm_b%3CBR%20%2F%3E12-30%2007%3A48%3A16.165%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2715)%5D%20Successfully%20unmapped%20snapshot%20system_ext_b%3CBR%20%2F%3E12-30%2007%3A48%3A16.172%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2715)%5D%20Successfully%20unmapped%20snapshot%20vendor_b%3CBR%20%2F%3E12-30%2007%3A48%3A16.174%20577%20577%20I%20update_engine%3A%20%5BINFO%3Asnapshot.cpp(2956)%5D%20Unmapped%206%20partitions%20with%20snapshots%3CBR%20%2F%3E12-30%2007%3A48%3A16.177%20577%20577%20I%20update_engine%3A%20%5BINFO%3Adynamic_partition_control_android.cc(320)%5D%20UnmapAllPartitions%20done%3CBR%20%2F%3E12-30%2007%3A48%3A16.179%20577%20577%20I%20update_engine%3A%20%5BINFO%3Adynamic_partition_control_android.cc(328)%5D%20SnapshotManager%20initialized.%3CBR%20%2F%3E12-30%2007%3A48%3A16.184%20577%20577%20I%20update_engine%3A%20%5BINFO%3Ametrics_reporter_android.cc(159)%5D%20Current%20update%20attempt%20downloads%20794%20bytes%20data%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ENOTE%3A%20I%20am%20using%20docker%20for%20the%20build.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2289170%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAndroid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX%208%20Family%20%7C%20i.MX%208QuadMax%20(8QM)%20%7C%208QuadPlus%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290611%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20pad_image.sh%20-%20tee.bin%20file%20not%20found%20in%20aosp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290611%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EInside%20the%26nbsp%3Bout%2Ftarget%2Fproduct%2Fdart_mx8mp%2Fobj%2FUBOOT_COLLECTION%2F%20folder%20the%20below%20files%20are%20present%3A%3CBR%20%2F%3Espl-imx8mp-var-dart-dual.bin%3CBR%20%2F%3Espl-imx8mp-var-dart-trusty-dual.bin%3CBR%20%2F%3Espl-imx8mp-var-dart-trusty-secure-unlock-dual.bin%3CBR%20%2F%3Ebootloader-imx8mp-var-dart-dual.img%3CBR%20%2F%3Ebootloader-imx8mp-var-dart-trusty-dual.img%3CBR%20%2F%3Ebootloader-imx8mp-var-dart-trusty-secure-unlock-dual.img%3CBR%20%2F%3Eu-boot-imx8mp-var-dart-uuu.imx%3CBR%20%2F%3Eu-boot-imx8mp-var-dart.imx%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290524%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20pad_image.sh%20-%20tee.bin%20file%20not%20found%20in%20aosp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290524%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3E'tee.bin%20file%20not%20found'%20log%20can%20be%20ignored%2C%20it%20will%20not%20affect%20system%20building%20and%20OTA.%3C%2FP%3E%0A%3CP%3EAre%20you%20using%26nbsp%3BIMX_OTA_POSTINSTALL%3F%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290604%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20pad_image.sh%20-%20tee.bin%20file%20not%20found%20in%20aosp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290604%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CBR%20%2F%3EI%20have%20run%20the%20below%20commands%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%24%20.%2Fimx-make.sh%20bootloader%20kernel%20-j4%3CBR%20%2F%3E%24%20make%20otapackage%20-j4%20IMX_OTA_POSTINSTALL%3D1%3CBR%20%2F%3E%3CBR%20%2F%3Efor%20the%26nbsp%3Bmake%20otapackage%20-j4%20IMX_OTA_POSTINSTALL%3D1%20command%20I%20am%20getting%20the%20error%3A%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%5B100%25%201%2F1%5D%20analyzing%20Android.bp%20files%20and%20generating%20ninja%20file%20at%20out%2Fsoong%2Fbuild.dart_mx8mp.ninja%3CBR%20%2F%3EWarning%3A%20Module%20'androidx.wear_wear'%20depends%20on%20non-existing%20optional_uses_libs%20'wear-sdk'%3CBR%20%2F%3EWarning%3A%20Module%20'androidx.wear.compose_compose-foundation'%20depends%20on%20non-existing%20optional_uses_libs%20'wear-sdk'%3CBR%20%2F%3EEnvironment%20variable%20IMX_OTA_POSTINSTALL%20was%20set%2C%20regenerating...%3CBR%20%2F%3EEnvironment%20variable%20IMX_OTA_POSTINSTALL%20was%20set%2C%20regenerating...%3CBR%20%2F%3E%5B%209%25%208%2F87%5D%20including%20build%2Fmake%2Ftarget%2Fboard%2FAndroid.mk%20...%3C%2FP%3E%3CP%3EFAILED%3A%20ninja%3A%20'out%2Ftarget%2Fproduct%2Fdart_mx8mp%2Fobj%2FUBOOT_COLLECTION%2Fspl-imx8mp-trusty-dual.bin'%2C%20needed%20by%20'out%2Ftarget%2Fproduct%2Fdart_mx8mp%2Fvendor%2Fetc%2Fbootloader0.img'%2C%20missing%20and%20no%20known%20rule%20to%20make%20it%3CBR%20%2F%3E06%3A32%3A07%20ninja%20failed%20with%3A%20exit%20status%201%3C%2FP%3E%3CP%3E%23%23%23%23%20failed%20to%20build%20some%20targets%20(08%3A16%20(mm%3Ass))%20%23%23%23%23%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20attached%20the%20build%20logs%20for%20the%26nbsp%3B.%2Fimx-make.sh%20bootloader%20kernel%20-j4%20command%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2292344%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20pad_image.sh%20-%20tee.bin%20file%20not%20found%20in%20aosp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2292344%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CBR%20%2F%3EI%20have%20included%20it%20in%20my%20device.mk%20(dart_mx8mp.mk)%20file.%3CBR%20%2F%3Eand%20when%20executing%20the%20%22make%20otapackage%20IMX_OTA_POSTINSTALL%3D1%22%20command%20I%20'am%20facing%20the%20error%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3Evari%4020-04-3b61eb74-android-15-0-0_1-2-0%3A%2Fworkdir%24%20make%20otapackage%20IMX_OTA_POSTINSTALL%3D1%20-j4%3CBR%20%2F%3EIn%20file%20included%20from%20build%2Fmake%2Fcore%2Fconfig.mk%3A394%3A%3CBR%20%2F%3EIn%20file%20included%20from%20build%2Fmake%2Fcore%2Fenvsetup.mk%3A351%3A%3CBR%20%2F%3Ebuild%2Fmake%2Fcore%2Fproduct_config.mk%3A272%3A%20error%3A%20%3A%20malformed%20COPY_FILE%20%22out%2Ftarget%2Fproduct%2Fdart_mx8mp%2Fobj%2FUBOOT_COLLECTION%2F%22.%3CBR%20%2F%3E08%3A36%3A33%20dumpvars%20failed%20with%3A%20exit%20status%201%3C%2FP%3E%3CP%3E%23%23%23%23%20failed%20to%20build%20some%20targets%20(1%20seconds)%20%23%23%23%23%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2292062%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20pad_image.sh%20-%20tee.bin%20file%20not%20found%20in%20aosp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2292062%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F243266%22%20target%3D%22_blank%22%3E%40hulk101%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EDid%20you%20add%20below%20lines%20into%20evk_8mp.mk%3F%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EPRODUCT_COPY_FILES%20%2B%3D%20%5C%0A%20%24(OUT_DIR)%2Ftarget%2Fproduct%2F%24(firstword%20%24(PRODUCT_DEVICE))%2Fobj%2FUBOOT_COLLECTION%2F%0Au-boot-imx8mm-trusty.imx%3A%24(TARGET_COPY_OUT_VENDOR)%2Fetc%2Fbootloader0.img%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2292906%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20pad_image.sh%20-%20tee.bin%20file%20not%20found%20in%20aosp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2292906%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20name%20should%20not%20be%26nbsp%3Bu-boot-imx8mm-trusty.imx%20about%20your%20dart%20board%2C%20you%20can%20check%20the%20real%20file%20name%20in%20uboot%20build%20folder.%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2293331%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20pad_image.sh%20-%20tee.bin%20file%20not%20found%20in%20aosp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2293331%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThankyou%20for%20the%20solution.%20The%26nbsp%3Bdart_mx8mp-ota.zip%20file%20has%20been%20generated.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20pushed%20the%20payload.bin%20and%20payload_properties.txt%20file%20to%20the%20%2Fdata%2Fota_package%20location%20on%20the%20board.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20executed%20the%20command%20%3A%3CBR%20%2F%3Eupdate_engine_client%20--payload%3Dfile%3A%2F%2F%2Fdata%2Fota_package%2Fpayload.bin%20--update%20--headers%3D%22FILE_HASH%3Dt3Wb2AK6Tss4RRqFOGGgSvhiHj0NzTfiaGM%2FlddWXLc%3D%3CBR%20%2F%3EFILE_SIZE%3D829207574%3CBR%20%2F%3EMETADATA_HASH%3Dp7DVleD6h7eTgr%2FHamonXYxhWG64qmIVmP%2BOCi9WDxY%3D%3CBR%20%2F%3EMETADATA_SIZE%3D36963%22%3CBR%20%2F%3E%3CBR%20%2F%3EI%20got%20the%20logs%20using%20the%20command%3A%20logcat%20-s%20update_engine.%3CBR%20%2F%3EI%20have%20attached%20the%20logs%20below%20in%20the%20logfile.%3CBR%20%2F%3E%3CBR%20%2F%3EAfter%20the%20update%20was%20successful%2C%20I%20ran%20the%20%22%20adb%20reboot%22%20command.%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20serial%20logs%20are%20attached%20in%20the%20file%20serial_log_u_boot%20file.%3C%2FP%3E%3CP%3EThe%20booting%20is%20from%20slot_b%20%2F%20bootloader_b%3CBR%20%2F%3EBut%20is%20stuck%20at%20starting%20kernel%20...%20as%20given%20the%20serial_log%20file.%3CBR%20%2F%3E%3CBR%20%2F%3ENOTE%3A%20There%20is%20no%20changes%20with%20the%20previous_slot%20image%20and%20the%20ota_package%20image.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2293942%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20pad_image.sh%20-%20tee.bin%20file%20not%20found%20in%20aosp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2293942%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20using%20the%20var-mksdcard.sh%20script%20to%20flash%20the%20base%20image%2C%20The%20script%20uses%20dual%20bootloader%20by%20default.%20I%20have%20attached%20the%20script%20file.%3CBR%20%2F%3E%3CBR%20%2F%3EThankyou.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2293774%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20pad_image.sh%20-%20tee.bin%20file%20not%20found%20in%20aosp%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2293774%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F243266%22%20target%3D%22_blank%22%3E%40hulk101%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EDid%20you%20use%20%3CSTRONG%3E-u%20dual%20%3C%2FSTRONG%3Ewhile%20flashing%3F%3CBR%20%2F%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E