Asrock C70M1

From Gentoo Wiki
Jump to:navigation Jump to:search
Resources
Asrock C70M1 with four hard drives and a power supply in a box.

Asrock C70M1 is a low-cost small form factor motherboard with integrated AMD Dual-Core Ontario C-70 APU and four SATA connectors which makes it suitable for small storage or server use.

Hardware notes

When initramfs fails and upon enter recovery shell, USB keyboard won't work and you'll have to use PS/2. On the other hand, USB keyboard can be used for choosing the boot media and entering UEFI setup as well as working with the setup.

Configuration

CODE /etc/portage/make.conf
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4a ssse3"
MAKEOPTS="-j3"

Installation notes

Compilation speed

The CPU is rather slow so it may be worth avoiding some steps that make the installation unnecessarily time consuming.

LVM

Unless it is required, disabling the thin USE on sys-fs/lvm2 may save some extensive compilation times:

root #echo sys-fs/lvm2 -thin >> /etc/portage/package.use/lvm2

Resources

root #lspci
user $gcc -march=native -Q --help=target
user $cpuinfo2cpuflags-x86
CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4a ssse3"
user $cat /proc/cpuinfo