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
Last revisionBoth sides next revision
archlinux [2012/11/21 21:14] fly-awayarchlinux [2014/06/21 17:38] 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://archlinuxarm.org/platforms/armv7/trimslice#qt-platform_tabs-ui-tabs2|ArchLinuxARM TrimSlice]] base filesystem, \\ I used [[http://archlinuxarm.org/platforms/armv7/trimslice#qt-platform_tabs-ui-tabs2|ArchLinuxARM TrimSlice]] base filesystem, \\
 [[http://gitorious.org/~marvin24/ac100/marvin24s-kernel/trees/chromeos-ac100-3.0-exp|chromeos-ac100-3.0-exp]] kernel branch by [[http://gitorious.org/~marvin24|marvin24]] \\ [[http://gitorious.org/~marvin24/ac100/marvin24s-kernel/trees/chromeos-ac100-3.0-exp|chromeos-ac100-3.0-exp]] kernel branch by [[http://gitorious.org/~marvin24|marvin24]] \\
 and [[http://gitorious.org/ac100/abootimg/trees/master|abootimg]] by [[https://gitorious.org/~phhusson|phhusson]]. and [[http://gitorious.org/ac100/abootimg/trees/master|abootimg]] by [[https://gitorious.org/~phhusson|phhusson]].
 +
 +**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://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-2}-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 35: Line 40:
   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-2.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 Now you should find out which partition is you bootpart
Line 59: 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 'core' section of ) and installed it manually :
 +  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 /etc/wpa_supplicant.conf to connect to your wifi:  tweak /etc/wpa_supplicant.conf to connect to your wifi: 
 <file - wpa_supplicant.conf> <file - wpa_supplicant.conf>
Line 86: 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 137: 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 dunst
  
 ====Create a user====  ====Create a user====
Line 163: Line 183:
 ====OpenGLES2 and hardware video decoding==== ====OpenGLES2 and hardware video decoding====
  
-  Attentionas for now, GLES drivers break my xft fonts displaying.  +===Preamble=== 
-  So this section targeted at developers, not at users. +<HTML> 
-  If you have problems with this stuff, just remove nvidia-tegra package.+<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.  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 \\ Source pkgbuilds: [[https://github.com/fly-away/PKGBUILDs]] and
  [[https://aur.archlinux.org/|AUR]]  [[https://aur.archlinux.org/|AUR]]
   [fly-ac100]   [fly-ac100]
-  Server = http://flie.no-ip.org:7080/archlinux/armv7h/+  Server = http://flie.dyndns.org:7080/archlinux/armv7h/
 Install sortware from new repo: Install sortware from new repo:
-  pacman -nvidia-tegra totem-gst libegl libgles libva mesa-demos-git gnome-media+  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 +Also see [[hw_accelerated_video_playback#gstreamer_tuninig|Hardware accelerated video#gstreamer_tuninig]] for further instrustions
-[[hw_accelerated_video_playback#gstreamer_tuninig|Hardware accelerated video#gstreamer_tuninig]]+
 ====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 183: Line 223:
  
 ====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