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.

66AK2G12: MMCSD Boot Questions

Part Number: 66AK2G12

Dear All,

we want to setup a boot loader for our custom board. Our current dev tools are ccs 9.1.0.10, pdk 1.0.14, c6000 cgt 8.2.7, arm linaro 7.2.1

We are able to write any file to specific address on our NAND flash chip connected to MMCSD1 of the 66AK2G12.

Is it possible to boot directly via MMCSD to load a modified SBL? That is the RBL accesses the MMCSD chip at an address to load the software similar to a SBL?

Which boot mode pin settings are recommended for this setup?

bit 0-3 = 0b1110 BOOT DEVICE: MMCSD Boot Mode

bit 4 = 0 MIN: All fields must be independently configured

bit 5 = BOOT MASTER: ??

bit 6-8 = 1 REF CLK: 24 MHz

bit 9 = 1 PORT: MMCSD1

bit 10 = 0 1 BIT: Maximum data lines

bit 11-12 = 0 CARD TYPE: Auto-detect

bit 13 = BOOT: ??

bit 14 = 0 B_ACK: No boot acknowledge expected

bit 15 = 0 BACKUP: USB

Is the DSP as boot master also possible?

What is the intention of bit 13 BOOT? Where is the boot sector located if available? What to select here if we have a chip without file system and other preparation and want to boot from block 0?

I expect B_ACK to be 0 since we dont expect any kind of acknowledge.

Do you have any hints regarding MMCSD boot?

Regards

Bernhard

  • Hi,

    Yes, 66AK2G12 can boot from MMSCD, in fact the K2G EVM, which is the eval board for 66AK2G12, is booting from mmcsd:
     

    You can check its schematics & TRM to see how it is configured.

    Is the DSP as boot master also possible?

    As per TRM, Section Section 4.3.2.10 MMCSD Boot Device Configuration, only ARMSS can be bootmaster in this case, see Table 4-14. MMCSD Mode Boot Configuration Field Description. 

    What is the intention of bit 13 BOOT?

    This is described in the TRM, Section 4.3.2.10 MMCSD Boot Device Configuration.

    Where is the boot sector located if available? What to select here if we have a chip without file system and other preparation and want to boot from block 0?

    All of this is described in the TRM, Section 4.3.5.9 MMCSD Bootloader Operation, Section 4.3.2.10, MMCSD Boot Device Configuration and Section 4.3.3.9, MMCSD Boot Parameter Table.

    Best Regards,
    Yordan

  • Dear Yordan,

    sorry for the late reply, I was on vacation.

    I already had a look at the TRM!

    From your colleague i know ARM is boot master in 95% of use cases. Therefore the questions about DSP boot.

    Also I know that the TRMs are not all always 100% up-to-date. Therefore my question.

    What does bit 13 BOOT has for an effec ton the block address the RBL looks for the boot image? Do you know whether the boot sector is block 0 or an other specific block address? Do you know whether this is chip specific or standardized?

    Bernhard

  • Hi Bernhard,

    From your colleague i know ARM is boot master in 95% of use cases. Therefore the questions about DSP boot.

    In the case of MMCSD boot mode DSP cannot be the boot master, as per table Table4-14.MMCSD Mode Boot Configuration Field Description. In this regard TRM is up to date.

    As for the boot sector, BOOT bit only indicates whether you boot from MMC boot sectors or SD boot sectors. As for whether the boot sector starts at 0, usually no, the first are used for MBR or GPT partition tables, depending on the OS and bootable media type. You can take a look at some community discussions regarding this:
      

    Best Regards,
    Yordan