summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-23kernelscripts: Add modules to blocklist for holiAshish Bhimanpalliwar
Add new blocklist file for holi target. Change-Id: I662cbf0a01d4d0eb5d8cae5db0af4874a605ff3e Signed-off-by: Ashish Bhimanpalliwar <abhiman@codeaurora.org>
2020-07-22Merge 9451cdc9ee50378a8f4fe5e4f110dab44b3d27eb on remote branchLinux Build Service Account
Change-Id: I983a6320613fca5cb86b001feb533b5ca4014244
2020-07-21Merge "add auto kernel defconfig"Linux Build Service Account
2020-07-21Revert "kernelscripts: Enhance the build scripts to build additional kernel"Divya Sharma
This reverts commit 88d1a139bda8101dce3f4cd3f95e6aeab7639296. Change-Id: I08cc78b4d86a32809eb6c0e5604e8b03d028d379
2020-07-17blocklist: Replace all '-' to '_' in blocklist filePrakruthi Deepak Heragu
Modprobe doesn't differenciate between '-' and '_'. That is, the output of 'modprobe -l' returns module names with '_' even though the .ko file has '-' in the name. Since we compare this output with the file name to check if the file is actually blocklisted in vendor_modprobe script, we fail. Hence, convert all the module names in the blocklist file to '_'. This change won't affect the modprobe -b. Change-Id: Ia5e6910b533d4aa491a96b3f00bf1017780502c5 Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-07-16kernelscripts: Rename modules.blacklist to modules.blocklistPrakruthi Deepak Heragu
As modprobe utility now uses modules.blocklist file to find the list of modules not to insert into the kernel, rename the modules.blacklist file to modules.blocklist. Replace all blacklist to blocklist in the modules.blocklist file. Change-Id: I9205b4f41149c60a8c2d06e329d34d61f46780a1 Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-06-30add auto kernel defconfigVijayakumar Badiger
Change-Id: I672b065120d70fdb052e634c4cd837e5afe13f51
2020-06-24Merge "kernelscripts: Enhance the build scripts to build additional kernel"qctecmdr
2020-06-23kernelscripts: Enhance the build scripts to build additional kernelRaghavendra Rao Ananta
For the sake of GKI compliance testing, QGKI and GKI should be sharing the same vendor.img and vendor_boot.img. Hence, the idea is to build the GKI kernel along with QGKI such that the modules could be packaged accordingly. Change-Id: I72141017240c68278714bd9f4a9338e6a7fc3dfc Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-06-17kernelscripts: Enhance the build scripts to build additional kernelRaghavendra Rao Ananta
For the sake of GKI compliance testing, QGKI and GKI should be sharing the same vendor.img and vendor_boot.img. Hence, the idea is to build the GKI kernel along with QGKI such that the modules could be packaged accordingly. Change-Id: I72141017240c68278714bd9f4a9338e6a7fc3dfc Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-06-16Merge 85b8b98431f20ded1f454e018c30154875c5e904 on remote branchLinux Build Service Account
Change-Id: I86aae1461d8172ba5923a3144d2a3285cadb8ea5
2020-05-22scripts: gki: Add support for qgki-consolidate_defconfigBruce Levy
The consolidated config fragment is containing/moving all the debug options from debug fragment except the ones which are incurring power and performance penalties. Change-Id: I12a45228bd86a1d5304e06447f1db019563ba718 Signed-off-by: Bruce Levy <blevy@codeaurora.org>
2020-05-13Merge 5a3a39e72a5c9044aae3a63cb8065b825e7b4e5e on remote branchLinux Build Service Account
Change-Id: Ib2db4b13c026ae4e7998fb742680ce473f77e87e
2020-04-28kernel_definitions: Avoid direct usage of TARGET_PRODUCTNaveen Ramaraj
This allows seeding of new Android lunch targets to be decoupled from kernel script updates. Remove this non portable usage and use TARGET_BOARD_PLATFORM instead which achieves the same result. Change-Id: I295be4aee000b4532854e15d844fa74423f52335
2020-04-22Merge "blacklist: Add the torture test cases to Lahaina blacklist"qctecmdr
2020-04-20blacklist: Add the torture test cases to Lahaina blacklistRaghavendra Rao Ananta
Add the rcutorture and locktorture test cases to Lahaina's blacklist of modules as we don't want them to get loaded by default during boot. Change-Id: Ib3a95dfeeb86b402c728441639036ca0c5cd42e7 Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-04-20kernel_definitions: Export NMRaghavendra Rao Ananta
Export NM to llvm-nm prebuilts path as $NM is used internally by many of the kernel scripts. This is especially needed when LTO is enabled as GCC's nm utility fails to read the object files. Change-Id: Id56ff5faf9544e4c2547f43cc7a7c380ffb15354 Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-04-15buildkernel: Add support to rename modules which has hyphen in the namePrakruthi Deepak Heragu
Modprobe converts every hyphen in the name of a module to underscore. Debugging such modules with names having hyphen in t32 simulator, gave an error of module not found. So, rename all modules in unstripped folder by replacing all hyphens in the name to underscores. Change-Id: I4dd84ae203d6e2d8b1047da85fd491f63620b019 Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-04-04buildkernel: Save unstripped modules for debuggingRaghavendra Rao Ananta
Currently, the build script installs the modules by stripping off the symbol information, which further then gets placed on the target. However, this symbol information is really useful for performing postmortem analysis. Hence, install a separate copy of unstripped modules for this purpose. Change-Id: I415fd65d125d91bd054b748651773e2079d9fe50 Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-04-04Merge 446e85b261da65781b0c55bcf50eadc68167f03d on remote branchLinux Build Service Account
Change-Id: I15441b5a0bd78fa117b884dd84a5da2ed82db259
2020-04-03Revert "buildkernel: Clean the dlkm directory prior to copying the binaries"Divya Sharma
This reverts commit e48d9d865ed846b2834231823efbd6b9c02722d3. Change-Id: I8bd71d15faa7b48eb8d1516f282f1133d5a4234c
2020-04-02Merge "kernelscripts: blacklist: Update the backlist for Lahaina"qctecmdr
2020-03-26kernelscripts: blacklist: Update the backlist for LahainaPrakruthi Deepak Heragu
Add modules of debug build into blacklist file. Change-Id: I952884ade6d82a153146d057131d58f3ee329f54
2020-03-26kernelscripts: Add qca_cld3_wlan to modules.blacklistManikandan Mohan
Add qca_cld3_wlan.ko to Lahaina modules.blacklist since WLAN init sequence needs cold boot calibration to complete before this module insmod. Change-Id: I9182b648a305a7ee34e27cafaf199b02b73e27c6
2020-03-22Merge "buildkernel: Clean the dlkm directory prior to copying the binaries"qctecmdr
2020-03-17Merge "kernelscripts: Use Linker from platform tools if AOSP tools are ↵qctecmdr
unavailable"
2020-03-14buildkernel: Clean the dlkm directory prior to copying the binariesRaghavendra Rao Ananta
In the case of incremental builds it's possible that the $KERNEL_MODULES_OUT directory contains stale .ko files from previous builds. This would inturn get packaged into the final image, which is incorrect. Hence, make sure to clean and start with a fresh directory to stage the modules. Change-Id: I7c22527baf9d181f1aa88a12fd8123ec35342fda Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-03-12buildkernel: Clean the dlkm directory prior to copying the binariesRaghavendra Rao Ananta
In the case of incremental builds it's possible that the $KERNEL_MODULES_OUT directory contains stale .ko files from previous builds. This would inturn get packaged into the final image, which is incorrect. Hence, make sure to clean and start with a fresh directory to stage the modules. Change-Id: I7c22527baf9d181f1aa88a12fd8123ec35342fda Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-03-11kernelscripts: Use Linker from platform tools if AOSP tools are unavailablePrakruthi Deepak Heragu
Use binaries from platform toolchain if kernel AOSP toolchains are not available. Change-Id: Ia84eed9a82a7a09d00c475313dce16530ce25dd1 Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-03-03kernel/build: remove kernel sha generation on the kernel projectJeevan Shriram
kernel sha is no more being used for storing the prebuilt images. Change-Id: I2afb2e72b591d480ba0436929f7a2a3e6848801b
2020-02-28Merge d5c37efdde6724977baa5286f53622cd6bec5b29 on remote branchLinux Build Service Account
Change-Id: I0e02b3def3272b488cb37d0342065e2c19964a42
2020-02-25Merge "kernelscripts: Use AR as env variable instead of LLVM_AR"qctecmdr
2020-02-25kernelscripts: Use AR as env variable instead of LLVM_ARPrakruthi Deepak Heragu
Assign the prebuilt tools to AR and pass it to make as an environment variable. Change-Id: I1f374a423c603206fef62b12af95fabd46a661c0 Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-02-21Merge "kernelscripts: blacklist: Update the backlist for Lahaina"qctecmdr
2020-02-21Merge "kernel_definitions: Use clang as the HOSTCC for kernel build"qctecmdr
2020-02-19kernelscripts: Use prebuilt MAKE PATH while invoking scripts in kernelPrakruthi Deepak Heragu
Use prebuilt make binary in all make commands used in kernel scripts like generate_defconfig.sh and merge_config.sh scripts. Change-Id: I53e9e7f67d95278fb581c1d4b5e30ebf2ae8ecc3 Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-02-19kernelscripts: blacklist: Update the backlist for LahainaRaghavendra Rao Ananta
Update the blacklist of modules as of 5.4.5 upmerge. Also, remove the storage specific modules from the blacklist as the SD card driver depends on them. Change-Id: Ieaadaf5935319a535fd58fc337785cb1a9c9d3b3
2020-02-18kernel_definitions: Use clang as the HOSTCC for kernel buildDivya Sharma
upstream plans to deprecate gcc, use clang for HOSTCC. Bug: 148566020 Change-Id: Iee824bb3c949f142852a34e94b256af03d41c5d8
2020-02-18Merge "kernelscripts: Add linker needed for CFI/LTO enablement"qctecmdr
2020-02-13Merge "kernel/build: Add path for prebuilt location of make"qctecmdr
2020-02-11kernel_definitions: Fix typo in headers installRishabh Bhatnagar
Typo in headers install forced kernel compilation instead of just generating kernel headers. Change-Id: I35d154104c076ed447a864bd7a6c297e20328746
2020-02-11kernel/build: Add path for prebuilt location of makeJeevan Shriram
Android build system restricts usage of make from host machine and use the binaries from the prebuilt location. Update kernel script to use the make from prebuilt location. Change-Id: I3886e73a1a2219449a9fc4abb29ab7208a15eedf
2020-01-23kernelscripts: Add linker needed for CFI/LTO enablementPrakruthi Deepak Heragu
For compilation, use the linker present in the AOSP LLVM for CFI/LTO to be enabled. Change-Id: I7c20cdc6ba3c743c9c111c87ac6af8e50e19261a
2020-01-07kernelscripts: Package vendor and vendor-ramdisk kernel modulesRaghavendra Rao Ananta
Archive the kernel modules that goes into vendor.img and vendor-ramdisk.img and assign it to BOARD_VENDOR_KERNEL_MODULE_ARCHIVE and BOARD_VENDOR_RAMDISK_KERNEL_MODULE_ARCHIVE, respectively. Change-Id: I903ef51e25ee7ac52efd3279b5d41c13fedf2585
2020-01-06Merge "Add the modules blacklist file for Lahaina platform"qctecmdr
2020-01-06Merge "Revert "Add script to auto-load modules on Android bootup""qctecmdr
2020-01-02Add the modules blacklist file for Lahaina platformRaghavendra Rao Ananta
Add the modules.blacklist file for Lahaina platform to prevent these modules from auto-loading during bootup. Change-Id: I3e8ddf440137dde99306590f264c5c3531fa6bf7
2019-12-27Revert "Add script to auto-load modules on Android bootup"Raghavendra Rao Ananta
This reverts commit 81b4d0aece93b3dc1dc44b4ec74db7d08fa7caeb due to invalid license stub.
2019-12-16Merge "Add script to auto-load modules on Android bootup"qctecmdr
2019-12-11Add script to auto-load modules on Android bootupRaghavendra Rao Ananta
Add vendor_modprobe.sh to auto-load modules during Android init. The script would try to load all the modules under /vendor/lib/modules, except for the ones mentioned in modules.blacklist file. Change-Id: I62acef2e71c0b98e1f649bc197225f9ff742a6e0