efidroid / projectmanagement

EFIDroid Project Management
118 stars 12 forks source link

Is there new docs for the nolk version? #168

Closed ghost closed 2 years ago

M1cha commented 3 years ago

well what kind of documentation are you talking about? what do you want to know? I didn't write any additional documentation myself and qualcomm doesn't use LK anymore.

ghost commented 3 years ago

well what kind of documentation are you talking about? what do you want to know? I didn't write any additional documentation myself and qualcomm doesn't use LK anymore.

like how to create device tree and compile right

M1cha commented 3 years ago

you can find the old documentation in the wiki: https://github.com/efidroid/projectmanagement/wiki/%5BEFIDroid%5D-Build-system/69e6f4cf8a46b08eddb972bcd0b1c93e86689dc3

ghost commented 3 years ago

you can find the old documentation in the wiki: https://github.com/efidroid/projectmanagement/wiki/%5BEFIDroid%5D-Build-system/69e6f4cf8a46b08eddb972bcd0b1c93e86689dc3

but these docs seem not to be applicable to efidroid without lk

ghost commented 3 years ago

and how to make arm64 target (with lk version)

M1cha commented 3 years ago

IIRC that's not supported. Even 64bit devices used a 32bit LK. 64bit kernels were booted through an SCM call to a higher execution level: https://github.com/efidroid/bootloader_lk/blob/91bd0e0878af6b6731986519387d17c411482d34/app/aboot/aboot.c#L799

ghost commented 3 years ago

you can find the old documentation in the wiki: https://github.com/efidroid/projectmanagement/wiki/%5BEFIDroid%5D-Build-system/69e6f4cf8a46b08eddb972bcd0b1c93e86689dc3

but these docs seem not to be applicable to efidroid without lk

like Porting-a-new-device

M1cha commented 3 years ago

Sry I failed to read the issue title properly :P The nolk version wasn't anywhere new to being able to boot Android or have enough drivers to support more than the one or two devices we had for testing.

You could take a look at the device port for xiaomi/aries: https://github.com/efidroid/device/tree/xiaomi/aries Keep in mind that there'll be a ton of missing drivers in https://github.com/efidroid/uefi_edk2packages_EFIDroidPkg though.

You'll definitely need some form of low level debugging like UART to improve on that.