Hisilicon SD3403/SS928V100 development (1) Network debugging environment setup

Background: At present, due to the opening of new projects, it is necessary to debug the HiSilicon SS928V100 platform;

             It is also debugged from the development board stage

Debug PC: win11 system

ubuntu: wsl ubuntu (virtual machine supported by win11 system by default)

                 Later, I switched to vmware to install the virtual machine (because the wsl virtual machine is really not easy to use)

1. Build a tftp server -- for burning

(1)、安装软件包
sudo apt-get install tftpd tftp xinetd
(2)、建立配置文件
在/etc/xinetd.d/下建立一个配置文件tftp
sudo vi /etc/xinetd.d/tftp
内容如下
service tftp  
{  
    socket_type = dgram  
    protocol = udp  
    wait = yes  
    user = root  
    server = /usr/sbin/in.tftpd  
    server_args = -s /tftpboot  
    disable = no  
    per_source = 11  
    cps = 100 2  
    flags = IPv4  
}  
(3)、建立tftp服务文件目录
在上面的配置中有server_args = -s /tftpboot,其中/tftpboot这个目录就是上传文件与下载文件的位置。
sudo mkdir /tftpboot          --创建/tftpboot目录
sudo chmod 777 /tftpboot -R   --设置权限为777
(4)、重新启动tftp服务
sudo /etc/init.d/xinetd restart

Guess you like

Origin blog.csdn.net/jzwjzw19900922/article/details/128631345