This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RedBoot and I² C EEPROM devices?


Hi all,

I've had a quick look around both on the web, and in amongst the RedBoot
sources I have here (which were supplied by Ka-Ro) but haven't found an
answer yet... my appologies if this has been answered before.

We're using Ka-Ro's TX27 modules in a product being developed... these
modules have almost a complete embedded Linux computer on a little
SO-DIMM card which can be removed and swapped between baseboards.  The
baseboards have a small 16kB I²C EEPROM (a 24c16-class device) in which
we'd like to store things like the board's serial number, and most
importantly, the board's type.

This can then be made available to the Linux kernel either via the
bootloader tags, or via the kernel command line.  That way, regardless
of the board the TX27 module is plugged into, assuming the EEPROM is
pre-programmed with the right data, it can determine what it's running
on, and will work.  (e.g. field replacements, etc...)

I'm aware that RedBoot (or rather eCos) has a HAL which implements
access to the I²C bus.  There are also some flash chips supported, but
what's not clear is whether there's a 24c16 device driver in there, or
anything similar.  Is there an implementation of an I²C EEPROM in
RedBoot already?

Regards,
-- 
Stuart Longland (aka Redhatter, VK4MSL)      .'''.
Gentoo Linux/MIPS Cobalt and Docs Developer  '.'` :
. . . . . . . . . . . . . . . . . . . . . .   .'.'
http://dev.gentoo.org/~redhatter             :.'

I haven't lost my mind...
  ...it's backed up on a tape somewhere.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]