
my u-boot version is 1.1.1 i use OCOTEA board, i find some bugs about emac address. ---------------------------------------------------- in the file include/configs/OCOTEA.h LINE 157 change #define CONFIG_ETHADDR1 00:04:AC:E3:28:8B #define CONFIG_ETHADDR2 00:04:AC:E3:28:8C #define CONFIG_ETHADDR3 00:04:AC:E3:28:8D into #define CONFIG_ETH1ADDR 00:04:AC:E3:28:8B #define CONFIG_ETH2ADDR 00:04:AC:E3:28:8C #define CONFIG_ETH3ADDR 00:04:AC:E3:28:8D -------------------------------------------------- in the file common/enviroment.c add the content #ifdef CONFIG_ETH3ADDR "eth3addr=" MK_STR(CONFIG_ETH3ADDR) "\0" #endif into below LINE 132
LINE 130: #ifdef CONFIG_ETH2ADDR LINE 131: "eth2addr=" MK_STR(CONFIG_ETH2ADDR) "\0" LINE 132: #endif --------------------------------------------------- in the file common/env_common.c add the content #ifdef CONFIG_ETH3ADDR "eth3addr=" MK_STR(CONFIG_ETH3ADDR) "\0" #endif into below LINE 96
LINE 94: #ifdef CONFIG_ETH2ADDR LINE 95: "eth2addr=" MK_STR(CONFIG_ETH2ADDR) "\0" LINE 96: #endif -----------------------------------------------------
please check them. liuyong ly@ncic.ac.cn 2004-09-11