U-boot中增加ping命令

aiwode_haha發表於2012-04-10
 

在配置檔案 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 ))


相關文章