[U-Boot-Users] soft_i2c and ds1307 with tqm823l
Wolfgang Denk
wd at denx.de
Mon Jun 30 15:35:25 CEST 2003
In message <3F0037AA.7060205 at peak.uklinux.net> you wrote:
>
> >This is not correct. You compiled and installed PPCBoot in our
> >training a year and a couple of days ago :-)
> >
> >
> That's true. Ok, not for a while though...
:-)
> >Please feel free to submit a patch...
> >
> Yes, I'll do that when I'm sure I think there needs to be one and what
> it should be :)
There shouldbe one. You asked these questions after all - prrof that
such an explanation is needed.
> Ok, well I've successfully compiled with CONFIG_HARD_I2C and have
> communicated with my clock, so that is good. Next up is transferring the
> date in u-boot to linux, but I'm sure that will be documented somewhere.
You don't "transfer" the daye. Linux will pick it up itself (which
requires an RTC driver and eventually some modifications).
> As for CONFIG_SOFT_I2C; Attached (really this time) is a diff between
> the original u-boot-0.4.0/include/configs/TQM823L.h and the one that I
> have altered. The compile of soft_i2c.c fails with the following error
> messages:
That's because you did not define the required macros (see for
example the configuration in lwmon.h).
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
Life is a game. Money is how we keep score. - Ted Turner
More information about the U-Boot
mailing list