* [U-Boot] at91 i2c support
@ 2010-05-25 18:13 Maxim Podbereznyy
2010-05-25 19:17 ` Wolfgang Denk
2010-05-26 6:59 ` Heiko Schocher
0 siblings, 2 replies; 4+ messages in thread
From: Maxim Podbereznyy @ 2010-05-25 18:13 UTC (permalink / raw)
To: u-boot
Hi folks!
I can't find a support for i2c functionality in u-boot 1.3.4. I've found a
discussion of such patches from Jean-Christophein in March 2009 and still no
code in u-boot.
Where can I find experimental or any i2c patches for u-boot?
regards,
Max
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] at91 i2c support
2010-05-25 18:13 [U-Boot] at91 i2c support Maxim Podbereznyy
@ 2010-05-25 19:17 ` Wolfgang Denk
[not found] ` <AANLkTikzGywfuVNktDD97PLeuiN0WN5mRZUVoqdjVwTH@mail.gmail.com>
2010-05-26 6:59 ` Heiko Schocher
1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2010-05-25 19:17 UTC (permalink / raw)
To: u-boot
Dear Maxim Podbereznyy,
In message <AANLkTimJAvm120CFn1HEXgUDCRofAW2hNxfafIuHdWu1@mail.gmail.com> you wrote:
>
> I can't find a support for i2c functionality in u-boot 1.3.4. I've found a
> discussion of such patches from Jean-Christophein in March 2009 and still no
> code in u-boot.
I2C support is way older that U-Boot v1.3.4, it's even older than
U-Boot itself - it was already present when it was still called
PPCBoot.
> Where can I find experimental or any i2c patches for u-boot?
I wonder what you have been looking at, it's right there in the source
tree.
Also I wonder why you are using v1.3.4 (which is 2 years old) as a
reference, instead of any more recent version?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The more data I punch in this card, the lighter it becomes, and the
lower the mailing cost."
- Stan Kelly-Bootle, "The Devil's DP Dictionary"
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] at91 i2c support
2010-05-25 18:13 [U-Boot] at91 i2c support Maxim Podbereznyy
2010-05-25 19:17 ` Wolfgang Denk
@ 2010-05-26 6:59 ` Heiko Schocher
1 sibling, 0 replies; 4+ messages in thread
From: Heiko Schocher @ 2010-05-26 6:59 UTC (permalink / raw)
To: u-boot
Hello Maxim,
Maxim Podbereznyy wrote:
> I can't find a support for i2c functionality in u-boot 1.3.4. I've found a
please use actual code, 1.3.4 is very old ...
> discussion of such patches from Jean-Christophein in March 2009 and still no
> code in u-boot.
You mean?:
http://lists.denx.de/pipermail/u-boot/2009-March/049751.html
This never made the way in mainline, because I made some comments, see
here:
http://lists.denx.de/pipermail/u-boot/2009-March/049840.html
and after some discussion I never heard anything from this patch :-(
So, if you are interested in this patch, please feel free to
update it to current mainline (test it ;-), and post it again
for discussion!
> Where can I find experimental or any i2c patches for u-boot?
for example here:
Experimental (new multibus approach for u-boot)
http://git.denx.de/?p=u-boot/u-boot-i2c.git;a=shortlog;h=refs/heads/multibus_v2
pending i2c patches are collected here (actual none):
http://git.denx.de/u-boot-i2c.git
bye
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] at91 i2c support
[not found] ` <AANLkTikzGywfuVNktDD97PLeuiN0WN5mRZUVoqdjVwTH@mail.gmail.com>
@ 2010-05-26 9:21 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2010-05-26 9:21 UTC (permalink / raw)
To: u-boot
Dear Maxim Podbereznyy,
please keep the mailing list on cc:
In message <AANLkTikzGywfuVNktDD97PLeuiN0WN5mRZUVoqdjVwTH@mail.gmail.com> you wrote:
>
> I'm sorry I did not mention about I need *AT91* i2c support in u-boot. I
> know that a general i2c is supported in u-boot since the ages.
It seems there are a number of AT91 based boards in mainline that use
I2C:
-> g -l AT91 include/configs/* | xargs egrep -l I2C
include/configs/at91rm9200ek.h
include/configs/cmc_pu2.h
include/configs/cpuat91.h
include/configs/eb_cpux9k2.h
include/configs/kb9202.h
include/configs/m501sk.h
include/configs/mp2usb.h
include/configs/otc570.h
What exactly is the problem?
> I use references from linux4sam.org to build u-boot and v1.3.4 is used
> there. Actually I tried to find more recent version of u-boot for AT91 but
I have no idea what linux4sam.org is and in which way they might be
an authority of which U-Boot versions are considered to be current.
All I can tell you is that U-Boot 1.3.4 is 21 months old, which is a
long, long time.
> with no luck because u-boot/u-boot-at91.git refers to exactly 1.3.4.
This is wrong. The top of tree of u-boot/u-boot-at91.git is at commit
-> git describe remotes/u-boot-at91.git/master
v2009.06-rc1-5-gf8ddcd5
This is 2065 commits after v1.3.4 and means that a total of 299799
lines have been added since, 141729 lines removed, and 158070 lines
changed.
If you http://git.denx.de/?p=u-boot.git;a=forks you can also see that
the u-boot-at91.git repository is listed as "orphaned", which means
it is probably not the best base when looking for current code.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Plan to throw one away. You will anyway."
- Fred Brooks, "The Mythical Man Month"
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-26 9:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-25 18:13 [U-Boot] at91 i2c support Maxim Podbereznyy
2010-05-25 19:17 ` Wolfgang Denk
[not found] ` <AANLkTikzGywfuVNktDD97PLeuiN0WN5mRZUVoqdjVwTH@mail.gmail.com>
2010-05-26 9:21 ` Wolfgang Denk
2010-05-26 6:59 ` Heiko Schocher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox