Intel Miner and a chromebook, sittin’ in a tree

So, this is going to be a bit of a weird blog post, earlier today (at the time of writing, about 8 hours ago) I became the proud owner of an Acer C720 chromebook (2GB model) and being me, I immediately blew away ChromeOS and installed Gentoo on it, and as such this is going to be a (randomly) updated post of “what went wrong and how I fixed it” which can hopefullybenefit other Gentoo users in future

First things first, booting the thing. You mustpass mem=1536M as a boot argument or else it’ll shit itself trying to boot, I don’t know why this is, but with two CPU cores I wasn’t really worried about running out of RAM

Next, do not use GRUB legacy, it does not work I don’t know why, but it seems to OOM error like above, use GRUB2 specifically

If you plan to use a desktop environment (anydesktop environment) you will need the following

This lovely kernel config, which should work for any kernel past 3.12.6 (put sys-kernel/gentoo-sources ~amd64 into your package.keywords and >sys-kernel/gentoo-sources-3.12.8 into package.mask)

And these lovely kernel patches which must be put into /etc/portage/patches/sys-kernel/gentoo-sources prior to emerging (seriously!)

And this patch for synaptics, which also must be put into /etc/portage/patches/x11-drivers/xf86-input-synaptics/

Once that’s all done and dusted, put this file into /etc/X11/xorg.conf.d/

All up, you should now have everything working “out of the box” on your lovely Acer C720 chromebook, please don’t contact me about those patches I did not write them

You should probablykeyword GCC, the CPU’s in the current crop of Chromebooks are crazy new, and Gentoo’s stable GCC incorrectly pegs them as Core-i7 derivatives, for those wondering what to put in CFLAGS (WITH GCC KEYWORDED)

-O2 -pipe -march=core-avx2 -mcx16 -msahf -mmovbe -mno-aes -mpclmul -mpopcnt -mabm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle -mrdrnd -mno-f16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt –param l1-cache-size=32 –param l1-cache-line-size=64 –param l2-cache-size=2048 -mtune=core-avx2 -fstack-protector -Wformat -Wformat-security

Despite what the instructions in the Arch Wiki would suggest, the .asoundrc file didn’t seem to work for me, instead simply append options snd_hda_intel index=1 to /etc/modprobe.d/alsa.conf


We have a channel now!: Come join us in #gentoo-chromebook on Freenode!



If I find any other issues with the Chromebook, I’ll update this blog, so keep an eye out

About this entry