From: =?utf-8?B?bGl1eW9uZw==?= Date: Sat, 11 Sep 2004 15:12:22 +0800 Subject: [U-Boot-Users] =?utf-8?B?YnVnIHJlcG9ydCBmb3Igb2NvdGVh?= Message-ID: <20040911071606.68CEAFB046@gatekeeper.ncic.ac.cn> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 at ncic.ac.cn ??????????2004-09-11