User Tools

Site Tools


tutorials:dvk521:documentations:kernel_porting_and_configuration

Differences

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

Link to this comparison view

tutorials:dvk521:documentations:kernel_porting_and_configuration [2013/11/21 16:29]
waveshare
tutorials:dvk521:documentations:kernel_porting_and_configuration [2013/12/23 14:50] (current)
Line 1: Line 1:
 ====== Kernel Porting and Configuration ====== ====== Kernel Porting and Configuration ======
  
-===== Kernel Porting ​=====+==== Kernel Porting ====
 Get the linux kernel source code [[http://​dl.cubieboard.org/​parteners/​waveshare/​Source_Code/​linux-sunxi-sunxi-3.4.61.tar.gz|linux-sunxi-sunxi-3.4.61]],​ Get the linux kernel source code [[http://​dl.cubieboard.org/​parteners/​waveshare/​Source_Code/​linux-sunxi-sunxi-3.4.61.tar.gz|linux-sunxi-sunxi-3.4.61]],​
 Or can be obtained from the internet: Or can be obtained from the internet:
Line 29: Line 29:
   CROSS_COMPILE ​  ?= arm-linux-gnueabihf-   CROSS_COMPILE ​  ?= arm-linux-gnueabihf-
 ARCH specifies the target platform as arm, CROSS_COMPILE assigns the cross compile tool chain. As shown in the picture below: ​ ARCH specifies the target platform as arm, CROSS_COMPILE assigns the cross compile tool chain. As shown in the picture below: ​
 +
 {{.:​document-5_1.jpg}} {{.:​document-5_1.jpg}}
 +
 Note: the vim editor is recommended. Note: the vim editor is recommended.
  
 === Clear the temp files ===  === Clear the temp files === 
 Under the root directory, enter: Under the root directory, enter:
-#make clean+  ​#make clean
  
 === Copy the default config file ===  === Copy the default config file === 
 Under the root directory, enter: Under the root directory, enter:
-#make sun4i_defconfig+  ​#make sun4i_defconfig
 A hidden .config file will be generated under the root directory. A hidden .config file will be generated under the root directory.
  
Line 52: Line 54:
 It will take much time to complete the compiling. It will take much time to complete the compiling.
 When completed, the compressed kernel image will be generated under linux-sunxi-sunxi-3.4.61/​arch/​arm/​boot directory. When completed, the compressed kernel image will be generated under linux-sunxi-sunxi-3.4.61/​arch/​arm/​boot directory.
- 
  
 <WRAP noprint> <WRAP noprint>
 {{tag>​Cubieboard Cubietruck}} {{tag>​Cubieboard Cubietruck}}
 </​WRAP>​ </​WRAP>​
tutorials/dvk521/documentations/kernel_porting_and_configuration.txt · Last modified: 2013/12/23 14:50 (external edit)