Commit graph

4 commits

Author SHA1 Message Date
Robin Peng
7a29a8f195 Use modprobe --all to load all modules in modules.load
Previously, we ran modprobe command for every .ko file listed in
init.insmod.*.cfg. Let's move to a different approach where we call
modprobe with the following command line.

modprobe -b --all=/vendor/lib/modules/modules.load

This will insmod all modules listed in modules.load except for those
that are mentioned in the blocklist at
/vendor/lib/modules/modules.blocklist

A common reason for a module to be on the blocklist is that it must only
be loaded under a certain condition like when a specific service is
launched.

Bug: 192241728
Change-Id: I518426308d0bfc358c8c815a69d431e27ebcf6e4
2021-06-30 03:54:28 +00: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
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
Renamed from init.insmod.gs101.cfg (Browse further)