Article title: use Tftp to burn the Linux kernel process to the target board. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
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
}
Note: The modification item server_args =-s-c can be changed to the root directory of your tftp-server. the parameter-s specifies 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
Fast.