Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iasw #185

Open
wants to merge 37 commits into
base: master
Choose a base branch
from
Open

Iasw #185

wants to merge 37 commits into from

Conversation

sunausti
Copy link

@sunausti sunausti commented Mar 4, 2024

No description provided.

GangSecurity and others added 30 commits July 22, 2022 00:43
Tracked-On: OAM-102953
Signed-off-by: Chen, Gang G <[email protected]>
Tracked-On: OAM-102944
Signed-off-by: swaroopb <[email protected]>
Support build celadon images as ISO format. The image is ISO format
bootable image which can be burned to a bootable CD/DVD or clone to
USB pendrive. The image can be flashed to CIV and BM. It is
independence on UEFI Shell.

Tracked-On: OAM-103805
Signed-off-by: Chen, Gang G <[email protected]>
civ is default name

Tracked-On: OAM-103807
Signed-off-by: Chen, Gang G <[email protected]>
1. system.img vendor.img and product.img are covered by
    super.img, remove them to reduce image size
2. iso images will be generate while executing "make flashfiles"

Tracked-On: OAM-104014
Signed-off-by: Chen, Gang G <[email protected]>
Remove caas.img/caas.img.gz from the CIV build and create new
make command for Users in need.

Right now each and every build generates caas.img as part of build
 process and it is uploaded to artifactory, consuming space and
 processing time. Since not all users need it, we can allow it to
 be created only as part of additional make commands that user
 can pass while running an engineering build. This should improve
 build time in CI and friendly to developer.

Developer can use "make publish_gptimage" to generate caas.img.gz

Tracked-On: OAM-104383
Signed-off-by: Chen, Gang G <[email protected]>
Tracked-On: OAM-110714
Signed-off-by: swaroopb <[email protected]>
The image started by SBL OSloader payload should be
signed as container format

Tracked-On: OAM-110589
Signed-off-by: Chen, Gang G <[email protected]>
Build kernelflinger as ELF file

Tracked-On: OAM-110589
Signed-off-by: Chen, Gang G <[email protected]>
SBL requires commandline image while builidng container image

Tracked-On: OAM-110987
Signed-off-by: Chen, Gang G <[email protected]>
fb4sbl feature is not ready yet, remove to make "dist publish" build pass

Tracked-On: OAM-111199
Signed-off-by: Chen, Gang G <[email protected]>
Fastboot is used to flash Android images.
Build fastboot as ELF format to support SBL boot

Tracked-On: OAM-111201
Signed-off-by: Chen, Gang G <[email protected]>
Release files are mainly used for CIV host setup. They are useless for
IVI target.

Tracked-On: OAM-111035
Signed-off-by: Chen, Gang G <[email protected]>
make flashfiles takes long time.

In order to reduce image generation time provided option to skip
building of ISO image. If user wants to skip building of ISO image
make command to use is "make flashfiles iso_image=false"

Tracked-On: OAM-111036
Signed-off-by: Chen, Gang G <[email protected]>
Tracked-On: OAM-112188
Signed-off-by: swaroopb <[email protected]>
Build ACRN hypervisor as container format image required
by Slim Bootloader firmware

Tracked-On: OAM-112144
Signed-off-by: Chen, Gang G <[email protected]>
Update GenContainer.py to slimbootloader/slimbootloader@ebc9ae062574
for multi-container boot support.

Tracked-On: OAM-112552
Signed-off-by: Jiaqing Zhao <[email protected]>
this will happen only when the mixin of tee is set as "optee"

Tracked-On: OAM-112796
Signed-off-by: Yan, Shaopu <[email protected]>
Create boot container separately for boot from multiple containers
in SBL. This is controlled by "acrn" option.

