Juhana Helovuo wrote:
Oh, this was very good! Thank you! Now I can load Linux kernel on the M4A78-EM, although it doesn't boot successfully yet.
[...]
I'll have to do some more testing to find out more.
More testing done, and now Linux boots to login prompt.
I regenerated irq_tables.c, and noticed that ACPI was missing because -oops- it was disabled in Kconfig. After these fixes, Linux finds interrupts for USB and SATA controllers.
The system seems to run quite nicely, e.g. SATA, IDE, Ethernet, USB, and VGA work. All of this is integrated to the mainboard. Linux boots to X.org and it works, USB mouse and all. "sensors" finds (CPU?) temperature sensor and gives a sane readout. ACPI poweroff does not yet work. The kernel is also adjusting CPU frequency with "powernow-k8" right out of the box.
Also booting Debian installer CD from SeaBIOS seems to work, although I did not test through the entire install process.
The only changes from M4A785-M to M4A78-EM so far are:
* config option SOUTHBRIDGE_AMD_SB700_SKIP_ISA_DMA_INIT is not needed * changed MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID * regenerated irq_tables.c
Should I make patches for this board to create an almost identical board-specific directory?
I am in doubt, because there is already much stuff there that I suspect to be invalid, unnecessary, or otherwise needlessly duplicated, since it has been originally copy-pasted from AMD Tilapia board.
Best regards, Juhana Helovuo