Commit Graph

176 Commits

Author SHA1 Message Date
Asriadi
52b643ea2a walleye: Convert to full walleye tree
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-07-20 23:34:07 +08:00
Erfan Abdi
1fd14662bd walleye: libshims: Add shim for camera blobs
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: I5e622e68422f5c4da13c0752a7eb3f4b20ddae49
2024-07-20 23:29:53 +08:00
Eamon Powell
fd5d4cedbf Revert "Enable prebuilt ELF file checks"
This reverts commit 1afc16e62a.

Change-Id: I39fcc252ba4fadbc4b190842f093726aa0799928
2024-07-20 23:29:53 +08:00
Abhisek Devkota
119c54267b walleye: Build battery and touchscreen modules
Change-Id: I6588c1346f0559e93c96f56d519c62645f32b125
2024-07-20 23:25:35 +08:00
Ethan Chen
c39a38cf9a walleye: Disable userdebug diagnostics
Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-07-20 23:25:35 +08:00
Ian Kasprzak
583073cb0f Walleye: Custom modules pickup am: 250539a6dc
am: 98b14f8e69

Change-Id: I0bd193b4908128b45e9ca3297268723a85fb9b6b
2019-05-09 10:17:49 -07:00
Ian Kasprzak
250539a6dc Walleye: Custom modules pickup
When creating a product with TARGET_PREBUILT_KERNEL, allow
to pick up modules that match the given kernel by looking
for .ko and .dtb files in the same directory. This avoids
further special-casing in the board config.

Based on aosp/928183

Bug: 132196666
Test: m
Test: manual (with get_build_var)
Change-Id: I8f961255e90308a5d7d308f6da348f20f9020d20
2019-05-08 16:27:36 -07:00
Martin Liu
f297f7176c PowerHal: walleye: Support VR reload thermal config
Test: boot
Bug: 129495482
Change-Id: I264c65b038b4c14ca96698feb8929f97dcbbe4ce
2019-05-08 11:31:42 +08:00
Logan Chien
1afc16e62a Enable prebuilt ELF file checks
This commits sets PRODUCT_CHECK_ELF_FILES to true so that all prebuilts
are checked while building muskie products.

Bug: 119086738
Test: make check-elf-files
Change-Id: Idd69e6959f7cbf7e84178300cc64d89b4118806f
2019-03-13 16:58:13 +08:00
Petri Gynther
8a9343109c Remove unsupported gcc and kcfi kernel modules code
Change-Id: I03af46d61cfa847882dad2bf11586c696d74961f
2019-02-04 22:14:11 -08:00
Ahmed ElArabawy
d438d71c0d WiFi: Switch wifi driver in wahoo into DLKM
Current implementation in wahoo is to build the WiFi driver as a static
module (part of the kernel image)
This commit uses a dynamic linkable Kernel Module which is loaded at
init, and never unloads

Bug: 73177354
Test: Manual test

Change-Id: If605422dfda62ef0bf52b09f519fb9091b5d9ddb
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-03-29 09:22:48 -07:00
Qingxi Li
8d97cbed3d Add a device flag to decide how eSIM UI shown
Add a device flag to decide whether by default, eSIM UI, including the
UI in settings, under Mobile network > Carrier, and eSIM setup flow in
Steup Wizard flow.

Bug: 74771471
Test: E2E
Change-Id: I7b29a7a126273bc19d76bef77f667a468ee11dc8
2018-03-26 11:12:52 -07:00
Tom Cherry
b85a22586c remove ro.hwui. properties from being set am: 6a89af9deb am: f7e7df3746
am: 335dba8813

Change-Id: Ib8bbbebf74f784184d78bc61842009664c6b4c05
2018-03-02 07:25:40 +00:00
Tom Cherry
6a89af9deb remove ro.hwui. properties from being set
These have migrated away from properties.

Bug: 73905119
Test: boot walleye, do not see errors about these being set
Change-Id: I91e680d99aeb2809959e8f0c7ec48a162bd8dbee
2018-03-01 17:01:47 -08:00
TreeHugger Robot
2f93402a2d Merge "walleye: add separate charger kernel module config" 2017-12-01 01:21:42 +00:00
Vishwath Mohan
94b472eac0 Add support for walleye_kcfi targets.
Bug: 67506682
Test: lunch walleye_kcfi && m -j50
Change-Id: If97a15e03fa3db684d212da0633e6bbec01c2f47
2017-11-21 14:34:08 -08:00
Steve Pfetsch
8ffcefd27e walleye: add separate charger kernel module config
Bug: 69498902
Change-Id: I521483b17255705487dbf51f8b9f266de0ec4b78
2017-11-20 17:12:49 -08:00
Siqi Lin
304cb6d6fa Add walleye_kernel_debug_* targets
Set paths for kernel modules for the new debug targets.
The kernel to use for each target is specified in the lunch
target Makefile.

Bug: 68266758
Test: lunch new targets and make
Change-Id: I19966b9c3f85c52a6f140ad6e761c5580d28ef55
2017-11-03 14:18:41 -07:00
Patrick Tjin
85d4fe9ca8 Remove walleye_clang target
Walleye kernel is clang by default, walleye_clang is deprecated.

Bug: 66686376
Change-Id: I0ce1d9a50a303602401b501974fb9f13f2cbb975
Signed-off-by: Patrick Tjin <pattjin@google.com>
2017-10-03 21:39:28 +00:00
Phil Burk
463316021e aaudio: reenable MMAP mode for Walleye
Bug: 64955707
Test: "adb shell getprop aaudio.mmap_policy" should print 2
Change-Id: I3a03c951806af96a7e4141d42df35a42df5c578b
2017-08-23 12:27:15 -07:00
Phil Burk
90f52626bc aaudio: disable MMAP data path
Some bugs were found late in the release cycle for DR1.
It seems safer to simply disable MMAP mode for DR1
and enable it in MR1.

Developers can still experiment with MMAP mode by overriding the policy
using AAudio_setMmapPolicy().

Bug: 64316921
Bug: 64311216
Bug: 64494572
Test: "adb shell getprop aaudio.mmap_policy" should print 1
Change-Id: I94c1554ff7ea9062efbd3a80b40040fa7bd5268d
2017-08-09 14:18:17 -07:00
Zhijun He
c1a5b07359 disable NFC when camera is in use for walleye
Change-Id: Ia19663040b8456ed2ba544c4b8e73def6d1faab5
Bug: 38217362
2017-08-08 05:37:52 +00:00
Phil Burk
2a5d972b0a aaudio: increase burst size from 1 to 2 msec
One msec is on the edge and sometimes glitches.
Two msec is more stable and matches the FastMixer burst.

Bug: 63934178
Test: "adb shell getprop aaudio.hw_burst_min_usec" should be 2000
Change-Id: I383c4a3a82283229ae39ca9fb6e2ffdd65ae0014
2017-07-21 13:48:32 -07:00
TreeHugger Robot
d6b4004620 Merge "muskie: enable aaudio MMAP mode" into oc-dr1-dev 2017-07-21 06:13:40 +00:00
Phil Burk
1378738848 muskie: enable aaudio MMAP mode
This will allow AAudio to route audio data through a new service
that uses ALSA MMAP/NOIRQ mode.

Bug: 63002656
Test: reboot, then "adb shell getprop aaudio.mmap_policy" should be 2
Change-Id: Iad70089126e8ea7a9624e91849d453dc7c6ee337
2017-07-20 20:44:40 -07:00
Glenn Kasten
fddf3fca0d Add another property to configure adm buffering
Keep the original property also, to make it easier to experiment
with old and new libadm.so

Bug: 63810681
Test: round-trip USB latency unchanged with old or new libadm.so
Change-Id: I6198a3259f0ce98fda31d1a9e93fd79f21c148e5
2017-07-20 02:37:00 -07:00
Glenn Kasten
5253489ed3 Enable pro audio feature flag
Test: adb shell pm list features
Bug: 38463264
Change-Id: I844de2c59d17bc7c5cb64cdd1ad41a2eab283194
2017-07-17 14:55:50 -07:00
Michael Wright
4bb388480a Add input device configuration for Muskie/Walleye
This also provides tuning for touch size information.

Test: flash and look at touch size with pointer location enabled
Bug: 62871286
Change-Id: Ia6f9f0f050517701f8085987ff9fadf27e8904d3
2017-07-11 14:08:30 +00:00
TreeHugger Robot
ca3ccd44eb Merge "Remove IMU cad calibration file" into oc-dr1-dev 2017-06-30 23:50:42 +00:00
Ranjith Kagathi Ananda
c5901da08c Remove IMU cad calibration file
Remove the cad calibration file and use only factory calibration
file.

Test: Tested on walleye

BUG=63146009

Change-Id: I24bf1424e958e26234817f1dafbf2fce7478028d
2017-06-29 17:29:20 -07:00
Glenn Kasten
5a6b9c64ff Reduce USB audio latency on Walleye
Bug: 62375603
Test: Loopback shows latency reduction and no glitches
Change-Id: I06f0c78d604089600b21830a631148bad1d43119
2017-06-27 15:59:49 -07:00
John Dias
606159e240 Fix hwui settings
Bug: 62375787
Test: boot and basic use
Change-Id: I858b7428199a708811b85d6ff5dfea3e3b4caa8f
2017-06-19 17:25:21 -07:00
Siyuan Zhou
22ee5d77a0 Added directory to kasan ko files.
Change-Id: I946afcaa4d8fe83cb5e9db62f37072fa77899d89
2017-06-02 10:58:51 -07:00
TreeHugger Robot
bf39c390c8 Merge "audio: clean up & move audio table to /vendor/etc" 2017-05-24 20:03:04 +00:00
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
Yueyao Zhu
a5f1990ca3 Move AB_OTA_PARTITION vbmeta to wahoo/device.mk
Change-Id: Ief9e97b7e448f52ec38d42e10343b8cf34c7b520
Signed-off-by: Yueyao Zhu <yueyao@google.com>
2017-05-23 14:08:18 -07:00
Ecco Park
4e455de459 wifi: move the WCNSS_qcom_cfg.ini to /vendor partition
Bug: 38242491

Change-Id: Icbf293bbb805065bd3ed5c32a9c3749cbf4601d4
Signed-off-by: Ecco Park <eccopark@google.com>
2017-05-22 19:58:25 +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