Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Tip: DualBOOT Android 4.4.2 (8GB) + Linux (12GB) - parameter file

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 7/21/2015 11:40:17      1#
Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
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.
已有 1评分Prestige +10 Money +6 Contribution +12 Pack up reason
deep + 10 + 6 + 12

View all ratings

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list