Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Question about system partiation size and system.img size

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 2/14/2015 06:19:01        Only Author  1#

Question about system partiation size and system.img size

From the wiki, I seem to gather that if the system.img partition is set to 768 MiB, that I can put a full 768MiB in there.


Is that correct, or did I misinterpret anything? There is no need to leave any empty space at either end of the partition?

Reply

Use props Report

543

Credits

19

Prestige

15

Contribution

advanced

Rank: 4

Credits
543
Posted at 2/14/2015 11:51:39        Only Author  2#

Re: Question about system partiation size and system.img size

From the wiki, I seem to gather that if the system.img partition is set to 768 MiB, that I can put a full 768MiB in there.


Is that correct, or did I misinterpret anything? There is no need to leave any empty space at either end of the partition?


Yes, you can set it up to 768MB in Windows and use the full space.

In Linux, you can make it any size you want, eg. 1GB to have even more space.

Just remember to also change the parameter file to reflect the change in size of the partitions.

Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 2/16/2015 04:00:57        Only Author  3#

Re: Question about system partiation size and system.img size

> Just remember to also change the parameter file to reflect the change in size of the partitions.


Of course.


I just wanted to make sure I didn't leave to any empty space at either end for anything reserved. I had already made an image of 1 GiB with the associated partition change in the parameter file, and it was working. I just wanted to not clobber anything in the next partition accidentally.


Thanks.

Reply

Use props Report

244

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
244
Posted at 2/16/2015 05:52:58        Only Author  4#

Re: Question about system partiation size and system.img size

I just wanted to make sure I didn't leave to any empty space at either end for anything reserved. I had already made an image of 1 GiB with the associated partition change in the parameter file, and it was working. I just wanted to not clobber anything in the next partition accidentally.

please make sure "offset + size = offset of next partition".

Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 2/16/2015 15:51:39        Only Author  5#

Re: Question about system partiation size and system.img size


Oh, I'm good. I made a parameter.txt partition generator spreadsheet to avoid having to make silly calculation mistakes. Thanks for the concern though.



0x00200000@0x00092000(system)
0x00002000@0x00292000(metadata)
0x00C00000@0x00294000(userdata)


Edit: In case anyone wants to use my partition table maker, here's the base: https://mega.co.nz/#!RZsziYja!Te6f3c2gK ... sYbHXShKsY

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