Site Tools


archlinux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
archlinux [2012/11/17 21:16] – [Create a user] fly-awayarchlinux [2013/05/21 12:51] – [ArchLinux arm installation on toshiba ac100] stuw
Line 14: Line 14:
   cd ~/Downloads   cd ~/Downloads
   wget http://archlinuxarm.org/os/ArchLinuxARM-trimslice-latest.tar.gz \   wget http://archlinuxarm.org/os/ArchLinuxARM-trimslice-latest.tar.gz \
-      http://flie.no-ip.org:7080/archlinux/armv7h/{abootimg-git-20121116-1,linux-ac100-chromeos-exp-3.0.27-1}-armv7h.pkg.tar.xz+      http://flie.dyndns.org:7080/archlinux/armv7h/{abootimg-git-20121116-1,linux-ac100-chromeos-exp-3.0.27-2}-armv7h.pkg.tar.xz
      
 ===Untarring fs on SD=== ===Untarring fs on SD===
Line 22: Line 22:
   cd /mnt   cd /mnt
   sudo tar xvf ~/Downloads/ArchLinuxARM-trimslice-latest.tar.gz   sudo tar xvf ~/Downloads/ArchLinuxARM-trimslice-latest.tar.gz
-  sudo cp ~/Downloads/{linux-ac100-chromeos-exp-3.0.27-1,abootimg-git-20121116-1}-armv7h.pkg.tar.xz root+  sudo cp ~/Downloads/{linux-ac100-chromeos-exp-3.0.27-2,abootimg-git-20121116-1}-armv7h.pkg.tar.xz root
  
 ===Installing kernel into the trimslice fs=== ===Installing kernel into the trimslice fs===
Line 34: Line 34:
   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 /etc/netcfg.d/ethernet-eth0 # no eth in ac100   rm /etc/netcfg.d/ethernet-eth0 # no eth in ac100
-  pacman -U /root/linux-ac100-chromeos-exp-3.0.27-1.tar.xz /root/abootimg-git-20121116-1-armv7h.pkg.tar.xz+  pacman -U /root/linux-ac100-chromeos-exp-3.0.27-2.tar.xz /root/abootimg-git-20121116-1-armv7h.pkg.tar.xz 
 +   
 +  abootimg --create /boot/bootimg-linux-ac100-chromeos-exp.img \ 
 +                 -k /boot/vmlinuz-linux-ac100-chromeos-exp \ 
 +                 -r /boot/intrafms-linux-ac100-chromeos-exp.img \ 
 +                 -f /boot/bootimg-linux-ac100-chromeos-exp.cfg 
 + 
 +Now you should find out which partition is you bootpart 
 +run 
 +  for f in /dev/mmcblk0*; do abootimg -i $f 2>&1 | fgrep -q "cmdline = " && echo $f; done 
 +For me output was like **/dev/mmcblk0p2** \\ 
 +So, lets write kernel and initramfs here:
   dd if=/boot/bootimg-linux-ac100-chromeos-exp.img of=/dev/mmcblk0p2   dd if=/boot/bootimg-linux-ac100-chromeos-exp.img of=/dev/mmcblk0p2
   exit   exit
Line 44: Line 55:
   reboot #everything's gonna be alright :)   reboot #everything's gonna be alright :)
 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 129: Line 139:
   pacman -S xorg-server xterm xf86-video-fbdev lxterminal lxrandr ttf-dejavu   pacman -S xorg-server xterm xf86-video-fbdev lxterminal lxrandr ttf-dejavu
   pacman -S xf86-input-synaptics #needed for a usable touchpad   pacman -S xf86-input-synaptics #needed for a usable touchpad
-  pacman -S openbox tint2 geany modemmanager vim evince gpicview pcmanfm polkit \ +  pacman -S openbox tint2 geany modemmanager vim sudo evince gpicview pcmanfm polkit \ 
-    lxtask htop laptop-mode-tools laptop-detect powertop lightdm +    lxtask htop laptop-mode-tools laptop-detect powertop lightdm lightdm-gtk-greeter 
-  pacman -S networkmanager network-manager-applet gnome-keyring+  # You can use wifi-menu or wicd instead of network-manager 
 +  pacman -S networkmanager network-manager-applet gnome-keyring dunst
  
 ====Create a user====  ====Create a user====
Line 146: Line 157:
 ====Useful things==== ====Useful things====
  
-You also may add repo **fly-ac100** into you **/etc/pacman.conf** to get some kernels, drivers and utils for ac100.  +ZramSwap and events handling 
-\\ Source pkgbuilds: [[https://github.com/fly-away/PKGBUILDs]] and [[https://aur.archlinux.org/|AUR]] +  pacman -S yaourt 
-  [fly-ac100] +  yaourt -S zramswap input-event-daemon
-  Server = http://flie.no-ip.org:7080/archlinux/armv7h/ +
-Install sortware from new repo: +
-  pacman -S zramswap nvidia-tegra totem-gst input-event-daemon libegl libgles libva mesa-demos-git gnome-media +
- +
-[[hw_accelerated_video_playback#gstreamer_tuninig|Hardware accelerated video#gstreamer_tuninig]]+
  
 +See also:
 [[headphones_insertion_handling|Autoswitch speakers and backlight]] [[headphones_insertion_handling|Autoswitch speakers and backlight]]
  
 [[https://wiki.archlinux.org/index.php/Touchpad_Synaptics|Touchpad Synaptics]] [[https://wiki.archlinux.org/index.php/Touchpad_Synaptics|Touchpad Synaptics]]
  
 +====OpenGLES2 and hardware video decoding====
 +
 +===Preamble===
 +<HTML>
 +<span style="color:red;font-size:120%;">
 +Attention: This section targeted at developers, not at users. <br/>
 +If you have problems with this stuff, just remove nvidia-tegra package.<br/>
 +<br/>
 +</span>
 +</HTML>
 +
 +As for now, you should downgrade you xorg-server package cause of use-pixman-glyph-cache.patch [[https://bugs.archlinux.org/task/32612|bug 32612]] \\
 +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/resume functionality on ac100 (as for me at least).
 +
 +===Lets start===
 +You may add repo **fly-ac100** into you **/etc/pacman.conf** to get some prebuilded kernels, drivers and utils for ac100. 
 +\\ Source pkgbuilds: [[https://github.com/fly-away/PKGBUILDs]] and
 + [[https://aur.archlinux.org/|AUR]]
 +  [fly-ac100]
 +  Server = http://flie.dyndns.org:7080/archlinux/armv7h/
 +Install sortware from new repo:
 +  pacman -Sy fly-ac100/xorg-server nvidia-tegra totem-gst libegl libgles libva mesa-demos-git gnome-media linux-ac100-l4t-r16.2
 +  
 +Update contents of you boot partition with dd to use new kernel, as pacman output says.\\
 +
 +
 +Also add to your **/etc/pacman.conf**:\\
 +  IgnorePkg   = xorg-server
 +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#gstreamer_tuninig|Hardware accelerated video#gstreamer_tuninig]] for further instrustions
 ====Want to go further with archlinux==== ====Want to go further with archlinux====
 [[https://wiki.archlinux.org/index.php/Main_Page|archlinux]] [[https://wiki.archlinux.org/index.php/Main_Page|archlinux]]
Line 165: Line 208:
  
 ====Problems and todo==== ====Problems and todo====
-  * Artefacts and fonts problems in X +  * Artefacts and in X when using GLES. 
-  * Some programs chashes from time to time+  * Some programs crashes from time to time
archlinux.txt · Last modified: 2014/06/21 17:40 by santox