Site Tools


installing_arch_linux_with_gpt

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
installing_arch_linux_with_gpt [2013/12/11 20:43] falkinstalling_arch_linux_with_gpt [2014/08/10 19:34] (current) falk
Line 8: Line 8:
   * An USB stick (at least 256MB)   * An USB stick (at least 256MB)
   * About 4-5 hours of time   * About 4-5 hours of time
 +
 +===== Download a kernel =====
 +
 +You can download a prebuilt one here: [[http://kilbeggan.fourecks.de/~falk/linux-3.15.6_archlinux_ac100.tar.gz]]
  
 ===== Build a kernel ===== ===== Build a kernel =====
Line 19: Line 23:
 Add the binaries to your path: ''export PATH=$PATH:~/ac100/x-tools7h/arm-unknown-linux-gnueabi/bin''  Add the binaries to your path: ''export PATH=$PATH:~/ac100/x-tools7h/arm-unknown-linux-gnueabi/bin'' 
  
-Checkout a working kernel sourcetree. I recommend the ''for-next-thierry'' branch from [[http://gitorious.org/~marvin24/ac100/marvin24s-kernel]] +Checkout a working kernel sourcetree. I recommend current vanilla kernel (3.15.6), it should work out of the box
- +
- +
-  $ cd ~/ac100 +
-  $ git clone -b for-next-thierry git://gitorious.org/~marvin24/ac100/marvin24s-kernel.git +
  
 Create a directory for (kernel) installation: ''mkdir ~/ac100/kernel_install''  Create a directory for (kernel) installation: ''mkdir ~/ac100/kernel_install'' 
  
 + 
 ==== Building the kernel ==== ==== Building the kernel ====
  
-  $ cd ~/ac100/marvin24s-kernel+  $ cd ~/ac100/linux-3.15.6
   $ make tegra_defconfig ARCH=arm   $ make tegra_defconfig ARCH=arm
   $ make menuconfig ARCH=arm   $ make menuconfig ARCH=arm
Line 39: Line 39:
   * Supplement the appended DTB with traditional ATAG information   * Supplement the appended DTB with traditional ATAG information
   * Kernel command line type (Use bootloader kernel arguments if available)   * Kernel command line type (Use bootloader kernel arguments if available)
 +
 +Or use [[http://sprunge.us/RiBc]] as a base .config and do a 
 +
 +  $ cd ~/ac100/linux-3.15.6
 +  $ curl http://sprunge.us/RiBc > .config 
 +  $ make oldconfig ARCH=arm
  
 Build your kernel:  Build your kernel: 
Line 60: Line 66:
  
 Congratulations, you should have a working kernel.  Congratulations, you should have a working kernel. 
- +===== Installing on your AC100 =====
-==== Installing on your AC100 ====+
  
 Copy ''kern.tar'' and [[http://archlinuxarm.org/os/ArchLinuxARM-trimslice-latest.tar.gz|ArchLinuxARM-trimslice-latest.tar.gz]] on a USB Stick Copy ''kern.tar'' and [[http://archlinuxarm.org/os/ArchLinuxARM-trimslice-latest.tar.gz|ArchLinuxARM-trimslice-latest.tar.gz]] on a USB Stick
Line 111: Line 116:
  
 You should have a (very) basic ArchLinuxArm system now. Log in with "root"/"root" and hack away.  You should have a (very) basic ArchLinuxArm system now. Log in with "root"/"root" and hack away. 
 +
 +For increased X11 performance build the opentegra driver according to [[http://ac100.wikispaces.com/opentegra]], you need to install libpthread-stubs from AUR [[https://aur.archlinux.org/packages/libpthread-stubs]] and ''xorg-server-devel'' from pacman. 
 +
 +First, build the modified libdrm:
 +
 +  git clone git://people.freedesktop.org/~tagr/drm
 +  cd drm
 +  ./autogen.sh --prefix=/usr --disable-intel --disable-nouveau --disable-radeon --disable-vmwgfx --enable-tegra-experimental-api
 +  make
 +  make install
 +  
 +Then, build the opentegra driver: 
 +
 +  git clone git://people.freedesktop.org/~tagr/xf86-video-opentegra
 +  cd xf86-video-opentegra
 +  ./autogen.sh --prefix=/usr
 +  make
 +  make install 
 +
 +
 +
 +
installing_arch_linux_with_gpt.1386791016.txt.gz · Last modified: 2013/12/11 20:43 by falk