Closed
Bug 964697
(emulator-NFC)
Opened 12 years ago
Closed 10 years ago
B2G Emulator: NFC support in KK
Categories
(Firefox OS Graveyard :: Emulator, defect)
Tracking
(b2g-master fixed)
RESOLVED
FIXED
2.2 S12 (15may)
Tracking | Status | |
---|---|---|
b2g-master | --- | fixed |
People
(Reporter: vicamo, Assigned: dimi)
References
Details
Attachments
(6 files, 4 obsolete files)
20.38 KB,
application/x-gzip
|
Details | |
52 bytes,
text/x-github-pull-request
|
tzimmermann
:
review+
|
Details | Review |
54 bytes,
text/x-github-pull-request
|
tzimmermann
:
review+
|
Details | Review |
62 bytes,
text/x-github-pull-request
|
tzimmermann
:
review+
|
Details | Review |
69 bytes,
text/x-github-pull-request
|
tzimmermann
:
review+
|
Details | Review |
54 bytes,
text/x-github-pull-request
|
tzimmermann
:
review+
|
Details | Review |
+++ This bug was initially created as a clone of Bug #916863 +++
We have had NFC support in JellyBean emulator since bug 916863 and KitKat emulator builds in bug 957526. To enable NFC to KitKat emulator, the very first thing we should do is to cherry-pick Mozilla B2G Emulator specific changes from https://github.com/mozilla-b2g/kernel_goldfish/tree/b2g-goldfish-2.6.29 to https://github.com/mozilla-b2g/kernel_goldfish/commit/6dff53c, which is the commit that current KitKat emulator kernel is built from[1]. Then we can go on to cherry-pick or merge remaining NFC-related changes in device/generic/goldfish, build, manifest, external/qemu.
[1]: See https://android.googlesource.com/platform/prebuilts/qemu-kernel/+/android-4.4.2_r1
Reporter | ||
Comment 1•11 years ago
|
||
Update: NFC emulation changes had been merged into emulator-kitkat since https://github.com/mozilla-b2g/platform_external_qemu/commits/5ba6bcbdba30842b02f33f595660e32e3b9182d8 .
Reporter | ||
Comment 2•11 years ago
|
||
Maybe we should ignore Bluedroid porting progress and cherry-pick NFC changes to KitKat first. Depend on bug 997469 because it creates b2g-4.4.2_r1 branch in prebuilts/qemu-kernel.
Updated•11 years ago
|
Assignee: nobody → tzimmermann
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(vyang)
Reporter | ||
Comment 7•11 years ago
|
||
Hi, I had a try with these pull requests but most NFC test cases fail except test_ndef.js.
Gecko: 3bf1a97537d3651304bb158e5cd9a500d9dcb846
Gaia: 52c3473fbe58b16e8729e11cb5a61078a93166cc
build: 5c3064cb3271c42e09fc386bf1da6bcd76e73b1f merged
external/libnfc-nci: 1ba9dcccf5b342bd74a2f8213b7ed3be78b9db44
external/qemu: e4b7cd053711ece3cd5616cd4fb7f75c43bce9c0
prebuilts/qemu-kernel: acbd9efc2a154943978d60dccbaea37a05a820d4
system/nfcd: aad3e80dea67774aa51ed4e6c054856168dd180b
Flags: needinfo?(vyang) → needinfo?(tzimmermann)
Comment 8•11 years ago
|
||
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #7)
> Created attachment 8480351 [details]
> adb-logcat.txt.gz
That file is compressed twice :D
> Hi, I had a try with these pull requests but most NFC test cases fail except
> test_ndef.js.
Thanks for trying. This logcat shows Marionette timeouts AFAICS and there's also the dead-object problem again:
> 08-28 04:41:32.580 E/GeckoConsole( 63): [JavaScript Error: "can't access dead object" {file: "jar:file:///system/b2g/omni.ja!/components/SettingsManager.js" line: 99}]
It's tracked in bug 777840.
> Gecko: 3bf1a97537d3651304bb158e5cd9a500d9dcb846
> Gaia: 52c3473fbe58b16e8729e11cb5a61078a93166cc
> build: 5c3064cb3271c42e09fc386bf1da6bcd76e73b1f merged
> external/libnfc-nci: 1ba9dcccf5b342bd74a2f8213b7ed3be78b9db44
> external/qemu: e4b7cd053711ece3cd5616cd4fb7f75c43bce9c0
> prebuilts/qemu-kernel: acbd9efc2a154943978d60dccbaea37a05a820d4
> system/nfcd: aad3e80dea67774aa51ed4e6c054856168dd180b
Flags: needinfo?(tzimmermann)
Updated•11 years ago
|
Blocks: emulator-kk
Updated•11 years ago
|
Blocks: emulator-l_taskcluster
Updated•11 years ago
|
No longer blocks: emulator-l_taskcluster
Updated•11 years ago
|
Summary: B2G Emulator: NFC support in KitKat → B2G Emulator: NFC support in KK, L
Updated•11 years ago
|
Alias: emulator-NFC
Updated•11 years ago
|
Blocks: emulator-l_taskcluster
Is the development still active?
Comment 10•11 years ago
|
||
Sort of. The attached patches were complete for an older version of NFC at least. But since emulator-kk is only now getting an option, nothing has ever landed. Once we have automated tests for emulator-kk, I wanted to merge the patch set as well.
Updated•11 years ago
|
Status: NEW → ASSIGNED
Comment 11•11 years ago
|
||
This bug is strictly KK.
No longer blocks: emulator-l_taskcluster
Summary: B2G Emulator: NFC support in KK, L → B2G Emulator: NFC support in KK
Comment 12•10 years ago
|
||
Thomas, do you have time to work on this? We are willing to help if you are busy on others bug.
Flags: needinfo?(tzimmermann)
Assignee | ||
Comment 13•10 years ago
|
||
I have talked with thomas , i will work on this issue
Assignee: tzimmermann → dlee
Flags: needinfo?(tzimmermann)
Assignee | ||
Comment 14•10 years ago
|
||
Attachment #8462508 -
Attachment is obsolete: true
Assignee | ||
Comment 15•10 years ago
|
||
Attachment #8462504 -
Attachment is obsolete: true
Assignee | ||
Comment 16•10 years ago
|
||
Assignee | ||
Comment 17•10 years ago
|
||
Attachment #8462519 -
Attachment is obsolete: true
Assignee | ||
Comment 18•10 years ago
|
||
Attachment #8462522 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Attachment #8601962 -
Flags: review?(tzimmermann)
Assignee | ||
Updated•10 years ago
|
Attachment #8601968 -
Flags: review?(tzimmermann)
Assignee | ||
Updated•10 years ago
|
Attachment #8601970 -
Flags: review?(tzimmermann)
Assignee | ||
Updated•10 years ago
|
Attachment #8601974 -
Flags: review?(tzimmermann)
Assignee | ||
Updated•10 years ago
|
Attachment #8601975 -
Flags: review?(tzimmermann)
Updated•10 years ago
|
Attachment #8601962 -
Flags: review?(tzimmermann) → review+
Updated•10 years ago
|
Attachment #8601968 -
Flags: review?(tzimmermann) → review+
Updated•10 years ago
|
Attachment #8601970 -
Flags: review?(tzimmermann) → review+
Updated•10 years ago
|
Attachment #8601974 -
Flags: review?(tzimmermann) → review+
Comment 19•10 years ago
|
||
Comment on attachment 8601975 [details] [review]
[PullRequest] Part5. Update kernel driver
This looks like the JB driver, so it's probably save to r+. Are there any major changes in this patch?
Attachment #8601975 -
Flags: review?(tzimmermann) → review+
Assignee | ||
Comment 20•10 years ago
|
||
(In reply to Thomas Zimmermann [:tzimmermann] [:tdz] from comment #19)
> Comment on attachment 8601975 [details] [review]
> [PullRequest] Part5. Update kernel driver
>
> This looks like the JB driver, so it's probably save to r+. Are there any
> major changes in this patch?
No, i have checked the NFC testcases, emulator side seems work correctly
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 21•10 years ago
|
||
Master: https://github.com/mozilla-b2g/b2g-manifest/commit/3a243043a7040dbe47a52245d17ee038cc9eb5d4
b2g-4.4.2_r1: https://github.com/mozilla-b2g/platform_build/commit/a8ace1361d702eef293e48f2ea525dac686daa86
b2g-4.4.2_r1: https://github.com/mozilla-b2g/device_generic_goldfish/commit/d4377e11659d54b41c51526547e971ba0cb11754
b2g-4.4.2_r1: https://github.com/mozilla-b2g/platform_prebuilts_qemu-kernel/commit/6a1bb59af65b6485b1090522f66fac95c3f9e22c
b2g-goldfish-3.4: https://github.com/mozilla-b2g/kernel_goldfish/commit/85f658c7bdbc9babdd2de5d93d72b053287a0f29
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-b2g-master:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S12 (15may)
You need to log in
before you can comment on or make changes to this bug.
Description
•