Commit Graph

7 Commits

Author SHA1 Message Date
Howard Chen
f3e1facf7f Fix incorrect prebuilt-info.txt
The 8351194 has a kernel-build-id=8339614 in the prebuilt-info.txt.
This value is incorrect and should be 8350305. Fix this issue by
get the build id from artifact.

Bug: 198363484
Test: development/gsi/build_with_kernel/repack_kernels.sh aarch64
Change-Id: I4c0fd6273df4a794b7dddb5346d182e7fc91adf4
2022-03-25 13:00:16 +08:00
Howard Chen
2b79b9da13 Add script to update the 5.15 kernel build chaining
This is for the aos-master-boot branch to support
android13-5.15 development.

Bug: 198363484
Bug: 216409649
Test: \
  ./development/gsi/build_with_kernel/fetch_kernels.sh \
  ./development/gsi/build_with_kernel/repack_kernels.sh \
  ./development/gsi/build_with_kernel/update_kernel_prebuilts_515_arm64.sh

Change-Id: Ieadd5a0f8cc6a3e4b654973b2b8844dee2ec0763
2022-02-22 17:43:33 +08:00
Howard Chen
56bfe956a4 Pack all boot images in a zip for certification
The certification script accepts one single zip file as its input.

Bug: 198363484
Test: \
  make bootimage dist && \
  ./development/gsi/build_with_kernel/pack_boot_for_signing.sh
Change-Id: Ia0289979400ea23196449c34865540309bf1e19b
2022-01-05 10:02:22 +08:00
Howard Chen
8187c23b38 Update kernel prebuilts with local artifacts
Bug: 198363484
Test: \
  development/gsi/build_with_kernel/fetch_kernel.sh && \
  development/gsi/build_with_kernel/repack_kernels.sh && \
  development/gsi/build_with_kernel/update_kernel_prebuilts_510_arm64.sh

Change-Id: I88e167be7aff70ff52abee875997d8e9a5c51e79
2021-12-16 08:34:14 +00:00
Howard Chen
4cd02dc116 Avoid to use make directly
Buildbot does not allow script to call make directly.

Test: ./development/gsi/build_with_kernel/repack_kernels.sh
Bug: 198363484
Change-Id: Ia24cae56af27c6c73327002ebbed2c067c490851
2021-11-12 06:36:17 +00:00
Howard Chen
ca961096fc Deprecate prebuilts/misc/linux-x86/lz4/lz4
Replace prebuilts/misc/linux-x86/lz4/lz4 with external/lz4.

Test: \
  development/gsi/build_with_kernel/fetch_kernel.sh \
  development/gsi/build_with_kernel/repack_kernels.sh
Bug: 205492988

Change-Id: Ic22e6ea7cc68b45761b963ea3c41fd099ea29bc9
2021-11-08 04:03:38 +00:00
SzuWei Lin
29cceb796f Add building with kernel helper scripts
This scripts are for building GSI targets with prebuilt kernel
binaries. The kernel binaries are from a kernel build on AndroidCI,
or the build chaining on build server.

download_kernels_prebults.sh
  For local testing the build chaining with kernel prebuilt binaries.
  Downloads the kernel prebuilts binaries from AndroidCI with the
  build ID in the file `bid`.

kernel_info_to_dist.sh
  A postprocessing script to download the kernel prebuilt binaries
  and debugging information from AndroidCI, and output to dist folder.

repack_kernel(_x86_64).sh
  The preprocessing helper scripts for build chaining with kernel
  prebuilt binaries.

Bug: 196916063
Test: na
Change-Id: I081585d20f8d4a4e3cf135a1447775a8562d6fae
2021-09-23 13:17:40 +08:00