Commit graph

32 commits

Author SHA1 Message Date
Gaurav Sarode
30663b405d Add support for google_car devices
Adding support for AAOS on shiba and husky.

bug: 294109255
Test: Local build and flash
Change-Id: I1f121151a3d7df8489963c587487accfa6f5d703
2023-08-25 16:51:20 -07:00
Joen Chen
11c5d7b8db Merge "display: set 480 density for 1344x2992" into udc-d1-dev am: 5e01d25ed5 am: 4e1738a67b am: a1c7128582
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24284448

Change-Id: I05201d9840f431aa1fcbbb57a4e45cc426bfe460
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-14 11:43:40 +00:00
Joen Chen
5e01d25ed5 Merge "display: set 480 density for 1344x2992" into udc-d1-dev 2023-08-14 09:42:03 +00:00
joenchen
8b42680485 display: set 480 density for 1344x2992
Change-Id: I2851f345001419fe2e61b701c0ac22bbd3d33b15
Bug: 294198689
Test: adb shell getprop ro.sf.lcd_density
2023-08-08 07:18:59 +00:00
Treehugger Robot
b1fa9f9eb4 Merge "Load samsung_iommu_v9 in serial" into udc-d1-dev am: f36ccb1127 am: 63f4e5bd48 am: a5c01e6bd9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24079218

Change-Id: I0e9427e2933a1085cccc03dd8fc7125ae5b4cecd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-27 03:58:06 +00:00
Chungkai Mei
73d93a6bca Load samsung_iommu_v9 in serial
it seems that there's conflict between samsung_iommu_v9 and trusty_log,
so load samsung_iommu_v9 in serial

Test: build pass and run 2000 times without error
Bug: 290561688
Change-Id: I6af250bbe3089f41229f6d674cc2e4a7eae3cbe1
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-07-20 03:37:11 +00:00
Hsiu-Chang Chen
53ff43e37e Merge "wifi: husky: Support SAR feature for rear camera" into udc-d1-dev am: d8f5955ccb am: f3164caa35 am: df6540e2e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23722145

Change-Id: I7ebae834f05405eb9fc52b1a399f7ef1867e5348
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-24 05:17:49 +00:00
Hsiu-Chang Chen
d8f5955ccb Merge "wifi: husky: Support SAR feature for rear camera" into udc-d1-dev 2023-06-24 02:36:15 +00:00
Chungkai Mei
0896bc8d70 Load g2d in sequential. am: 7edf565318 am: 78b5135a81 am: ead8a50353
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23728161

Change-Id: I336b118ff01064817f6f728520eab370fc4e1775
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 10:43:55 +00:00
Chungkai Mei
7edf565318 Load g2d in sequential.
to mitigate potential kernel panic, load g2d only at the
same time.

Test: Build pass
Bug: 287727823
Change-Id: I8b4eac1875d3b394fc9ab651959db54c53967326
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-06-20 07:27:53 +00:00
Hsiu-Chang Chen
68739e9a48 wifi: husky: Support SAR feature for rear camera
Bug: 285609097
Test: Performance test
Change-Id: Ia4becba37da123e4cddbeb129a720f6fe81f07c7
2023-06-17 04:37:09 +00:00
Treehugger Robot
a76ac77dc1 Merge "Revert "Revert^4 "shusky: disable parallel module loading""" into udc-d1-dev am: 631248053c am: 9d153d045d am: cd6a55520a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23555260

Change-Id: Ic51966a060a46bb97d076e81387dc71c3da7e02a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 04:42:00 +00:00
Treehugger Robot
631248053c Merge "Revert "Revert^4 "shusky: disable parallel module loading""" into udc-d1-dev 2023-06-09 02:21:17 +00:00
Chung-Kai (Michael) Mei
d134dbd3b6 Revert "Revert^4 "shusky: disable parallel module loading""
This reverts commit d4c206cfcf.

Reason for revert: exynos_devfreq is fixed by pa/2512847, and add 2 shiba DVT and 1 Husky DVT to reboot 5000 times, only one device hit ramdumpg with reset message "itmon triggering err_tmout from HSI1 PCIE_GEN3_0 to NOCL0_", but according to b/283930792, even without parallely module loading, device still hit this issue. so currently parallel module loading seems to be stable enough.

Bug: 285064434
Change-Id: I0356075a60cc0224ac975b401654b424ff4b993e
2023-06-05 08:33:14 +00:00
Jing Wang
f5341ba329 Merge "Revert "Revert^3 "shusky: disable parallel module loading""" into udc-d1-dev am: c35219a54b am: da204edd10 am: ed5d664cd2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23482482

Change-Id: I507e00befe2da3bb4c0cff048102f7fac997c09f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-31 01:55:40 +00:00
Jing Wang
c35219a54b Merge "Revert "Revert^3 "shusky: disable parallel module loading""" into udc-d1-dev 2023-05-30 23:28:53 +00:00
Jing Wang
d4c206cfcf Revert "Revert^3 "shusky: disable parallel module loading""
This reverts commit eead637cec.

Reason for revert: b/284937144

Change-Id: I0538a9a57f4e202cab9701cb16dbd6ea1e55f859
2023-05-30 23:07:55 +00:00
Treehugger Robot
0e45da6618 Merge "Revert^3 "shusky: disable parallel module loading"" into udc-d1-dev am: 2cb54e65d2 am: 67f2d14ce8 am: 136486d608
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23404799

Change-Id: I170b21ab41349889b7195865546737043ce21169
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-29 07:32:19 +00:00
Treehugger Robot
2cb54e65d2 Merge "Revert^3 "shusky: disable parallel module loading"" into udc-d1-dev 2023-05-29 05:23:24 +00:00
Chung-Kai (Michael) Mei
eead637cec Revert^3 "shusky: disable parallel module loading"
This reverts commit 04716d5711.

Reason for revert: Now we can enter fastbootd normally.

Test: shiba rebooted 1000 times without failure
Bug: 280112517
Change-Id: I92736b1e535468083b35058f83a91ad153b6c5c6
2023-05-24 06:05:25 +00:00
Nikita Ioffe
99cc9fd97d Add a flag to build husky with nvhe hypervisor
Android Virtualization Framework (AVF) team is planning to use husky as
a development platform while working on the infrastructure to support
assigning devices to guest VMs. In order to test the kernel/user space
code we will need to run hypervisor in nvhe mode.

Bug: 278008256
Test: flash build and check that hypervisor is in nvhe mode
Change-Id: Ide100f571813e9b8a1eba7b57f050d2f7093cd86
2023-05-16 17:07:35 +00:00
Andrew Chant
77e6c02e7c shusky: move perf/thermal configs around
Move shusky thermal .json files into thermal/
and perf configs into perf/.

Also move the configs into device-shusky-common.mk,
allowing override of the config file path.

Bug: 277993984
Change-Id: Ifa2882ee9c27c57d967c27f9f8e8edaff313e2d5
2023-05-02 09:39:45 -07:00
Andrew Chant
04716d5711 Revert "Revert "shusky: disable parallel module loading""
This reverts commit ca1a96d3bd.

Reason for revert: ToT instability.

Bug: 280112517
Change-Id: Icef303545cbef7884c2ae81bd9b9d5fd94ea42ca
2023-04-28 22:41:37 +00:00
Chung-Kai (Michael) Mei
ca1a96d3bd Revert "shusky: disable parallel module loading"
This reverts commit efaeac87c2.

Reason for revert: the patch for iommu has been merged

Test: shiba rebooted 1000 times without failure and https://android-build.googleplex.com/builds/abtd/run/L49300000960255489 run device-boot-health-check-extra for husky
Bug: 271931921
Change-Id: I4dcbc1e2028facd8531c94c03d0b28cbd6769b06
2023-04-28 01:12:57 +00:00
Bill Yi
062ebe5313 Add AOSP support for Husky and Shiba.
We will have a 'vendor' project containing proprietary blobs
to be able to build and flash Pixel device when vendor source is not
available.
The project names are
platform/vendor/aosp/google_devices/husky
platform/vendor/aosp/google_devices/shiba

and the paths are
vendor/google_devices/husky
vendor/google_devices/shiba

TEST:make and flash a husky device

BUG: 278968179
Change-Id: I1c5424dfddddb8ee29a86f2408a231aa5556a0bb
2023-04-19 22:26:16 -07:00
liangjlee
45294d4aa3 Disable zone DMA32 for shiba and husky
Same as P22, P23 do not have 32-bit address limitation in hardware, so
we would like to empty zone DMA32 for better performance and simplify
memory management.

Bug: 263239622
Test: b/270096808, b/270097444. Pass reboot test and run sst for 100+
hours without obvious issues.
Change-Id: Ib95223aafca17165e1b8d972448c5d66384d3ccc
Signed-off-by: liangjlee <liangjlee@google.com>
(cherry picked from commit 4584a04fe3)
2023-04-13 06:37:48 +00:00
Chris Lu
5cfce8d29d Husky: change display density to 520
Bug: 243687508
Test: show correct UI size
Change-Id: Ib8fa441c56a7f4be6c90edbf80b4285e1dc00009
2023-03-15 14:34:45 +00:00
TreeHugger Robot
5d2dab4575 Merge "shusky: disable parallel module loading" 2023-02-08 03:46:48 +00:00
Andrew Chant
efaeac87c2 shusky: disable parallel module loading
Disable parallel module loading.
iommu driver loading parallel prevented boot to
fastbootd.

resolved with
fastboot oem cmdline set samsung-sysmmu-v9.load_sequential=1

disabling all parallel module loading for now, can re-enable
at a later stage with verification.

Bug: 268269286
Change-Id: Iccecff4ae552567f3a5fb8a421b8e1993657fbc7
2023-02-08 02:38:45 +00:00
Jack Lee
b32dfa3186 Disable swiotlb for shiba and husky
Same as p22, we would like to disable swiotlb for shiba and husky.
Currently the swiotlb=noforce config is set in device tree, moving to userspace
would make the build process more flexible.

Bug: 263178695
Test: After adding noforce, /d/swiotlb/ is empty
Change-Id: I6505bfe8b465a0b2bcc6f39d1abaefe305bdc31f
Signed-off-by: Jack Lee <liangjlee@google.com>
2023-02-02 09:25:01 +00:00
Chungkai Mei
d8822b9c80 Enable load kernel modules in parallel
enable load kernel modules in parallel but load some
specific modules in sequential

Test: Shiba Booted to home 1000 times without issue
Bug: 229794277
Change-Id: Idac2ae0765058a0eab718c976c1108292bd36669
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-01-20 04:59:49 +00:00
Robin Peng
fd0859e694 Initialize device folder
from: 858c0f08e332220d80a9eef8ddcd39ef4d5296ee
with updated device path

Bug: 248399843
Change-Id: I215a40a4f4719d5432e87401f4a3214c5189ba20
2022-10-30 16:03:17 +00:00