Commit graph

34 commits

Author SHA1 Message Date
Chirayu Desai
8c8efd25ca
Add initial Lineage product makefiles
Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Change-Id: I0781b6d4d74680ce7f0d860048871da7c2d43fb6
2024-10-20 01:28:07 +03:00
Michael Bestas
a3336adcb1
shusky: Update sepolicy path
Change-Id: Ia24ef37000ed9e1cdf994a32447b0250e3f89186
2024-10-07 16:04:20 +03:00
Pawan Wagh
443b449e02 16kb: Setup 16k OTA config for [husky|shiba] targets
Enabling developer option based on trunk stable flags
- RELEASE_GOOGLE_HUSKY_16K_DEVELOPER_OPTION
- RELEASE_GOOGLE_SHIBA_16K_DEVELOPER_OPTION

This change includes
- conditional config for 16kb developer option in [husky|shiba] targets.
- Path setup required for OTA generation for 16kB developer options.

Test: $ source build/envsetup.sh
      $ lunch husky-trunk_staging-userdebug
      $ get_build_var TARGET_KERNEL_DIR_16K
      device/google/shusky-kernels/5.15/trunk-11828503/16kb
      $ get_build_var RELEASE_KERNEL_HUSKY_DIR
      device/google/shusky-kernels/5.15/trunk-11828503
      $ m

Bug: 295035851
Change-Id: Ie88f22b9cd2fb8ba233683650fcdb4e79810e564
2024-05-16 00:06:45 +00:00
Cyan Hsieh
b754c345ff Merge "Update bootloader pdk folder and soong config" into main 2024-05-15 14:01:33 +00:00
Cyan_Hsieh
3ba38abf51 Update bootloader pdk folder and soong config
Bug: 333834221
Change-Id: I410f06023eabfad6a89a347833acbb90735e99d1
2024-05-06 16:43:11 +08:00
Qian-Hao Huang
dfbfadeb46 Load fips140.ko before all other kernel modules
Bug: 337838109
Bug: 331791671
Change-Id: Ife4f11cd8be0afc501ca37deef28b7654cbc07d9
Signed-off-by: Qian-Hao Huang <qhhuang@google.com>
2024-05-02 13:15:37 +00:00
Treehugger Robot
d34ee0e34b Merge "Switch bootloader directory to control by build flag" into main 2024-04-19 06:38:45 +00:00
Cyan_Hsieh
7e6f1e6cf0 Switch bootloader directory to control by build flag
Bug: 333834221
Change-Id: I71813042214ef6407b6389a1f2e57c1ffd84a2f9
2024-04-18 16:27:53 +08:00
Yabin Cui
9e20df3443 shiba/husky: add etm modules in userdebug/eng builds
Bug: 321061072
Test: build and run shiba/husky
Change-Id: Id440eac68093231ea65a777caa64fc48befb9729
2024-04-03 11:47:24 -07:00
Cyan_Hsieh
36fff56043 Branch bootloader prebuilts for 24Q3 release
Bug: 326002225
Change-Id: I2eca814516b28f95ffba1a94ed0fcfc8b6fa8bd0
2024-03-18 18:32:21 +08:00
Cyan_Hsieh
9a2484adcf Initial Bootloader prebuilt for AP3% build
Bug: 326002225
Change-Id: I47a6d882e3403801753858bb215c6dcd017fdbe9
2024-02-27 16:45:38 +08:00
Cyan_Hsieh
87b8b4e757 Branch bootloader prebuilts for 24Q2 release
Bug: 313350495
Change-Id: I78ffa902088929a4422bab1a5dbea6534c18b99d
2023-12-13 17:13:39 +08:00
Cyan_Hsieh
b2356df108 use AP1% for 24Q1 build
Bug: 299879102
Change-Id: I0f040f9eda38fd40170be64433838b6a063f44ef
2023-10-24 11:25:03 +08:00
Cyan_Hsieh
4cc703c46b Split bootloader prebuilt to 24Q1 and trunk version
Bug: 299879102
Change-Id: I5a3635de2bdf02d386f9449b815cb450bb53f5b4
2023-10-04 13:52:16 +08:00
Cyan_Hsieh
c46d8580ef Enable build flag versioning for radio and bootloader
Bug: 299879102
Bug: 301142125
Change-Id: I5c01d3bef0b824a794517b278363b8147976e1af
2023-09-25 08:44:26 +00:00
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
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
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
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
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
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
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
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