Commit Graph

66 Commits

Author SHA1 Message Date
Alexander Koskovich 7bac2c3e4f
common: init: Update to LA.UM.9.14.r1-16700-LAHAINA.0.
Change-Id: Ia29e0661b496b56df30433c1c8bf7874b1006d34
2021-05-31 17:04:29 -07:00
Elliott Hughes 512e2e1950 init: Fix EntropyMixer.
/dev/hw_random should be readable by system_server for EntropyMixer to
be able to use it.

Bug: http://b/179086242
Test: adb shell logcat | grep Entropy
Test: android.permission.cts.FileSystemPermissionTest#testDevHwRandomLockedDown
Change-Id: I7dd7faf300f5ce3cab8d02c69be7915238cf61da
2021-05-28 20:23:31 +05:30
Alexander Koskovich 09e528422d
common: init: Add kernel scripts from LAHAINA (15500).
Change-Id: I13eb7859b26cc9aa0ee3cff1c71b1f60d9739cd0
2021-05-02 00:19:52 -07:00
Alexander Koskovich 31250b9045
common: init: Update to LAHAINA (15500) | QSSI (11000).
* The init component is LAHAINA (15800).

Change-Id: I8e0414c31227c127cb469f4a8c7e335a4ec8f09f
2021-04-15 03:00:51 -07:00
Alexander Koskovich c3b2dc1ead
common: init: Don't mount TraceFS twice.
* AOSP already mounts TraceFS in system init, so mounting it twice
   causes SEPolicy denials. See the comments in this change.

   https://android-review.googlesource.com/c/platform/system/sepolicy/+/1294195

Change-Id: Ic5d9ac2dbd36e404a93a8d48aa0ea933fd7fa701
2021-03-16 09:16:08 -07:00
Alexander Koskovich 8c716f5d82
common: init: Update to LA.UM.9.16.r2-00800-MANNAR.0.
Change-Id: I3d30d805fe857f18a165b4972d0b8f03488b1b43
2021-03-12 07:18:47 -07:00
Alexander Koskovich 33b6ceb087 common: Move AOSPA performance RC to proper component.
Change-Id: I5c19db40049f500f1ef4ef9639f0c2d22f6233e6
2021-02-15 20:39:17 +00:00
Andy CrossGate Yan 9519cc204d common: Use Soong namespace to avoid device build conflicts
* This prevents module duplication, and allows devices to declare
  their own versions of these modules.

* Has the added nicety of allowing this repo to exist gracefully in
  other non-PA source trees.

Change-Id: Idec7b4cfeed4241f5ae0ee9ffca8dc35de7735c2
2021-02-15 20:39:01 +00:00
Alexander Koskovich c935fe4cd7
common: init: Update to LA.UM.9.14.r1-13300-LAHAINA.0.
Change-Id: I0223d6405f6fd47058645a144d5977bdbd0ad05a
2021-02-11 07:18:48 -07:00
Alexander Koskovich 69336a4724 common: init: Update to LA.UM.9.14.r1-12600-LAHAINA.0.
Change-Id: I5a1153da536f8834afc19148d5c525fae29ec246
2021-01-23 21:12:25 +00:00
Alexander Koskovich 66ab706862
common: init: Update to LA.UM.9.12.r1-10000-SMxx50.0.
Change-Id: Ic3a2282722804b6d1e29958effba8e66bedf4c37
2021-01-16 16:22:53 -07:00
Alexander Koskovich 3c7695c6e3
common: init: Update to LA.UM.9.12.r1-09500-SMxx50.0.
* Forgot about the init scripts last time, although doesn't look
   like anything important happended here.

Change-Id: I8468f1e147326e1f0969ae7ac981ff90be4361e5
2021-01-02 19:20:07 -07:00
Alexander Koskovich d00e5efba6
common: init: Move ueventd.qcom.rc to /vendor/etc.
* As a result we can use blueprint for module declaration as well.

