Skip to content

Commit

Permalink
imx8mm_var_dart: Add GKI images and patches to change GKI path
Browse files Browse the repository at this point in the history
  • Loading branch information
m-p-s committed Aug 2, 2022
1 parent 2c2ac53 commit 1b7c170
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
Binary file added imx8m/dart_mx8mm/gki/boot-debug.img
Binary file not shown.
Binary file added imx8m/dart_mx8mm/gki/boot.img
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 395a7a6f1667cb87576b6ac42ff7cde8a2c51c76 Mon Sep 17 00:00:00 2001
From: mohit <[email protected]>
Date: Tue, 2 Aug 2022 13:54:37 -0700
Subject: [PATCH 1/2] imx8mm_var_dart: Add dart_mx8mm target

---
common/tools/imx-make.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/tools/imx-make.sh b/common/tools/imx-make.sh
index 77010fa6..394ae225 100755
--- a/common/tools/imx-make.sh
+++ b/common/tools/imx-make.sh
@@ -194,7 +194,7 @@ if [ ${build_android_flag} -eq 1 ] || [ ${build_whole_android_flag} -eq 1 ]; the
if [ -n "${build_bootimage}" ] || [ ${build_whole_android_flag} -eq 1 ]; then
if [ ${TARGET_PRODUCT} = "evk_8mp" ] || [ ${TARGET_PRODUCT} = "evk_8mn" ] \
|| [ ${TARGET_PRODUCT} = "evk_8ulp" ] \
- || [ ${TARGET_PRODUCT} = "evk_8mm" ] || [ ${TARGET_PRODUCT} = "evk_8mq" ]; then
+ || [ ${TARGET_PRODUCT} = "evk_8mm" ] || [ ${TARGET_PRODUCT} = "evk_8mq" ] || [ ${TARGET_PRODUCT} = "dart_mx8mm" ] ; then
mv ${OUT}/boot.img ${OUT}/boot-imx.img
# sign prebuilt gki boot.img
make bootimage
--
2.36.1

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From 76577eb6f1cdec55d7539c780c40081b2cd603e1 Mon Sep 17 00:00:00 2001
From: mohit <[email protected]>
Date: Tue, 2 Aug 2022 13:56:12 -0700
Subject: [PATCH 2/2] imx8mm_var_dart: Change path of GKI images

---
imx8m/BoardConfigCommon.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/imx8m/BoardConfigCommon.mk b/imx8m/BoardConfigCommon.mk
index 04411fe0..f52a82fd 100644
--- a/imx8m/BoardConfigCommon.mk
+++ b/imx8m/BoardConfigCommon.mk
@@ -90,9 +90,9 @@ ifeq ($(TARGET_IMX_KERNEL),false)
# boot-debug.img is built by IMX, with Google released kernel Image
# boot.img is released by Google
ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
-BOARD_PREBUILT_BOOTIMAGE := vendor/nxp/fsl-proprietary/gki/boot-debug.img
+BOARD_PREBUILT_BOOTIMAGE := device/variscite/imx8m/$(TARGET_PRODUCT)/gki/boot-debug.img
else
-BOARD_PREBUILT_BOOTIMAGE := vendor/nxp/fsl-proprietary/gki/boot.img
+BOARD_PREBUILT_BOOTIMAGE := device/variscite/imx8m/$(TARGET_PRODUCT)/gki/boot.img
endif
TARGET_NO_KERNEL := true
endif
--
2.36.1

0 comments on commit 1b7c170

Please sign in to comment.