Closed Bug 1173295 Opened 9 years ago Closed 9 years ago

[Flame L] merge patches for those fork from t2m branch

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: viralwang, Assigned: viralwang)

References

Details

Attachments

(6 files)

There are some repositories fork from t2m/caf need some patches for b2g:

external/bluetooth/bluedroid
frameworks/av
frameworks/base
hardware/libhardware
kernel
system/core

Since most of patches already land in other branches, I think I can collect all of them in this bug.
Attached file PR for kernel
as we did in bug 1086987, we need to enable seccomp and fanotify for flame-l
Attachment #8620872 - Flags: review?(mwu)
Attached file PR for system/core
we need to make sure b2g binaries executable in system/core.
Attachment #8620878 - Flags: review?(mwu)
Attached file PR for frameworks/base
Same as bug 1104239, we need to remove fonts makefile.
Attachment #8620897 - Flags: review?(mwu)
Comment on attachment 8620872 [details] [review]
PR for kernel

This doesn't look quite right.

The branch name doesn't match the existing naming scheme.

The commits that are being merged shouldn't be there, because they should have already existed when you branched. This probably means you're branching from an incorrect point. Generally we should start from a commit tagged on CAF and add any changes on top of that. All the seccomp backports are provided by CAF, not T2M.
Attachment #8620872 - Flags: review?(mwu)
This port looks like it started from the wrong point. You need to start from the appropriate CAF tag as a base for any additional changes. Our b2g-* ports are only used as a reference for SoC vendors and for AOSP ports. CAF has their own set of B2G port changes. The only thing that we override is platform_build.
If there are no additional changes you need beyond CAF's branch, point the manifest to the appropriate tag. We only need to make forks when we need to make changes that upstream won't take or can't take in time.
Hi Michael,

It will be best if we can have CAF tag for L. However, CAF won't provide L version with b2g for msm8x10 chipset. (or we can wait/ask for b2g_l_3.5?)
All QCT works on L are base on msm8909 with 5.1, and QCT has officially stopped L on msm8x10 and we can only have flame with 5.0. That's why we can't use the same tag as msm8909 b2g since there are something kernel not support like ion.

The only choice we have is to use the AOSP tag provided by t2m for kernel and backport those necessary patches.
For other repositories, we also need to use the AOSP tag (it could be t2m/CAF) and merge patches again like we did for Nexus-5 L.
Flags: needinfo?(mwu)
Got it, makes sense. Then Flame L doesn't necessarily seem like something that people should upgrade to. It sounds like more of an option for people who need to test L and have a Flame.
Flags: needinfo?(mwu)
the main reason to get Flame L on PVT is due to DSDS and NFC testing. QA actually raised the need to have Flame L PVT. On top of that, so far, Flame is still the only device which supports both DSDS and NFC functions + people can easily get a Flame. i think it is worthy to put it on PVT, since we have almost prepared all it requires (config, manifest, etc).
Attached file PR for frameworks/av
Hi Micheal,

I refer the code in https://www.codeaurora.org/cgit/quic/la/platform/frameworks/av/commit/?h=LF.BR.1.2.3&id=a4b9ff7252272cedff593937e8e6dab842bd4209 , we have to revert the commit to make it build pass.
Attachment #8623492 - Flags: review?(mwu)
Comment on attachment 8620872 [details] [review]
PR for kernel

Hi Michael,

As our discussion in comment 9, this PR still need your help to review.
Thank you.
Attachment #8620872 - Flags: review?(mwu)
(In reply to Francis Lee [:frlee] from comment #11)
> the main reason to get Flame L on PVT is due to DSDS and NFC testing. QA
> actually raised the need to have Flame L PVT. On top of that, so far, Flame
> is still the only device which supports both DSDS and NFC functions + people
> can easily get a Flame. i think it is worthy to put it on PVT, since we have
> almost prepared all it requires (config, manifest, etc).

Yeah that's fine. It's just that there's not a whole lot of value here compared to our other ports, but the work is done so I'll stamp it. It's just a really odd port (and I didn't realize when reviewing). It supports 5.0, when we want to focus on 5.1, and it does it without official chipset support and releases from QC.
Attachment #8620872 - Flags: review?(mwu) → review+
Attachment #8620878 - Flags: review?(mwu) → review+
Attachment #8620888 - Flags: review?(mwu) → review+
Attachment #8620890 - Flags: review?(mwu) → review+
Attachment #8620897 - Flags: review?(mwu) → review+
Attachment #8623492 - Flags: review?(mwu) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: