Closed
Bug 945136
Opened 11 years ago
Closed 11 years ago
disable drmserver and installd
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(blocking-b2g:1.3T+, b2g-v1.3T fixed)
People
(Reporter: gal, Assigned: james.zhang)
Details
(Whiteboard: [POVB])
Attachments
(1 file)
670 bytes,
patch
|
Details | Diff | Splinter Review |
A chipset vendor requested that we disable starting drmserver and installd via build/core/user_tags.mk since we use neither. Ideally we shouldn't build and install them either.
Assignee | ||
Comment 2•11 years ago
|
||
I have verified on fugu.
Assignee | ||
Updated•11 years ago
|
Attachment #8340957 -
Flags: review?(ttsai)
Comment 3•11 years ago
|
||
how about these 3 .so? They are still built and included in the rom.
libfwdlockengine.so
libdrm1_jni.so
libdrm1.so
Updated•11 years ago
|
Attachment #8340957 -
Flags: review?(ttsai)
Comment 4•11 years ago
|
||
any comment if all these DRM related are removed?
drmserver.so
libdrmframework.so
libdrmframework_jni.so
libfwdlockengine.so
libdrm1_jni.so
libdrm1.so
Flags: needinfo?(mwu)
Flags: needinfo?(mchen)
Updated•11 years ago
|
Assignee: ttsai → dliang
Updated•11 years ago
|
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Assignee | ||
Comment 5•11 years ago
|
||
(In reply to thomas tsai from comment #3)
> how about these 3 .so? They are still built and included in the rom.
> libfwdlockengine.so
> libdrm1_jni.so
> libdrm1.so
Remove these 3 .so will cause build error.
Reporter | ||
Comment 6•11 years ago
|
||
We can add a repo that exports dummy versions of those libraries. We did that for other Dalvik and Jni stuff too. Saved memory on disk and ram.
Comment 7•11 years ago
|
||
Currently /system/bin/drmserver is running on the system.
We need to remove it from init.rc too.
Flags: needinfo?(mchen)
Comment 8•11 years ago
|
||
(In reply to Andreas Gal :gal from comment #6)
> We can add a repo that exports dummy versions of those libraries. We did
> that for other Dalvik and Jni stuff too. Saved memory on disk and ram.
We need to find out the dependency and to see whether we can remove that dependency chain entirely.
Or maybe we can do fakedrmXXX to expose necessary APIs.
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to Marco Chen [:mchen] from comment #7)
> Currently /system/bin/drmserver is running on the system.
We need to remove
> it from init.rc too.
If drmserver hasn't been built, we need not remove it from init.rc.
Comment 10•11 years ago
|
||
In general *_jni.so libraries aren't necessary. I remember removing all of them, though.
Flags: needinfo?(mwu)
Assignee | ||
Comment 11•11 years ago
|
||
(In reply to Michael Wu [:mwu] from comment #10)
> In general *_jni.so libraries aren't necessary. I remember removing all of
> them, though.
Please check B2G/out/target/product/<device>/installed-files.txt, you can find many *jni*.so.
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(mwu)
Assignee | ||
Comment 12•11 years ago
|
||
Michael, please remove all unnecessary jni so to shrink ROM size, it's very important to tarako device.
blocking-b2g: --- → 1.3?
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(styang)
Updated•11 years ago
|
Flags: needinfo?(styang)
Comment 13•11 years ago
|
||
(In reply to James Zhang from comment #12)
> Michael, please remove all unnecessary jni so to shrink ROM size, it's very
> important to tarako device.
Hi James,
May I know why shrink ROM size is important to tarako device too (not only RAM)?
Because these JNI libraries are only about 200k Bytes only.
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to Marco Chen [:mchen] [PTO from 2013/12/24 ~ 2014/01/02] from comment #13)
> (In reply to James Zhang from comment #12)
> > Michael, please remove all unnecessary jni so to shrink ROM size, it's very
> > important to tarako device.
>
> Hi James,
>
> May I know why shrink ROM size is important to tarako device too (not only
> RAM)?
> Because these JNI libraries are only about 200k Bytes only.
I have removed all unused JNI libraries on gonk side. We also need shrink ROM size to 100M for fastboot.
Assignee | ||
Comment 15•11 years ago
|
||
Fixed on gonk side, please sync tarako code.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: tarako
Assignee | ||
Updated•11 years ago
|
Assignee: dliang → james.zhang
Updated•11 years ago
|
Whiteboard: tarako → [tarako]
Comment 16•11 years ago
|
||
(In reply to James Zhang from comment #14)
> I have removed all unused JNI libraries on gonk side. We also need shrink
> ROM size to 100M for fastboot.
Could I know the detail of what there is a limitation of 100MB on fastboot?
If it is caused by memory then could we do traffic control?
(Thanks for your kindly response. I just want to make sure the reason of shrinking ROM size.)
Assignee | ||
Comment 17•11 years ago
|
||
(In reply to Marco Chen [:mchen] [PTO from 2013/12/24 ~ 2014/01/02] from comment #16)
> (In reply to James Zhang from comment #14)
> > I have removed all unused JNI libraries on gonk side. We also need shrink
> > ROM size to 100M for fastboot.
>
> Could I know the detail of what there is a limitation of 100MB on fastboot?
> If it is caused by memory then could we do traffic control?i
>
> (Thanks for your kindly response. I just want to make sure the reason of
> shrinking ROM size.)
We use u-boot for fastboot, it'll store the image in ram and the available memory is about 100MB.
Comment 18•11 years ago
|
||
What's the status here? Does this still need to be a 1.3 blocker or have the fixes landed?
Flags: needinfo?(james.zhang)
Assignee | ||
Comment 19•11 years ago
|
||
fixed on my side.
blocking-b2g: 1.3? → ---
Flags: needinfo?(james.zhang)
Comment 20•11 years ago
|
||
add [POVB] and 1.3T+ so it gets tracked for tarako
blocking-b2g: --- → 1.3T+
Whiteboard: [tarako] → [POVB]
Updated•11 years ago
|
status-b2g-v1.3T:
--- → ?
Comment 21•11 years ago
|
||
Marking 1.3t fixed per comment 19
Updated•11 years ago
|
Flags: needinfo?(mwu)
You need to log in
before you can comment on or make changes to this bug.
Description
•