Page 1 of 5
#1 Add option in AMI UEFI bios menu (how to?) by chriz74 25.09.2016 10:22

In my bios I don't have xhci hand-off nor ehci hand-off options. I found these are present in bios string with handles 0x0632 and 0x0634 .. is there a way to add these options in the USB menu?
Amibcp doesn't have any option to modify the menu.



#2 RE: Add option in AMI UEFI bios menu (how to?) by CodeRush 25.09.2016 12:09

avatar

No, it's hardcoded during build process and can't be changed easily. There is a possibility left that the code to enable/disable XHCI hand-off is still present and it can be controlled by an entry in Setup variable. Try finding where "Legacy USB Support" option is located in your Setup var and switch some 0x00s to 0x01s near it.

#3 RE: Add option in AMI UEFI bios menu (how to?) by chriz74 25.09.2016 17:08

Should I extract the setup image and look for a pattern of 0 and 1 near the handle identifier?

#4 RE: Add option in AMI UEFI bios menu (how to?) by CodeRush 25.09.2016 22:00

avatar

No. First, prepare an UEFI-bootable USB drive with RU utility (download, unpack, rename RU.efi to bootx64.efi, copy it to /BOOT/EFI of a FAT32-formatted USB drive and boot from it).
Press Alt+= to open NVRAM variable selector, type "Setup" and press Enter. You see your Setup variable (press Ctrl+PgDn to see offsets past 0xFF), make screenshots (F12) of all values, then change "Legacy USB support" option and repeat the process. Compare screenshots to see where are that 0x00/0x01 is located and try to change (Enter) some 0x00s near it to 0x01s and see if XHCI HO is enabled.

#5 RE: Add option in AMI UEFI bios menu (how to?) by chriz74 26.09.2016 11:17

Oh great! Thanks for the info. I'll try today.

#6 RE: Add option in AMI UEFI bios menu (how to?) by chriz74 26.09.2016 17:19

Zitat von CodeRush im Beitrag #4
No. First, prepare an UEFI-bootable USB drive with RU utility (download, unpack, rename RU.efi to bootx64.efi, copy it to /BOOT/EFI of a FAT32-formatted USB drive and boot from it).
Press Alt+= to open NVRAM variable selector, type "Setup" and press Enter. You see your Setup variable (press Ctrl+PgDn to see offsets past 0xFF), make screenshots (F12) of all values, then change "Legacy USB support" option and repeat the process. Compare screenshots to see where are that 0x00/0x01 is located and try to change (Enter) some 0x00s near it to 0x01s and see if XHCI HO is enabled.


So I made some screesnhots as I am not sure of what I found, in the "Setup" screen there is nothing verbose, I found another variable called UsbSupport. Please check pictures. What do you suggest trying?











#7 RE: Add option in AMI UEFI bios menu (how to?) by chriz74 26.09.2016 19:25

nevermind, I solved my problem in another way.

#8 RE: Add option in AMI UEFI bios menu (how to?) by .c0dy 26.09.2016 21:49

Zitat von CodeRush im Beitrag #4
No. First, prepare an UEFI-bootable USB drive with RU utility (download, unpack, rename RU.efi to bootx64.efi, copy it to /BOOT/EFI of a FAT32-formatted USB drive and boot from it).
Press Alt+= to open NVRAM variable selector, type "Setup" and press Enter. You see your Setup variable (press Ctrl+PgDn to see offsets past 0xFF), make screenshots (F12) of all values, then change "Legacy USB support" option and repeat the process. Compare screenshots to see where are that 0x00/0x01 is located and try to change (Enter) some 0x00s near it to 0x01s and see if XHCI HO is enabled.


Interesting tool.
Is it any different to dumping the nvram-settings with SCEWIN for example?

Or will I be able to do more than with SCEWIN?

#9 RE: Add option in AMI UEFI bios menu (how to?) by davidm71 17.12.2017 17:23

avatar

Zitat von CodeRush im Beitrag #4
No. First, prepare an UEFI-bootable USB drive with RU utility (download, unpack, rename RU.efi to bootx64.efi, copy it to /BOOT/EFI of a FAT32-formatted USB drive and boot from it).
Press Alt+= to open NVRAM variable selector, type "Setup" and press Enter. You see your Setup variable (press Ctrl+PgDn to see offsets past 0xFF), make screenshots (F12) of all values, then change "Legacy USB support" option and repeat the process. Compare screenshots to see where are that 0x00/0x01 is located and try to change (Enter) some 0x00s near it to 0x01s and see if XHCI HO is enabled.


Interesting.

#10 RE: Add option in AMI UEFI bios menu (how to?) by davidm71 22.12.2017 18:04

avatar

@Coderush,

Would it be possible to change a useless bios menu option to say something else and change the variable address? For example make an Option that says ‘pci lane control’ ‘16/0 8/8’ to something else like address bifurcation control from RcSetup on another lane? Thanks

#11 RE: Add option in AMI UEFI bios menu (how to?) by CodeRush 22.12.2017 18:20

avatar

Everything is possible with enough dedication, but it's much easier to write a script for EFI shell to switch that setting than modify BIOS Setup.

#12 RE: Add option in AMI UEFI bios menu (how to?) by davidm71 22.12.2017 19:09

avatar

Actually I have thanks to you learned how to alter the options in RU tool and verify the after effects. The only thing is I am confused about the hex codes that you see after you print out the setup variables in IFR utility. So not sure if it’s enough just to change a variable address?

Also I’m very dedicated. So much so. Been looking through the Intel specs and datasheets.

#13 RE: Add option in AMI UEFI bios menu (how to?) by CodeRush 22.12.2017 20:12

avatar

If you aren't sure - try it and see what happens. Maybe it will be enough, maybe you'll need an additional change somewhere else. The best way to find out is to experiment.

#14 RE: Add option in AMI UEFI bios menu (how to?) by davidm71 23.12.2017 01:56

avatar

I've kind of hit a wall. I want to set a variable that exists in IntelRCSetup from the main Setup menu. Not sure how to do that..

#15 RE: Add option in AMI UEFI bios menu (how to?) by davidm71 23.12.2017 16:02

avatar

@CodeRush and all,

Had success finally adding a new option to my MSI Godlike X99A Bios Menu!!! And it also writes a bit to the intended destination being the IntelSetup section of memory!!! Will detail the how I did it and steps soon!

Here I added a Bifurcation support sub-menu item:

Xobor Forum Software von Xobor
Datenschutz