-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imx8mm_var_dart: Add GKI images and patches to change GKI path
- Loading branch information
Showing
4 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
25 changes: 25 additions & 0 deletions
25
scripts/platform/device/nxp.git/0002-imx8mm_var_dart-Add-dart_mx8mm-target.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
28 changes: 28 additions & 0 deletions
28
scripts/platform/device/nxp.git/0003-imx8mm_var_dart-Change-path-of-GKI-images.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|