14 Commits

Author SHA1 Message Date
Jason Chiu
ec2a9a0c7a gs-common: bootctrl: integrate blowAR() for gs101 & zuma
Common bootcontrol use zuma version for the base, and blowAR()
can't be used by gs101. So we need to port ag/18743149 into
common bootcontrol.

Bug: 313615120
Change-Id: I25febde96a56279e6592a6d7740be9a2e385543b
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 09:14:48 +08:00
Jason Chiu
2a201a74c2 gs-common: bootctrl: check both properties in setActiveBootSlot
properties: ro.boot.bootdevice, ro.boot.boot_devices

Bug: 313092597
Change-Id: Ib158c2b2aadf87b2155c4c268264f06bc659b544
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 09:14:38 +08:00
Jason Chiu
f4d8fb7ad8 gs-common: move sepolicy related to bootctrl hal hidl 1.2 to gs-common
Bug: 265063384
Change-Id: I1981edd60a77e4c5aede8649c7b6bc5eacb676ee
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 09:14:21 +08:00
Jason Chiu
de91ea30a9 gs-common: create bootctrl_hidl_1.2.mk and include related modules
Bug: 265063384
Change-Id: I3895946309ff8ee7987c1b0ec0789e95a63f4eae
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 09:14:09 +08:00
Jason Chiu
5d247d17b4 gs-common: move bootctrl hal hidl 1.2 implementation to gs-common
copy from device/google/zuma/interfaces/boot
  $ git log --oneline -1 interfaces/boot/
    193e5e8 zuma:interfaces:boot: add aidl interface support

Bug: 265063384
Change-Id: I7b770343096fd113f656c90428f30d80c9341744
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 09:13:59 +08:00
Jason Chiu
1473a277b8 gs-common: move sepolicy related to bootctrl hal aidl to gs-common
Bug: 265063384
Change-Id: Id9e1f4f7bc9fc5754f7ebadb97f7443f1117e961
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 00:46:33 +08:00
Jason Chiu
c3102b06fc gs-common: create bootctrl_aidl.mk and include related modules
Bug: 265063384
Change-Id: I9362eb521616c899a14605081fdc10de2a1d5c16
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 00:46:29 +08:00
Jason Chiu
3303171462 gs-common: move bootctrl hal aidl implementation to gs-common
copy from device/google/zuma/interfaces/boot
  $ git log --oneline -1 interfaces/boot/
    193e5e8 zuma:interfaces:boot: add aidl interface support

Bug: 265063384
Change-Id: I9b8318eee17e51f40577d7f4c6514703483b8eaa
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-12-05 00:46:22 +08:00
Sebastian Pickl
60a8e27b76 Revert "gs-common: move bootctrl hal aidl implementation to gs-c..."
Revert submission 25477883-gs-common_bootctrl-aidl

Reason for revert: breaking builds b/314240126

Bug: 314240126

Reverted changes: /q/submissionid:25477883-gs-common_bootctrl-aidl

Change-Id: Id9d272e7f9832a5b27b2c02d50665ee1b26ae9f8
2023-12-01 11:30:35 +00:00
Sebastian Pickl
b88437ab27 Revert "gs-common: create bootctrl_aidl.mk and include related m..."
Revert submission 25477883-gs-common_bootctrl-aidl

Reason for revert: breaking builds b/314240126

Bug: 314240126

Reverted changes: /q/submissionid:25477883-gs-common_bootctrl-aidl

Change-Id: I98a529afec0ba2eb01f1628215e36769dc5c2cf9
2023-12-01 11:30:35 +00:00
Sebastian Pickl
1638fa1a36 Revert "gs-common: move sepolicy related to bootctrl hal aidl to..."
Revert submission 25477883-gs-common_bootctrl-aidl

Reason for revert: breaking builds b/314240126

Bug: 314240126

Reverted changes: /q/submissionid:25477883-gs-common_bootctrl-aidl

Change-Id: I091dda3aa16bbc381b49674a642b2bfa93dfdfa8
2023-12-01 11:30:50 +00:00
Jason Chiu
9895837239 gs-common: move sepolicy related to bootctrl hal aidl to gs-common
Bug: 265063384
Change-Id: I8f090f4601e0719ae3abe3e9d0981710fdc8b6af
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-11-28 16:12:27 +08:00
Jason Chiu
e2592f8850 gs-common: create bootctrl_aidl.mk and include related modules
Bug: 265063384
Change-Id: I9c52053300022989987dda7405942215fb55f8ba
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-11-28 16:12:16 +08:00
Jason Chiu
34acb6f0b5 gs-common: move bootctrl hal aidl implementation to gs-common
copy from device/google/zuma/interfaces/boot
  $ git log --oneline -1 interfaces/boot/
    193e5e8 zuma:interfaces:boot: add aidl interface support

Bug: 265063384
Change-Id: I6f21c4af66a8404b34bc1ab5cce108f23e1962b3
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-11-28 16:11:54 +08:00