From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Any spport for Dallas 1-wire DS2502-E48
Date: Sat, 29 Jul 2006 08:54:48 +0200 [thread overview]
Message-ID: <200607290854.48693.sr@denx.de> (raw)
In-Reply-To: <GPECLCIGPLHEOMGPMCPAEEKEDNAA.edjubenville@adelphia.net>
Hi Ed,
On Friday 28 July 2006 15:44, Edward Jubenville wrote:
> Has anyone tried to implement a 1-wire driver for Dallas/Maxim 1-Wire
> devices, in particular for a DS2502-E48 chip?
Please take a look at the file:
board/esd/cpci405/cpci405.c:
Here you will find an simple implementation to access to an 1-wire device.
Search for ONE_WIRE_CLEAR...
> We are using a custom board based on the FreeScale Lite5200. We have added
> a DS2502-E48 chip to give us a unique MAC address on each board, instead of
> having to buy/manage a block of MAC addresses from IEEE.
>
> I'm considering writing a standalone bit-banging application that u-boot
> can 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?
Why not automatically set "ethaddr" to the value from the 1-wire device upon
startup? This is done in other implementations already (not from 1-wire
device though). For example:
board/tqm8xx/load_sernum_ethaddr.c
Best regards,
Stefan
next prev parent reply other threads:[~2006-07-29 6:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-28 13:44 [U-Boot-Users] Any spport for Dallas 1-wire DS2502-E48 Edward Jubenville
2006-07-29 6:54 ` Stefan Roese [this message]
2006-07-29 12:21 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200607290854.48693.sr@denx.de \
--to=sr@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.