This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BeagleboneBlack generate signed image file

Hi , i try to generate signed image , but have some error .

This is my process :

1. Generate release key on build/target/product/security folder

2. make TARGET_PRODUCT=beagleboneblack OMAPES=4.x -j8 PRODUCT-beagleboneblack-user dist

3. ./build/tools/releasetools/sign_target_files_apks ./out/dist/beagleboneblack-target_files-eng.lucas.zip ./out/dist/signed-target-files.zip

>> have warring message : Warning: could not find RECOVERY/RAMDISK/etc/recovery.fstab in <zipfile.ZipFile instance at 0x1f7e2d8>.

4. ./build/tools/releasetools/img_from_target_files out/dist/signed-target-files.zip out/dist/signed-img.zip

>> have error :

Warning: could not find RECOVERY/RAMDISK/etc/recovery.fstab in <zipfile.ZipFile instance at 0x7fbd2d254290>.
building image from target_files BOOT...
Traceback (most recent call last):
  File "./build/tools/releasetools/img_from_target_files", line 211, in <module>
    main(sys.argv[1:])
  File "./build/tools/releasetools/img_from_target_files", line 190, in main
    "boot.img", "boot.img", OPTIONS.input_tmp, "BOOT").AddToZip(output_zip)
  File "/home/lucas/am335x/android/TI_Android_JB_4.2.2_DevKit_4.1.1/build/tools/releasetools/common.py", line 298, in GetBootableImage
    info_dict))
  File "/home/lucas/am335x/android/TI_Android_JB_4.2.2_DevKit_4.1.1/build/tools/releasetools/common.py", line 738, in __init__
    self.size = len(data)
TypeError: object of type 'NoneType' has no len()

What things i need check ?