This shows you the differences between two versions of the page.
tutorials:dvk521:documentations:a10:kernel_porting_and_configuration [2013/11/26 12:45] waveshare created |
tutorials:dvk521:documentations:a10:kernel_porting_and_configuration [2013/12/23 14:50] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
==== 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/COMMON/|linux-sunxi-sunxi-3.4.61.tar.gz]], |
Or can be obtained from the internet: | Or can be obtained from the internet: | ||
https://github.com/linux-sunxi/linux-sunxi/releases , | https://github.com/linux-sunxi/linux-sunxi/releases , | ||
Line 12: | Line 12: | ||
#tar -xzvf linux-sunxi-sunxi-3.4.61.tar.gz | #tar -xzvf linux-sunxi-sunxi-3.4.61.tar.gz | ||
Now we get the linux-sunxi-sunxi-3.4.61 original source code, as shown in the picture below: | Now we get the linux-sunxi-sunxi-3.4.61 original source code, as shown in the picture below: | ||
- | {{.:document-5_1.jpg}} | + | {{..:document-5_1.jpg}} |
Line 30: | Line 30: | ||
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_2.jpg}} |
Note: the vim editor is recommended. | Note: the vim editor is recommended. | ||
Line 47: | Line 47: | ||
#make menuconfig | #make menuconfig | ||
Config the kernel on the popup window, as shown in the picture below: | Config the kernel on the popup window, as shown in the picture below: | ||
- | {{.:document-5_3.jpg}} | + | {{..:document-5_3.jpg}} |
=== Compile the kernel === | === Compile the kernel === | ||
Line 56: | Line 56: | ||
<WRAP noprint> | <WRAP noprint> | ||
- | {{tag>Cubieboard Cubietruck}} | + | |
</WRAP> | </WRAP> | ||