From 013bc7c893b10491d23648bc69962f1acd1332f4 Mon Sep 17 00:00:00 2001 From: lambdadroid Date: Tue, 27 Aug 2019 11:12:04 +0200 Subject: [PATCH] Change name of lk2nd boot image to lk2nd.img --- README.md | 9 +++++---- project/msm8916-secondary.mk | 2 ++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bdc2b6b8c..93f9c70a6 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,10 @@ and then loaded by lk2nd. - Wileyfox Swift ## Installation -1. Download `boot.img` (available in [Releases](https://github.com/msm8916-mainline/lk2nd/releases)) -2. Flash `boot.img` using the stock flashing procedure: - - Fastboot: `fastboot flash boot boot.img` - - Samsung: `heimdall flash --BOOT boot.img` +1. Download `lk2nd.img` (available in [Releases](https://github.com/msm8916-mainline/lk2nd/releases)) +2. Flash `lk2nd.img` using the stock flashing procedure: + - Fastboot: `fastboot flash boot lk2nd.img` + - Samsung: `heimdall flash --BOOT lk2nd.img` ## Usage lk2nd provides the standard Android fastboot protocol for flashing/booting Android boot images. @@ -57,6 +57,7 @@ $ make TOOLCHAIN-PREFIX=arm-none-eabi- msm8916_secondary - Arch Linux: `dtc` Replace `TOOLCHAIN_PREFIX` with the path to your tool chain. +`lk2nd.img` is built and placed into `build-msm8916-secondary/lk2nd.img`. ## Porting ### To other MSM8916 devices diff --git a/project/msm8916-secondary.mk b/project/msm8916-secondary.mk index 87e2b8cfd..8d89a4ca5 100644 --- a/project/msm8916-secondary.mk +++ b/project/msm8916-secondary.mk @@ -2,6 +2,8 @@ # LOCAL_DIR := $(GET_LOCAL_DIR) +OUTBOOTIMG := $(BUILDDIR)/lk2nd.img + # Enable fastboot display menu ENABLE_FBCON_DISPLAY_MSG := 1