EDIT: if you want to install archlinux on your C.H.I.P., please follow steps found in http://www.chip-community.org/index.php/Archlinuxarm_on_chip, I will leave rest of my first post here, but it may contain out-of-date information.
I received my chip two weeks ago, and I was really disappointed that my favorite distribution does not support it, so I spent a lot of time and learned a lot of things and the result arrived: working arch linux running on chip
well, I got basic system, usb, uart1 console and wifi working, maybe few other things work too, but if you need anything specific, you need to try and find out.
you need “sunxi-fel” and “fastboot” binaries on your system, fastboot can be installed in package “android-tools” and sunxi-fel in package “sunxi-tools” on arch linux, other distributions may have different packages for these.
How to install:
Clone my repository:
git clone https://github.com/mydzor/chip-arch.git
make sure you are in the directory of cloned repository
download rootfs image (make sure you download this to the directory of the repository)
(old link removed - find current version at http://www.chip-community.org/index.php/Archlinuxarm_on_chip)
run flashing script (it willl ask for root privileges to flash your device)
now you should be set, arch linux should be installed on your device, if there is a problem, let me know.
you need USB<>UART converter to connect to chip, you should see login prompt (there may also be a lot of debug information, just ignore it, it will not affect your interaction with terminal) - enter “alarm” as user name and “alarm” as password, then you can run “wifi-menu wlan0” as root (root’s password is “root”)and connect to your network. Afterwards, you can connect to you chip via ssh and do whatever you want.
DISCLAIMER: this is the first time I tried to create installation image for arm device, I am pretty sure that there are a lot of “good practice” conventions that I missed and I probably also made a few errors that may result in strange behavior of the system, if you think that you found one of those, let me know.
What I plan to do next:
I hope that I will find out how to do that “console on power usb” thing that normal chip does, so that you will not need usb<>uart converter, I will also try to create PKGBUILD for kernel and RTL8723BS, that will make this look a bit more like real distribution with kernel as a package,. After that, I will check what does not work (probably most of the things on SOC) and try to fix that.
Update: I fixed the scripts so they should actually work now without any adjustments, included newer u-boot and I also created new system image with 4.4.11 kernel, it seems to run smoother now.