Skip to content

Commit c70570b

Browse files
Satish KamujuGerrit - the friendly Code Review server
Satish Kamuju
authored and
Gerrit - the friendly Code Review server
committed
Initial changes for boot on M PDK.
Change-Id: I90c5c6ddc738eadfe18c30559b14615e5e73ae52 Signed-off-by: Satish Kamuju <[email protected]>
1 parent de93e4b commit c70570b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

AndroidKernel.mk

+5
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,12 @@ ifeq ($(TARGET_USES_UNCOMPRESSED_KERNEL),true)
5858
$(info Using uncompressed kernel)
5959
TARGET_PREBUILT_INT_KERNEL := $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/Image
6060
else
61+
ifeq ($(KERNEL_ARCH),arm64)
62+
TARGET_PREBUILT_INT_KERNEL := $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/Image.gz
63+
else
6164
TARGET_PREBUILT_INT_KERNEL := $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/zImage
6265
endif
66+
endif
6367

6468
ifeq ($(TARGET_KERNEL_APPEND_DTB), true)
6569
$(info Using appended DTB)
@@ -71,6 +75,7 @@ KERNEL_MODULES_INSTALL := system
7175
KERNEL_MODULES_OUT := $(TARGET_OUT)/lib/modules
7276

7377
TARGET_PREBUILT_KERNEL := $(TARGET_PREBUILT_INT_KERNEL)
78+
$(info TARGET_PREBUILT_KERNEL is $(TARGET_PREBUILT_KERNEL))
7479

7580
define mv-modules
7681
mdpath=`find $(KERNEL_MODULES_OUT) -type f -name modules.dep`;\

arch/arm64/boot/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# Based on the ia64 boot/Makefile.
1515
#
1616

17-
include $(srctree)/arch/arm64/boot/dts/Makefile
17+
include $(srctree)/arch/arm64/boot/dts/qcom/Makefile
1818

1919
targets := Image Image.gz
2020

arch/arm64/boot/dts/Makefile

-7
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ targets += dtbs
66
#used for cleaning - not building
77
subdir- := qcom
88

9-
DTB_NAMES := $(subst $\",,$(CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE_NAMES))
10-
ifneq ($(DTB_NAMES),)
11-
DTB_LIST := $(addsuffix .dtb,$(DTB_NAMES))
12-
else
13-
DTB_LIST := $(dtb-y)
14-
endif
15-
targets += $(DTB_LIST)
169

1710
dtbs: $(addprefix $(obj)/, $(DTB_LIST))
1811

arch/arm64/configs/msm_defconfig

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ CONFIG_SMP=y
4444
CONFIG_SCHED_MC=y
4545
CONFIG_PREEMPT=y
4646
CONFIG_ARMV7_COMPAT=y
47+
CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE=y
48+
CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE_NAMES="msm8916-cdp msm8916-mtp msm8939-mtp-smb1360"
4749
CONFIG_BALANCE_ANON_FILE_RECLAIM=y
4850
CONFIG_PROCESS_RECLAIM=y
4951
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set

0 commit comments

Comments
 (0)