Tracked-On: OAM-112952
Signed-off-by: Jiaqing Zhao <[email protected]>
Commit c5850ed ("Build separate boot containers for SBL")
conflicts with 747a651 ("pack optee prebuilt binary into
bootloader"), causing build failure when "tee" is enabled in
mixins.spec.

Tracked-On: OAM-113156
Signed-off-by: Jiaqing Zhao <[email protected]>
Tracked-On: OAM-113406
Signed-off-by: Jiaqing Zhao <[email protected]>
Tracked-On: OAM-113426
Signed-off-by: Jiaqing Zhao <[email protected]>
Also rename OPTEE_BIN to OPTEE_ELF to resolve naming conflict.

Tests Done:
* Build with optee as TEE
* Build with TEE disabled
* Boot with single sbl_os
* Boot with multiple container files (acrn.sbl/kf.sbl/tee.sbl)

Tracked-On: OAM-113418
Signed-off-by: Jiaqing Zhao <[email protected]>
Build a separate container file sbl_mod_tee for booting from multiple
partitions feature.

Tests Done:
* Build with optee as TEE
* Build with TEE disabled
* Boot with single sbl_os
* Boot with multiple container files (acrn.sbl/kf.sbl/tee.sbl)

Tracked-On: OAM-113549
Signed-off-by: Jiaqing Zhao <[email protected]>
/data partition cannot be used for mounting
overlayfs.

Created a new partition share_data to mount
overlayfs for docker related files.

Tracked-On: OAM-104201
Change-Id: Ibfd792e0cea68d8114ad8c56e60da7bb82d09c6a
Signed-off-by: nitishat9 <[email protected]>
This is a common target for Common Base Line

Test done : Boot check done

Tracked-On: OAM-114053
Signed-off-by: swaroopb <[email protected]>
jingdlu and others added 6 commits January 5, 2024 21:33
OPTEE_ELF is changed to optee binary built in Android.

Tests done:
    * OP-TEE can boot and work properly in userdebug build.
    * OP-TEE can boot and work properly in user build.

Tracked-On: OAM-114532
Signed-off-by: Jingdong Lu <[email protected]>
Tracked-On: OAM-114149
Signed-off-by: sgnanase <[email protected]>
Currently FFTF python script is used for creating flashfiles.zip.
It uses ZipWrite python api which is time consuming and adds
overhead to build time. Say, flash.json generation, unpacking of
target files, installer.cmd generation, etc.

This fix helps to optimize build time and involves below changes:
- Use tar + pigz combo for faster flashfiles generation.
- Make FFTF a bash script as python doesn't directly support
  tar + pigz
- Add use_tar=true flag to "make flashfiles" to enable it.
  e,g, "make flashfiles -j<N> use_tar=true"
- The new script still supports all old functionalities, say,
  generation of installer.cmd, flash.json, repacking of
  bootloader.img, etc.

Tracked-On: OAM-112083
Signed-off-by: sgnanase <[email protected]>
Signed-off-by: Chen, Gang G <[email protected]>
kernelflinger binary (kf4sbl.sbl) may be used as the bootloader of
Android VM. Add it to pub directory of both publish_ci and publish
maketarget so that it will be uploaded to artifactory.

Tracked-On: OAM-115247
Signed-off-by: Jiaqing Zhao <[email protected]>
directory is not required in final release packages

Test done:
	make flashfiles use_tar=true
	uzip flashfile.tar.gz and iso.tar.gz, no
	directory in extracted files

Tracked-On: OAM-115260
Signed-off-by: Chen, Gang G <[email protected]>
gpt.ini is used to flash android images, add it to
flashfiles to optimize the flash steps

Test done:
make flashfiles
make flashfiles use_tar=true

Tracked-On: OAM-115800
Signed-off-by: Chen, Gang G <[email protected]>
@sunausti sunausti marked this pull request as ready for review March 4, 2024 07:08
Tracked-On: OAM-115864
Signed-off-by: Austin Sun <[email protected]>
@sysopenci sysopenci added the Stale Stale label for inactive open prs label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Stale label for inactive open prs
Projects
None yet
Development

Successfully merging this pull request may close these issues.