archlinux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
archlinux [2012/11/17 21:31] – [Install base packages] fly-away | archlinux [2014/06/21 17:40] (current) – santox | ||
---|---|---|---|
Line 1: | Line 1: | ||
====ArchLinux arm installation on toshiba ac100==== | ====ArchLinux arm installation on toshiba ac100==== | ||
+ | |||
+ | **UPDATE:** [[U-BOOT CM11 and ArchLinux multiboot]] | ||
+ | |||
I used [[http:// | I used [[http:// | ||
[[http:// | [[http:// | ||
and [[http:// | and [[http:// | ||
+ | |||
+ | **UPDATE:** the kernel links above are now dead, after wasting a lot of time to find and install a prebuild up-to-date kernel, i finally compiled it by myself, using mainline git kernel; see [[U-BOOT CM11 and ArchLinux multiboot]] for detailed instructions | ||
On my system there were ubuntu on emmc; so installed arch on SD. | On my system there were ubuntu on emmc; so installed arch on SD. | ||
Line 14: | Line 19: | ||
cd ~/Downloads | cd ~/Downloads | ||
wget http:// | wget http:// | ||
- | http:// | + | http:// |
| | ||
===Untarring fs on SD=== | ===Untarring fs on SD=== | ||
Line 22: | Line 27: | ||
cd /mnt | cd /mnt | ||
sudo tar xvf ~/ | sudo tar xvf ~/ | ||
- | sudo cp ~/ | + | sudo cp ~/ |
===Installing kernel into the trimslice fs=== | ===Installing kernel into the trimslice fs=== | ||
Line 34: | Line 39: | ||
pacman -R linux-trimslice linux-headers-trimslice nvidia-trimslice # Remove unneeded trimslice stuff | pacman -R linux-trimslice linux-headers-trimslice nvidia-trimslice # Remove unneeded trimslice stuff | ||
rm / | rm / | ||
- | pacman -U / | + | pacman -U / |
+ | |||
+ | abootimg --create / | ||
+ | -k / | ||
+ | -r / | ||
+ | -f / | ||
+ | |||
+ | Now you should find out which partition is you bootpart | ||
+ | run | ||
+ | for f in / | ||
+ | For me output was like **/ | ||
+ | So, lets write kernel and initramfs here: | ||
dd if=/ | dd if=/ | ||
exit | exit | ||
Line 44: | Line 60: | ||
reboot # | reboot # | ||
access the system as usr=root, pwd=root. | access the system as usr=root, pwd=root. | ||
- | |||
====Arch base configuration==== | ====Arch base configuration==== | ||
be careful: you have a base survive vi installation.. don't use arrows :) | be careful: you have a base survive vi installation.. don't use arrows :) | ||
Line 54: | Line 69: | ||
=== WIFI === | === WIFI === | ||
+ | |||
+ | | ||
+ | **UPDATE**: unfortunately latest ArchLinuxARM-trimslice-latest.tar.gz image lacks some useful packages, needed to bring up wifi; so i downloaded (from ' | ||
+ | pacman -U dialog-1_1.2_20140219-1-armv7h.pkg.tar.tar libnl-3.2.24-1.1-armv7h.pkg.tar.tar rfkill-0.5-1-armv7h.pkg.tar.tar wpa_supplicant-2.1-3.1-armv7h.pkg.tar.tar | ||
+ | |||
+ | now you can proceed configuring wifi connection, you can use wifi-menu or directly wpa_supplicant | ||
+ | |||
tweak / | tweak / | ||
<file - wpa_supplicant.conf> | <file - wpa_supplicant.conf> | ||
Line 81: | Line 103: | ||
dhcpcd wlan0 | dhcpcd wlan0 | ||
| | ||
+ | |||
+ | |||
+ | |||
=== GSM Modem === | === GSM Modem === | ||
pppd and chat stuff for 3G modem connection | pppd and chat stuff for 3G modem connection | ||
Line 132: | Line 157: | ||
lxtask htop laptop-mode-tools laptop-detect powertop lightdm lightdm-gtk-greeter | lxtask htop laptop-mode-tools laptop-detect powertop lightdm lightdm-gtk-greeter | ||
# You can use wifi-menu or wicd instead of network-manager | # You can use wifi-menu or wicd instead of network-manager | ||
- | pacman -S networkmanager network-manager-applet gnome-keyring | + | pacman -S networkmanager network-manager-applet gnome-keyring |
====Create a user==== | ====Create a user==== | ||
Line 147: | Line 172: | ||
====Useful things==== | ====Useful things==== | ||
- | You also may add repo **fly-ac100** into you **/ | + | ZramSwap |
- | \\ Source pkgbuilds: [[https:// | + | |
- | | + | |
- | | + | |
- | Install sortware from new repo: | + | |
- | pacman | + | |
- | + | ||
- | [[hw_accelerated_video_playback# | + | |
+ | See also: | ||
[[headphones_insertion_handling|Autoswitch speakers and backlight]] | [[headphones_insertion_handling|Autoswitch speakers and backlight]] | ||
[[https:// | [[https:// | ||
+ | ====OpenGLES2 and hardware video decoding==== | ||
+ | |||
+ | ===Preamble=== | ||
+ | < | ||
+ | <span style=" | ||
+ | Attention: This section targeted at developers, not at users. <br/> | ||
+ | If you have problems with this stuff, just remove nvidia-tegra package.< | ||
+ | <br/> | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | As for now, you should downgrade you xorg-server package cause of use-pixman-glyph-cache.patch [[https:// | ||
+ | in newer (1.13.0-4 and 1.13.0.901-1) package versions to avoid font rendering problems.\\ | ||
+ | Latest known working version 1.13.0-3 available in **fly-ac100** repo (see below)\\ | ||
+ | \\ | ||
+ | Also, good gles2 experience could be achieved only with 3.1.10-l4t-r2 kernel, that does not support suspend/ | ||
+ | |||
+ | ===Lets start=== | ||
+ | You may add repo **fly-ac100** into you **/ | ||
+ | \\ Source pkgbuilds: [[https:// | ||
+ | | ||
+ | [fly-ac100] | ||
+ | Server = http:// | ||
+ | Install sortware from new repo: | ||
+ | pacman -Sy fly-ac100/ | ||
+ | | ||
+ | Update contents of you boot partition with dd to use new kernel, as pacman output says.\\ | ||
+ | |||
+ | |||
+ | Also add to your **/ | ||
+ | IgnorePkg | ||
+ | to mask xorg-server package for updates.\\ | ||
+ | Ok, time to boot into new kernel | ||
+ | reboot #all gonna be ok | ||
+ | |||
+ | Also see [[hw_accelerated_video_playback# | ||
====Want to go further with archlinux==== | ====Want to go further with archlinux==== | ||
[[https:// | [[https:// | ||
Line 166: | Line 223: | ||
====Problems and todo==== | ====Problems and todo==== | ||
- | * Artefacts and fonts problems | + | * Artefacts and in X when using GLES. |
- | * Some programs | + | * Some programs |
archlinux.txt · Last modified: 2014/06/21 17:40 by santox