Commit Graph

10 Commits

Author SHA1 Message Date
Naman Jain
d2a9d4436a build.config.msm.waipio.tuivm: Increase DTB img size to 3MB
Update RAMdisk offset to accommodate increase in DTB img
size from 2 MB to 3 MB. This is required because many targets
are now using same DTB for different platforms and the DTB size
of 2 MB was reached.

Change-Id: I31d2304aef7222bf85671fb260ba9f2193f54164
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
2022-08-16 18:01:18 +05:30
Elliot Berman
d9ba6f951e build.config: Introduce PREFERRED_USERSPACE
Used to indicate preferred userspace to external scripts which help pack
the kernel images.

Change-Id: Ic6d12f4157df81e9d0b87a552ca1333e955f3b08
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2022-07-26 15:25:40 -07:00
Naman Jain
03baddf2d6 build.config.msm.waipio.tuivm: Update SVM build config for waipio
Update SVM build config for waipio to fix SVM bootup issue.

Change-Id: I230cdc6ef4fbe003e98de61b2381fdef2370f1f6
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
2022-02-21 11:44:02 +05:30
Auditya Bhattaram
03256727cc Increase DTB Image Size to 2Mb
Increase DTB Image Size to 2Mb.

Change-Id: Icfa035b15a08b08f43a077cd0c672ab3035ccb87
Signed-off-by: Auditya Bhattaram <quic_audityab@quicinc.com>
2022-02-08 02:07:47 -08:00
Elliot Berman
9e2b44ffb2 build.config: Enable hermetic toolchain on msm-kernel
Enable "mostly" hermetic toolchain on msm-kernel for targets which need
openssl.  For those targets, use DISABLE_HERMETIC_SYSROOT to work around
missing aosp/1843323. This change enables a hermetic PATH, but still
uses host's sysroot for system libraries.

Change-Id: Ifaa65baac3832647fd0938b90436b540c1ae0964
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2021-10-19 09:00:06 -07:00
Isaac J. Manjarres
7702382adc build.config.msm: Correct amount of memory provisioned to Waipio Trusted VM
The current amount of memory provisioned to the Waipio Trusted
VM must be increased by 6 MB, making the VM size 74 MB. Also, given
that one of the 1 MB buffers for Virtio will not be used, it can
be reclaimed by the VM, which increases the size to 75 MB. However,
a small portion of the 75 MB can be used for QRTR and other
Virtio buffers.

Thus, subtract the size of the QRTR buffers (36 KB) and Virtio
buffers (16 KB) from the current amount of memory the VM has (75 MB)
to make the VM size ~74.95 MB.

Change-Id: Ief2e76964d3ce93df07bdf7c765a9ed6091b15f6
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2021-06-08 11:09:12 -07:00
Isaac J. Manjarres
6935f190f6 build.config.msm: Align Waipio Trusted VM size to current configuration
Update the Waipio Trusted VM size from 122 MB to 68 MB in the
Waipio Trusted VM configuration file.

Change-Id: I15cb675212f3c83a13ebab936e18ed22537264e3
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2021-05-21 14:01:49 -07:00
Elliot Berman
7a1743c35f build.config.msm.*: Add transition support to msm_kernel folder
To help facilitate easy transition for kernel source to move from
kernel_platform/common to kernel_platform/msm-kernel, a symlink of
build.config.msm.{lahaina,waipio,waipio.tuivm} will be created in
kernel_platform/common folder for build processes which hard-code
"common/build.config.msm.{lahaina,waipio,waipio.tuivm}" as the
BUILD_CONFIG. When the symlink is used, KERNEL_DIR is set to common/,
but it should use msm-kernel as the real KERNEL_DIR, since that's where
msm-5.10 really lives.

This is especially the case since build.config.msm.common and other
build.config files that build.config.msm.{waipio,waipio.tuivm,lahaina}
use live in msm-5.10, not the kernel_platform/common folder.

Change-Id: Id95b46d345c726384ed741ed2cfa4ed7923288f0
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2021-04-19 07:52:09 -07:00
Murali Nalajala
8108fb31d1 build.config.msm.common: create vmbootsys image for VM for waipio
Create a vmbootsys.img for VM for waipio.

Change-Id: I4714db383ec8ed2493b84ca2c2eb518e29a4d93f
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2021-01-12 21:24:25 -08:00
Murali Nalajala
e926a49e20 build.config: add new build configs to compile vm
Add new build configs to compile a kernel for virtual machine.

Change-Id: If7d991a9975bb1e45c62a5d414e8a81cec796bbd
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-12-10 11:08:49 -08:00