Use tftp to burn the Linux kernel to the target board
Source: Internet
Author: User
Use tftp to burn the Linux kernel process to the target board-general Linux technology-Linux programming and kernel information. The following is a detailed description. Platform: vmware 6 Virtual Machine Redhat9.0 up-tech2410s arm9-( because viiv comes with the installation of tftp-client, so you can use the tftp service to burn the kernel to the target board, etc)
1) execute minicom on the terminal to set the serial port
Note: If you disable minicom abnormally, several files (LCK *) will be created under/var/lock. These files prevent the running of minicom and can be restored after they are deleted)
2) (if the tftp-server-0.32-4.i386.rpm is not installed, you can find it on the third redhat disc. Install tftfp-server: rpm-ivh tftp-server-0.32-4.i386.rpm)
Set the tftp shared directory: Enter the/etc/xinetd. d/tftp file and modify the directory in the server_args item, as follows:
Service tftp
{Socket_type = dgram
Protocol = udp
Wait = yes
User = root
Server =/usr/sbin/in. tftpd
Server_args =-s/tftpboot-c
Disable = no
Per_source = 11
CPIs = 100 2
Flags = IPv4
}
Description: changed to server_args =-s. -C, where The directory can be changed to the root directory of your tftp-server. The parameter-s specifies the chroot, and-c specifies that files can be created.
Note: Do not select a privileged directory such as/root for the shared directory. Otherwise, the file will fail to be transferred. accwss denied)
Service xinetd restart (restart the service and start the tftp service)
3) Put the compiled kernel (for example, zImage) into the tftp shared folder. (The kernel compilation process is not described)
4) power on the Development Board, press any key (not enter) to enter vivi
Note: Start minicom before powering on the Development Board.
5) set the IP addresses of the tftp server and client (the IP address on my VM is 219.222.170.14)
Therefore, input the following command on the terminal: vivi> set c 219.222.170.100 (Development Board ip address)
Viivi> set s 219.222.170.14 (Host ip address) The third ip address must be the same
Tftp flash kernel zImage
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.