Commit Graph

52 Commits

Author SHA1 Message Date
Siyuan Zhou
365ebdfa91 Merge "Modified boardconfig to have different offset for kasan kernel." 2017-06-05 20:51:39 +00:00
Siyuan Zhou
745d38a07e Modified boardconfig to have different offset for kasan kernel.
Change-Id: I5590b4cc2a135cd2c130bf647df5388aaf791311
2017-06-05 11:05:50 -07:00
Dan Cashman
051bcb3713 Add BOARD_PLAT_[PUBLIC|PRIVATE]_SEPOLICY_DIR
Move vendor policy to vendor and add a place for system extensions.
Also add such an extension: a labeling of the qti.ims.ext service.

Bug: 38151691
Bug: 62041272
Test: Policy binary identical before and after, except plat_service_contexts
has new service added.
Change-Id: Ie4e8527649787dcf2391b326daa80cf1c9bd9d2f
2017-06-02 13:45:16 -07:00
Etan Cohen
2a30014ecc [AWARE] Enable Wi-Fi Aware feature support
Enable Wi-Fi Aware feature support and system service.

Bug: 37674519
Test: unit tests, integration test suite
This reverts commit 7cef570f79.

Change-Id: I045ad95fac178cbdda3c0343fde7c6c76bcd1ffc
2017-05-31 08:56:33 -07:00
Yueyao Zhu
2ca922e51b Add dtbo partition information
- M/W/T have the same dtbo partition size of 8MB.
 - register dtbo.img as being part of the A/B OTA

Bug: 32969430
Change-Id: I1c8fef131f96d7c842e231560a9be59f86cd444f
Signed-off-by: Yueyao Zhu <yueyao@google.com>
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-05-23 14:09:13 -07:00
Christopher Ferris
f1cf814639 Change to cortex-a73 for target arch.
Bug: 37647380

Test: Did a checkbuild for a walleye target.
Test: Ran bionic unit tests, ran art target tests on walleye.
Change-Id: I301b4995b232ab3a3521cc14dbcf803468197685
2017-05-15 14:44:46 -07:00
Isaac Chen
b635787205 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

Change path (to /vendor/bin) for init.*.sh, and add
path (to /vendor/etc) for fstab.* in init.hardware.rc.

Bug: 37927875
Test: These files are under /vendor instead of / or /system,
paths (in rc files) are changed to vendor accordingly,
and the resulted system/vendor images work on the device.

Change-Id: I64c8a899ab1c6837d51853e289160e35910b5b9a
2017-05-12 11:16:45 +08:00
TreeHugger Robot
0740b8cb91 Merge "Add device compatibility matrix." 2017-05-10 19:54:57 +00:00
Yifan Hong
ffe4e0f348 Add device compatibility matrix.
Test: device boots
Bug: 37954458
Change-Id: I437a4506c17908e3107641bf6f1f0b25e4b17248
2017-05-09 15:29:38 -07:00
Thierry Strudel
36d09bf13f move fstab and BOARD_AVB_ENABLE to wahoo
Change-Id: I057403bb22241cc756f714019f4c2d2efeb4cd3e
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-05-09 12:20:01 -07:00
Paul Lawrence
ee620e7882 Enable metadata encryption
Bug: 26778031
Test: Boots, reboots, sector 0 of userdata encrypted
Change-Id: I741f177056e1493fa5bf3e37353ca177e91d6b54
2017-05-02 08:18:49 -07:00
Guang Zhu
940ef509ca Merge "Revert "Enable metadata encryption"" 2017-04-29 00:01:34 +00:00
Guang Zhu
d4416d55a6 Revert "Enable metadata encryption"
Bug: 37792477

This reverts commit 0494fb84bc.

Change-Id: I119f97f1141ee69fa2902ef9931dde4b01492831
2017-04-28 23:59:15 +00:00
Nick Desaulniers
b219c5e86e Merge "Enable metadata encryption" 2017-04-28 21:29:30 +00:00
TreeHugger Robot
111304d628 Merge "Add userdata partition size for Wahoo." 2017-04-27 21:58:04 +00:00
Vishwath Mohan
ded7f88275 Add userdata partition size for Wahoo.
This CL define BOARD_USERDATAIMAGE_PARTITION_SIZE in the Wahoo
BoardConfig. This allows userdata.img to be generated, which is
necessary for sanitized target (like ASAN).

Bug: 37740897
Test: m -j40 userdataimage
Change-Id: Ib8972696a4fd1da3f792883bfd7f61431adc3da4
2017-04-27 09:03:14 -07:00
Paul Lawrence
0494fb84bc Enable metadata encryption
Test: Device boots, reboots, sector 0 of userdata is encrypted
Change-Id: Ifad7f5fef47f09d5d94490e30f0299a5d1c45e45
2017-04-27 07:50:05 -07:00
Etan Cohen
7cef570f79 Revert "[AWARE] Enable Wi-Fi Aware feature support."
This reverts commit 5232d40757.
2017-04-26 09:21:09 -07:00
Miao Wang
9898d9d468 Bring-up RenderScript HAL for Muskie / Walleye
Bug: 36097673
Test: mm && tested on Walleye to make sure QCOM driver load.
Test: RS CTS tests pass
Test: Imageprocessing tests pass, and confirming running on GPU.

Change-Id: Iaca74a8e90d9fd10e4327bd55d982e95b700ca0f
2017-04-25 14:11:06 -07:00
Max Bires
d2f7877baf Setting SELinux back to enforcing mode.
Sanity testing indicates the phone is stable under an enforcing
policy, and that OTAs will be functional.

Bug: 34784662
Test: Device boots

This reverts commit fb4eaa89a1.

Change-Id: Ib9338485e3aab0bc04e42011b52710ddfa711b4f
2017-04-24 17:38:57 +00:00
Christopher Ferris
654e979e90 Merge "Move devices to kryo." 2017-04-21 00:26:10 +00:00
Christopher Ferris
b1b6933647 Move devices to kryo.
Bug: 36728278

Test: Built new device and verified that the 32 bit and 64 bit
Test: memcpy/memset are faster.
Test: Ran bionic unit tests.
Change-Id: Iccddc5160ffeb4d1db121ce2750cf287558ea718
2017-04-20 15:06:51 -07:00
Etan Cohen
1f9b70eda2 Merge changes from topic 'bringup_aware'
* changes:
  [AWARE] Enable Wi-Fi Aware feature support.
  Enable NAN data path
2017-04-20 21:54:08 +00:00
Etan Cohen
5232d40757 [AWARE] Enable Wi-Fi Aware feature support.
Enable the Wi-Fi Aware feature on:
- Add feature to framework
- Device HAL feature

Bug: 36088628
Test: integration (non-data-path) sl4a tests pass
Change-Id: I3e2dca6477b27b466e2b074c70595813fe365973
2017-04-19 16:04:24 -07:00
Michael Schwartz
db0322a532 Declare location of device manifest
Bug: 36810913
Bug: 36983271
Test: make and inspect $OUT/vendor/manifest.xml
Change-Id: I2a3a6adc7193d95875729e93a987cb7c11aab7aa
2017-04-19 14:50:10 -07:00
Max Bires
a09eac3964 Merge "Revert "Setting SELinux to enforcing mode."" 2017-04-14 01:00:59 +00:00
Max Bires
fb4eaa89a1 Revert "Setting SELinux to enforcing mode."
This reverts commit a0fd5b0101.

Bug: 37305560
Change-Id: I6d23ea3b3cb785003d4b1f18101f2579b1e26051
2017-04-13 23:55:21 +00:00
Max Bires
31e74b0417 Merge "Setting SELinux to enforcing mode." 2017-04-11 21:55:49 +00:00
Vineeta Srivastava
6391a9f523 Split fstab from wahoo
Change-Id: I37ae0d2b5d1a12a513744b8f59cdc71aaf26dba1
2017-04-03 18:11:10 -07:00
Jie Song
58d80579d9 Add wahoo dumpstate and sepolicy with smlog
Bug: 33820081

Test: Verify dumpstate service running
Change-Id: I2dffdb063aa3291b1c9ee95df903977d6a928d1e
2017-03-30 02:53:48 +00:00
Jeff Sharkey
485715094f Enable partitions on loop devices.
This is used by the new "virtual disk" feature used by vold to help
debug and test storage code on devices without physical media.

Bug: 34903607
Test: builds, boots
Change-Id: Ifb7653a2100ef40a83b2c663c5dd3114d4b05ab6
2017-03-27 12:05:44 -06:00
John Dias
cc89b85d81 Merge "Change the firmware image search path to /vendor/firmware" 2017-03-24 23:15:29 +00:00
TreeHugger Robot
b38e7aa888 Merge "Revert "Partial revert "audio: enable usb audio tunnel support""" 2017-03-22 19:31:40 +00:00
TreeHugger Robot
8722c86325 Merge "BoardConfig: TARGET_USES_COLOR_METADATA := true" 2017-03-21 20:40:43 +00:00
Patrick Tjin
14026bea4f Wahoo: move configs from device to board, remove inodes/journal
Move filesystem configs from device.mk to BoardConfig.mk.
Move vendor partition configs to vendor/BoardConfigVendor.mk
Remove unused inodes and journal from system.

