Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
msm8994: angler: Modified to boot through fastboot on Huawei Nexus 6P…
Browse files Browse the repository at this point in the history
… (Angler)
  • Loading branch information
zhuowei committed Feb 4, 2016
1 parent da54f86 commit 394d125
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/aboot/aboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -3534,7 +3534,7 @@ void aboot_init(const struct app_descriptor *app)
{
unsigned reboot_mode = 0;
unsigned hard_reboot_mode = 0;
bool boot_into_fastboot = false;
bool boot_into_fastboot = true;

/* Setup page size information for nv storage */
if (target_is_emmc_boot())
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/crt0.S
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ _start:
b arm_reserved
b arm_irq
b arm_fiq
nop // 0x24
nop // 0x28
nop // 0x2a
.int (_binary_huawei_angler_vn2_dtb_start - _start)

reset:

Expand Down
Binary file added huawei-angler-vn2-dtb.o
Binary file not shown.
5 changes: 3 additions & 2 deletions target/msm8994/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SCRATCH_ADDR := 0x10000000

SCRATCH_SIZE := 0x20000000

DEFINES += DISPLAY_SPLASH_SCREEN=1
#DEFINES += DISPLAY_SPLASH_SCREEN=1
DEFINES += DISPLAY_TYPE_MIPI=1
DEFINES += DISPLAY_TYPE_DSI6G=1

Expand Down Expand Up @@ -48,7 +48,8 @@ OBJS += \
$(LOCAL_DIR)/init.o \
$(LOCAL_DIR)/meminfo.o \
$(LOCAL_DIR)/target_display.o \
$(LOCAL_DIR)/oem_panel.o
$(LOCAL_DIR)/oem_panel.o \
$(LK_TOP_DIR)/../huawei-angler-vn2-dtb.o

ifeq ($(ENABLE_SMD_SUPPORT),1)
OBJS += \
Expand Down

1 comment on commit 394d125

@sndnvaps
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zhuowei can we use this method to make the lk work for msm8974 platform , with appended dtb .
just mean cat lk.bin msm8974pro-ab-mtp.dtb > final.bin

Please sign in to comment.