Change-Id: I0c4043141d7dea1e7de30660c42059696303d1b9
2020-12-10 10:04:11 -07:00
Alexander Koskovich 4ecd8f8eeb
common: init: Update from LA.UM.9.12.r1-09300-SMxx50.0.
Change-Id: Ic33e7ec410bf9344202032fff045873b9b367950
2020-11-29 13:53:56 -07:00
Alex Naidis 26fb3a6a92
common: init: Override readahead to 128KiB after post-boot.
* Qualcomm decided to increase the read-ahead value to 512KiB [1].

 * This value resulted in frequent cases where read-ahead
   would be waiting for new I/O requests and thus ending
   up being synchronous rather than asynchronous.

 * As result, the main goal of Qualcomm's patch [1] which
   is to increase throughput ends up in a regression where
   read throughput is significantly lower than it ever
   would be with the recommended [2] read-ahead value.

 * This patch uses our existing loop in ramdisk to set
   the read-ahead value to 128KiB.

[1] https://source.codeaurora.org/quic/la/kernel/msm-4.19/commit/include/linux/mm.h?h=LA.UM.9.12.r1-09000-SMxx50.0&id=25d04e4ceb7c067907901842c223d62973d73a75
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/mm.h?h=v4.19.160#n2397

Change-Id: I1980d904568fe4f1ce7b676452bcc44e4689f02f
2020-11-29 00:14:07 -07:00
Alexander Koskovich 42bc486bb1 common: init: Revert 479952c641
* Was able to find a better solution.

Change-Id: Idfaf0aa46838b68d89297d5fca3b64dd73fd1d69
2020-11-22 06:35:32 +00:00
Alexander Koskovich 6cc0103d68
common: init: Update to LA.UM.9.12.r1-09000-SMxx50.0.
Change-Id: Ia5c7bb37cb752846a062b0597376d52b9b585f94
2020-11-13 00:32:59 -07:00
Alexander Koskovich c7743f2530
common: init: Update from LA.UM.9.12.r1-08900-SMxx50.0.
Change-Id: Ia89315b272b6c948351babb153faaa096f02a7ae
2020-10-29 09:48:18 -07:00
Alexander Koskovich 479952c641
common: init: Split QCOM RC for Wigig NPT RC.
* Can't compile QCOM RC as a module if this exists
   in it because compile verifies the interfaces listed
   actually exist, and this one wouldn't exist in an OSS
   build.

 * Just keep it in mind when upstreaming this now.

Change-Id: I0b33e829d9e766724cd448fe571cd88614b1ebde
2020-10-20 13:18:53 -07:00
Alexander Koskovich cfbd2c16b4
Add an initialization component from LA.UM.9.1.r1-08400-SMxxx0.0.
Change-Id: I49dbed09776c6d8437c4a749ee78849a5d8206e6
2020-10-14 09:06:10 -07:00
Jake Weinstein e1fec2e04d common: remove libinit_msm
This is not needed.

Change-Id: Ie43d98e5eb2638cfcbda0d24a2b1094ffc65b35f
2020-03-19 01:53:46 +01:00
Hernán Castañón 10f2f1e87f common: init: add libselinux
This is needed in favour of a compiling issue on oreo-mr1.

Change-Id: I38fbc1aaa3ceafdcd3176f980455bcae2c8259ec
Signed-off-by: Hernán Castañón <herna@paranoidandroid.co>
2018-01-05 10:55:22 +01:00
Willi Ye 1cfd518177 common: init: Add necessary libraries
Change-Id: I0ba99df45865b33e6266d12b8dfe874af7155f05
2017-11-06 19:45:55 +01:00
Alex Naidis 2b424c08cd
common: init: Kill board init support
* These files were still using the old
  syntax and thus breaking build.
* Instead of fixing all of them,
  remove support, since they have
  no use.

Change-Id: I522655a8c52089dd779a131ac2a785c63856e61f
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-12-30 02:44:39 +01:00
Alex Naidis f1658c6a30
common: init: Remove junk
* As preparation for the comeback

Change-Id: Iafa198bf0c70106944acd4ebbf2d492e622dbf09
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-12-27 20:42:35 +01:00
Jake Weinstein 6fb153aabc init: remove display density code
* Let devices define this

Change-Id: Ieeaf4ec6ab0f4da08ca6f9428c72de57997a17d0
2016-01-30 22:10:40 -05:00
Anshuman Dani a31e0e46c8 init_msm8960: Overwrite ro.opengles.version for 8960
Overwrite the ro.opengles.version property with 0x2000.
This change is specific to 8960 Classic, which can only
support upto Open GLES vesion 2.0

This change fixes the CTS test failure
android.opengl.cts.OpenGlEsVersionTest

CRs-Fixed: 575502

Change-Id: I7e90ddde44fef596d1446e6f1acfe7070ef9337b
2016-01-30 22:10:39 -05:00
dhacker29 1a5d47b426 common: init: Add hook for target specific libinit defines
* Set TARGET_LIBINIT_DEFINES_FILE := path to your file in BoardConfig

Change-Id: I2cc84a0c82875b2cf57c2b94a544a30c9ada546b
2016-01-30 22:10:39 -05:00
Jake Weinstein bdf1abf3af common: build vendor init static library as C++
* This is necessary in order to match f3cf438714

* Based on the following commit to CyanogenMod eda5f3cca0

Change-Id: Ib3f2e4c533129aba8fba9eda8509762c7fc5d7c7
2016-01-30 22:10:39 -05:00
Tanya Finkel 889088c372 display: Fix resolution for SBC8016 platform
The default display for the SBC platform is HDMI display.

Change-Id: I41003b140a7201f681fcc5005106ccdd0e5736e3
2015-11-06 04:58:41 +00:00
Pushkaraj Patil 0dc9940a9c common: Set separate system property for 8929
8929 is using 8939 system property to select hw hevc
decoder solution but this may lead to other CTS issues
as 8929 have different specification. Use separate
system property for 8929.

Change-Id: I8687279c7fa2957ddf16dfeeba4f0c859c3bf01b
2015-11-06 04:58:41 +00:00
Pushkaraj Patil 78b7be083c common: use hw hevc decoder for msm8929
8929 target is using software hevc decoder. Set a system
property so as to use hw hevc decoder, for all variants of
8929.

Change-Id: I156a26e905859a23f96a32ca4b98cdee688833df
2015-11-06 04:58:41 +00:00
Manikanta Kanamarlapudi e2385f88ee common: Set system property to differentiate 8916 and 8939 hw
Set system property to differentiate 8916 and 8939 hw based
on soc-id to select appropriate media_codecs.xml

Change-Id: I043e00c9c580994b511f8fcec4a0890da90645a6
CRs-Fixed: 770327
2015-11-06 04:58:41 +00:00
Pushkaraj Patil 9ca09baa10 init: disable narrow search range
For 8916 narrow search range should be disable.
Disable set property vidc.enc.narrow.searchrange,
if target is 8916.

Change-Id: I501eaf1de72334a0a86baa222d29387b4da66860
2015-11-06 04:58:41 +00:00
Praveena Pachipulusu 114f2242da init_msm8916: Properly handle reading sysfs node
Properly handle failure to read sysfs file used to
determine the lcd density.

Change-Id: I864f67e9c9489b20f3634179e277fb5ad6096af0
2015-11-06 04:58:41 +00:00
Praveena Pachipulusu 755ea2e467 init: Add MSM-specific init extension library
Implement MSM-specific initialization during boot
up at "init" stage. Set DPI property based on panel
resolutions by reading virtual_size sysfs entry.

Change-Id: Ie0e1b5e68c72abe4aa11edbd4700bef3208dd461
2015-11-06 04:58:41 +00:00
Manikanta Kanamarlapudi 2eb5cdf7ca common: Add setprop to differentiate sw/hw HEVC
Add setprop to differentiate sw/hw HEVC based on
msm_id

