Introduction to linux installation on the s3c2410 Development Board

Source: Internet
Author: User
The installation of linux on the s3c2410 Development Board-general Linux technology-Linux programming and kernel information. The following is a detailed description. Step 1: Download vivi code to flash
Step 2: Download kernel to flash
Step 3: Use nfs to start the system

1. Download vivi code to flash
Vivi is a bootloader designed by mizi for the ARM processor series. In a slightly complex embedded system, bootloader is very important and has the following functions:

Copy the kernel from flash to RAM and start it.
Initialize hardware
Download the program and write it to flash (generally, download the kernel to RAM through the serial port or network port, and then write it to flash)
Check the target board (bootloader has some simple code to test the hardware of the target board)

In windows, download the vivi code and run it in the c:/command prompt. Use the jtagdownload cable (you need to install the parallel driver before installation) and use the sjf2410.exe software.

Download steps:
Cd \
C: \> cd tools
C: \ tools> sjf2410.exe/f: vivi

Follow the prompts to perform the following operations.

Ii. Download kernel to flash
A complete Linux system includes a Kernel and a root file system. If there is only one Linux kernel, the system will not be properly guided. After Linux kernel boot is complete, it tries to mount a root file system (root file system). If it cannot be found, the kernel reports the following error:

Kenel panic: VFS: Unable to mount root fs on

In Windows, it is performed on the Super Terminal, including all subsequent operations. This is because the information in the S3C2410 Development Board can be seen through the Super Terminal.

Download steps:
1. Open the Super Terminal and enter the vivi prompt (reset and quickly press the Space key)

2. Vivi> part show (check whether the partition and kernel are enough for zImage storage) commonly used part modification commands: part del part add part save, etc.

3. Vivi> load flash kernel x

Right-click, select the kernel file to be sent, and select xmodem protocol

4. The message is sent.

3. Start the system through NFS
First, create and start the NFS service on the host. (On the host linux System Terminal)

Extract root-for-nfs-v5.5.tgz to/friendly-arm

Add/friendly-arm/root * (rw, sync, no_root_squash) to/etc/exports)

#/Etc/init. d/nfs restart

Now, the nfs system is started.

In windows Super Terminal vivi mode, enter param set linux_cmd_line "console = ttyS0 root =/dev/nfs nfsroot = 192.168.0.1:/friendly-arm/root

Ip = 192.168.0.69: 192. 168.0.1: 192.168.0.1: 255.255.255.0: matrix4.arm9.net: eth0: off"

Param save

# Boot

# Bk

# Bs

The system is installed.

Author: Li Jing
Related Article

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.