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.

AM3359: u-boot image of TOC(Table of Contents)

Part Number: AM3359

Hi,TI's engineers:

          I want to know why do I put TOC in front of the GP-header for MLO file, and what does that do.What's the difference between it and only GP-header?

regards, Fu

  • Hi,TI's engineers:

    Is there any relationship between the TOC header and the HS(high-secure) device? How does ROM code's boot process distinguish HS device from GP Device? Looking forward to your reply. 

    regards,Fu

  • Hi Fu,

    Pease refer to 26.1.11 Table of Contents of the TRM (https://www.ti.com/lit/ug/spruh73q/spruh73q.pdf)

    The Table of Contents (TOC) is a header needed only in GP devices while using MMC RAW mode. This must not be confused with the TOC used in HS devices. The TOC is 512 bytes long and consists of a maximum of 2 TOC items (32 bytes long each), located one after the other. The second TOC item must be filled by FFh. Each TOC item contains information required by the ROM Code to find a valid image in RAW mode, as illustrated in Table 26-38. To detect RAW mode, the ROM also needs the magic values mentioned in Table 26-39. Other than the TOC item fields and magic values, all the other bytes in the 512- byte TOC must be zero.

    Best,

    -Hong

  • Hi Hong:

           I downloaded ti-uboot 2017.01 from: git.ti-uboot. The generated U-boot image contains TOC by default, but I use it as a GP device, which is beyond my understanding

  • Hi Fu,

    As described in TRM, TOC is needed for raw MMC booting.

    Best,

    -Hong