Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

What to do with all these partitions?

OP kahrkunne

29th November 2014, 08:36 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Nov 2014
Not sure whether this is the right place, but oh well.
So I"m trying to port cyanogenmod 11 to the Moto G 2014 (codename Titan) (should I have posted this on the cyanogenmod forums? Couldn't find a section that looked even remotely relevant).
I'm trying to fill in this section of BoardConfig.mk:
Code:
# fix this up by examining /proc/mtd on a running device
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_FLASH_BLOCK_SIZE := 131072
I don't have a /proc/mtd, but /proc/partitions seems to have what I'm looking for.
However, it's contents is as follows:
Code:
major minor  #blocks  name

 179        0    7634944 mmcblk0
 179        1      65536 mmcblk0p1
 179        2        512 mmcblk0p2
 179        3         32 mmcblk0p3
 179        4       1012 mmcblk0p4
 179        5        200 mmcblk0p5
 179        6        400 mmcblk0p6
 179        7         32 mmcblk0p7
 179        8        512 mmcblk0p8
 179        9       2048 mmcblk0p9
 179       10       2332 mmcblk0p10
 179       11       1012 mmcblk0p11
 179       12        200 mmcblk0p12
 179       13        400 mmcblk0p13
 179       14         32 mmcblk0p14
 179       15        512 mmcblk0p15
 179       16       1052 mmcblk0p16
 179       17       1536 mmcblk0p17
 179       18       1536 mmcblk0p18
 179       19        488 mmcblk0p19
 179       20         32 mmcblk0p20
 179       21       1536 mmcblk0p21
 179       22          1 mmcblk0p22
 179       23          8 mmcblk0p23
 179       24       1024 mmcblk0p24
 179       25        128 mmcblk0p25
 179       26       3072 mmcblk0p26
 179       27       4096 mmcblk0p27
 179       28       4096 mmcblk0p28
 179       29       8192 mmcblk0p29
 179       30        512 mmcblk0p30
 179       31      10200 mmcblk0p31
 259        0      10280 mmcblk0p32
 259        1       1024 mmcblk0p33
 259        2      16384 mmcblk0p34
 259        3     546944 mmcblk0p35
 259        4    1130496 mmcblk0p36
 259        5       8192 mmcblk0p37
 259        6    5774208 mmcblk0p38
 179       32       2048 mmcblk0rpmb
W-why is there 39 partitions...?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes