Cheng Chang
94a392a649
Merge "gps: update nstandby sysfs path"
2022-07-25 07:30:51 +00:00
Ivan Zaitsev
386d7ae180
Merge "Disable USF modules."
2022-07-21 18:22:01 +00:00
Rick Chen
621be0f47c
Disable USF modules.
...
Bug: 238272499
Test: Compile pass.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: I6bfcd9fb936e865424a082a8eb1e28bff0f6d0a6
2022-07-21 16:52:14 +08:00
Woody Lin
b5b7d1f2b2
Merge "Fix earlycon address"
2022-07-21 07:41:59 +00:00
TreeHugger Robot
60c7a4833f
Merge "target: disable tripple buffering"
2022-07-21 07:13:03 +00:00
Woody Lin
2acf86b3ab
Merge "watchdog: Move platform watchdog daemon to gs-common"
2022-07-21 06:53:08 +00:00
Oleg Matcovschi
1325569005
target: disable tripple buffering
...
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: I1f7f0f69270b90d9b917a5d5b59e10e75cce2866
2022-07-21 06:09:22 +00:00
Cheng Chang
6b5f109887
gps: update nstandby sysfs path
...
Bug: 238583504
Test: lhd initialization successful
Change-Id: Ib4a3e70161164fe830a46a9387ad2b3ad84b5475
2022-07-20 06:58:48 +00:00
Cheng Chang
38e5c8d796
gps: change SEPolicy for sysfs node
...
Test: gps group has r/w permission
Bug: 238583504
Signed-off-by: Cheng Chang <chengcha@google.com>
Change-Id: I679999bdbb3cbcb0ffe9b49f4aa00d8714674da9
2022-07-20 06:51:48 +00:00
Woody Lin
a81ed6fcfd
Fix earlycon address
...
Change-Id: Ie6dda57ec7cc8d17a7b3d179b1f7fd83b8e88ac2
2022-07-20 13:44:18 +08:00
Siddharth Kapoor
4d9d79c221
Disable swiftshader
...
Enable GPU drivers for rendering
Bug: 232947526
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
Change-Id: I38c73e2bcf2817842eefefe1e4a7acdf8416c456
2022-07-19 14:26:36 -07:00
Woody Lin
c50edb800b
watchdog: Move platform watchdog daemon to gs-common
...
Bug: 238701471
Change-Id: I86860734fe32ed1305aed21476b49906c5b16ef0
2022-07-19 13:54:34 +08:00
Robin Peng
dbd71b58f5
init-insmod-sh: fix avc error
...
avc: denied { set } for property=vendor.all.modules.ready pid=1238 uid=0 gid=0 scontext=u:r:init-insmod-sh:s0 tcontext=u:object_r:vendor_ready_prop:s0 tclass=property_service permissive=0
Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I92aa94db50884ea6d499fad785ef49853d831f56
2022-07-18 04:55:14 +00:00
Robin Peng
487126b8c8
init.zuma.rc: remove vendor.device.modules.ready from 'on init' section
...
1) for projects with device specific modules, this property should only
be set while device modules been loaded.
2) also remove "wait_for_prop vendor.device.modules.ready 1" to prevent
infinite wait
3) migrate vendor.all.modules.ready/vendor.all.devices.ready to
init.insmod.<DEVICE>.cfg and set these proprieties while .cfg not
exist
Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I5a5a828cb3c3b6791fb3b76a8dd31bdc96a99922
2022-07-14 21:09:31 +08:00
qinyiyan
7efce53e84
Fix build breakage. Remove debug_camera_app.te as it's not defined.
...
ERROR 'unknown type debug_camera_app' at token ';' on line 83026:
allow debug_camera_app edgetpu_app_service:service_manager find;
bug: 238929529
Test: make selinux_policy -j128
Change-Id: Ia8a21d02bff5c2f0c62e333b6b800678a80a2c51
2022-07-13 17:18:37 -07:00
Quinn Yan
f447e01b61
Merge "Update device.mk and .rc for TPU(Rio/edgetpu-soc)."
2022-07-13 17:48:57 +00:00
qinyiyan
4ab329ed98
Update device.mk and .rc for TPU(Rio/edgetpu-soc).
...
bug: 236041918
Change-Id: I3e0294e2e8378b9a12fa9c3b9395b0b94472bc71
2022-07-12 15:33:16 -07:00
qinyiyan
b11f8d2103
Add edgetpu contexts and sepolicies.
...
bug: 236041918
Change-Id: Ie3d2833c3c297dad7304dca307778d2f6a155180
2022-07-12 15:24:20 -07:00
Ivan Zaitsev
b947d56804
Merge "[Bringup] Disable EdgeTPU related services until the driver is ready."
2022-07-07 22:46:29 +00:00
Jaegeuk Kim
a4281c5eb0
Add edgetpu_device
...
Fix the build error.
vendor/google/biometrics/face/tuscany_new/assets/sepolicy/hal_face_default.te:12:ERROR 'unknown type edgetpu_device' at token ';' on line 81526:
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I527c0d33e949a42131c3f35d09304de07afeb39c
2022-07-07 14:49:13 -07:00
TreeHugger Robot
6de977c9ba
Merge "HwInfo: remove -sepolicy/tracking_denials/hardware_info_app.te"
2022-07-06 01:24:09 +00:00
Ruofei Ma
e8ae2061fb
Access permission for /dev/bigwave
...
Bug: 195687338
Signed-off-by: Ruofei Ma <ruofeim@google.com>
Change-Id: I7a3e591eae75eba039e327e50f8225650c32a4ef
2022-07-05 22:28:51 +00:00
Ruofei Ma
f85ab24233
Merge "Add bigwave sepolicy"
2022-07-05 22:25:05 +00:00
Ruofei Ma
1afbff1320
Add bigwave sepolicy
...
Bug: 195687338
Change-Id: I8dae1b62b0516e173381893af3c90ae24b6b9b87
2022-07-05 22:24:35 +00:00
Denny cy Lee
d05407421d
HwInfo: remove -sepolicy/tracking_denials/hardware_info_app.te
...
Bug: 208909060
Test: not avc log for hardware_info_app
Signed-off-by: Denny cy Lee <dennycylee@google.com>
Change-Id: I0678da7b9495e87130553fd967fc26015c3161e4
2022-07-04 03:18:06 +00:00
TreeHugger Robot
8619c4701a
Merge "changes to bring up homescreen on Ripcurrent"
2022-07-03 23:52:40 +00:00
Hyunki00.koo
96cc5bffd8
changes to bring up homescreen on Ripcurrent
...
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Signed-off-by: Ivan Zaitsev <zaitsev@google.com>
Change-Id: I492063c4b0c2c1ba4cebb659014edd731b8b10c6
2022-07-01 16:46:27 -07:00
Richard Hsu
38dc0c2182
[Bringup] Disable EdgeTPU related services until the driver is ready.
...
Disables:
EdgeTPU App Service
EdgeTPU Vendor Service
EdgeTPU Logging Service
DarwiNN NNAPI HAL
EdgeTPU Firmware
The edgetpu_config will be left as janeiro. Will update to RIO when ready.
Bug: 237719390
Test:
Tried building for rip current but has other unrelated build failure.
Change-Id: I1d82009a55ae609dd82f4adf4ddcaaa061c9b510
2022-07-01 13:45:18 -07:00
Jaegeuk Kim
1f7770e593
Fix missing fstab rule for SW encryption
...
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I5ec4364d3c4d53bcf4f675291e04acd9071e0dcb
2022-07-01 11:24:30 -07:00
Hyunki00.koo
47c4e6c965
edgetpu/file_contexts
...
Signed-off-by: Hyunki00.koo <hyunki00.koo@samsung.com>
Change-Id: I6dfa880a0d4ceb80a54de24e3817b6c880fea7ba
2022-06-30 19:59:41 -07:00
Jaegeuk Kim
776a3b6586
Use SW-based FBE
...
Should jump to use HW encryption
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I1e9f5f26d7ba368adf20aa9bd0b1345a932a2d27
2022-06-30 17:29:17 -07:00
Kenny Root
c301a51973
Disable GSC and Trusty for bringup
...
The GSC and Trusty images aren't currently flashed or available.
Test: Boot with changes
Signed-off-by: Kenny Root <kroot@google.com>
Change-Id: Ic8325ed6e0a25950a265e6c078ea3b791ede263b
2022-06-29 18:49:59 -07:00
Ivan Zaitsev
39439fa068
Merge "switch to swiftshaders for bring up"
2022-06-29 19:04:42 +00:00
Hyunki Koo
29d767172e
switch to swiftshaders for bring up
...
Stay with SW rendering until GPU is working.
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Signed-off-by: Ivan Zaitsev <zaitsev@google.com>
Change-Id: I8db4c1ced46aba612ac5a1728374279bf4ad8831
2022-06-29 11:28:00 -07:00
Daniel Mentz
824ac7faef
Merge "Revert "Enable load kernel modules in parallel""
2022-06-29 03:56:00 +00:00
Daniel Mentz
4c3d39677e
Revert "Enable load kernel modules in parallel"
...
Bug: 237455007
Change-Id: I20adc617efcba1eb81577d26a8f951308f97f479
2022-06-28 17:52:03 -07:00
Siddharth Kapoor
c60d44cca3
gralloc: Deprecate allocator 4.0 in favor of AIDL V1
...
Bug: 237042941
Change-Id: I8c0a0972fcd4e68897d04e14f69e1664083f1f3f
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
2022-06-28 11:06:37 -07:00
Siddharth Kapoor
31077b6882
gpu: update gpu firmware target name
...
Bug: 237319349
Test: GPU firmware can build correctly into vendor image
Change-Id: Ida3dc743ce11190ca08c467b4bced3b8dd9df3c0
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
2022-06-27 15:49:46 -07:00
Jaegeuk Kim
39e4495509
Use ext4 for RO and f2fs w/o HW encryption
...
TODO: enable inline encryption later.
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I8557afebebfacf1b04a68e7310837c0ef950b843
2022-06-24 11:49:53 -07:00
Jaegeuk Kim
5fe10163cb
Update ufs path
...
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I58fd3772ce87040df334d7d16bc5c0e4e8d0c392
2022-06-24 10:37:56 -07:00
Jaegeuk Kim
c36c283704
Update ufs path
...
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I8ea66435e131c7718ea5d2740fa8165d452f68f9
2022-06-24 00:03:00 -07:00
Darren Hsu
bfc6563cca
powerstats: set AoC clock for timestamp calculations
...
Bug: 233923713
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I05639346ef89eb9540518e4d28f336634e293d48
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-06-17 20:55:04 +08:00
Nucca Chen
7ad5cc4d73
Remove clatd tracking_denial
...
Bug: 210363983
Change-Id: I5ee6763d73a82cc4ffe21270544eb68810be626c
Test: boot with no relevant error log
2022-06-13 07:19:36 +00:00
Lucas Wei
bac1bc53ac
Enable vendor_kernel_boot partition for zuma
...
- Disable dlkm ramdisk fragment from vendor_boot
- Enable vendor_kernel_boot and OTA support
- Set partition size to 64MB
Bug: 234181909
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: If56483b31831b0cf161a9f78f228ef43620efaf5
2022-06-09 17:17:30 +08:00
Stephane Lee
39997d722c
Add device-specific support for GoogleBattery AIDL V1
...
Bug: 232461104
Test: Ensure Adaptive Charging/Battery health flags works as expected
Change-Id: Iaafb463ce077a8cefe7a612ecf73fbcf8495bd79
2022-06-02 14:59:45 -07:00
Aaron Ding
cbd9d0184e
fix FCM error by updating IDisplay HAL to V6
...
Bug: 229340586
Bug: 228113713
Change-Id: Ia00b35237a2ff0b72b1821f356e5844363d8d4f9
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-06-02 01:16:57 +08:00
Aaron Ding
05f824b8bb
fix FCM error by updating IDisplay HAL to V5
...
Bug: 229340586
Bug: 232963473
Change-Id: Ia58a146703874c68d8aad936be9b24e1bbbd9fe8
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-05-27 14:24:09 +00:00
Jaegeuk Kim
28cec159fb
Allow sysfs_devices_block to f2fs-tools
...
The fsck.f2fs checks the sysfs entries of block devices to get disk
information. Note that, the block device entries are device-specific.
1. fsck.f2fs
avc: denied { search } for comm="fsck.f2fs" name="0:0:0:0" dev="sysfs" ino=59803 scontext=u:r:fsck:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=dir permissive=0
avc: denied { getattr } for comm="fsck.f2fs" path="/sys/devices/platform/14700000.ufs/host0/target0:0:0/0:0:0:0/block/sda/sda7/partition" dev="sysfs" ino=60672 scontext=u:r:fsck:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=file permissive=0
2. mkfs.f2fs
avc: denied { search } for comm="make_f2fs" name="0:0:0:0" dev="sysfs" ino=59803 scontext=u:r:e2fs:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=dir permissive=0
avc: denied { getattr } for comm="make_f2fs" path="/sys/devices/platform/14700000.ufs/host0/target0:0:0/0:0:0:0/block/sda/sda8/partition" dev="sysfs" ino=61046 scontext=u:r:e2fs:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=file permissive=0
Bug: 172377740
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I409feec84565f965baa96b06a5b08bcfc1a8db02
2022-05-24 17:46:40 -07:00
Ankit Goyal
b2882a97af
gralloc: Remove conditional namespace for pixel gralloc
...
Bug: 207450311
Test: Boot to home on R4
Change-Id: I5424575593c36c7979f3df17a47e42880723062e
2022-05-18 15:29:40 -07:00
Aaron Ding
3d63c9d44e
disable BOARD_VENDOR_KERNEL_MODULES_BLOCKLIST_FILE
...
blocklist is not needed for ripcurrent yet
Bug: 229340586
Change-Id: I4f0042b82e0ec4b04e858eec0d80e079bce4148a
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-05-16 18:52:38 +08:00