Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

J784S4XEVM: Partitioning the eMMC in U-Boot

Part Number: J784S4XEVM

Tool/software:

Hi,

I am a little confused about partitioning in the U-Boot the eMMC. I am using the ti-processor-sdk-linux-adas-j784s4-evm-10_00_00_08.
I have loaded the U-boot through dfu-util, and I am trying to partition the eMMC that is on the dev 0. 

If I print out the eMMC dev info the following informations appears:

=> mmc info
Device: mmc@4f80000
Manufacturer ID: 13
OEM: 4e
Name: G1M15L 
Bus Speed: 200000000
Mode: HS400 (200MHz)
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 31.5 MiB
Bus Width: 8-bit DDR
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 29.6 GiB WRREL
Boot Capacity: 31.5 MiB ENH
RPMB Capacity: 4 MiB ENH
Boot area 0 is not write protected
Boot area 1 is not write protected
=> 

  1. question: is this eMMC already partitioned?

If I want to read the partition table I only can see the partition in the 0 partition, that I have created using the gpt command.

=> mmc dev 0
switch to partitions #0, OK
mmc0(part 0) is current device
=> mmc part

Partition Map for MMC device 0  --   Partition Type: EFI

Part    Start LBA       End LBA         Name
        Attributes
        Type GUID
        Partition GUID
  1     0x00000022      0x03a98021      "boot"
        attrs:  0x0000000000000000
        type:   ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
        guid:   4bee5e8a-8c35-8744-9cc4-16dc1e9d2d94
=> mmc dev 0 1
switch to partitions #1, OK
mmc0(part 1) is current device
=> mmc part

Partition Map for MMC device 0  --   Partition Type: EFI

=>

       2.  question: However I tried numerous methods on partition the whole eMMC and not only the part 0, the gpt command only made two separate partitions in mmc dev 0 0.
(I have followed numerous threads and examples:

However using the ext4ls command I am able to see the Linux filesystem on the mmc dev 0 1:

=> ext4ls mmc 0:1 
<DIR>       4096 .
<DIR>       4096 ..
<DIR>      16384 lost+found
<SYM>          7 bin
<DIR>       4096 boot
<DIR>       4096 dev
<DIR>       4096 etc
<DIR>       4096 home
<SYM>          7 lib
<DIR>       4096 media
<DIR>       4096 mnt
<DIR>       4096 proc
<DIR>       4096 root
<DIR>       4096 run
<SYM>          8 sbin
<DIR>       4096 srv
<DIR>       4096 sys
<DIR>       4096 tmp
<DIR>       4096 usr
<DIR>       4096 var
=> 

But on the mmc dev 0 0 I couldn't load the tiboot3.bin, tispl.bin, u-boot.img, uEnv.txt, ... files

         3. how can I reconfigure the partitions that I can see both partitions and load the firmware's on the board.

Regards,
Tamas