FL2440 porting Linux kernel common commands (command)

Source: Internet
Author: User

Host Ubuntu System:
sudo ifconfig eth0 192.168.1.2

Patching (patches and kernels in the same directory/home/chris/temp):
cd/home/chris/temp/linux-3.0
Patch-p1 <. /linux-3.0-s3c2440.patch

Development Board U-boot:

setenv Bootargs ' root=/dev/nfs rw nfsroot=192.168.1.2:/home/chris/nfs_work ip=192.168.1.1 console=ttySAC0 '

setenv bootcmd ' tftp 30008000 uimage;bootm 30008000 '

Save

compile kernel linux-3.4.2:

Make menuconfig

Make zimage

cd/home/chris/temp/linux-3.4.2

cp/home/chris/temp/linux-3.4.2/arch/arm/boot/zimage/home/chris/temp/u-boot-2010_fl2440/u-boot-2010.09/ Tools

Cd/home/chris/temp/u-boot-2010_fl2440/u-boot-2010.09/tools

./mkimage-a arm-o linux-t kernel-c none-a 0x30008000-e 0x30008040-n "Linux kernel Image"-D zimage uimage

CP Uimage/home/chris/tftpboot


Add the NFS root file system.
cut the extracted root file system into the nfs_work/directory
cd/home/chris/nfs_work

sudo mknod dev/console C 5 1

sudo mknod dev/null C 1 3

FL2440 porting Linux kernel common commands (command)

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.