xhci problem on UEFI boot MacBookPro 11,3

Hans Petter Selasky hps at selasky.org
Sat Sep 27 07:10:01 UTC 2014


On 09/27/14 00:59, Huang Wen Hui wrote:
> Just for Ref, xhci works in UEFI mode of Fedora 20:
> http://sw.gddsn.org.cn/freebsd/linux-dmesg.txt
> http://sw.gddsn.org.cn/freebsd/linux-lspci.txt
>

Hi,

The Root ACPI descriptor has wrong address?

FreeBSD UEFI:
kernel: ACPI: RSDP 0xfe020 00024 (v02 APPLE )

FreeBSD BIOS:
kernel: ACPI: RSDP 0x7ad8e014 00024 (v02 APPLE )

Linux UEFI:
mbp kernel: ACPI: RSDP 0x7ad8e014 00024 (v02 APPLE )


static int
elf64_exec(struct preloaded_file *fp)
{
         struct file_metadata    *md;
         Elf_Ehdr                *ehdr;
         vm_offset_t             modulep, kernend, trampcode, trampstack;
         int                     err, i;
         ACPI_TABLE_RSDP         *rsdp;
         char                    buf[24];
         int                     revision;
         EFI_STATUS              status;

         rsdp = efi_get_table(&acpi20_guid);
         if (rsdp == NULL) {
                 rsdp = efi_get_table(&acpi_guid);
         }

Try swapping order of efi_get_table() ?

         rsdp = efi_get_table(&acpi_guid);
         if (rsdp == NULL) {
                 rsdp = efi_get_table(&acpi20_guid);
         }

In "sys/boot/amd64/efi/elf64_freebsd.c".

--HPS


More information about the freebsd-usb mailing list