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.

AM6442: USB backup boot speed-up.

Part Number: AM6442
Other Parts Discussed in Thread: SK-AM64B

Tool/software:

Hello,
We are planning to use USB as a backup (secondary) boot option and a USB flash drive to flash the primary memory device – eMMC. Currently, I'm experimenting with the SK-AM64B board, where the primary boot option is the SD card, and the secondary boot option is the USB peripheral. I noticed a minor issue: it takes a long time for the system to start booting from the USB device – between 10 to 16 seconds, depending on the USB drive. Is there a way to accelerate this, or is it hardcoded in the internal ROM firmware, meaning we have to live with it?
Regards,
Peter

  • Hi Petar,

    I am unable to see the problem on my SK-AM64B. When inserted an invalid SD card, with boot mode switches set to 0x2643, I see the following console message from USB thumb drive boot in about 4 seconds after turned on the power switch on the EVM.

    [2025-01-21 08:48:00] U-Boot SPL 2024.04-ti-gfda88f8bcea3 (Jul 26 2024 - 11:00:12 +0000)
    [2025-01-21 08:48:00] Resetting on cold boot to workaround ErrataID:i2331
    [2025-01-21 08:48:00] Please resend tiboot3.bin in case of UART/DFU boot
    [2025-01-21 08:48:00] resetting ...

    What is the delay time if you set USB flash drive to primary boot mode (boot switches: 0x153)? Mine is about 4 seconds too.

  • Hi Bin Liu,
    Thank you for the reply. Initially, I tested without an SD card. When I insert an empty SD card (which will be the expected case), it boots almost immediately. I have noticed that the boot speed depends on the type of USB thumb drive. Contrary to expectations, older USB 2.0 thumb drives boot much faster than newer USB 3.0/USB 3.2 drives. With some drives, it doesn't boot at all.

  • Hi Petar,

    Initially, I tested without an SD card.

    I see about the same delay (~4 seconds) without an SD card in my test.

    I have noticed that the boot speed depends on the type of USB thumb drive. Contrary to expectations, older USB 2.0 thumb drives boot much faster than newer USB 3.0/USB 3.2 drives.

    It is likely expected, some USB devices take a longer time to enumerate.

    With some drives, it doesn't boot at all.

    It is likely due to AM64x Errata i2328 "Boot: USB MSC boots intermittently".