docs: Document building pvmfw.img from source in U

Add instructions for building pvmfw.img from source.

Bug: 253397262
Test: -
Change-Id: I9a3561d3fee456a7a0e5adcde2da4b63f65a7fb1
This commit is contained in:
Pierre-Clément Tosi 2022-10-14 19:01:56 +01:00
parent 39bce67673
commit 4e0fed7005
1 changed files with 8 additions and 0 deletions

View File

@ -71,6 +71,14 @@ as long as the bootloader remains unlocked. Otherwise, a fresh install of
Android 13 followed by the manual steps above for flashing the `other` slot
should be used as a last resort.
Starting in Android 14, `pvmfw.img` can be built using the Android Build system:
```
lunch <target> # where PRODUCT_BUILD_PVMFW_IMAGE=true
m pvmfwimage # partition image under ${ANDROID_PRODUCT_OUT}/pvmfw.img
```
Note that the result is not intended to be used in Android 13 as not
backward-compatibility is guaranteed.
## Running demo app
The instruction is [here](../../demo/README.md).