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 =>
- 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:
- https://github.com/u-boot/u-boot/blob/master/doc/README.gpt
- https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1299989/am625-am625-emmc-partitioning-from-u-boot
- https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1174554/am625-create-2-boot-partitions-with-type-linux-in-emmc-uboot
- https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1299989/am625-am625-emmc-partitioning-from-u-boot/4951377?tisearch=e2e-sitesearch&keymatch=partition%25252525252525252520emmc%25252525252525252520from%25252525252525252520u-boot#4951377
- https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1435231/tda4vp-q1-failed-to-load-u-boot-to-the-emmc-on-custom-board/5502788?tisearch=e2e-sitesearch&keymatch=partition%20emmc%20from%20u-boot#5502788
- https://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_U-Boot.html#Partitioning_eMMC_from_U-Boot
- https://e2e.ti.com/support/processors-group/processors/f/processors-forum/995426/tda4vm-rootfs-flashing-using-dfu-util
- https://www.ti.com/lit/an/spracy5/spracy5.pdf
- https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1351993/tda4vm-dfu-rootfs
- https://e2e.ti.com/support/processors-group/processors/f/processors-forum/995426/tda4vm-rootfs-flashing-using-dfu-util)
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