Skip to content

Commit

Permalink
dts: msm8953: Add build documentation to Lenovo ThinkSmart View (CD-1…
Browse files Browse the repository at this point in the history
…8781Y)

Describe how to build properly signed images using the new SIGN_BOOTIMG
build flag.

Also provide more details on how to use EDL to flash the image.

Signed-off-by: Felix Kaechele <[email protected]>
  • Loading branch information
kaechele authored and TravMurav committed Jun 30, 2024
1 parent e29488c commit 86446f7
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions lk2nd/device/dts/msm8953/apq8053-lenovo-cd-18781y.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,18 @@
* device's lk bootloader will crash as long as the bootloader remains
* unlocked. Therefor:
* - Secure Boot can not be disabled
* However, the device will happily boot any AVB1 signed image. Tools
* such as magiskboot can be used to sign lk2nd.img and make it bootable.
* However, the device will happily boot any AVB1 signed image.
* Build the image using the following make command to have it
* appropriately signed during build:
*
* make TOOLCHAIN_PREFIX=arm-none-eabi- SIGN_BOOTIMG=1 lk2nd-msm8953
*
* - lk2nd cannot be flashed in fastboot mode
* Instead, use EDL to write the signed lk2nd.img to the boot partition.
* Instead, use EDL (https://github.com/bkerler/edl) to write the signed
* lk2nd.img to the boot partition.
* For example:
*
* edl w boot build-lk2nd-msm8953/lk2nd.img
*/

/ {
Expand Down

0 comments on commit 86446f7

Please sign in to comment.