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

Add tblte project #10

Open
wants to merge 2 commits 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
19 changes: 11 additions & 8 deletions config.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
[variables]
DEVICE_NAME = Xiaomi MI2
DEVICE_NAME = Samsung Galaxy Note Edge (SM-N915*)

LK_TARGET = msm8960
LK_TARGET = apq8084
LK_BASE = 0x0f800000
LK_SOURCE = qcom/LA.BF64
EDK2_BASE = 0xfe000000
EDK2_SIZE = 0x02000000 ; 32MB
EDK2_BASE = 0xbe000000
EDK2_SIZE = 0x02000000

BOOTIMG_BASE = 0x80200000
BOOTIMG_PAGESIZE = 2048
BOOTIMG_ADDITIONAL_ARGS = --ramdisk_offset 0x02000000
BOOTIMG_DT = $(DEVICE_DIR)/dt.img
BOOTIMG_BASE = 0x00000000
BOOTIMG_PAGESIZE = 4096
BOOTIMG_ADDITIONAL_ARGS = --ramdisk_offset 0x02600000 --tags_offset 0x02400000 --kernel_offset 0x00008000

LCD_DENSITY = 320
LCD_DENSITY = 560
LCD_VRAM_SIZE = 0x1000000
Binary file added dt.img
Binary file not shown.
11 changes: 7 additions & 4 deletions lk_inc.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
EMMC_BOOT := 1
DEFINES += WITH_DEBUG_UART=1
DISPLAY_2NDSTAGE := 1
DEFINES += WITH_2NDSTAGE_DISPLAY_DMA_TRIGGER
DEVICE_PREFER_ATAGS_HWID := 1

DEFINES += DISPLAY_RGBSWAP=2 # DSI_RGB_SWAP_BGR
DEFINES := $(call FILTER_OUT,ABOOT_FORCE_RAMDISK_ADDR, $(DEFINES))
DEFINES := $(call FILTER_OUT,ABOOT_FORCE_TAGS_ADDR, $(DEFINES))

DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02600000
DEFINES += ABOOT_FORCE_TAGS_ADDR=0x02400000

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.