Last active
May 13, 2017 16:22
-
-
Save jonnystorm/0b8c7df42e10caca51e3269d9cdf46fa to your computer and use it in GitHub Desktop.
Notes for setting up Arch Linux ARM on Asus C201P
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Logging in as a user in wheel gives | |
# 'Failed to set ACL on /var/log/journal/...: Operation not supported'. | |
# | |
# `getfactl` shows incorrect permissions for `/var/log/journal`. | |
# | |
# Setting permissions manually with `setfacl` returns 'Operation not supported'. | |
# | |
# `tune2fs -l /dev/mmcblk1p2` shows 'user_xattr acl'. | |
# | |
# `# CONFIG_EXT4_FS_POSIX_ACL is not set` found in | |
# https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux-veyron/config | |
# | |
# Trying mainline kernel gives a white screen on boot. | |
# | |
# Performing `makepkg -s` for linux-veyron with `CONFIG_EXT4_FS_POSIX_ACL=y` fails with | |
# 'error POSIX_ACL not supported in 3.18 backport'. | |
# | |
# Per https://issuetracker.google.com/issues/37055401, ACLs are insecure until 3.18. | |
# | |
# Modifying linux-veyron package for ChromeOS-3.18 fails with 'CONFIG_SND_PROC_FS=y'. | |
# Found patch at https://patchwork.kernel.org/patch/6505191/ | |
# | |
# make[1]: *** [scripts/Makefile.build:402: drivers/staging] Error 2 | |
# make: *** [Makefile:974: drivers] Error 2 | |
# | |
# Made patch for undeclared 'BRCM_CC_43430_CHIP_ID', 'BRCM_CC_4345_CHIP_ID', | |
# and 'BRCM_CC_4358_CHIP_ID' defines. | |
# | |
# Added patch from https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1424676 | |
# | |
# Made more patches. | |
# | |
# "Couldn't open 'arch/arm/boot/dts/rk3288-brain-rev0.dtb': No such file..." | |
# Brain was an experimental Rockchip Veyron board. C201 uses Veyron Speedy. | |
# Linux master has dts for Speedy. | |
# Learned to compile dts to dtb: http://elinux.org/Device_Tree_Reference | |
# Learned about the dtb compile process for Linux: | |
# https://groups.google.com/forum/m/#!topic/beagleboard/FF0bxl-uDfo | |
# Added missing dtsi dependencies from Linux master. | |
# Tracking down missing defines. | |
# `make dtbs` finally succeeds. Rerunning `MAKEFLAGS=-j4 makepkg -s`. | |
# | |
# Cleaning up patches. | |
# Struggling against `git apply`. | |
# Changing to `patch` to avoid dumb git complications. | |
# Rerunning `makepkg -s` for sanity before pushing to fork. | |
# | |
# Pushed to fork: https://github.com/jonnystorm/PKGBUILDs/tree/linux-veyron-3.18/core/linux-veyron | |
# | |
# Installed new kernel and headers. Rewarded with a black screen at boot. | |
# | |
# Reintegrating patches from linux-veryon-3.14 package. | |
# Rebuilsing. | |
# Boot to black. | |
# | |
# Reviewing differences between new dts and `rk3288-brain-rev0.dts`. | |
# Building with `rk3288-brain-rev0.dts` and supporting files. | |
# Black screen. | |
# | |
# Said fuck it and went back to ChromeOS 3.14 without ACL support. | |
# Installed suckless.org everything. All is well. | |
# | |
# `wlan0` disappears on suspend/resume. | |
# Found fix at https://wiki.debian.org/InstallingDebianOn/Asus/C201#WiFi | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment