Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yotaphone 2 device support #11

Open
wants to merge 1 commit into
base: xiaomi/aries
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This repository is for building EFIdroid multiboot bootloader for the
Yota Devices Yotaphone 2.
17 changes: 8 additions & 9 deletions config.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[variables]
DEVICE_NAME = Xiaomi MI2

LK_TARGET = msm8960
DEVICE_NAME = Yotaphone 2
LK_TARGET = msm8974
LK_BASE = 0x000000000f900000
LK_SOURCE = qcom/LA.BF64
EDK2_BASE = 0xfe000000
EDK2_SIZE = 0x02000000 ; 32MB

BOOTIMG_BASE = 0x80200000
BOOTIMG_BASE = 0x00000000
BOOTIMG_PAGESIZE = 2048
BOOTIMG_ADDITIONAL_ARGS = --ramdisk_offset 0x02000000
LCD_DENSITY = 480
BOOTIMG_DT = $(DEVICE_DIR)/dt.img
EDK2_BASE = 0x000000007e000000
EDK2_SIZE = 0x0000000002000000

LCD_DENSITY = 320
Binary file added dt.img
Binary file not shown.
6 changes: 0 additions & 6 deletions lk_inc.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
EMMC_BOOT := 1
DEFINES += WITH_DEBUG_UART=1
DISPLAY_2NDSTAGE := 1

DEFINES += DISPLAY_RGBSWAP=2 # DSI_RGB_SWAP_BGR

MODULES += \
$(EFIDROID_DEVICE_DIR)/lkshim
247 changes: 0 additions & 247 deletions lkshim/init.c

This file was deleted.

9 changes: 0 additions & 9 deletions lkshim/keypad.c

This file was deleted.

5 changes: 0 additions & 5 deletions lkshim/rules.mk

This file was deleted.