Hi Bin,
> I got a 2C35 development board and try to run u-boot on it.
Me too ... fun board. See notes below.
> I checked the latest version 1.1.5) has no change in the ethernet driver file
Correct.
> Anybody knows the fix please advise, your help is highly appreciated.
Check your base address ... it should be: 8221_0300 not 8211_0300
NOTES:
-- The u-boot development process is undergoing some big changes right now -- due to its
popularity and the large number of contributions from the u-boot community.
-- I'll be taking responsibility for the u-boot Nios-32/Nios II trees. I'll setup a git repository for
Nios soon. This will make it much easier for the Nios community to contribute. Until this time,
there won't be any new patches applied to the main tree.
-- I added for EPCS16 and EPCS64, as well as the 2C35 board but have not committed the
changes yet. See below for excerpts from EP2C35.h.
Regards,
--Scott
/*------------------------------------------------------------------------
* ETHERNET -- The header file for the SMC91111 driver hurts my eyes ...
* and really doesn't need any additional clutter. So I choose the lazy
* way out to avoid changes there -- define the base address to ensure
* cache bypass so there's no need to monkey with inx/outx macros.
*----------------------------------------------------------------------*/# define CONFIG_SMC91111_BASE 0x82210300 /* Base addr (bypass) */# define CONFIG_DRIVER_SMC91111 /* Using SMC91c111 */# undef CONFIG_SMC91111_EXT_PHY /* Internal PHY */# define CONFIG_SMC_USE_32_BIT /* 32-bit interface */
# define CONFIG_ETHADDR 08:00:3e:26:0a:5b# define CONFIG_NETMASK 255.255.255.0# define CONFIG_IPADDR 192.168.2.21# define CONFIG_SERVERIP 192.168.2.16