摘要
研究了通信网络中多DSP系统的快速版本加载方法.核心是实现多个DSP的并行版本加载.各DSP在单板上有一个物理位置编号,对应于交换芯片上唯一的端口号,结合交换芯片驱动中的MAC地址学习表,找到DSP芯片MAC地址与交换芯片端口的对应关系,从而得到DSP芯片MAC地址与DSP物理位置编号的关系,进而得到版本类型与DSP芯片MAC地址的之间的对应关系.至此,HOST在同时复位所有DSP后,能够通过获取DSP版本请求报文中的源MAC地址,获知该DSP要下载的版本类型,达到支持多DSP并行加载版本的目的.通过实现多DSP的并行加载,能够将原来需要几十分钟的加载时间,缩短到几十秒钟的数量级,满足了通信系统快速启动的要求.此方法可以应用到具备以太网交换芯片、通过以太网方式加载版本的各种多DSP系统.
The rapid version-loading is proposed in the large scale DSP system of communication networks. The key is version-loading parallel for multi-DSP. Every DSP chip has a physical ID corresponding to a port number on the switch chip, in addition, according to the relationship between the MAC address of DSP and the port number of switch, we can get the the relationship between the MAC address and the physical ID of DSP, and then get the relationship between the version and the MAC address of DSP. After resetting all DSPs, host can obtain the source addresses of DSP from the version-request frames, then deduce the appropriate versions and load them parallel.Through parallel loading, the time for loading multi-DSP can be shorten from dozens of minutes to dozens of seconds, can be met the demand of rapid startup for communication system. This method can be used on the environment there are multiple DSPs loaded through Ethernet.
出处
《计算机系统应用》
2013年第8期169-172,共4页
Computer Systems & Applications