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.

DRA829V: eMMC layout for Custom Board based on DRA829

Part Number: DRA829V


Hi

In our custom Board we are using 4GB eMMC we are trying eMMC booting.

so we want to know the offset need to keep for the eMMC as mentioned in the link below is for higher size memory so we not able to write to the block mention below. our maximum block is (0x1000)

 boot0 partition (8 MB)                        user partition
   0x0+----------------------------------+      0x0+-------------------------+
      |     tiboot3.bin (512 KB)         |         |                         |
 0x400+----------------------------------+         |                         |
      |       tispl.bin (2 MB)           |         |                         |
0x1400+----------------------------------+         |        rootfs           |
      |       u-boot.img (4 MB)          |         |                         |
0x3400+----------------------------------+         |                         |
      |      environment (128 KB)        |         |                         |
0x3500+----------------------------------+         |                         |
      |   backup environment (128 KB)    |         |                         |
0x3600+----------------------------------+         |                         |
      |          sysfw (1 MB)            |         |                         |
0x3E00+----------------------------------+         +-------------------------+

https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/07_03_00_05/exports/docs/linux/Foundational_Components/U-Boot/UG-Memory.html

could you please provide the offset for the u-boot binaries that need to use while flashing.

Regards

Divyanshu

  • Hi Divyanshu,

    Source code looks for specific offsets. Size of each block is 512. We expect 8MB of boot partition.
    0x1000 means 4096 * 412 = 2MB.

    The above looks too small for 4 binaries to fit!

    If you add up sizes of tiboot3.bin + tispl.bin + sysfw.itb + u-boot.img you can not fit that into 2MB. Kindly request you
    to add more memory to eMMC boot partition. 8MB will be safe. as you shared above.

    - Keerthy

  • Hi keerthy,

    As the eMMC which we are using has the 2Mb boot capacity, Please find the below details

    => mmc info
    Device: sdhci@4f80000
    Manufacturer ID: 9d
    OEM: 101
    Name: IS004
    Bus Speed: 200000000
    Mode: HS200 (200MHz)
    Rd Block Len: 512
    MMC version 5.0
    High Capacity: Yes
    Capacity: 3.6 GiB
    Bus Width: 8-bit
    Erase Group Size: 512 KiB
    HC WP Group Size: 8 MiB
    User Capacity: 3.6 GiB WRREL
    Boot Capacity: 2 MiB ENH
    RPMB Capacity: 512 KiB ENH

    could you suggest How i can increase the boot partition of eMMC.

  • Hi Divyanshu,

    I have shared the details on changing the block offsets with .

    Sharing here:

    U-boot directory: arch/arm/mach-k3/Kconfig:108:config K3_SYSFW_IMAGE_MMCSD_RAW_MODE_SECT for sysfw

    For the tispl.bin & u-boot.img here is the below image:


    tiboot3.bin at 0.

    I tried to find out changing the size of eMMC boot partition. It is fixed & cannot be changed.

    Regards,
    Keerthy