efidroid / projectmanagement

EFIDroid Project Management
118 stars 12 forks source link

EDK2_BASE is not set #162

Closed SASHALIK1 closed 3 years ago

SASHALIK1 commented 3 years ago

when i do make -j uefi output.txt

Compiling arm_uefird_multiboot_init Compiling uefird 3504 blocks Compiling edk2 EDK2_BASE is not set make[1]: [out/build.mk:545: edk2] Error 1 Compiling lkuefi_kernel_final stat: missing operand Try 'stat --help' for more information. make[1]: [out/build.mk:1077: lkuefi_kernel_final] Error 1 Compiling uefi

What i do wrong again?

M1cha commented 3 years ago

you forgot the number of jobs after -j correct command: make -jX uefi replace X with the number of jobs you want to compile with.

SASHALIK1 commented 3 years ago

I have same problem with make -j5 uefi

SASHALIK1 commented 3 years ago

help

M1cha commented 3 years ago

I don't know what the problem is but writing help after less then 24h on a weekend is not gonna speed things up. try V=1 VERBOSE=1 make -j1 uefi and post the log of that.

SASHALIK1 commented 3 years ago

output.txt Same problem

M1cha commented 3 years ago

well did you set EDK2_BASE in your devices config.ini?

SASHALIK1 commented 3 years ago

no

SASHALIK1 commented 3 years ago

But what should be in EDK2_BASE=?

SASHALIK1 commented 3 years ago

config.ini.txt This is my config.ini

M1cha commented 3 years ago

sounds like you forgot this step: https://github.com/efidroid/projectmanagement/wiki/%5BEFIDroid%5D-Porting-a-new-device#update-loading-addresses

SASHALIK1 commented 3 years ago

You say about this finalize_device device/3.4.0/ms013g? When i write it freezes. I wait more then hour but nothing never happened.

M1cha commented 3 years ago

well does lk_nouefi appear as a fastboot usb device? If not I can't help you because you have to make it boot also keep in mind that the usb is different from your stock fastboot/adb ids so you might have to update udev rules

SASHALIK1 commented 3 years ago

I use master-legacy branch

SASHALIK1 commented 3 years ago

I already boot to nouefi and fastboot work nouefi

M1cha commented 3 years ago

then you have to figure out where and why finalize_device blocks forever

SASHALIK1 commented 3 years ago

I already solved this problem. I used windows 10 and download kali linux from microsoft store and I could not connect my device to fastboot. It only connect to windows but not to kali linux