Test: Build system and vendor image, verify more space available
Change-Id: Ib98f21ff64f2dc189395db68db10ffe14b5e3c56
2017-03-21 13:27:31 -07:00
Thierry Strudel
a7a2cf1733 BoardConfig: TARGET_USES_COLOR_METADATA := true
Bug: 36483019
Change-Id: Id04f2e6b243bcd726f852cf85a828d43c7e83ebc
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-21 12:22:59 -07:00
Tao Bao
1afc4fb568 Merge "Add recovery.wipe file." 2017-03-21 18:33:04 +00:00
Vineeta Srivastava
29d3a82b32 Change the firmware image search path to /vendor/firmware
Test: booted on a device
Change-Id: I3c4a4de9d316779c2b7b085f9160064c225e431a
2017-03-21 10:40:32 -07:00
Tao Bao
1ff004a529 Add recovery.wipe file.
Bug: 36427762
Test: lunch muskie-userdebug && make bootimage. Check
      $OUT/recovery/root/etc/recovery.wipe exists.
Change-Id: Id86c53d62d2b5a293f22b37fef3c64caa82f15f1
2017-03-21 10:28:34 -07:00
Alexey Polyudov
5d874cbb25 build: allow for platform-specific bootloader build
Change-Id: If7cd6e8155cb4077b73902b8f9f5ac1f9e099ce7
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
2017-03-20 15:25:42 -07:00
TreeHugger Robot
13e60d1e77 Merge "BoardConfig: Set up WITH_DEXPREOPT/DEX_PREOPT_DEFAULT" 2017-03-17 04:30:53 +00:00
Shuzhen Wang
8beb329439 BoardConfig: Set up WITH_DEXPREOPT/DEX_PREOPT_DEFAULT
Without it, the prebuilt jar file could be empty.

Test: Compile and make sure jar file is valid.
Bug: 36279497
Change-Id: I136bdbdf283977888b128797f328594c751669c0
2017-03-15 16:55:07 -07:00
Max Bires
a0fd5b0101 Setting SELinux to enforcing mode.
Time to start shaking out the bugs.
Bug: 34784662
Test: Device boots

Change-Id: I5bb61d3d7f55066632f4a10a6738a282016a99dd
2017-03-15 10:44:09 -07:00
Yueyao Zhu
a18de9021d Enable charger mode
1) device.mk: add charger_res_images to PRODUCT_PACKAGES
to use the default charger mode images
2) init.hardware.rc: configure charger service class
3) BoardConfig.mk: enable suspend in charger mode

Bug: 36046603
Change-Id: I3652a69784b8ecd4e670f26fdd66b7c68d578f9f
Signed-off-by: Yueyao Zhu <yueyao@google.com>
2017-03-14 16:44:37 -07:00
Courtney Goeltzenleuchter
5a88dfd5db Set display configuration options
Device has wide-color OLED display so set TARGET_HAS_WIDE_COLOR.
Test: make

Change-Id: I5aff4d94fa393155e4c02f5154642c024e11ce7b
2017-03-14 16:44:37 -07:00
Thierry Strudel
20cc626961 init.power.sh: enable CPU lower power states
Also cleanup some non applicable HMP procfs nodes

Test: /sys/module/lpm_levels/parameters/sleep_disabled is N
Change-Id: I3429eb4b78f154f1cd2757d5bfde94b256fba2cf
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-14 16:44:37 -07:00
David Lin
6016d33534 Revert "Partial revert "audio: enable usb audio tunnel support""
This reverts commit 1238fe2b24.
2017-03-13 09:59:19 -07:00
Chia-I Wu
ae4a5780eb Enable and binderize hwcomposer hal
Bug: 35810133
Test: boots
Change-Id: I01b917e870fc9e9f95103404c4b8da0bca7eda2d
2017-03-10 14:04:03 -08:00
Thierry Strudel
f5c5f77146 BoardConfig: enable USES_HWC2 + USES_HWC2ON1ADAPTER
Change-Id: I60da06143999e5c2075f2c2ec34fb90497effbdc
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-09 22:25:38 -08:00
Mikhail Naganov
1238fe2b24 Partial revert "audio: enable usb audio tunnel support"
This partially reverts commit 6616d417ce84c0f235396af90bb66e4c83f5c550.

Bug: 36049443
Change-Id: I5ee9de31ab5e80620d2f63ce7e0208fe3a199ce6
Test: none
2017-03-09 09:17:11 -08:00