Site Tools


Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
kerneldev

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
kerneldev [2013/08/22 13:36] – [3.0.x Kernel series] stuwkerneldev [2014/06/21 18:57] (current) – [Mainline Git Kernel] santox
Line 197: Line 197:
 <code>make tegra_defconfig</code> <code>make tegra_defconfig</code>
  
 +===== Mainline Git Kernel =====
 +From 3.15, AC100 finally boots the official mainline kernel ! 
 +To succesfully cross-compile it, i used linaro precompiled toolchain [[http://releases.linaro.org/14.05/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux.tar.xz]]:
 +
 +  wget http://releases.linaro.org/14.05/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux.tar.xz
 +
 +extract it somewhere, and export install path so the toolchain can be found:
 +  tar xvf gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux.tar.xz 
 +  export PATH=$PATH:gcc-linaro-arm-linux-gnueabihf-4.9-2014.05_linux/bin/
 +
 +Now you have to clone the kernel git repository:
 +  git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
 +  cd linux
 +  
 +As already described above, configure && make && install and your kernel is ready!
 +  make tegra_defconfig ARCH=arm
 +  make zImage modules dtbs INSTALL_MOD_PATH=/tmp INSTALL_MOD_STRIP=1 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
 +  make modules_install INSTALL_MOD_PATH=/tmp INSTALL_MOD_STRIP=1 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
 +
 +Copy everything you need in a folder (to copy on SD or USB key and put into AC100)
 +  mkdir ~/linux-3.16-0
 +  mv /tmp/lib/ ~/linux-3.16-0/
 +  cp arch/arm/boot/zImage ~/linux-3.16-0/
 +  cp arch/arm/boot/dts/tegra20-paz00.dtb ~/linux-3.16-0/
 + 
 ==== Kernel Debugging ==== ==== Kernel Debugging ====
  
kerneldev.txt · Last modified: 2014/06/21 18:57 by santox