|
Posted at 7/21/2015 11:46:41
2#
It's really simple. Every partition has its start and range, which is given at the form below:
SIZE@OFFSET(PARTITION_NAME)
SIZE and OFFSET are hex numbers, in unit of 512 bytes (traditional disk sector size)
For example, you can find the "CMDLINE" line in parameter file rk3288-3.10-uboot-data1G.parameter.txt, which has the string "system":
0x00180000@0x00092000(system)
This system partition has a size of:
$ echo $(( 0x00180000 * 512 / 1024 / 1024))M
768M
and starts at
$ echo $((0x00092000 * 512 / 1024 / 1024))M
292M
Just pay attention that, the offset of next partion = offset of this partition + size of this partition.
Someony made an excel file which simplified this processs. But I cannot find it now. |
|