How to add one user UFS partition

96boards

#1

I used partition-table-tool to add a new UFS partition, but after flash image file, but it still didn’t display in /proc/partition, see below.
I had changed my UFS to 128GB through hardware method. who knows if there is another place should be configured?

hikey960:/ # cat /proc/partitions
major minor #blocks name

1 0 16384 ram0
1 1 16384 ram1
1 2 16384 ram2
1 3 16384 ram3
1 4 16384 ram4
1 5 16384 ram5
1 6 16384 ram6
1 7 16384 ram7
1 8 16384 ram8
1 9 16384 ram9
1 10 16384 ram10
1 11 16384 ram11
1 12 16384 ram12
1 13 16384 ram13
1 14 16384 ram14
1 15 16384 ram15
8 0 4096 sda
8 16 4096 sdb
8 32 8192 sdc
8 33 7168 sdc1
8 48 124928000 sdd
8 49 1024 sdd1
8 50 12288 sdd2
8 51 6144 sdd3
8 52 12288 sdd4
8 53 262144 sdd5
8 54 1024 sdd6
8 55 65536 sdd7
8 56 16384 sdd8
8 57 2048 sdd9
8 58 4800512 sdd10
8 59 802816 sdd11
8 60 1024 sdd12
8 61 118943744 sdd13

{PART_XLOADER_A, 0, 21024, UFS_PART_0},
{PART_XLOADER_B, 0, 2
1024, UFS_PART_1},
{PART_PTABLE, 0, 1024, UFS_PART_2},/* ptable 512K /
{PART_FRP, 1024, 7
1024, UFS_PART_2},/* frp 512K p1*/
{PART_PTABLE_LU3, 0, 1024, UFS_PART_3},/* ptable_lu3 1M sdd /
{PART_XLOADER_RESERVED1,1024, 1024, UFS_PART_3},/
vrl 1M sdd1 /
{PART_FASTBOOT, 2
1024, 121024, UFS_PART_3},/ fastboot 12M sdd2 /
{PART_NVME, 14
1024, 61024, UFS_PART_3},/ nvme 6M sdd3 /
/
Items above shall not be changed, unless you can update xloader simualtaneously. /
{PART_FIP, 20
1024, 121024, UFS_PART_3},/ fip 12M sdd4 /
{PART_CACHE, 32
1024, 2561024, UFS_PART_3},/ cache 256M sdd5 /
{PART_FW_LPM3, 288
1024, 1024, UFS_PART_3},/* mcuimage 1M sdd6 /
{PART_BOOT, 289
1024, 641024, UFS_PART_3},/ boot 64M sdd7 /
{PART_DTS, 353
1024, 161024, UFS_PART_3},/ dtimage 16M sdd8 /
{PART_TRUSTFIRMWARE, 369
1024, 21024, UFS_PART_3},/ trustfirmware 2M sdd9 /
{PART_SYSTEM, 371
1024, 46881024, UFS_PART_3},/ system 4688M sdd10 /
{PART_VENDOR, 5059
1024, 7841024, UFS_PART_3},/ vendor 784M sdd11 /
{PART_RESERVED, 5843
1024, 1024, UFS_PART_3},/* reserved 1M sdd12 /
{PART_USERDATA, 5844
1024, (24646UL)1024, UFS_PART_3},/ userdata 24G sdd13 /
{PART_FS, 30490
1024, (65535UL)1024, UFS_PART_3},/ fs 64G sdd14 */
{“0”, 0, 0, 0},
};