On my A8N5X, linuxbios gets quite far (it gets to vga initialisation, and then breaks - will write about that later).
Index: src/northbridge/amd/amdk8/raminit.c
--- src/northbridge/amd/amdk8/raminit.c (Revision 2739) +++ src/northbridge/amd/amdk8/raminit.c (Arbeitskopie) @@ -620,7 +620,8 @@ #warning "FIXME: Implement a better test for Opterons" uint32_t nbcap; nbcap = pci_read_config32(ctrl->f3, NORTHBRIDGE_CAP);
- return !!(nbcap & NBCAP_128Bit);
- //// return !!(nbcap & NBCAP_128Bit);
- return 0;
}
static int is_registered(const struct mem_controller *ctrl)
I had to take this part of your patch to fix Opteron miss-detection.
Are you checking for the cpu itself? If this is so, I think CPUID would be much more reliable. Would you like a patch for that?