Jief_Machak Posted November 27, 2018 Share Posted November 27, 2018 Hi all, I have a FrescLogic FL1100 USB 3 card. Clover can't see any of the hard drive connected to it. It works fine once os x booted. I'd like to boot, from time to time, from a USB 3 HDD. Anyone knows if it's even possible ? Jief Link to comment Share on other sites More sharing options...
Slice Posted November 29, 2018 Share Posted November 29, 2018 See the driver XhciDxe and make a debug for it why it is not working with your controller. In past I did the procedure for external VLC controller and I was successful. May be you have to flash this driver into your UEFI BIOS. 1 Link to comment Share on other sites More sharing options...
BALDY_MAN Posted November 29, 2018 Share Posted November 29, 2018 i have the same card. AppleUSBXHCIFL1100. and it dose not. activate till the os as booted. and driver loaded. i know this as i can not wake up the pc from a mouse or key board plugged into the usb card. once booted into the os it works fine i think you would need to convert the driver to a ffs file and add to your bios with uefi tool. so clover sees driver in the preboot part of the bios. Link to comment Share on other sites More sharing options...
Jief_Machak Posted November 29, 2018 Author Share Posted November 29, 2018 Of course, so far I have to boot clover from a usb stick connected to the main usb port, not the FL1100 ones. That's fine for now. Sorry, I'm new to USB 3 and never heard of XhciDxe. So I tried it. XhciDxe allows Clover to see my external USB hard drive, but only if I use a cable to force it USB 2. With an USB 3 cable, nothing happens. I have to dig into that... Thanks Slice. @BALDY_MAN I don't think a os x driver can be "converted" to efi. Link to comment Share on other sites More sharing options...
BALDY_MAN Posted November 29, 2018 Share Posted November 29, 2018 @Jief_Machak i mean you could convert the kext file(driver for the usb card to a ffs file) format. then add it to the bios it self with efibios tool. then reflash the bois with the one you added the ffs too. so it see.s the usb card before the clover or os Link to comment Share on other sites More sharing options...
Jief_Machak Posted November 29, 2018 Author Share Posted November 29, 2018 kext are to link with os x Mach kernel, efi module with efi bios. I can't see how you could "convert" a kext in a efi module. Or do you mean : convert the source code of a kext to an efi module ? Link to comment Share on other sites More sharing options...
TheRacerMaster Posted November 29, 2018 Share Posted November 29, 2018 They're mistaken; they think kexts injected from firmware volumes (supported by Ozmosis) means they must have been converted to EFI drivers (no, lol). Link to comment Share on other sites More sharing options...
BALDY_MAN Posted November 30, 2018 Share Posted November 30, 2018 (edited) @Jief_Machak A kext file ie that controls a part for your motherboard. in my case a network kext can be converted to a ffs file. in your case the usb controler kext for youR card and than added to a copy of YOUR bios. with UEFI TOOL then. reflash the modded bios to your motherboard(ie bios with you converted kext . so then in your case usb3 card can be active before clover Edited November 30, 2018 by BALDY_MAN Link to comment Share on other sites More sharing options...
Jief_Machak Posted November 30, 2018 Author Share Posted November 30, 2018 It's not because you put kext in BIOS that they are active at bios time. Nowadays, BIOS is not bios anymore but a small file system that contains ffs module. Ozmosis will get these module to inject in os x kernel. It's a strict equivalent to put a kext in Clover kext folder, except you don't need a partition for clover anymore. @TheRacerMaster Am I right ? Link to comment Share on other sites More sharing options...
TheRacerMaster Posted December 1, 2018 Share Posted December 1, 2018 Yes, the kext is merely packed in a firmware volume so Ozmosis can load it without depending on the ESP. Link to comment Share on other sites More sharing options...
BALDY_MAN Posted December 1, 2018 Share Posted December 1, 2018 I Thought that ffs files from bios. would load first and. make your usb card active for the hard drive to be visible . sorry if i was mistaken 1 Link to comment Share on other sites More sharing options...
Slice Posted December 1, 2018 Share Posted December 1, 2018 9 hours ago, BALDY_MAN said: I Thought that ffs files from bios. would load first and. make your usb card active for the hard drive to be visible . sorry if i was mistaken Yes, mistaken. There are two stages: 1. EFI environment with own set of drivers *.efi 2. macOS environment with kexts. Second will not work in first stage. I know you confused with Osmosis where you didn't see the wall between 1 and 2 while it presents. 1 Link to comment Share on other sites More sharing options...
startergo Posted January 30, 2021 Share Posted January 30, 2021 @Jief_Machak Reviving and old thread. An EFI driver CAN be converted to an FFS module and inserted in the firmware. I have done that on my cMP: ffs/README.md at master · pbatard/ffs (github.com) XhciDxe.efi can be inserted in the bios, but will that make the USB drives bootable from an external PCIE card not connected to the south bridge? Link to comment Share on other sites More sharing options...
ghost8282 Posted October 17, 2021 Share Posted October 17, 2021 (edited) On 11/29/2018 at 11:42 AM, Slice said: See the driver XhciDxe and make a debug for it why it is not working with your controller. In past I did the procedure for external VLC controller and I was successful. Hi @Slice reviving this since it seems to be still an issue with XhciDxe driver + FL1100. Usb 3.0 pendrive or device with a bootable installer plugged in into a usb 3.0 port of FL1100 doesn't work, it also prevents other devices to work properly (for example keyboard and mouse). Usb 3.0 pendrive or device with a bootable installer plugged in into a usb 2 hub (note: using a usb 2 extension cable is not working, even in mac os the usb device is seen attached to usb 3, so I need to attach the usb 3 device to a usb 2 hub), the hub attached to FL1100 usb 3.0 port does work, so the issue seems to be specific for XhciDxe + FL1100. I'm using qemu+kvm and ovmf has builtin support for UHCI/EHCI/XHCI. If it does not require too much time, could you explain more into details what do you mean by "make a debug.." and how did you solve for your controller? I can build a debug version of XhciDxe directly from edk2/ovmf, but from there I'm quite lost. Thank you! @Jief_Machak did you solve perhaps this issue, meaning are you able to see an installer in a usb 3 device directly attached to the usb 3 port of the FL1100? Edited October 17, 2021 by ghost8282 Link to comment Share on other sites More sharing options...
Jief_Machak Posted October 17, 2021 Author Share Posted October 17, 2021 On 1/30/2021 at 4:54 PM, startergo said: An EFI driver CAN be converted to an FFS Yes, but the discussion was about someone saying that a kext can be converted to FFS. 24 minutes ago, ghost8282 said: did you solve perhaps this issue Nope. 1 Link to comment Share on other sites More sharing options...
Recommended Posts