Change-Id: I15421fa9217597a541e0ee042ba48662fcda59b4
2015-11-06 04:58:41 +00:00
Manikanta Kanamarlapudi 4850063265 common: Add init_msm for 8916 file
Add init_msm for 8916 file and do setprop's
for hw/sw HEVC based on msm_id

Change-Id: I4cde44765e017add364a3632632a4c78cdab33f5
2015-11-06 04:58:41 +00:00
Shruthi Krishna e51bd6991f Renaming thulium to msm8996
Change-Id: I912a7bc3a107341e7d413937c0d1e9580e0a20d6
2015-11-06 04:58:41 +00:00
Bruce Levy fb14db9279 init: Add MSM-specific init extension library for thulium
- Implements MSM-specific initialization during bootup
- Sets the lcd density to 480

Change-Id: I30259948edf866b0e288d33ae1965aa1bd980f93
2015-11-06 04:58:41 +00:00
Ilia Lin 06902886c8 init: qcom: Set ro.sf.lcd_density for SBC APQ8084
Set the property ro.sf.lcd_density value to comply the
SBC APQ8084 display size.
qemu.hw.mainkeys is set to 0, because SBC is headless device
and doesn't have HW buttons.

Change-Id: I3e4e56245f95a061ea218f16c0af3f10a797ad4b
2015-11-06 04:58:41 +00:00
Vijay Ganti 3a04bbdd8b apq8084: Update LCD density setting for APQ8084 MTP and Liquid
Update LCD density on Liquid to 320 and MTP to 480
based on UX profiling and Jank analysis

CRs-fixed: 612032
Change-Id: I1d2ee7671b7fd388967087df4f4bf8711f010478
(cherry picked from commit e47e385274)
2015-11-06 04:58:41 +00:00
Jake Weinstein 1bb753951d init: add support for MSM8952/MSM8976
Change-Id: I045bab35a8b97e84b41612e0ac0e33d43995ef60
2015-11-06 04:58:41 +00:00
Jake Weinstein 8fa270fcc4 init: add support for MSM8909
Change-Id: I852690234de1b2ffd0b6cf457106fff353a89a53
2015-11-06 04:58:41 +00:00
Prabhanjan Kandula 77b2be061e init : display: Add permission to camera bw node.
Allow surfaceflinger process to access fb0/mdp/bw_mode_bitmap,
so that framework can hint the camera usage to limit the bw.

Change-Id: I566010e1b988ab06f6618967f5b9c6d0cfb68890
2015-11-06 04:58:40 +00:00
Ilia Lin 4406b7b8d7 init: qcom: Set LCD density for Dragonboard APQ8094
Set proper LCD dencity for the FWVGA display on the
Dragonboard APQ8094.

Change-Id: I6bd657ee90a21ed8a13e6456b05feaf79b5c5c95
2015-11-06 04:58:40 +00:00
Arun Kumar K.R 515ddd0a47 init: Add MSM-specific init extension library for 8994
- Implements MSM-specific initialization during bootup
- Sets the lcd density at the bootup

Change-Id: I2bbc3e724682b8b11329b87c26aca1e4faf8d357
2015-11-06 04:58:40 +00:00
Jeykumar Sankaran b5c9c4c670 init: Add MSM-specific init extension library for 8992
- Implements MSM-specific initialization during bootup
- Sets the lcd density to 480

Change-Id: I2997e902c3bdafefda0bb98b8d8b3c1279c7b5dc
2015-11-06 04:58:40 +00:00
Saurabh Shah 5a8cc2ab60 device/qcom/common: Add permissions for mode and modes
Add permissions, owners for /sys/class/graphics/fb0/{mode, modes}
These are meant to be read/written to by hwc.

Change-Id: I43f38b8106ac066b37912a3ebd2af2375f3e7b09
2015-11-06 04:58:40 +00:00
Jeykumar Sankaran 98f88d6286 init: Set permissions for dynamic partial update node
Set file permissions for dynamic partial update system node to
control the feature at runtime.

Change-Id: Icd4799907d168c2606c8811c73f4fedd847d55f0
2015-11-06 04:58:40 +00:00