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.

AM625: We were trying to build the latest android sdk09.02.00 but it shows file missing issue

Part Number: AM625


The below given is the issue. Tried the entire steps more than one time, but it shows same issue
pc@pc-Precision-Tower-3620:~/09_02_00/ti-aosp-14$ m
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=14
PRODUCT_INCLUDE_TAGS=com.android.mainline
TARGET_PRODUCT=am62x_car
TARGET_BUILD_VARIANT=user
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.5.0-28-generic-x86_64-Ubuntu-22.04.3-LTS
HOST_CROSS_OS=windows
BUILD_ID=UQ1A.240105.002
OUT_DIR=out
============================================
[100% 1/1] analyzing Android.bp files and generating ninja file at out/soong/build.ninja
FAILED: out/soong/build.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/
bin/soong_build")" && cd / && env -i  "$BUILDER"     --top "$TOP"     --soong_out "out/soong"     --o
ut "out"     -o out/soong/build.ninja --bazel-mode --globListDir build --globFile out/soong/globs-bui
ld.ninja -t -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.availabl
e --used_env out/soong/soong.environment.used.build Android.bp
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/third_party/turbine/LICENSE" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/third_party/vulkan-deps/LICENSE" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/third_party/vulkan-deps/glslang/LICENSE" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/third_party/vulkan-deps/glslang/src/LICENSE.txt" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/third_party/vulkan-deps/spirv-headers/LICENSE" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/third_party/vulkan-deps/spirv-headers/src/LICENSE" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/third_party/vulkan-deps/spirv-tools/LICENSE" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/third_party/vulkan-deps/spirv-tools/src/LICENSE" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/lsp/LICENSE" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/third_party/vulkan-deps/vulkan-headers/LICENSE.txt" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/third_party/vulkan-deps/vulkan-headers/src/LICENSE.md" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/third_party/vulkan_memory_allocator/LICENSE.txt" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/tools/flex-bison/third_party/m4sugar/LICENSE" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/tools/flex-bison/third_party/skeletons/LICENSE" does not exist
error: external/angle/Android.bp:7752:1: module "external_angle_license": module source path "externa
l/angle/util/windows/third_party/StackWalker/LICENSE" does not exist
10:12:07 soong bootstrap failed with: exit status 1
#### failed to build some targets (01:31 (mm:ss)) ####
  • Hi Anand,

    Thank you for reporting this problem.

    Doing:

    $ repo init -u git://git.ti.com/android/manifest.git -b android14-release -m releases/RLS_09_02.xml
    $ repo sync
    $ source build/envsetup.sh
    $ lunch am62x_car-user
    $ m
    


    We could not reproduce the problem.

    Maybe you had some fetch errors when fetching from Google's AOSP?

    Files like `external/angle/third_party/turbine/LICENSE` should exist in your Android tree.

    Could give the output of all the above commands in this ticket?

    Also, could you please report back the command from:

    $ cd external/angle
    $ git status



  • Hi Mattijs

    Executing that i got:

    Untracked files:
    (use "git add <file>..." to include in what will be committed)
    .clang-format
    .gitattributes
    .gitignore
    .gn
    .style.yapf
    .vpython
    .vpython3
    .yapfignore
    AUTHORS
    Android.bp
    BUILD.gn
    CONTRIBUTORS
    DEPS
    DIR_METADATA
    LICENSE
    METADATA
    OWNERS
    OWNERS.android
    PRESUBMIT.py
    README.chromium
    README.md
    TEST_MAPPING
    WATCHLISTS
    additional_readme_paths.json
    android/
    build_overrides/
    codereview.settings
    doc/
    dotfile_settings.gni
    extensions/
    gni/
    include/
    infra/
    samples/
    scripts/
    src/
    third_party/

    Regards

    Anand

  • Hmm, that does not look right.

    In my tree, I have:

    λ /mnt/work/ti/src/ti.git.com-aosp-09.02/ cd external/angle 
    λ /mnt/work/ti/src/ti.git.com-aosp-09.02/external/angle/ android-14.0.0_r27 git status
    Not currently on any branch.
    nothing to commit, working tree clean
    


    Can you try to re-sync the project again, from the toplevel Android folder:

    $ repo sync -cd external/angle
    Fetching: 100% (1/1), done in 0.063s
    repo sync has finished successfully.
    


    If the above works, clean up the project first:

    λ /mnt/work/ti/src/ti.git.com-aosp-09.02/ cd external/angle 
    λ /mnt/work/ti/src/ti.git.com-aosp-09.02/external/angle/ android-14.0.0_r27 git clean -fd && git checkout .
    

  • Hi Mattijs

    Can you please share me the complete package. Because I tried to do the complete thing again but still getting the same issue.

  • Hi Anand,

    Pre-build releases are available on:

    https://www.ti.com/tool/PROCESSOR-SDK-AM62X

    If you wish to try the car variant, you should build by yourself.

    Can you please share the output of the git commands I shared previously ?

  • Hi Mattijis

    Build is done successfully with the am62x_car-userdebug but when I tried loading it to AM62x-P1 board it was not loading.

    I was getting like below at the last stage

    => fastboot 0
    generic_phy_get_bulk : no phys property
    Writing GPT: success!
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc tiboot3_a **
    ** Bad device specification mmc tiboot3_a **
    Couldn't find partition mmc tiboot3_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 295470 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ..
    downloading of 295470 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing Raw Image
    ........ wrote 295936 bytes to 'tiboot3'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc bootloader_a **
    ** Bad device specification mmc bootloader_a **
    Couldn't find partition mmc bootloader_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 8388608 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ................................................................
    downloading of 8388608 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing Raw Image
    ........ wrote 8388608 bytes to 'bootloader'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc boot_a_a **
    ** Bad device specification mmc boot_a_a **
    Couldn't find partition mmc boot_a_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 17100800 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ..........................................................................
    ........................................................
    downloading of 17100800 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing Raw Image
    ........ wrote 17100800 bytes to 'boot_a'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc boot_b_a **
    ** Bad device specification mmc boot_b_a **
    Couldn't find partition mmc boot_b_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 17100800 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ..........................................................................
    ........................................................
    downloading of 17100800 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing Raw Image
    ........ wrote 17100800 bytes to 'boot_b'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc vendor_boot_a_a **
    ** Bad device specification mmc vendor_boot_a_a **
    Couldn't find partition mmc vendor_boot_a_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 15093760 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ..........................................................................
    .........................................
    downloading of 15093760 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing Raw Image
    ........ wrote 15093760 bytes to 'vendor_boot_a'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc vendor_boot_b_a **
    ** Bad device specification mmc vendor_boot_b_a **
    Couldn't find partition mmc vendor_boot_b_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 15093760 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ..........................................................................
    .........................................
    downloading of 15093760 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing Raw Image
    ........ wrote 15093760 bytes to 'vendor_boot_b'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc init_boot_a_a **
    ** Bad device specification mmc init_boot_a_a **
    Couldn't find partition mmc init_boot_a_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 1540096 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ...........
    downloading of 1540096 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing Raw Image
    ........ wrote 1540096 bytes to 'init_boot_a'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc init_boot_b_a **
    ** Bad device specification mmc init_boot_b_a **
    Couldn't find partition mmc init_boot_b_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 1540096 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ...........
    downloading of 1540096 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing Raw Image
    ........ wrote 1540096 bytes to 'init_boot_b'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc userdata_a **
    ** Bad device specification mmc userdata_a **
    Couldn't find partition mmc userdata_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 2617620 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ...................
    downloading of 2617620 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing sparse image at offset 10024448
    Flashing Sparse Image
    ........ wrote 56762368 bytes to 'userdata'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc dtbo_a_a **
    ** Bad device specification mmc dtbo_a_a **
    Couldn't find partition mmc dtbo_a_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 22373 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    
    downloading of 22373 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing Raw Image
    ........ wrote 22528 bytes to 'dtbo_a'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc dtbo_b_a **
    ** Bad device specification mmc dtbo_b_a **
    Couldn't find partition mmc dtbo_b_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 22373 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    
    downloading of 22373 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing Raw Image
    ........ wrote 22528 bytes to 'dtbo_b'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc persist_a **
    ** Bad device specification mmc persist_a **
    Couldn't find partition mmc persist_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 33554432 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..................................
    downloading of 33554432 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing Raw Image
    ........ wrote 33554432 bytes to 'persist'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc misc_a **
    ** Bad device specification mmc misc_a **
    Couldn't find partition mmc misc_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Erasing blocks 27648 to 28672 due to alignment
    ........ erased 524288 bytes from 'misc'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc metadata_a **
    ** Bad device specification mmc metadata_a **
    Couldn't find partition mmc metadata_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 63963136 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ............................................
    downloading of 63963136 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing Raw Image
    ........ wrote 63963136 bytes to 'metadata'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ** Bad device specification mmc super_a **
    ** Bad device specification mmc super_a **
    Couldn't find partition mmc super_a
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 780391764 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    .................................
    downloading of 780391764 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing sparse image at offset 390656
    Flashing Sparse Image
    ........ wrote 780742656 bytes to 'super'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Starting download of 588909880 bytes
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    ..........................................................................
    .....................................................
    downloading of 588909880 bytes finished
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    Flashing sparse image at offset 390656
    Flashing Sparse Image
    ........ wrote 597913600 bytes to 'super'
    dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
    
    

  • Hello Anand,

    How did you solve/troubleshoot your previous "file missing issue" ?
    Please post your solution here so that future persons who have the same problem can benefit from your solution.

    For "AM62x-P1 board not booting on a self-built 9.2 based image", please provide the following logs:

    1. Shell console output when running flashall.sh
    2. Command / arguments passed to flashall.sh (for example: flashall.sh --board am62x-sk --hsfs)
    3. Output from the board after flashing.

    If there are zero logs on the board side after flashing to eMMC, it's likely that the wrong bootloaders were flashed to the eMMC.
    Flashing the wrong bootloaders can happen when we forget to pass --hsfs argument to the flashall.sh script on a secure (HS-FS) board.

    Please double check if your AM62x-P1 board is GP (General Purpose, deprecated) or HS-FS (High Secure - Field Securable) and pass the appropriate flashing options to flashall.sh.


  • To find out which board you have, refer to:
    https://www.ti.com/lit/ug/spruj40c/spruj40c.pdf?ts=1714386030744

    Page 4, section "1 EVM Revisions and Assembly Variants"

  • Hi Mattijs

    I copied the git again and the problem of missing files was solved. I think that happened because of network traffic.

  • Hi Mattijs

    The steps I followed for my AM62B-P1 hs-fs board

    1.sudo ./flashall.sh --board am62x-sk --hsfs --bootloader --sdcard /dev/sdc

    board: am62x-sk
    Information: You may need to update /etc/fstab.
    
    Information: You may need to update /etc/fstab.                           
    
    Information: You may need to update /etc/fstab.                           
    
    mkfs.fat 4.2 (2021-01-31)                                                 
    mkfs.fat: Warning: lowercase labels might not work properly on some systems
    WARNING: Number of clusters for 32 bit FAT is less then suggested minimum.
    Done preparing bootstrap SD Card
    

    Open a terminal debugger to view console output from the device:

    •  sudo picocom -b 115200 -r -l /dev/ttyUSB0
      
    • Boot the board with SD card.

    • Stop at U-Boot console (interrupt the auto-boot countdown) and do below commands to setup Android partition table:

      => env default -f -a; saveenv

    • Enable fastboot mode on the device through the terminal debugger by executing below command. Before running this command make sure USB-C cable is connected from the host PC to the EVM:

      => fastboot 0
      
    •  From the host PC run the flashall.sh script to start flashing the binaries to eMMC:
      =>
      sudo ./flashall.sh --board am62x-sk --hsfs
      board: am62x-sk
      Fastboot: ./fastboot
      Generating bootloader-am62x-sk.img ...
      mkfs.fat 4.2 (2021-01-31)
      Generating bootloader-am62x-sk.img: DONE
      Create GPT partition table
      OKAY [  0.019s]
      Finished. Total time: 0.019s
      Flashing tiboot3.....
         tiboot3bin:  tiboot3-am62x-sk-hsfs.bin
      Sending 'tiboot3' (288 KB)                         OKAY [  0.035s]
      Writing 'tiboot3'                                  OKAY [  0.024s]
      Finished. Total time: 0.123s
      Flashing bootloader.....
         bootloader:  bootloader-am62x-sk.img
      Sending 'bootloader' (8192 KB)                     OKAY [  0.346s]
      Writing 'bootloader'                               OKAY [  0.163s]
      Finished. Total time: 0.573s
      Flashing Boot Image
      Sending 'boot_a' (16700 KB)                        OKAY [  0.708s]
      Writing 'boot_a'                                   OKAY [  0.302s]
      Finished. Total time: 1.291s
      Sending 'boot_b' (16700 KB)                        OKAY [  0.675s]
      Writing 'boot_b'                                   OKAY [  0.309s]
      Finished. Total time: 1.085s
      Flashing Vendor Boot Image
      Sending 'vendor_boot_a' (14740 KB)                 OKAY [  0.598s]
      Writing 'vendor_boot_a'                            OKAY [  0.270s]
      Finished. Total time: 1.053s
      Sending 'vendor_boot_b' (14740 KB)                 OKAY [  0.603s]
      Writing 'vendor_boot_b'                            OKAY [  0.279s]
      Finished. Total time: 0.981s
      Flashing Init Boot Image
      Sending 'init_boot_a' (1504 KB)                    OKAY [  0.079s]
      Writing 'init_boot_a'                              OKAY [  0.045s]
      Finished. Total time: 0.218s
      Sending 'init_boot_b' (1504 KB)                    OKAY [  0.080s]
      Writing 'init_boot_b'                              OKAY [  0.046s]
      Finished. Total time: 0.197s
      Flashing Userdata Image
      Sending 'userdata' (2556 KB)                       OKAY [  0.119s]
      Writing 'userdata'                                 OKAY [  1.008s]
      Finished. Total time: 1.266s
      Flashing DTBO Unsigned Image
      Sending 'dtbo_a' (21 KB)                           OKAY [  0.023s]
      Writing 'dtbo_a'                                   OKAY [  0.019s]
      Finished. Total time: 0.135s
      Sending 'dtbo_b' (21 KB)                           OKAY [  0.023s]
      Writing 'dtbo_b'                                   OKAY [  0.021s]
      Finished. Total time: 0.114s
      Flashing Persist Partition
      Sending 'persist' (32768 KB)                       OKAY [  1.411s]
      Writing 'persist'                                  OKAY [  0.561s]
      Finished. Total time: 2.078s
      Erasing Misc Partition
      Erasing 'misc'                                     OKAY [  0.018s]
      Finished. Total time: 0.057s
      Flashing metadata partition
      Sending 'metadata' (62464 KB)                      OKAY [  2.447s]
      Writing 'metadata'                                 OKAY [  1.037s]
      Finished. Total time: 4.168s
      Flashing Android Super Image
      Sending sparse 'super' 1/2 (762101 KB)             OKAY [ 33.707s]
      Writing 'super'                                    OKAY [ 15.563s]
      Sending sparse 'super' 2/2 (575107 KB)             OKAY [ 25.096s]
      Writing 'super'                                    OKAY [ 14.032s]
      Finished. Total time: 89.618s
      


      at the board side:
      Writing GPT: success!
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc tiboot3_a **
      ** Bad device specification mmc tiboot3_a **
      Couldn't find partition mmc tiboot3_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 295470 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ..
      downloading of 295470 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing Raw Image
      ........ wrote 295936 bytes to 'tiboot3'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc bootloader_a **
      ** Bad device specification mmc bootloader_a **
      Couldn't find partition mmc bootloader_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 8388608 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ................................................................
      downloading of 8388608 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing Raw Image
      ........ wrote 8388608 bytes to 'bootloader'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc boot_a_a **
      ** Bad device specification mmc boot_a_a **
      Couldn't find partition mmc boot_a_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 17100800 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ..........................................................................
      ........................................................
      downloading of 17100800 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing Raw Image
      ........ wrote 17100800 bytes to 'boot_a'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc boot_b_a **
      ** Bad device specification mmc boot_b_a **
      Couldn't find partition mmc boot_b_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 17100800 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ..........................................................................
      ........................................................
      downloading of 17100800 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing Raw Image
      ........ wrote 17100800 bytes to 'boot_b'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc vendor_boot_a_a **
      ** Bad device specification mmc vendor_boot_a_a **
      Couldn't find partition mmc vendor_boot_a_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 15093760 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ..........................................................................
      .........................................
      downloading of 15093760 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing Raw Image
      ........ wrote 15093760 bytes to 'vendor_boot_a'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc vendor_boot_b_a **
      ** Bad device specification mmc vendor_boot_b_a **
      Couldn't find partition mmc vendor_boot_b_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 15093760 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ..........................................................................
      .........................................
      downloading of 15093760 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing Raw Image
      ........ wrote 15093760 bytes to 'vendor_boot_b'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc init_boot_a_a **
      ** Bad device specification mmc init_boot_a_a **
      Couldn't find partition mmc init_boot_a_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 1540096 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ...........
      downloading of 1540096 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing Raw Image
      ........ wrote 1540096 bytes to 'init_boot_a'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc init_boot_b_a **
      ** Bad device specification mmc init_boot_b_a **
      Couldn't find partition mmc init_boot_b_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 1540096 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ...........
      downloading of 1540096 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing Raw Image
      ........ wrote 1540096 bytes to 'init_boot_b'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc userdata_a **
      ** Bad device specification mmc userdata_a **
      Couldn't find partition mmc userdata_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 2617620 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ...................
      downloading of 2617620 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing sparse image at offset 10024448
      Flashing Sparse Image
      ........ wrote 56762368 bytes to 'userdata'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc dtbo_a_a **
      ** Bad device specification mmc dtbo_a_a **
      Couldn't find partition mmc dtbo_a_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 22373 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      
      downloading of 22373 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing Raw Image
      ........ wrote 22528 bytes to 'dtbo_a'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc dtbo_b_a **
      ** Bad device specification mmc dtbo_b_a **
      Couldn't find partition mmc dtbo_b_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 22373 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      
      downloading of 22373 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing Raw Image
      ........ wrote 22528 bytes to 'dtbo_b'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc persist_a **
      ** Bad device specification mmc persist_a **
      Couldn't find partition mmc persist_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 33554432 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..................................
      downloading of 33554432 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing Raw Image
      ........ wrote 33554432 bytes to 'persist'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc misc_a **
      ** Bad device specification mmc misc_a **
      Couldn't find partition mmc misc_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Erasing blocks 27648 to 28672 due to alignment
      ........ erased 524288 bytes from 'misc'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc metadata_a **
      ** Bad device specification mmc metadata_a **
      Couldn't find partition mmc metadata_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 63963136 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ............................................
      downloading of 63963136 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing Raw Image
      ........ wrote 63963136 bytes to 'metadata'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ** Bad device specification mmc super_a **
      ** Bad device specification mmc super_a **
      Couldn't find partition mmc super_a
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 780391764 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      .................................
      downloading of 780391764 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing sparse image at offset 390656
      Flashing Sparse Image
      ........ wrote 780742656 bytes to 'super'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Starting download of 588909880 bytes
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      ..........................................................................
      .....................................................
      downloading of 588909880 bytes finished
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      Flashing sparse image at offset 390656
      Flashing Sparse Image
      ........ wrote 597913600 bytes to 'super'
      dwc3-generic-peripheral usb@31000000: request 00000000f7ef6c00 was not queued to ep1in-bulk
      
      
      
    • Once the flashing is complete, power off the board

    • 
      
    • Change boot mode DIP switches to boot from eMMC user partitions and power cycle the board:

    • Switch Label SW2: 12345678 SW3: 12345678
      EMMC 00000000

      11010010


    • but the board was not booting
       
  • Hi Anand,

    Thank you for the detailed report.

    Just to be 100% sure, does 

    > but the board was not booting

    Means that you don't see **any logs** after flashing ?


    Please allow us some time, we will try to reproduce.
  • yes I am not getting any logs

  • Hi Anand,

    On:

    Board: AM62B-SKEVM-P1 rev A


    We cannot reproduce for now but we will continue trying.

    Besides building Android, did you also rebuild the bootloaders yourself before flashing?




  • Hi Mattijs

    No I just build Android

  • Hi Mattijs

    Any update on this.

    If you are not able to produce the same issue, please forward me the steps that you are following.

    Please help me with step by step procedure.

    Regards

    Anand

  • Hi Anand,

    The DIP switch for eMMC should be as below. Can you try with this DIP switch settings?

    Switch Label SW2: 12345678 SW3: 12345678
    EMMC 00000000

    11000010

  • Hi Mattijs

    Thanks for the update. The issue is solved.

    We used the DIP switch selection as per your guidance and it worked.

    Regards

    Anand Sethu

  • Hi Anand,

    Thank you for reporting this issue and glad that it is solved!

    This points out to a mistake in our documentation.

    We will update it shortly

  • Hello Matt,

    It really works, thanks for your kindly support.

    LEON