Commit graph

14 commits

Author SHA1 Message Date
Robert Lee
9b4560b850 Merge "audio: built-in Audio HAL" 2021-07-07 02:12:07 +00:00
Adam Shih
118707a05a make gs201 permissive
Bug: 192632804
Test: build and flash ROM with it being permissive
Change-Id: I54a2ff96466c5d9365ee7811a6f9c318f0a9e286
2021-07-05 14:51:55 +08:00
Carter Hsu
7be2643021 audio: built-in Audio HAL
Bug: 192799001
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I836f0ce199a5184c8ae34e5cb2198f9317cf320f
2021-07-05 02:01:24 +00:00
Robin Peng
955f808124 Add a kernel module blocklist file
Kernel modules on the blocklist are not automatically loaded during
second stage init. Modules are often put on the blocklist if we want
them to get loaded only under certain circumstances.

Bug: 192241728
Change-Id: I05d55f8a2854619b92defcf3fb11cc2b87a8dab6
2021-06-30 03:54:19 +00:00
Robin Peng
5728c951c8 Read vendor_boot.modules.load and vendor_dlkm.modules.load
Previously, we copied all available kernel modules into the vendor_boot
ramdisk except for approx. 14 modules that we explicitly excluded.

Going forward, the kernel build will distribute the two additional files
vendor_boot.modules.load and vendor_dlkm.modules.load which define,
respectively, the lists of modules that should be loaded from
vendor_boot and vendor_dlkm.

The contents of the two *.modules.load files will be copied almost
verbatim into modules.load files in the respective images except for the
fact that the directory names of the .ko files are stripped. So, for
example, kernel/net/core/pktgen.ko becomes just pktgen.ko.

Additionally, we only copy those .ko files into the vendor_boot image
that are listed in vendor_boot.modules.load. On the other hand, the
vendor_dlkm partition image will contain all .ko files regardless of
whether they are listed in vendor_dlkm.modules.load.

Bug: 190652328
Change-Id: I6fc41a0143e7253f193cac509ba30506feb4e2d9
2021-06-30 03:54:09 +00:00
Robin Peng
8f884f0db7 gs201: migrate to bootimg header v4 (second attempt)
We migrate to bootimg header v4 and build the following two vendor
ramdisk fragments.

Type: Platform, Name: "", Contents: Everything but kernel modules
Type: DLKM, Name: "dlkm", Contents: Kernel modules (incl. modules.load etc.)

Bug: 192240132
Change-Id: I59d0d5ec89953428e163b54d2fc3e3c3e9da7188
2021-06-28 22:21:36 +08:00
Jesse Hall
7326ba359c Add mali_pixel.ko to vendor_dlkm
Bug: 190389925
Test: boot to home, lsmod | grep mali_pixel
Change-Id: I97e6d824caecdde4ad26eedf4cb457407dce0813
2021-06-07 22:58:47 -07:00
Jesse Hall
ee3c76e93a Remove GPU module and firmware from ramdisk
They aren't needed for first-stage boot, and can be loaded from
`/vendor` and `/vendor_dlkm`.

Bug: 189506395
Test: boot to home
Change-Id: Ib4c708c8631586cf25e1535035b8bc81f727ef5f
2021-06-07 13:27:49 -07:00
Jesse Hall
2b48a89ece Switch back to GPU
Bug: 188817759
Test: boot to homescreen
Change-Id: If30ea44a04453170bc9d14607deea513ee16a94f
2021-05-27 11:06:45 -07:00
Pat Tjin
154bd667c8 Use only gs201 sepolicy
Bug: 186836335
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I0d8e8b9ec08900b99c0f87208a5ea095020605a7
2021-05-20 17:49:09 -07:00
Pat Tjin
89841bf57a s/gs101/gs201
do a global substitution

Bug: 186836335
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ic79e8983d04615be7da70ebb2b5092aae5178495
2021-05-20 17:54:35 +08:00
Hyunki Koo
1e7f912b51 BoardConfig-common.mk
Bug: 186836335
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Change-Id: Id3f575d31fa32303207ac2a424d7543c45508cfc
2021-05-19 15:23:26 +00:00
Aaron Ding
c4227335c9 init gs201 builds
Bug: 183183095
Change-Id: Ida78d0352dbd79acb8f2122b51fdb47a2e217bf0
2021-05-19 17:38:25 +08:00
Aaron Ding
bb4beafe47 Create gs201 device folder baseline
clone from gs101 sha 9d1c97c2

Bug: 183183095
Change-Id: Ie7112bdf0aceb33c9e1956aa52e961b670582733
2021-05-19 13:35:26 +08:00