First CD-ROM directory "Linux source code and tools" of the Linux kernel packet copy to a directory, into the head Recorded, and then extracting the Linux source code package, the command is:
tar –zxvf YLP2440_linux-2.6.12.tar.gz
Decompression into the directory, run the command:
vi Makefile
Find "CROSS_COMPILE =" This line, that it be replaced CROSS_COMPILE
= / usr/local/arm/3.4.1/bin/arm-linux- (or your system installed on ARM-Linux-gcc compiler path)
Set up again after the compiler to preserve exit.
Configure the kernel
Enter the command: make menuconfig
Column to enter the configuration of the "Load an Alternate Configuration File"
Enter the profile name and enter kernel_YLP2440.cfg, in the main menu and select Exit Exit to save your settings.
Compiling the kernel
Then enter the command make zImage
Compiled after the end of may at arch / arm / boot directory to be compressed linux kernel image zImage.
Generate kernel image after the programmer can attempt to test whether or not to run, it is noteworthy that the premise of the test cores are burning a good root file system, a separate programmer kernel image is not working.
文章评论(0条评论)
登录后参与讨论