driver - Access SATA drive via AHCI directly in efi shell? -


If we want to read (write / write) SATA drives through AHCI in the EFI Shell, can anyone read / write Is the interface for this purpose?

That is, does the AFI shell application need to drive the AHCI device to the drive?

Or in the application only specific "read / write" interfaces (such as SCSI_PATH_THROUGH in Windows) and "(Command to execute the command command, command command and command) EFI AHCI driver " changes to these low-level access routines?

If there is a driver available for SATA drive in your UEFI, and the file system you access It is supported, then the process of reading / writing is done through simple (ISH) protocol calls.

The best example I can think of is the Linux Kernel Stub Loader (which enables the Linux kernel to load itself in EFI allocation). Be sure to use an existing 3.15 rc or later, since there was a bug in the first code that uses defined functions to access file system access.

Alternatively, an application can do GRUB and uses methods for access to raw block device - UIFI is not supported by the file system to enable it.

Also, some applications (such as the rEFInd) enable additional file system support in UEFI by the protocol (provided with the installation of rEFInd) at runtime.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -