On Monday 16 February 2009, Afzal Nadirshah wrote: > I have compiled u-boot-nand.bin for the canyonlands board.I > flashed this image onto the nand flash and did a boot from NAND.I > interrupted the u-boot and tried to do a tftp. But i get this error : No > ethernet found. Could someone tell me where to enable ethernet in the > u-boot source code?
You don't need to enable it in the source. You just have to set one (or more) MAC address(es). Without MAC addresses the 4xx-ethernet driver just doesn't initialize the interfaces. So just set "ethaddr" to a sane value and do a "saveenv" and reboot. This should be all thats needed. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: off...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot