Commit Graph

14 Commits

Author SHA1 Message Date
Tobey Maguire (ShelbyHell) c9807bc6bf fixup! vendor: init: Update kernel-scripts to LA.VENDOR.13.2.2
* 987ae85
Change-Id: I2ad3d7f6d94cec0c91a91dedc2945a5ef9bb230a
Signed-off-by: Tobey Maguire (ShelbyHell) <shelbyhell@proton.me>
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2024-09-09 03:48:06 +00:00
Adithya R fb9c8fbc1e vendor: init: Dynamically set IRQ affinity for KGSL and MSM_DRM
- Introduce a new shell script to set IRQ affinity, since different
  kernels can have different IRQ numbers.

Co-Authored-By: Alex Naidis <alex.naidis@paranoidandroid.co>
Co-Authored-By: Jake Weinstein <jake@aospa.co>
Change-Id: I61d2350e6b40f096714148c568489579bc4d2371
2024-02-20 04:33:36 +00:00
Jake Weinstein 813f39f5cf vendor: init: Separate common and SoC-specific tuning
No functional change. This is to prepare for power
profiles and other SoC-specific changes that
would be difficult to read if they were all
in the same file.

Change-Id: Ife03aae6b2cd4bdbb0a8360605dd46124a37ebd0
[cyberknight777: Add sm6150-specific tuning]
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-02-11 20:56:47 +00:00
chrisl7 26b8feeb86 vendor: init: Create aospa init script to qcom changes
[1] - Something equivalent to init.target.rc, for some necessary changes without changing the default qcom settings

Change-Id: I9fbbd143689fffd828628be46e2578576a8dd466
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-08 13:54:03 +00:00
Adithya R a2cdb3cac0 vendor: Move perf init script to init component
Makes no sense to duplicate it across both perf components.

Change-Id: I954fc77155ad5a6a1ea421b57d26c2f0f4514b69
2023-04-09 19:42:02 +00:00
electimon f4b943ae2f common: vendor/init: Move early/post_boot scripts from soong
* Since legacy variants are copied out to the same place
  it causes 2 install targets for the respective install
  path, thus causing the following error:
  error: overriding commands for target `out/vendor/bin/init.qcom.post_boot.sh'

Change-Id: I246da97954566de2c07393eb320df7d96297b280
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
Adithya R 3f6106f53e vendor: init: Directly set modules prop instead of script
For some reason, even when KERNEL_MODULES_OUT is set
it's using the no_modules script. Avoid this and set
the modules.ready prop directly if there are no modules.

This partially reverts commit 93382fa26a.

Change-Id: I237c6b31f335a71913d24a9c15f9c120ac24b1ba
2022-12-27 07:45:14 +00:00
chrisl7 676c5a53ff vendor: init: Fix condition for init legacy devices
[1] - The old definition wasn't working, and init post_boot.sh and early_boot.sh
      was being used on legacy devices, which shouldn't happen.

[2] - Yes I've tried other ways to pin but only this worked.

Change-Id: I2b3f41b34ba6297fe1019773c2e7d5fd7d17d00c
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-11-15 22:05:38 +00:00
Jake Weinstein 93382fa26a vendor: init: Allow 5.4+ devices to boot without modules
init.qti.kernel.rc waits for vendor.all.modules.ready to be
set before finishing init. This is never set when there
are no modules present. Adding vendor_modprobe_no_modules.sh
to unconditionally set vendor.all.modules.ready and boot.

Change-Id: I59f9ae8408f1341469ab7dd02c2ad1222f711fae
2022-11-06 19:30:41 +00:00
Jake Weinstein 35bbde4eaf vendor: init: Add legacy scripts for pre-5.10 devices
This allows legacy devices to keep working with
new init without increasing maintenance or affecting
more recent SoCs.

Change-Id: Ia66fa4b044bc9d7f2fabe9a0f6e4b18f6f1189e9
2022-11-04 19:48:07 +00:00
Alexander Koskovich f9f83796b3 vendor: init: Update to LA.VENDOR.1.0.r1-17700-WAIPIO.QSSI13.0
Remove init.qcom.factory.rc because it is not needed.
init.kernel* and init.qti.* are from LA.VENDOR.1.0.r1-15600-WAIPIO.QSSI13.0

Change-Id: Ia16d51b80f402634bd918314ee3cf7691421668d
2022-11-04 19:47:51 +00:00
Adithya R f5952c29b8 vendor: init: Install ueventd.qcom.rc to ueventd.rc
It's only loaded from /vendor/etc/ueventd.rc:
https://github.com/AOSPA/android_system_core/blob/topaz/rootdir/ueventd.rc#L1

Change-Id: I05d88bd7aab39bba1dd93b94989be3134280612d
2022-08-25 23:07:47 +05:30
Alexander Koskovich b1afc50ed9 common: init: Move init.recovery.qcom.rc to Android.bp
* /system/etc/init is automatically parsed in recovery.

Change-Id: I7914a9191c5a2ba13b1d60d59fd8b95436d131c3
2022-05-26 00:30:02 -07:00
Vishalcj17 bfaf4ecb25 Split system and vendor to their own folders.
Change-Id: Ie93e9fdf854f97aab1e2b6e61d55b309f49c1cd9
2021-11-24 21:04:52 +00:00