Linu2.6.21 is successfully transplanted to the AT91RM9200 Development Board.

Source: Internet
Author: User
Linu2.6.21 -- Linux general technology-Linux programming and kernel information is successfully transplanted to the AT91RM9200 Development Board. The following is a detailed description. 1. Obtain the linux kernel source code and corresponding hardware patches.
1. Download the linux 2.6.21 kernel source code.
Download linux-2.6.21.tar.gz at www.kernel.org
2. Download The for at91rm9200 patch.
At www.maxim.org. za/AT91ARM9200/2.6/
Download 2.6.21-at91.patch.gz

2. decompress the file and patch the kernel source code
Run the following command in the root directory:
Mkdir/emmett/2.6.
Copy the first file to this directory.
Tar zxvf linux-2.6.21.tar.gz
Cd linux-2.6.21
Copy 2.6.21-at91.patch.gz to linux-2.6.21
Zcat 2.6.21-at91.patch.gz | patch p1

3. Modify Makefile configuration and compile the kernel
Find the following:
ARCH? = $ (SUBARCH)
CROSS_COMPILE? =
To:
ARCH? = Arm
CROSS_COMPILE? =/Usr/local/arm/3.4.1/bin/arm-linux-
Then run
# Make at91rm9200dk_defconfig
# Make menuconfig
Add and delete configurations
# Make
Then the zImage file is generated.
[Root @ Linux boot] # pwd
/Emmett/2.6/linux-2.6.21/arch/arm/boot
[Root @ Linux boot] # ls
Bootp compressed Image install. sh Makefile zImage
[Root @ Linux boot] #

4. simply burn the kernel to flash.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.