Closed Bug 1011419 Opened 10 years ago Closed 10 years ago

[Flame] Make userdata image be 2GB

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S3 (6june)

People

(Reporter: gerard-majax, Assigned: gerard-majax)

Details

(Whiteboard: [systemsfe])

Attachments

(1 file)

As far as I saw on the T2M-provided builds, the userdata partition is 2GB. However, currently, flame.mk defines a 1GB partition.
Please find attached the github pull request to fix the userdata partition size to 2GB.
Attachment #8423745 - Flags: review?(mwu)
Comment on attachment 8423745 [details] [review]
Link to Github https://github.com/mozilla-b2g/device-flame/pull/21

The userdata size here and the size that I've calculated from what the phone reports are different. Can you double check your calculation?
Attachment #8423745 - Flags: review?(mwu)
(In reply to Michael Wu [:mwu] from comment #2)
> Comment on attachment 8423745 [details] [review]
> Link to Github https://github.com/mozilla-b2g/device-flame/pull/21
> 
> The userdata size here and the size that I've calculated from what the phone
> reports are different. Can you double check your calculation?

I may have not checked correctly this value :). What value did you got on your side ?
Whiteboard: [systemsfe]
Target Milestone: --- → 2.0 S2 (23may)
I see that device/qcom/msm8610/BoardConfig.mk from T2M/foxfone-one defines a value of 2214592512
Michael, maybe we should clone/switch to the t2m repo for device/qcom/msm8610/ since it defines the proper value?
Flags: needinfo?(mwu)
Using device/qcom/msm8610 as the device directory is really just abusing it. Let's not do it wrong.

2214592512 matches my calculated userdata partition size, so go for that.

FWIW, this is how I determine partition size on these devices:

# Find partition name to partition number mapping
ls -l /dev/block/partition/msm_sdcc.1/by-name

# Then find the size of our partition
cat /proc/partitions

# Multiply the block count by 1024 to find the size in bytes
Flags: needinfo?(mwu)
(In reply to Michael Wu [:mwu] from comment #6)
> Using device/qcom/msm8610 as the device directory is really just abusing it.
> Let's not do it wrong.
> 

So you prefer that we keep cherry-picking patches from partner's repo ? That's fine by me, it just makes quite a couple of more work :)
Flags: needinfo?(vchen)
Comment on attachment 8423745 [details] [review]
Link to Github https://github.com/mozilla-b2g/device-flame/pull/21

Updated PR with the correct value.
Attachment #8423745 - Flags: review?(mwu)
Attachment #8423745 - Flags: review?(mwu) → review+
Keywords: checkin-needed
master : https://github.com/mozilla-b2g/device-flame/commit/b99bd353c9a1e292a21e686f2d6b35aafa1d06ca
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: 2.0 S2 (23may) → 2.0 S3 (6june)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: