[coreboot] [PATCH] Add support for Asus M4A785-M, with build instructions

Juhana Helovuo juhe at iki.fi
Sat Sep 11 12:48:47 CEST 2010


On Fri, 2010-09-10 at 09:54 -0600, Myles Watson wrote:

> I appreciate the work that you've done.  I've attached patches that
> I've reduced a little more.  Would you test/review them?  If they
> work, I'll commit them.
> 
> Signed-off-by: Myles Watson <mylesgw at gmail.com>


Thanks for your trouble of cleaning up.


I tried the patches you sent just now. Since Socket/DIMM type
configuration was changed in rev 5800, I tested these against rev 5799.

Patching and building is ok. Booting looks fine, Grub2 comes up and
loads Linux. However, Linux cannot find SATA controller, and because of
that, the booting fails. (Although Grub just loaded the kernel and
initrd from SATA.)

Linux gives the following complaints that I have not seen before:

[    1.620006] pci 0000:00:12.0: OHCI: BIOS handoff failed (BIOS bug?) ffffffff
[    2.424005] pci 0000:00:12.1: OHCI: BIOS handoff failed (BIOS bug?) ffffffff
[    2.431115] pci 0000:00:12.2: EHCI: unrecognized capability 02
[    3.236005] pci 0000:00:13.0: OHCI: BIOS handoff failed (BIOS bug?) ffffffff
[    4.040005] pci 0000:00:13.1: OHCI: BIOS handoff failed (BIOS bug?) ffffffff
[    4.047129] pci 0000:00:13.2: EHCI: unrecognized capability 02
[    4.852005] pci 0000:00:14.5: OHCI: BIOS handoff failed (BIOS bug?) ffffffff
...
[    6.524010] ahci 0000:00:11.0: controller reset failed (0xffffffff)
[    6.530976] ahci 0000:00:11.0: PCI INT A disabled
[    6.536129] ahci: probe of 0000:00:11.0 failed with error -5
[    6.542497] ehci_hcd 0000:00:13.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    6.550296] ehci_hcd 0000:00:13.2: EHCI Host Controller
[    6.556084] ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 1
[    6.574836] ehci_hcd 0000:00:13.2: can't setup
[    6.579802] ehci_hcd 0000:00:13.2: USB bus 1 deregistered
[    6.585744] ehci_hcd 0000:00:13.2: PCI INT B disabled
[    6.591369] ehci_hcd 0000:00:13.2: init 0000:00:13.2 fail, -110
[    6.597905] ehci_hcd: probe of 0000:00:13.2 failed with error -110
[    6.608546] sd 1:0:0:0: [sda] 15621984 512-byte logical blocks: (7.99 GB/7.44 GiB)
[    6.613539] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.613588] ohci_hcd 0000:00:12.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    6.613609] ohci_hcd 0000:00:12.0: OHCI Host Controller
[    6.613626] ohci_hcd 0000:00:12.0: new USB bus registered, assigned bus number 1
[    6.645506] sd 1:0:0:0: [sda] Write Protect is off
[    6.650743] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't suppoA
[    6.660904]  sda: sda1 sda2 < sda5 >
[    6.666370] sd 1:0:0:0: [sda] Attached SCSI disk
[    6.676803] sr0: scsi3-mmc drive: 0x/48x cd/rw xa/form2 cdda tray
[    6.683415] Uniform CD-ROM driver Revision: 3.20
[    6.692578] sd 1:0:0:0: Attached scsi generic sg0 type 0
[    6.698631] sr 1:0:1:0: Attached scsi generic sg1 type 5
[   14.612006] ohci_hcd 0000:00:12.0: USB HC takeover failed!  (BIOS/SMM bug)
[   14.619415] ohci_hcd 0000:00:12.0: can't setup
[   14.624264] ohci_hcd 0000:00:12.0: USB bus 1 deregistered
[   14.630262] ohci_hcd 0000:00:12.0: PCI INT A disabled
[   14.635877] ohci_hcd 0000:00:12.0: init 0000:00:12.0 fail, -16
[   14.642263] ohci_hcd: probe of 0000:00:12.0 failed with error -16
[   14.649008] ohci_hcd 0000:00:12.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   14.656848] ohci_hcd 0000:00:12.1: OHCI Host Controller
[   14.662579] ohci_hcd 0000:00:12.1: new USB bus registered, assigned bus number 1
[   22.668004] ohci_hcd 0000:00:12.1: USB HC takeover failed!  (BIOS/SMM bug)
[   22.675470] ohci_hcd 0000:00:12.1: can't setup
[   22.680290] ohci_hcd 0000:00:12.1: USB bus 1 deregistered
[   22.686118] ohci_hcd 0000:00:12.1: PCI INT A disabled
[   22.691742] ohci_hcd 0000:00:12.1: init 0000:00:12.1 fail, -16
[   22.698163] ohci_hcd: probe of 0000:00:12.1 failed with error -16
[   22.704836] ohci_hcd 0000:00:13.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[   22.712793] ohci_hcd 0000:00:13.0: OHCI Host Controller
[   22.718541] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1
[   30.724004] ohci_hcd 0000:00:13.0: USB HC takeover failed!  (BIOS/SMM bug)
[   30.731397] ohci_hcd 0000:00:13.0: can't setup
[   30.736232] ohci_hcd 0000:00:13.0: USB bus 1 deregistered
[   30.742097] ohci_hcd 0000:00:13.0: PCI INT A disabled
[   30.747628] ohci_hcd 0000:00:13.0: init 0000:00:13.0 fail, -16
[   30.754124] ohci_hcd: probe of 0000:00:13.0 failed with error -16
[   30.760783] ohci_hcd 0000:00:13.1: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[   30.768663] ohci_hcd 0000:00:13.1: OHCI Host Controller
[   30.774442] ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 1
[   38.796004] ohci_hcd 0000:00:13.1: USB HC takeover failed!  (BIOS/SMM bug)
[   38.803405] ohci_hcd 0000:00:13.1: can't setup
[   38.808328] ohci_hcd 0000:00:13.1: USB bus 1 deregistered
[   38.814324] ohci_hcd 0000:00:13.1: PCI INT A disabled
[   38.819841] ohci_hcd 0000:00:13.1: init 0000:00:13.1 fail, -16
[   38.826275] ohci_hcd: probe of 0000:00:13.1 failed with error -16
[   38.833071] ohci_hcd 0000:00:14.5: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[   38.840934] ohci_hcd 0000:00:14.5: OHCI Host Controller
[   38.846780] ohci_hcd 0000:00:14.5: new USB bus registered, assigned bus number 1
[   46.852004] ohci_hcd 0000:00:14.5: USB HC takeover failed!  (BIOS/SMM bug)
[   46.859434] ohci_hcd 0000:00:14.5: can't setup
[   46.864302] ohci_hcd 0000:00:14.5: USB bus 1 deregistered
[   46.870312] ohci_hcd 0000:00:14.5: PCI INT C disabled
[   46.875922] ohci_hcd 0000:00:14.5: init 0000:00:14.5 fail, -16
[   46.882333] ohci_hcd: probe of 0000:00:14.5 failed with error -16
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.


It seems that also the USB controller initialization fails, although I did not test if it worked.

Aside from the AHCI/OHCI/EHCI -drivers failing, the boot logs seem to be the same as before.

I tried to look at the patch code, but could not figure out why this is happening.

Best regards,
Juhana Helovuo





More information about the coreboot mailing list