Commit Graph

140 Commits

Author SHA1 Message Date
carter_hsu
e793c98f4a audio: clean up & move audio table to /vendor/etc
Bug: 62051188
Bug: 62039625
Change-Id: Ie5267429eece39bf020510239f2cd2dd494b4ade
Signed-off-by: carter_hsu <carter_hsu@htc.com>
Signed-off-by: David Lin <dtwlin@google.com>
2017-05-24 16:57:06 +00:00
Nick Desaulniers
62a2798168 Merge "muskie: include correct kernel modules" 2017-05-19 22:16:02 +00:00
Yueyao Zhu
a95f3d727c Ensure usb related .rc is parsed in a defined order
Loading process (e.g. walleye):
- rootdir/init.rc
    |- /vendor/etc/init/hw/init.walleye.rc
        |- /vendor/etc/init/hw/init.walleye.usb.rc
	    |- /vendor/etc/init/hw/init.wahoo.usb.rc

This CL moves the init.walleye.usb.rc to /vendor/etc/init/hw, and
imports init.wahoo.usb.rc from init.walleye.usb.rc.

Test: Build with related CLs and USB File Transfer works on muskie
Bug: 38301110
Change-Id: Iaae98854f70256e17460ee1caae0d43ea585588c
Signed-off-by: Yueyao Zhu <yueyao@google.com>
2017-05-18 17:38:30 -07:00
Nick Desaulniers
b24a32b3c6 muskie: include correct kernel modules
Based on whether the lunch target is set to muskie, muskie_clang, or
muskie_gcc.

Bug: 32455818
Change-Id: I8bfdeb44d00f6dbe674c19206ef6ba181c4dbf4e
2017-05-18 14:37:29 -07:00
Ranjith Kagathi Ananda
c87bff208d Move CAD calibration to vendor/etc/sensors
Move CAD calibration to vendor/etc/sensors

Test: Tested on walleye

BUG=38234792

Change-Id: Ibe10025108001b500419489c1c44b857edb136d6
2017-05-15 14:56:35 -07:00
SzuWei Lin
9a824ac3a9 Fix a wrong output path for init-$(PRODUCT_HARDWARE).rc
Test: check output folder /vendor/etc/init/
Change-Id: Ib300e4443cf33f45328b05e0565b39c1a9ad939d
2017-05-15 18:04:07 +08:00
Isaac Chen
8d434ca2a7 Move configuration files to vendor for build split
The following configuration files need to reside in vendor
partition to work with generic AOSP system image.

Move uevent.*.rc to /vendor
Move fstab.* to /vendor/etc
Move init.*.rc and init.wahoo.usb.rc to /vendor/etc/init.

Also the following two make file variables need to be set:
  - BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
  - PRODUCT_ENFORCE_RRO_TARGETS := framework-res

Comment out "import init.wahoo.usb.sh" in init.common.usb.rc
since /init will load all rc files under /vendor/etc/init.

Bug: 37927875
Test: These files are under /vendor instead of / or /system,
path in init.common.usb.rc is changed to vendor accordingly,
and the resulted system/vendor images work on the device.

Change-Id: I63e18860eed9330e0d7b53b3df09483f2bfce5ea
2017-05-12 11:13:19 +08:00
Ranjith Kagathi Ananda
22fe568c04 Add IMU calibration related properties and copyto
- Add CAD calibration file
- Add persist properties pointing to CAD and
  factory calibration xml files

Test: Tested on walleye

BUG=38234792

Change-Id: I8fbb6c514064292b4a2883939b77a410735c9417
2017-05-11 17:34:34 -07:00
Ecco Park
dc2f3d7029 wifi: use the WCNSS_qcom_cfg.ini only for m/w device
Bug: 38198219

Change-Id: I8f1b476364b9b8b72ff0a4a083397ae9720064a4
Signed-off-by: Ecco Park <eccopark@google.com>
2017-05-11 21:23:22 +00:00
Thierry Strudel
d602cdb132 move fstab and BOARD_AVB_ENABLE to wahoo
Change-Id: Iab71468bea71ca7f4989187743f57f975e168f24
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-05-09 12:17:10 -07:00
Tri Vo
4763652d85 Use BOARD_VENDOR_KERNEL_MODULES for kernel modules.
This way modules.dep will also be generated for these kmodules.

Test: builds, boots, and lsmod shows loaded modules.
Change-Id: Ic80ec2e15c4bd2ee66bcf6b96b01eefdae4c2713
2017-05-08 18:58:30 +00:00
TreeHugger Robot
15bf1a5d22 Merge "Remove PRODUCT_FULL_TREBLE on muskie" 2017-04-28 00:46:31 +00:00
yihsiang_peng
aa9d01fc90 load htc battery kernel module driver on boot
Bug: 36787945
Change-Id: Ife07671ca884d38c77c7ed565edc7cfc2d4ff6e5
Signed-off-by: yihsiang_peng <yihsiang_peng@htc.com>
2017-04-26 13:33:04 -07:00
Steven Moreland
2bd3469ba4 Remove PRODUCT_FULL_TREBLE on muskie
This is being set on wahoo instead.

Test: on taimen
Change-Id: I0b7d911d0a2d982eb2bed22f4d7a819776f39edf
2017-04-26 13:23:45 -07:00
Jie Song
83118d3b75 Moving smlog to data/vendor
Bug: 37169733
Test: Verify modem logs in bugreport
Change-Id: Icca13d83c54c0aea97c2d42d5c70033030fc779e
2017-04-25 13:58:57 -07:00
Thierry Strudel
34cc620963 Enable AVB 2.0
- fix build flags to generate vbmeta image
 - fix fstab mount flags

Change-Id: I9935ded340d4831fb53cf5bea1eb5ffda1a048d2
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-04-21 18:29:26 -07:00
TreeHugger Robot
0c5aa09028 Merge "Split VR thermal config" 2017-04-22 00:51:40 +00:00
TreeHugger Robot
3e0feaf663 Merge "muskie: move fluence config to common" 2017-04-21 23:45:32 +00:00
Wei Wang
f8b586c3c1 Split VR thermal config
Bug: 36514493
Test: build
Change-Id: I3df4ea75e2c8c4513cdc684f7b0a19c6dd347fb8
2017-04-21 11:09:07 -07:00
Patrick Tjin
0d847cb23f muskie: move fluence config to common
Test: build
Change-Id: Ia6ce1218141a31b6d08acdb7b95e76b8d57e982e
2017-04-21 08:51:04 -07:00
vincent_tew
d92094bceb muskie: audio: Update audio table
Change list:
 1. [audio_policy_volumes]
  i. First version of volume step setting for playback/ringtone/alarm

Change-Id: I938aebfb5e23d77980352763a3b9b8f838def37c
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-04-20 16:44:24 -07:00
Ed Tam
5f712ab894 Merge "thermal: add thermal conf with shutdown temps" 2017-04-07 03:13:31 +00:00
John Dias
13d5312c3d thermal: add thermal conf with shutdown temps
Bug: 35700896
Test: boot, check for thermal-engine messages
Change-Id: Ie8e7f03c8d54d1d2f10057171651785954b3fac1
2017-04-06 15:33:11 -07:00
Nick Desaulniers
4de5f32ff2 wahoo: clang: use kernel modules built with clang
Test: <device>_clang-userdebug lunch target has touchscreen support
Bug: 33244601
Change-Id: I11a19c68eea3caa897730a861f760dab85ca2a9b
2017-04-06 13:57:15 -07:00
Wei Wang
2b9bd3ff9a muskie/walleye: boot time optimization
Bug: 36780513
Test: walleye boots and touch screen works
Change-Id: Ib3ff955886109a000ab43dc6013540bb03a31b78
2017-04-04 09:48:28 -07:00
Vineeta Srivastava
6580d7e510 Split fstab from wahoo
Change-Id: I5dc5defc969b6d380a47feab957680d9d7f4270f
2017-04-04 04:04:24 +00:00
Jie Song
7fdb93de6d Use wahoo dumpstate
Bug: 33820081

Test: Verify dumpstate service running
Change-Id: I9276a1b7a9b50473b12298315fba75dca38404b0
2017-03-29 09:14:10 -07:00
Ruchi Kandoi
b88ac44c4f Merge "Add libnfc-nxp.conf for muskie" 2017-03-29 01:21:32 +00:00
Ruchi Kandoi
7fb8d28212 Add libnfc-nxp.conf for muskie
Test: NFC powers up
Bug: 36163226
Change-Id: I5142c606ffa928fd1566cca508a12a3a993633be
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-03-28 09:55:01 -07:00
Badhri Jagan Sridharan
da1bdf28b0 Copy init.common.usb.rc to root
Bug: 36659044
Change-Id: I04034e629435ab03ba48ea87bb64502d51a206d0
2017-03-28 00:16:39 +00:00
Thierry Strudel
1db28dc80b init-common.rc: add muskie/walleye specific rc file
Change-Id: I4ef62518124a8c78dbb940e8f533704f9ee8fcb8
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-27 20:47:11 +00:00
Shawn Yang
974850dca4 Change init.logging.rc sequence and modify SMLoging location
-Load blank init.logging.rc for user build
-Start SMLoging after PerMgr service running
-Change SMLoging location to /vendor/bin

Test: Verified in device by manually trigger SMLog

