Closed
Bug 1241747
Opened 8 years ago
Closed 8 years ago
[porting][nexusplayer] device-google-atv porting
Categories
(Firefox OS Graveyard :: GonkIntegration, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: fatseng, Assigned: fatseng)
References
Details
Attachments
(2 files)
Modify atv_base.mk to solve build break and add b2g necessary
Assignee | ||
Comment 1•8 years ago
|
||
1. Remove unused module libfilterpack_imageproc. It causes build break. 2. Do not store the Android ringtones in the system image(Bug 825142) We also removed above two in mozilla-b2g/platform_build. 3. Inherit external/moztt/fonts.mk and gonk-misc/b2g.mk
Attachment #8710830 -
Flags: review?(lissyx+mozillians)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → fatseng
Status: NEW → ASSIGNED
Comment 2•8 years ago
|
||
Comment on attachment 8710830 [details] [review] device-google-atv PR I'm not sure why you need b2g.mk and fonts.mk
Flags: needinfo?(fatseng)
Attachment #8710830 -
Flags: review?(lissyx+mozillians)
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #2) > Comment on attachment 8710830 [details] [review] > device-google-atv PR > > I'm not sure why you need b2g.mk and fonts.mk They have been added into build/target/product/generic_no_telephony.mk I hit build break without b2g.mk. Here is error message. "build/core/base_rules.mk:158: *** system/core/rootdir: MODULE.TARGET.ETC.init.rc already defined by gonk-misc. Stop." Without fonts.mk, nexusplayer becomes black screen. It hit system crash while booting.
Flags: needinfo?(fatseng) → needinfo?(lissyx+mozillians)
Comment 4•8 years ago
|
||
(In reply to Farmer Tseng[:fatseng] from comment #3) > (In reply to Alexandre LISSY :gerard-majax from comment #2) > > Comment on attachment 8710830 [details] [review] > > device-google-atv PR > > > > I'm not sure why you need b2g.mk and fonts.mk > > They have been added into build/target/product/generic_no_telephony.mk > I hit build break without b2g.mk. > Here is error message. > "build/core/base_rules.mk:158: *** system/core/rootdir: > MODULE.TARGET.ETC.init.rc already defined by gonk-misc. Stop." I guess you need to read Android.mk there ;) Hint: ifneq ($(TARGET_PROVIDES_B2G_INIT_RC),true) > > Without fonts.mk, nexusplayer becomes black screen. > It hit system crash while booting. Ok, so you don't need fonts.mk in that file now?
Flags: needinfo?(lissyx+mozillians)
Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #4) > (In reply to Farmer Tseng[:fatseng] from comment #3) > > (In reply to Alexandre LISSY :gerard-majax from comment #2) > > > Comment on attachment 8710830 [details] [review] > > > device-google-atv PR > > > > > > I'm not sure why you need b2g.mk and fonts.mk > > > > They have been added into build/target/product/generic_no_telephony.mk > > I hit build break without b2g.mk. > > Here is error message. > > "build/core/base_rules.mk:158: *** system/core/rootdir: > > MODULE.TARGET.ETC.init.rc already defined by gonk-misc. Stop." > > I guess you need to read Android.mk there ;) > > Hint: ifneq ($(TARGET_PROVIDES_B2G_INIT_RC),true) > > > > > Without fonts.mk, nexusplayer becomes black screen. > > It hit system crash while booting. > > Ok, so you don't need fonts.mk in that file now? I mean I need it.
Flags: needinfo?(lissyx+mozillians)
Assignee | ||
Comment 6•8 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #4) > (In reply to Farmer Tseng[:fatseng] from comment #3) > > (In reply to Alexandre LISSY :gerard-majax from comment #2) > > > Comment on attachment 8710830 [details] [review] > > > device-google-atv PR > > > > > > I'm not sure why you need b2g.mk and fonts.mk > > > > They have been added into build/target/product/generic_no_telephony.mk > > I hit build break without b2g.mk. > > Here is error message. > > "build/core/base_rules.mk:158: *** system/core/rootdir: > > MODULE.TARGET.ETC.init.rc already defined by gonk-misc. Stop." > > I guess you need to read Android.mk there ;) > > Hint: ifneq ($(TARGET_PROVIDES_B2G_INIT_RC),true) > Per checked, I found init.rc already defined in gonk-misc/Android.mk. Therefore, I need b2g.mk to set TARGET_PROVIDES_B2G_INIT_RC as true. Besides, I also need b2g.mk to add other stuff, like sepolicy. > > > > Without fonts.mk, nexusplayer becomes black screen. > > It hit system crash while booting. > > Ok, so you don't need fonts.mk in that file now? I mean system would hit crash if I don't include font.mk gecko/gfx/thebes/gfxFT2FontList.cpp can't ready fonts under /system/font/. So, I need it. Here is error log. 01-25 10:21:57.205 I/Gecko ( 171): [171] ###!!! ABORT: Could not read the system fonts directory: file ../../../gecko/gfx/thebes/gfxFT2FontList.cpp, line 1188 01-25 10:21:57.205 E/Gecko ( 171): mozalloc_abort: [171] ###!!! ABORT: Could not read the system fonts directory: file ../../../gecko/gfx/thebes/gfxFT2FontList.cpp, line 1188
Comment 7•8 years ago
|
||
(In reply to Farmer Tseng[:fatseng] from comment #6) > (In reply to Alexandre LISSY :gerard-majax from comment #4) > > Hint: ifneq ($(TARGET_PROVIDES_B2G_INIT_RC),true) > > > Per checked, I found init.rc already defined in gonk-misc/Android.mk. > Therefore, I need b2g.mk to set TARGET_PROVIDES_B2G_INIT_RC as true. > Besides, I also need b2g.mk to add other stuff, like sepolicy. I don't understand. Does your device already provides an init.rc suitable for B2G ? Or does it already does a copy of Android's init.rc that would mess with this definition? You might just need to toggle that variable.
Flags: needinfo?(lissyx+mozillians)
Assignee | ||
Comment 8•8 years ago
|
||
use system/core/rootdir/init.rc
Attachment #8712071 -
Flags: review?(lissyx+mozillians)
Assignee | ||
Comment 9•8 years ago
|
||
Per checked, Using system/core/rootdir/init.rc is enough. I don't meet build break and device could boot to TV home screen. Please help review both patches.
Assignee | ||
Updated•8 years ago
|
Attachment #8710830 -
Flags: review?(lissyx+mozillians)
Updated•8 years ago
|
Attachment #8712071 -
Flags: review?(lissyx+mozillians) → review+
Updated•8 years ago
|
Attachment #8710830 -
Flags: review?(lissyx+mozillians) → review+
Assignee | ||
Comment 10•8 years ago
|
||
https://github.com/mozilla-b2g/device-google-atv/commit/b8b9f0020ddb7510534d3d046b765ed3db11e13b https://github.com/mozilla-b2g/device-asus-fugu/commit/aea2bbf0ef9f57882f3265e65ed0ef84d2e1a230
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•