-
Notifications
You must be signed in to change notification settings - Fork 38
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
UEFI add entry in UEFI menu (efi=novamap) #25
Comments
If you want to play with UEFI, you should use the EFI Shell. A copy can be downloaded from HERE. The easiest way to boot into it is to use Grub's
|
Thanks a lot, this opens up new perspectives. This now ends with
(Note that I can see the file Why does |
Works for me. Did you forget to type |
I did `boot`.
I notice that `Shell.efi` is packaged as MSDOS and I was not able to run any UEFI MSDOS tools (tried
with refind, etc).
Only "PE32+ executable (EFI application)" executables seem to boot.
Is that possible that the UEFI firmware only accepts PE32+ executable?
|
The Are you saying that it's not working for you? Have you updated Windows? There is a firmware update. |
Yes,
No. I completely removed Windows from the machine
I have |
Oh, you're on the TP370QL. I have only tested Maybe @jhugo has an idea. |
Note: Removing Windows from your machine was probably a really bad idea. |
I was not aware of this :-) See #31 |
I think the massive existing warning should be enough: https://github.com/aarch64-laptops/build#warning---read-this-section-first |
Yeah, removing Windows was a really bad idea. The binary blobs for the GPU, WIFI, and several other things are stored there. You'll probably have to find someone else with the ASUS device to give you copies since they seem to be signed with the OEM's private key. Does the ASUS have a USB boot option? I've booted a shell.efi (not sure if its exactly the same as Lag's) by dd'ing a ubuntu iso onto a USB stick, then replacing the bootaa64.efi with the shell.efi (and renaming it to bootaa64.efi), and then using the USB boot option on a Lenovo Miix 630. The efivars are not accessible to Linux due to a FW implementation issue that is unlikely to ever be addressed. |
yes.
I think I tried that, but I'll try again, thanks for the tip. |
I confirm that this does not work on The likely explanation is that Any idea on how to get |
Extracted the content of the original bootloader https://github.com/monperrus/Asus-NovaGo-TP370QL/ It contains many things incl. a shell, which means many things must be somehow hidden. The question is how to get the complete menu with all options. |
Hi @jhugo, so considering UEFI variables can be updated with either Windows or UEFI Shell.efi, this FW implementation issue only impacts Linux? Could you share a bit more details about this issue? |
If I remember the details correctly, the EFI variables are stored on the main storage device in a special partition. Normally, to update the EFI variables, you call an EFI runtime service from the OS. This is documented in the UEFI spec. Of course, if you are within UEFI, you can edit the variables. On these systems, the firmware does not expose the runtime service to the OS (which may be a spec violation). The rational seems to be that the FW and OS cannot share the UFS device. Since OS doesn't use many of the variables, those values are exposed via different ways. Its news to me that Windows can access the variables and update them. Assuming that is true, then its possible that some custom code was added to modify the variables in an implementation specific manner. I don't know if the OS can directly access the partition with the variables, or needs to go through TZ. Frankly, the community seems to be pretty hostile currently to anything that appears to be non-standard from Qualcomm, much less things that are actually non-standard so I'm guessing that if someone reverse engineers whatever Windows is doing, the Linux community will tell the person(s) proposing that solution for Linux to pound sand. |
I want to add a UEFI entry on the native disk of a ASUS NovaGo TP370QL.
With kernel option
efi=novamap
, I can boot Ubuntu from USB but I cannot modify the UEFI table (cannot write into/sys/firmware/efi/efivars
).Without kernel option
efi=novamap
, I cannot boot Ubuntu from USB.Any idea to solve this dilemna?
The text was updated successfully, but these errors were encountered: