User Tools

Site Tools


devices:asus_kcma-d8

Information

  • ASUS KCMA-D8 Motherboard

Resources

Manual

Coreboot

Issues

  • When booting Ubuntu 18.10, there's a gfx error; type help and press Enter to boot 1)
  • Jumpers seem to act slightly different with Coreboot 2)
  • Windows 10's installer can't start 3)

RAM

Incompatible

Compatible

  • Nanya NT2GC64B88B0NF-CG 7)
  • Micron 16JTF25664AZ-1G4F1 8)
  • Samsung M378B5273CH0-CK0 9)

Dependencies

Fedora Workstation

  • :!: Fedora Workstation 29 cannot be used to compile older versions of Coreboot wanting a non-matching major GCC version for crossgcc 10)
sudo dnf install make ncurses-devel acpica-tools flex bison gcc-c++ patch zlib-devel gcc-gnat pciutils-devel

Download Source

cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/coreboot/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://review.coreboot.org/coreboot.git' ~/'Projects/coreboot/src' && sync

Build Toolchain

cd ~/'Projects/coreboot/src' && make 'crossgcc-clean' && make 'crossgcc-i386' CPUS='16'

Settings

  • :!: Use CMOS for configuration values causes POST to fail randomly, but also speeds up boot significantly when used
  • Last updated: 2019/03/16
  • Mainboard vendor: ASUS
  • Mainboard model: KCMA-D8
  • ROM chip size: 2048 KB (2MB)
  • System Power State after Failure: S5 Soft Off
  • Local version string: Nightwane
  • [ ] Compress ramstage with LZMA
  • [ ] Include the coreboot .config file into the ROM image
  • [ ] Create a table of timestamps collected during boot
  • Include CPU microcode in CBFS: Do not include microcode updates
  • [ ] Serial port on SuperIO
  • [ ] Support Intel PCI-e WiFi adapters
  • [ ] Send console output to a CBMEM buffer
  • Default console log level: 0: EMERG
  • [*] Don't show any POST codes
  • SeaBIOS version: master
cd ~/'Projects/coreboot/src' && make 'distclean' && make 'nconfig' && sync

Query

  • Presents config options that are changed from defaults
  • Last updated: 2019/03/16
cd ~/'Projects/coreboot/src' && make 'savedefconfig' && gio open ~/'Projects/coreboot/src/defconfig'
CONFIG_LOCALVERSION="Nightwane"
# CONFIG_COMPRESS_RAMSTAGE is not set
# CONFIG_INCLUDE_CONFIG_FILE is not set
# CONFIG_COLLECT_TIMESTAMPS is not set
CONFIG_VENDOR_ASUS=y
CONFIG_BOARD_ASUS_KCMA_D8=y
# CONFIG_DRIVERS_UART_8250IO is not set
CONFIG_POWER_STATE_OFF_AFTER_FAILURE=y
# CONFIG_CONSOLE_CBMEM is not set
CONFIG_CPU_MICROCODE_CBFS_NONE=y
# CONFIG_DRIVERS_INTEL_WIFI is not set
CONFIG_DEFAULT_CONSOLE_LOGLEVEL_0=y
CONFIG_NO_POST=y
CONFIG_SEABIOS_MASTER=y

CMOS Settings

  • Last updated: 2019/02/12
gio open ~/'Projects/coreboot/src/src/mainboard/asus/kcma-d8/cmos.default'
l3_cache_partitioning=Enable
experimental_memory_speed_boost=Enable

Make

cd ~/'Projects/coreboot/src' && make clean && make && sync

Finalize

mv ~/'Projects/coreboot/src/build/coreboot.rom' ~/'Downloads/KCMAD8-coreboot-'$(date +%Y-%m-%d)'.rom' && sync

Flash

  • :!: Add internal:amd_imc_force=yes after the --programmer flag if flashing from ASUS proprietary BIOS 11) 12)
sync && sudo flashrom --programmer 'internal' --write ~/'Downloads/KCMAD8-coreboot-'*'.rom'
1)
this can be avoided by using an external GPU and disabling the generated VBIOS option for SeaBIOS, but otherwise this isn't a big issue
2)
can't disable individual Ethernet ports and it's all or nothing; ASpeed GPU only needs top jumper moved to enable while the second jumper can stay on disabled
3)
ACPI_BIOS_ERROR BSoD; requires disabling the generated VBIOS option for SeaBIOS to get to that point or otherwise the installer hangs after loading files
4)
incompatible with Coreboot 2019/01/16, untested with Libreboot, untested with ASUS Vendor BIOS
5)
incompatible with Coreboot 2019/01/16, compatible with Libreboot 20160907, compatible with ASUS Vendor BIOS 3303
7) , 8)
compatible with Coreboot 2019/01/17, incompatible with Libreboot 20160907, compatible with ASUS Vendor BIOS 3303
9)
compatible with Coreboot 2019/01/19, untested with Libreboot, untested with ASUS Vendor BIOS
10)
see Old Coreboot notes
11)
expect to see an IMC-related error after the flash; this prevents verifying the flash chip contents, but as long as it flashes correctly this isn't an issue
12)
this IMC flag isn't necessary once Coreboot or Libreboot is flashed and booted from
devices/asus_kcma-d8.txt · Last modified: 2019/03/16 21:12 by Sean Rhone