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.

AM6412: BOOTMODE Pin 7(FS/RAW) doesn''t work as expected

Part Number: AM6412

Hi experts,

Platform: AM6412

The SDK version: Processor SDK Linux for AM64X 08_06_00_42

To fully understand the function of AM6412 BOOTMODE Pin 7(FA/RAW selection), I tested the BOOTMODE selection with muliple combinations of eMMC/SDcard media and FS/RAW image.

On my board, there is a eMMC chip and SDCard slot . Both the primary boot mode and the backup boot mode are selected to MMCSD. The BOOTMODE test as below:

  • Primay BM - Primary BOOTMODE: MMCSD(B3...B6: 0001)
  • Backup BM - Backup boot mode: MMCSD(B10...B12: 101)
  • MMC RAW - Raw boot image that's flashed at address 0 on eMMC
  • SD RAW - Raw boot image that's flashed at address 1 on SD
  • MMC FAT - FAT FS boot image that' s flashed on eMMC bootable partition
  • SD FAT - FAT FS boot image that' flashed on SD bootable partiton

Per AM6412 TRM, BOOTMODE pin B7 is used to specify Filesystem mode or Raw mode. So in my mind, when B7 is set to 0, BOOT ROM will read tiboot3.bin from filesystem on EMMC or SD that's specified by BOOTMODE pins; when Pin 7 is set to 1 BOOT ROM will read tiboot3.bin from RAW location on EMMC or SD.

But the actual result is not in the scope, for example:

PRIMAY BOOTMODE (eMMC RAW) + BACKUP MODE(SD FAT) + B7 0 (FS)

From my perspective, as B7 is selected as Filesystem, BOOT ROM should try to read boot image from eMMC FAT partition first, when fails to  load FAT partition from eMMC, then will swiche to SD and check the FAT partition on SD, sequencelly, find the filesystem boot image SD. So the expected BOOTMODE should be SD FAT, but the actuall result was MMC RAW.

The other items in my test result table has the similar behaivor. I'm confused by the descriptions of BOOTMODE Pin 7 and acutal test result. 

So could you please provide more information or documents to describe how BOOTMODE Pin 7 impacts BOOTMODE selection?

Thanks.

Regards,

Sam 

  • Hi Sam, which ports do you have your eMMC and SD card on (ie, what is BOOTMODE pin 9 and 13 set to)?  Do you change these when you have eMMC primary vs. SD card primary?

    Are you completely erasing the eMMC and SD card in between each test?  For example, do you have a residual raw image when attempting to boot in filesystem mode?

    Are you programming a raw image in the redundant area at offset 0x400000?

    Note that when eMMC boot is used as a backup option, only UDA in filesystem mode is supported.  Raw mode is not supported.

    I think after you answer these, i can help explain the behavior

    Regards,

    James