[U-Boot-Users] Any spport for Dallas 1-wire DS2502-E48

Wolfgang Denk wd at denx.de
Sat Jul 29 14:21:38 CEST 2006


In message <GPECLCIGPLHEOMGPMCPAEEKEDNAA.edjubenville at adelphia.net> you wrote:
> Has anyone tried to implement a 1-wire driver for Dallas/Maxim 1-Wire
> devices, in particular for a DS2502-E48 chip?

None that I know of.

> I'm considering writing a standalone bit-banging application that u-boot can

Why not a regiular driver that fits into the existing environment.

> run to read and display the MAC address.  The user could then use the
> display for the "setenv ethaddr" command.  Would there be any way for the
> standalone program to modify the ethaddr environment variable directly?

You could export the setenv()  function  for  SA  programs,  but  why
making  all  this  so  complicated?  Implement  a regular driver, and
perform the setting of ethaddr automatically as part  of  your  board
init code.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Many Myths are based on truth
	-- Spock, "The Way to Eden",  stardate 5832.3




More information about the U-Boot mailing list