U-boot中增加ping命令

 

在配置文件 include/configs/at91rm9200dk.h的宏CONFIG_COMMANDS中增加CFG_CMD_PING,如下:

#define CONFIG_COMMANDS  \
         ((CONFIG_CMD_DFL | CFG_CMD_MII |\
   CFG_CMD_DHCP | CFG_CMD_PING ) & \
        ~(CFG_CMD_BDI | \
   CFG_CMD_IMI | \
   CFG_CMD_AUTOSCRIPT | \
   CFG_CMD_FPGA | \
   CFG_CMD_MISC | \
   CFG_CMD_LOADS ))


你可能感兴趣的:(cmd)