summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-25Merge "Update Android 12 GKI kernel symbol files" into android12-gsiandroid12-gsiIsaac Chen
2023-07-24Update Android 12 GKI kernel symbol filesIsaac Chen
Android 12 GKI 5.4: 2022-02 9534758 2022-03 9636646 2022-04 9888783 2022-06 10435273 Android 12 GKI 5.10: 2022-01 9500129 2022-02 9611440 2022-03 9750419 2022-04 9937098 2022-05 10157815 2022-07 10448675 Bug: 292476857 Test: $ lunch aosp_arm64-userdebug $ m gki_kmi_compatibility_test Change-Id: Ibedc79b9c2f74b7846e3b78d82557dd6e3bc345e
2022-12-29Merge "Add GKI KMI symbols up to Dec 2022 release" into android12-gsiIsaac Chen
2022-12-28Add GKI KMI symbols up to Dec 2022 releaseIsaac Chen
Android 12 GKI 5.10: - 9291303 (android12-5.10-2022-11) - 9389453 (android12-5.10-2022-12) Android 12 GKI 5.4: - 9211757 (android12-5.4-2022-10) - 9314807 (android12-5.4-2022-11) - 9424207 (android12-5.4-2022-12) Bug: 263836105 Test: $ lunch aosp_arm64-userdebug $ m gki_kmi_compatibility_test ... #### build completed successfully (28 seconds) #### Change-Id: Ib90b9d3fbf376d05205fa5ba0be6259e6770eda7
2022-10-19Merge "Add GKI KMI symbols of Oct 2022 release" into android12-gsiTreehugger Robot
2022-10-19Add GKI KMI symbols of Oct 2022 releaseIsaac Chen
Android 12 GKI 5.10: - kernel build 9177899 (android12-5.10-2022-10) This release includes the following two updated symbols: - __tracepoint_android_vh_record_pcpu_rwsem_lock_starttime - __traceiter_android_vh_record_pcpu_rwsem_lock_starttime which are changed from earlier Sep 2022 release. Even though, this change breaks KMI compatibility, these two symbols are not really used anywhere. For details, see b/241191475#comment27. Bug: 254166306 Test: $ lunch aosp_arm64-userdebug $ m gki_kmi_compatibility_test Change-Id: Ic53eaafc003d7c41c01c954eceea38d7a077128f
2022-10-06Merge "Add GKI KMI symbols up to Sep 2022 release" into android12-gsiIsaac Chen
2022-10-05Add GKI KMI symbols up to Sep 2022 releaseIsaac Chen
Android 12 GKI 5.10: - 9073836 android12-5.10-2022-09 Android 12 GKI 5.4: - 9111172 android12-5.4-2022-09 Bug: 247968543 Test: $ lunch aosp_arm64-userdebug $ m gki_kmi_compatibility_test Change-Id: I00416d429ec0cacaf200dba302168c5850fa4530
2022-09-21Merge "Add GKI KMI symbols up to Aug 2022 release" into android12-gsiIsaac Chen
2022-09-21Add GKI KMI symbols up to Aug 2022 releaseIsaac Chen
Android 12 GKI 5.10: - 8949903 android12-5.10-2022-08_r1 - 8836202 android12-5.10-2022-07_r1 Android 12 GKI 5.4: - 8934397 android12-5.4-2022-08 - 8861015 android12-5.4-2022-07 Bug: 247968543 Test: $ lunch aosp_arm64-userdebug # any product will do $ m gki_kmi_compatibility_test Change-Id: I8a9a017f5ce719d3ec28011b19be4861982c6337
2022-07-06Merge "Update Android 12 GKI symbols for KMI testing" into android12-gsiIsaac Chen
2022-07-06Update Android 12 GKI symbols for KMI testingIsaac Chen
Update Android 12 GKI symbols to 2022-06 release. Bug: 238154789 Test: $ lunch aosp_arm64-userdebug $ m gki_kmi_compatibility_test Change-Id: I9869ac679abf09dbf71ebd063134b1c4cf64734b
2022-03-28Merge "Check KMI of GKI under kernel prebuilts" into android12-gsiTreehugger Robot
2022-03-25Check KMI of GKI under kernel prebuiltsIsaac Chen
Enable the KMI compatibility check of GKIs under kernel/prebuilts. Also update the GKI symbols (to Feb 2022) for KMI compat check. Bug: 226704919 Test: $ lunch aosp_arm64-userdebug $ m gki_kmi_compatibility_test Change-Id: I13c94562b9e2e56936273e9c4c95130861207d5b
2022-01-11Merge "Merge branch android12-platform-release" into android12-gsiSzuWei Lin
2022-01-06Merge branch android12-platform-releaseSzuWei Lin
Change-Id: I1ec38175e8518657831a574d430efb3362aa69a5
2021-11-25Merge changes I2e966070,I79808936,I7474cecf,I117cc46d,I5213e2b7, ... into ↵Treehugger Robot
android12-gsi * changes: Build targets for checking GKI KMI compatibility Update arm64 GKI 5.4 kernel test module Create a test for GKI KMI compatibility Add kernel test modules for Android 12 GKI 5.4 Add test modules for arm64 GKI 5.10 Oct release Add kernel test modules for arm64 GKI 5.10
2021-11-24Merge "Create an arm64 kernel module to test arm64 KMI" into android12-gsiTreehugger Robot
2021-11-24Build targets for checking GKI KMI compatibilityIsaac Chen
Current/latest kernel symbol information files default to: - kernel/prebuilts/5.4/arm64/Module.symvers (for GKI 5.4) - kernel/prebuilts/5.10/arm64/vmlinux.symvers (for GKI 5.10) All kernel symbol information files in this CL are manually copied from AB of corresponding kernel branches. The history kernel symbol information files in this CL are sym-5.*/ directories. The ones without build ID suffix are symbolic links to the latest ones and can be used for testing the build test of this CL (see Test below). After *.symvers diles are released to kernel/prebuilts/5.*/arm64 directories on the Android branch, they will be used as the current/latest kernel symbol files by default. 3 moudules are created in this CL: gki_5_4_kmi_compatibility_test (for arm64 GKI 5.4) gki_5_10_kmi_compatibility_test (for arm64 GKI 5.10) gki_kmi_compatibility_test (for both arm64 GKI 5.4 & 5.10) Bug: 206064990 Test: $ m gki_kmi_compatibility_test Change-Id: I2e966070a392cfd6284676c7598138b5cad4717b (cherry picked from commit a0914f1db41cb9c79f0e3791f2d78833c00cc38a)
2021-11-24Update arm64 GKI 5.4 kernel test moduleIsaac Chen
2 symbols (get_net_ns and prepare_to_wait_exclusive) not supported by the arm64 GKI KMI, were accidentally included in the related kernel test module. This change removes those symbols Bug: 205515339 Test: On a device booted with the recently released arm64 GKI 5.4: $ adb shell uname -a Linux localhost 5.4.147-android12-9-00038-g7eb444cc279e-ab7855344 #1 SMP PREEMPT Fri Oct 22 01:45:28 UTC 2021 aarch64 $ atest kmi_comp_test ... Running Tests... arm64-v8a kmi_comp_test ----------------------- kmi_comp_test (1 Test) [1/1] kmi_comp_test#kmi_comp_test: PASSED (136ms) Summary ------- arm64-v8a kmi_comp_test: Passed: 1, Failed: 0, Ignored: 0, Assumption Failed: 0, All tests passed! Change-Id: I79808936b389d7eae7b400f8d8d09626baa4d9bc (cherry picked from commit 690d8e60206bdfb545ebf5c7cca9ebdfbce0874a)
2021-11-24Create a test for GKI KMI compatibilityIsaac Chen
Use the kernel test modules to test GKIs for Android 12 - build 7833008 of Android 12 GKI 5.10 2021-10 release - build 7855344 of Android 12 GKI 5.4 2021-10 release Bug: 205495384 Test: Connect any arm64 Android 12 device running GKI 5.4 or 5.10 $ atest kmi_comp_test ... Running Tests... arm64-v8a kmi_comp_test ----------------------- kmi_comp_test (1 Test) [1/1] kmi_comp_test#kmi_comp_test: PASSED (169ms) Summary ------- arm64-v8a kmi_comp_test: Passed: 1, Failed: 0, Ignored: 0, Assumption Failed: 0, All tests passed! Change-Id: I7474cecf0ad701080b02ffb5193e4f0fe1d46c02 (cherry picked from commit 1531f41cff594429a440c2178a925b70472f5ffd)
2021-11-24Add kernel test modules for Android 12 GKI 5.4Isaac Chen
7855344 Android 12 GKI 5.4 Oct, 2021 7732866 Android 12 GKI 5.4 Sep, 2021 Bug: 204516946 Test: # Set up GKI_DIR and export it. $ export GKI_BID=7732866 $ make ARCH=arm64 CROSS_COMPILE=aarch64 LLVM=1 LLVM_IAS=1 LTO=thin $ ls prebuilts kmi_sym-a12-5.4-7732866.ko # On any arm64 Android 12 device running GKI 5.4 $ insmod /data/local/tmp/kmi_sym-a12-5.4-7732866.ko; echo $? 0 $ lsmod | grep kmi kmi_sym 53248 0 $ rmmod kmi_sym $ dmesg | grep GKI [ 122.637127] GKI build: 7732866 [ 122.637391] 4332 GKI KMI symbols at 00000000d17bba78 [ 138.187845] Cleaning up GKI KMI test. Change-Id: I117cc46d0f0cf5d50e383ed224f3600a055c5f70 (cherry picked from commit e92152d1ffda59a7e3301be3961003fc927d5416)
2021-11-24Add test modules for arm64 GKI 5.10 Oct releaseIsaac Chen
7833008 Android 12 GKI 5.10 (Oct, 2021) Bug: 201603411 Test: # Set up GKI_DIR and export it. $ export GKI_BID=7833008 $ make ARCH=arm64 CROSS_COMPILE=aarch64 LLVM=1 LLVM_IAS=1 LTO=thin $ ls prebuilts kmi_sym-a12-5.10-7833008.ko # On any arm64 Android 12 device running GKI 5.10 $ uname -a Linux localhost 5.10.43-android12-9-00095-g142d4b0ce255-ab7833008 #1 SMP PREEMPT Fri Oct 15 06:45:00 UTC 2021 aarch64 $ insmod kmi_sym-a12-5.10-7833008.ko; echo $? 0 $ lsmod | grep kmi_sym kmi_sym 61440 0 $ rmmod kmi_sym $ dmesg | grep GKI [ 213.352577] GKI build: 7833008 [ 213.353253] 6037 GKI KMI symbols at 000000009798cabe [ 246.806967] Cleaning up GKI KMI test. Change-Id: I5213e2b79ac103bb8819d2f6445b8ca43269a218 (cherry picked from commit 405570f2062bf6a14e30b4440bf3125dc6867bbc)
2021-11-24Add kernel test modules for arm64 GKI 5.10Isaac Chen
7748709 Android 12 GKI 5.10 m9 7739788 Android 12 GKI 5.10 m8 (r2) 7618735 Android 12 GKI 5.10 m7 (r5) Bug: 201603411 Test: # Set up GKI_DIR and export it. $ export GKI_BID=7748709 $ make ARCH=arm64 CROSS_COMPILE=aarch64 LLVM=1 LLVM_IAS=1 LTO=thin $ ls prebuilts kmi_sym-a12-5.10-7748709.ko Change-Id: Iaf01184de60533940f7b5ae1d1d27d3ded8930cc (cherry picked from commit a60994f0e0926f7defe944c0e8407d428dd7048b)
2021-11-24Create an arm64 kernel module to test arm64 KMIIsaac Chen
This kernel module uses all the kernel symbols supported by arm64 GKI build 7618735, the first arm64 GKI release (respin 5) for Android 12. Bug: 196933449 Test: Load kmi_sym.ko on arm64 GKI on GF successfully. See README for details. Change-Id: Idf4c9f5dcac128faf4d08bf9cdec780d0dd54ed8 (cherry picked from commit bc82a1de7ea749bf162cc660b9fd5a66eb48df3b)
2021-11-10Snap for 7901677 from c93573e9851d7ee8a2636339e2395e660d22563f to ↵android-platform-12.0.0_r9android-platform-12.0.0_r8android-platform-12.0.0_r7android-platform-12.0.0_r6android-platform-12.0.0_r5android-platform-12.0.0_r4android-platform-12.0.0_r32android-platform-12.0.0_r31android-platform-12.0.0_r30android-platform-12.0.0_r3android-platform-12.0.0_r29android-platform-12.0.0_r28android-platform-12.0.0_r27android-platform-12.0.0_r26android-platform-12.0.0_r25android-platform-12.0.0_r24android-platform-12.0.0_r23android-platform-12.0.0_r22android-platform-12.0.0_r21android-platform-12.0.0_r20android-platform-12.0.0_r2android-platform-12.0.0_r19android-platform-12.0.0_r18android-platform-12.0.0_r17android-platform-12.0.0_r16android-platform-12.0.0_r15android-platform-12.0.0_r14android-platform-12.0.0_r13android-platform-12.0.0_r12android-platform-12.0.0_r11android-platform-12.0.0_r10android12-platform-releaseAndroid Build Coastguard Worker
sc-platform-release Change-Id: I2b7578f327fd34e62dfd0e72fdc368bb3e61818d
2021-11-08Merge commit 'e37190d6d082210d0f4401af3d0a6fe01bc846a5' into sc-platform-mergeYimin Li
Change-Id: I1f9ba315e620d02d38d29a5549979168e74bedd8
2021-08-26Snap for 7674435 from c2b4eb118dd58a2148b5e318dc57137176c314d5 to ↵android-12.0.0_r28android-12.0.0_r26android-12.0.0_r16android12-qpr1-releaseAndroid Build Coastguard Worker
sc-qpr1-release Change-Id: I825b392cda30ad8123180c2f336bdcb4f27b27a9
2021-08-25<RESTRICT AUTOMERGE>Update release config and emulator files for Android ↵android-12.0.0_r32android-12.0.0_r29android-12.0.0_r27android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseNeha Jain
S(API 31) Beta5 am: f38a7d0deb Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/15670419 Change-Id: Ib68ccc9786e91fa5aeb6d79f8e5d9dd2445df4af
2021-08-25<RESTRICT AUTOMERGE>Update release config and emulator files for Android ↵Neha Jain
S(API 31) Beta5 Bug: 197685598 Change-Id: I7144208678e4a485b2bf8616b82f5e6da0409247
2021-08-20Remove exporting kernel debug binariesSzuWei Lin
These files are provided by other solution now. Bug: 196917167 Test: TH Change-Id: Ide7a35ebc4cf0cb43d85f93a1af759b04672181a
2021-08-20Use curl to pick kernel binaries to distSzuWei Lin
Bug: 196917167 Test: TH Change-Id: Ibf15021cce6871fbe36e9b0ab91c249b5576c71a
2021-08-18Fix kernel_info_to_dist.sh file modeSzuWei Lin
Required execute bit for scripts. Bug: 196917167 Test: ls -al development/gsi/build_with_kernel/kernel_info_to_dist.sh Change-Id: I43e7d308f53521ba55f12ce589750a0d31f11b7f
2021-08-17Add kernel_info_to_dist.shSzuWei Lin
This is a script for outputing some more debug files to Artifacts on build server. Bug: 196917167 Test: lunch gsi_arm64-user; make -j40; \ Test: development/gsi/build_with_kernel/kernel_info_to_dist.sh aarch64 Change-Id: Iab60896fdfaa8ff122d383a68f10142c34946754
2021-08-06Merge "Kernel/modules only package for virtual device" into sc-gsi-devIsaac Chen
2021-08-05Kernel/modules only package for virtual deviceIsaac Chen
Create a kernel only package, kernel_img_zip, which contains only the GKI and virtual device kernel modules, that can be used to compose mix-image testing for a virtual device with different GKI versions. Bug: 191422008 Test: # For ARCH={arm64,x86_64} and GKIVER={5.4,5.10} # PROD=aosp_cf_$ARCH_phone $ lunch $PROD-userdebug $ TARGET_KERNEL_USE=$GKIVER m kernel_img_zip dist $ unzip -l out/dist/gki-boot-$GKIVER-eng.ycchen.zip Archive: out/dist/gki-boot-$GKIVER-eng.ycchen.zip Length Date Time Name --------- ---------- ----- ---- 67108864 2008-01-01 00:00 boot.img 67108864 2008-01-01 00:00 vendor_boot.img --------- ------- Change-Id: Ia6ff5660323ab352c4943a9e34d5e9a06dbd204b
2021-08-03Revise lz4 in repack_kernels_common.shSzuWei Lin
The patch use `prebuilts/misc/linux-x86/lz4/lz4` instead of the one under `kernel/prebuilts`. Uses lz4 for only decompressing. Which is a preparation for removing all kernel source code projects. Bug: 191439845 Test: TH gsi_arm64_with_kernel-userdebug Test: TH aosp_cf_x86_64_phone_with_kernel-userdebug Change-Id: I38a2fe224f071686490d116caa4911aee1bb2b64
2021-08-03Add download_kernels_prebults.shSzuWei Lin
This script downloads all kernel binaries based on the bid defined in: prebuilts/build-artifacts3/aosp_kernel-common-${branch}/${target}/bid Bug: 191439845 Test: ./development/gsi/build_with_kernel/download_kernels_prebults.sh Change-Id: I6c1734d1ab2ddf5de7bd607b9206232c127ee8a0
2021-07-31Prepare kernel image for x86_64SzuWei Lin
The output of kernel x86_64 is `bzImage`, and it does not need other compress formats. Bug: 191439845 Test: TH Change-Id: Ie6c96be21ecc7c74468d9a6d9d9842437795e2ad
2021-07-30Merge "Support preparing kernel modules in repack_kernels.sh" into sc-gsi-devSzuWei Lin
2021-07-29Support preparing kernel modules in repack_kernels.shSzuWei Lin
Add function prepare_kernel_modules(), which extract the .ko files from initramfs.img to the out folder. Bug: 191439845 Test: TH Change-Id: Ia613ac2f98d68100656fc5eab6a26b72193187ba
2021-07-16Snap for 7553867 from 0e4d25a19e3803ea85057c6ec9f290ad30dd3e32 to sc-release ↵Android Build Coastguard Worker
am: 4632723c45 Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/15306542 Change-Id: Ib3b0c336fd73db2a12b42c44484e1b1d289012f5
2021-07-16Snap for 7553867 from 0e4d25a19e3803ea85057c6ec9f290ad30dd3e32 to sc-releaseandroid-vts-12.0_r9android-vts-12.0_r8android-vts-12.0_r7android-vts-12.0_r6android-vts-12.0_r5android-vts-12.0_r4android-vts-12.0_r3android-vts-12.0_r2android-vts-12.0_r12android-vts-12.0_r11android-vts-12.0_r10android-vts-12.0_r1android-security-12.0.0_r60android-security-12.0.0_r59android-security-12.0.0_r58android-security-12.0.0_r57android-security-12.0.0_r56android-security-12.0.0_r55android-security-12.0.0_r54android-security-12.0.0_r53android-security-12.0.0_r52android-security-12.0.0_r51android-security-12.0.0_r50android-security-12.0.0_r49android-security-12.0.0_r48android-security-12.0.0_r47android-security-12.0.0_r46android-security-12.0.0_r45android-security-12.0.0_r44android-security-12.0.0_r43android-security-12.0.0_r42android-security-12.0.0_r41android-security-12.0.0_r40android-security-12.0.0_r39android-security-12.0.0_r38android-security-12.0.0_r37android-security-12.0.0_r36android-security-12.0.0_r35android-security-12.0.0_r34android-platform-12.0.0_r1android-cts-12.0_r9android-cts-12.0_r8android-cts-12.0_r7android-cts-12.0_r6android-cts-12.0_r5android-cts-12.0_r4android-cts-12.0_r3android-cts-12.0_r2android-cts-12.0_r12android-cts-12.0_r11android-cts-12.0_r10android-cts-12.0_r1android-12.0.0_r9android-12.0.0_r8android-12.0.0_r34android-12.0.0_r33android-12.0.0_r31android-12.0.0_r30android-12.0.0_r3android-12.0.0_r25android-12.0.0_r2android-12.0.0_r11android-12.0.0_r10android-12.0.0_r1android12-tests-releaseandroid12-security-releaseandroid12-s5-releaseandroid12-s4-releaseandroid12-s3-releaseandroid12-s2-releaseandroid12-s1-releaseandroid12-releaseAndroid Build Coastguard Worker
Change-Id: I0e15699a64b589eede66f2f042a14cfb6326ebb6
2021-07-14Merge "Use FixedAspectRatioImageView to demo auto-enter-pip" into sc-devandroid12-devHongwei Wang
2021-07-12Use FixedAspectRatioImageView to demo auto-enter-pipHongwei Wang
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bpKcGg1eoOo5Jz5U6IwBYK Bug: 191310680 Test: manually auto-enter-pip from landscape, see video Change-Id: I30a728331f0ffa48c537be7b2611dba0b2df053a
2021-07-09Merge "Add check_abi.sh" into sc-gsi-devSzuWei Lin
2021-07-09Merge "Disable the symbol check as a workaroud" into sc-gsi-devHoward Chen
2021-07-08Add check_abi.shSzuWei Lin
Originally, ABI checking is a part of `build_all_kernels.sh`. This patch separates the checking to a new script `check_abi.sh`. Bug: 193111126 Test: ./development/gsi/build_with_kernel/bld-gki.sh Change-Id: Ie5ca15b07cd86b0a9e44db68ee86631d9e12257d
2021-07-08Disable the symbol check as a workaroudHoward Chen
It's a wordaroud to fix the sc-gsi-dev ab. Bug: 192906360 Test: ABTD Change-Id: Id2d76b82542ebe5c20b2280213b6868246bd765f
2021-07-08Snap for 7529640 from c9c6c19f5dce320f764db032f54d2d799a313efd to sc-release ↵Android Build Coastguard Worker
am: 065da989f7 Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/15226400 Change-Id: Ia55f6f020ca16c3f5294b659394f8bf834e02f1e