Change-Id: I622106e7a8023770bbe5ea4224ce2905c2647768
2017-03-24 17:54:28 -07:00
Badhri Jagan Sridharan
59414164c9 Merge "usb.rc: create common scripts for mukie/walleye" 2017-03-24 23:03:59 +00:00
Badhri Jagan Sridharan
ce7bf846be usb.rc: create common scripts for mukie/walleye
Creating a common script for M/W which would copied into target's
root as init.muskie.usb.rc or init.walleye.usb.rc. We can extend
this another level deeper if required.

Bug: 31947358
Change-Id: Ie10248ac4ba0f97c32de8758c89bd9b893615cda
2017-03-24 21:58:47 +00:00
Alex Klyubin
36d2527720 Switch to split SELinux policy
This switches this device from monolithic to split sepolicy.

Test: Device boots, dmesg says "SELinux: Loaded policy from
      /vendor/etc/selinux/precompiled_sepolicy" which means split
      SELinux policy is being used.
Bug: 35809750

Change-Id: I3bac7306313a0688eb80ee858a051282657919cd
2017-03-24 15:41:05 +00:00
Shawn Yang
48db8269b2 Setup SMloging masks for Muskie/Walleye
Bug: 35647551

Test: Make build for Muskie/Walleye verify logging.rc file loaded
correctly.

Change-Id: I9dad9d8bb530949731c087f98af9d917a433ee85
2017-03-17 16:09:27 -07:00
TreeHugger Robot
a2ed37d437 Merge "device-common: moving to wahoo kernel prebuilt" 2017-03-15 23:08:09 +00:00
Shawn Yang
4373bc2bfb Merge changes from topic 'smlog_htc'
* changes:
  dump state for Muskie/Walleye
  ril: Enable the feature of modem runtime QXDM log by default
2017-03-15 21:46:18 +00:00
Thierry Strudel
553765edce device-common: moving to wahoo kernel prebuilt
Change-Id: I37c24be9a6461417f0a2aa07f03d9404d9d30561
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-15 14:20:07 -07:00
Shawn Yang
949c0f9b5c dump state for Muskie/Walleye
Change-Id: Ifcb7134a745475dd03ddd1bee71509a62a2a981
2017-03-14 16:57:33 -07:00
terry.cr_huang
e14f52d62a ril: Enable the feature of modem runtime QXDM log by default
Set the property persist.radio.smlog_switch to 1 to enable smlog by default

Bug: 35647551
Change-Id: I598cbab0abc2d7c78b4946d2f87b7af476a296cb
2017-03-14 16:55:32 -07:00
David Lin
1529a759a0 audio: copy device specific audio xmls
This fixes issue that Muskie/Walleye is not using their device specific
configs for audio.

Change-Id: I9175a2c6092e27d4b8640b242d68551280860180
Signed-off-by: David Lin <dtwlin@google.com>
2017-03-14 11:42:19 -07:00
jasmine cha
ab5322f6ad audio: Update audio tables and set fluence config
[mixer_paths]
1.modify camcorder for WNR function

[audio_platform_info]
1.modify device name ID for used scenario

Change-Id: I0415196d420962c8f509f6216126665aa12ad992
Signed-off-by: jasmine cha <jasmine_cha@htc.com>
2017-03-07 16:25:23 -08:00
Thierry Strudel
6bcc7cb7a9 add back device-common.mk for muskie/walleye to share things
Change-Id: Ie754ffa678e8f604973125ed7a3c472d01586f95
2017-03-07 16:24:54 -08:00
Thierry Strudel
14876b88f0 Migrate common files to device/google/wahoo
Test: boot, basic functionality
Change-Id: I9edff53d7be158a60914335e755ded652d247db8
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-05 13:18:44 -08:00
Vineeta Srivastava
75646ac8e5 Merge "Fix QC proprietary path" 2017-03-04 06:55:05 +00:00
Chia-I Wu
51b89c489b Enable and binderize gralloc hal
Bug: 35809668
Test: boots
Change-Id: I3a024ed6561b520080b703529f1e6c101826cd20
2017-03-03 14:06:50 -08:00
Vineeta Srivastava
6d054c01b0 Fix QC proprietary path
Test: build muskie
Change-Id: If88712bfbb029efa27293e30eb94a1015f89b62b
2017-03-01 20:35:54 -08:00
Yifan Hong
109edcc2ec vintf.xml => manifest.xml.
Bug: 35870239
Test: m installed-file-list -j64
Change-Id: I6837924cfae732b084d25660e9ea761b453be7f9
2017-03-01 17:58:22 -08:00
TreeHugger Robot
65efd88f4a Merge "Camera: Enable Treble passthrough mode." 2017-03-01 01:49:56 +00:00