Commit Graph

9 Commits

Author SHA1 Message Date
A. Cody Schuffelen
36f746c2b7 ANDROID: Add TPM support and the vTPM proxy to Cuttlefish.
This module allows presenting the kernel TPM interface while proxying
the TPM commands into a file descriptor. The module was originally
implemented to support running a TPM simulator on the same host system
and exposing a kernel TPM interface to a Linux container, but it is also
a convenient incremental step while we figure out our long-term strategy
with crosvm, which does not have TPM support following the same
standards as qemu.

CONFIG_TCG_TPM, the base config for the various TPM drivers, required
CONFIG_SECURITYFS. CONFIG_SECURITYFS exists only as a boolean and not a
tristate, so we can't install it as a module.

Bug: 148102533
Test: Build and run locally with cuttlefish, check for /dev/vtpmx
Change-Id: I568a50c2ecb7899aae70e7a20efaedc84443511d
Signed-off-by: A. Cody Schuffelen <schuffelen@google.com>
2020-03-13 17:19:53 +00:00
Ram Muthiah
5950d08698 ANDROID: gki: Enable BINFMT_MISC as part of GKI
Bug: 150328771
Signed-off-by: Ram Muthiah <rammuthiah@google.com>
Test: Treehugger
Change-Id: I2e9ba3a214295a63e3a0d4cc3407f93644f00db2
2020-02-27 20:47:03 +00:00
Alistair Delva
823487844c ANDROID: gki_defconfig: Disable SDCARD_FS
Move SDCARD_FS into the fragments for cuttlefish and db845c as this
feature is still being used by AOSP master. These will be removed later.

Bug: 149410031
Change-Id: I9142338cd0709aa8ec067b9e7d8c22390630de02
Signed-off-by: Alistair Delva <adelva@google.com>
2020-02-14 21:40:44 +00:00
Alexander Potapenko
1860c45d1e ANDROID: added memory initialization tests to cuttlefish config
Build the cuttlefish kernel with CONFIG_TEST_STACKINIT=m and
CONFIG_TEST_MEMINIT=m to provide the tests for stack and heap
initialization.

Bug: 144999193
Change-Id: Ifbcf70df6f23f3e37178d5872ceda64aa1199c12
Signed-off-by: Alexander Potapenko <glider@google.com>
2020-02-13 19:54:26 -08:00
Ram Muthiah
cc8657ff73 ANDROID: gki: Removed cf modules from gki_defconfig
Bug: 139431025
Test: Treehugger
Change-Id: Ib1de19b851f8dc07f77e4b6ec5acf88b6051b070
Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2020-01-31 16:23:38 -08:00
Kenny Root
89a7be58e8 ANDROID: gki_defconfig: enable NVDIMM/PMEM options
Options needed for the virtual platform and physical platforms via DT
to define PMEM regions for resume-on-reboot feature

Bug: 146400078
Change-Id: Icaffbd3a7425ac3d9914378fb356d32f9393eec0
Signed-off-by: Kenny Root <kroot@google.com>
2020-01-26 19:05:05 +00:00
Hridya Valsaraju
b2af33d051 ANDROID: gki_defconfig: Set CONFIG_ION=m
Test: build, boot and video playback works on cuttlefish
Bug: 147914088

Change-Id: I6143f0def4047a84eb0f7a4c33df1c1cf3b6ffe2
Signed-off-by: Hridya Valsaraju <hridya@google.com>
2020-01-23 15:37:27 -08:00
Ram Muthiah
a0f68c610a ANDROID: gki: Make GKI specific modules builtins
Bug: 139431025
Test: Treehugger
Change-Id: I56e59e1a6232dada090d720f43e0d1036f43d064
Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2020-01-22 17:34:41 -08:00
Ram Muthiah
ba9b4932d4 ANDROID: build config for cuttlefish ramdisk
Both x86 and arm64 are covered in this change.
The ramdisk and ko's are put in the DIST_DIR by the
BUILD_INITRAMFS option.

Bug: 139431025
Test: Local build and boot of cf
Signed-off-by: Ram Muthiah <rammuthiah@google.com>
Change-Id: I82a410ea3cf9b9177a1c8f2186d88344b9a63488
2020-01-21 16:39:14 -08:00