efidroid / projectmanagement

EFIDroid Project Management
118 stars 12 forks source link

Nexus 5X Support #93

Open drsn0w opened 7 years ago

drsn0w commented 7 years ago

ARCH: MSM8992 (use MSM8994 for build) OEM: LG Branch used to build: LA.BF64

Able to boot into LK using the method presented by @M1cha in issue #89, with display issues fixed by setting mdelay to 32 in the DMA display trigger. UEFI image reboots into system even when repacked as presented by @M1cha

drsn0w commented 7 years ago

Screen corruption fix: https://github.com/drsn0w/bootloader_lk/commit/f7d9a32fb1b089c916688fcc2c48a658cca9aed3

I'm not sure how I would go about submitting this change to the official efidroid repositories as I'm 99% sure this is a Nexus 5X specific thing... If anyone can provide me with some guidance that would be greatly appreciated.

feherneoh commented 7 years ago

My suggestion would be making that delay use a configurable DEFINE we can set from the device config, defaulting to the original value if not explicitly set

drsn0w commented 7 years ago

I spoke to @M1cha and i think he is going to implement that

On Sun, Mar 19, 2017, 12:57 PM Fehér Roland Ádám notifications@github.com wrote:

My suggestion would be making that delay use a configurable DEFINE we can set from the device config, defaulting to the original value if not explicitly set

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/efidroid/projectmanagement/issues/93#issuecomment-287642851, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDKVqh0uKO3j7Xy71UUjNrhF2FP9iL8ks5rnYilgaJpZM4Mb3lj .

RedL0tus commented 7 years ago

After I use the fix by @drsn0w and compiled the image. I found that after I run fastboot boot uefi_boot.img , my N5X will directly reboot. But LK can boot correctly... So... how can I (we) fix it?

P.S. here is my config.ini:

[variables]
DEVICE_NAME = Nexus 5X
LK_TARGET = msm8994
LK_BASE = 0x0f900000
LK_SOURCE = qcom/LA.BF64
BOOTIMG_BASE = 0x00000000
BOOTIMG_PAGESIZE = 4096
BOOTIMG_ADDITIONAL_ARGS = --ramdisk_offset 0x02000000 --tags_offset 0x01E00000
LCD_DENSITY = 420
BOOTIMG_APPENDED_FDT = $(DEVICE_DIR)/fdt.img
EDK2_BASE = 0x05080000
EDK2_SIZE = 0x02000000
sub77 commented 7 years ago

try to add following line to your config.ini

BOOTIMG_FDT_PARSER = qcom_lge

drsn0w commented 7 years ago

I have some unfortunate news. My 5X became a victim of the widespread bootloop issue last week, and it's no longer under warranty, so I won't be able to continue testing any porting efforts. I can continue working on it, but I'll need other testers.

On Tue, Mar 28, 2017, 7:49 AM Florian Molitorisz notifications@github.com wrote:

try to add following line to your config.ini

BOOTIMG_FDT_PARSER = qcom_lge

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/efidroid/projectmanagement/issues/93#issuecomment-289794574, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDKVsAJn7Z9wncJScgSzJ817V7Bit-fks5rqR3bgaJpZM4Mb3lj .

RedL0tus commented 7 years ago

I've already tried it.

On Tue, Mar 28, 2017 at 7:49 AM Florian Molitorisz notifications@github.com wrote:

try to add following line to your config.ini

BOOTIMG_FDT_PARSER = qcom_lge

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/efidroid/projectmanagement/issues/93#issuecomment-289794574, or mute the thread https://github.com/notifications/unsubscribe-auth/APsnJ4Axo8LZsbPty0p2xMec9vQmvGH7ks5rqR3bgaJpZM4Mb3lj .

RedL0tus commented 7 years ago

I bought a audio cable and it will arrive today.

I'm gonna make a debug cable and check what happend while booting UEFI.

ghost commented 7 years ago

I've set up a build environment for EFIDroid and got LK to boot as well, I'd be interrested into helping and testing if needed. I also get the instant-reboot bug when trying to boot the uefi_boot.img.

drsn0w commented 7 years ago

I appreciate your willingness to test. I'll take a look at it tomorrow and if i find something I'll let you know.

On Sat, Apr 1, 2017, 9:15 PM Zoey notifications@github.com wrote:

I've set up a build environment for EFIDroid and got LK to boot as well, I'd be interrested into helping and testing if needed. I also get the instant-reboot bug when trying to boot the uefi_boot.img.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/efidroid/projectmanagement/issues/93#issuecomment-290963620, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDKVk78pEOO-72HxPq1vrNhZnUUxKZ7ks5rryDdgaJpZM4Mb3lj .

RedL0tus commented 7 years ago

Update: I bought a wrong one (It's just a plug without wire, and I have no idea how to solder it... )... And I bought another one, it will arrive soon.

valerierx commented 5 years ago

Is anyone working on the port?

RedL0tus commented 5 years ago

Is anyone working on the port?

My Nexus 5X's battery died and cannot be turned on, so I'm not working on this anymore. Though somebody else may.

valerierx commented 5 years ago

My nexus 5x is working fine, I'll try to debug