No edit summary |
Zodiac1111 (talk | contribs) No edit summary |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
First, grab a source code. | First, grab a source code. | ||
''wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.1.tar.bz2'' | ''wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.1.tar.bz2'' | ||
Extract and install the package | Extract and install the package | ||
Line 8: | Line 10: | ||
Inside the Makefile, change to the following: | Inside the Makefile, change to the following: | ||
<pre> | |||
ARCH | ARCH ?= arm | ||
CROSS_COMPILE ?= (directory of the cross-compiler) | CROSS_COMPILE ?= (directory of the cross-compiler) | ||
</pre> | |||
For example, ''/home/username/Desktop/arm-2010.09/bin/arm-none-linux-gnueabi-'' | For example, ''/home/username/Desktop/arm-2010.09/bin/arm-none-linux-gnueabi-'' | ||
Next, make sure you have the defconfig file in your arch/arm/configs folder. | Next, make sure you have the defconfig file in your arch/arm/configs folder. | ||
You can then proceed with the command ''make ( | You can then proceed with the command ''make (name of defconfig file)'' | ||
After that, use ''make gconfig'' to open up the GUI configuration where you can choose to install specific drivers and such. | After that, use ''make gconfig'' to open up the GUI configuration where you can choose to install specific drivers and such. | ||
After saving the gconfig, you can use '''''make uImage''''' command to make the kernel for the ARM device | After saving the gconfig, you can use '''''make uImage''''' command to make the kernel for the ARM device. | ||
To make the modules, you use the following commands: | |||
'''''make modules''''' | |||
'''''INSTALL_MOD_PATH=(anydirectory) make modules_install''''' | |||
NOTE: Work is ongoing to produce some generic kernel packages for the Fedora ARM project. |
Latest revision as of 12:37, 28 December 2011
First, grab a source code.
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.1.tar.bz2
Extract and install the package
tar xjvf (tar.bz2 file)
You get a folder called linux-2.6.36.1. Change to that directory and edit the Makefile.
Inside the Makefile, change to the following:
ARCH ?= arm CROSS_COMPILE ?= (directory of the cross-compiler)
For example, /home/username/Desktop/arm-2010.09/bin/arm-none-linux-gnueabi-
Next, make sure you have the defconfig file in your arch/arm/configs folder. You can then proceed with the command make (name of defconfig file)
After that, use make gconfig to open up the GUI configuration where you can choose to install specific drivers and such.
After saving the gconfig, you can use make uImage command to make the kernel for the ARM device.
To make the modules, you use the following commands:
make modules
INSTALL_MOD_PATH=(anydirectory) make modules_install
NOTE: Work is ongoing to produce some generic kernel packages for the Fedora ARM project.