Re: [U-Boot] at91 i2c support

2010-05-26 Thread Heiko Schocher
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
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] at91 i2c support

2010-05-26 Thread Wolfgang Denk
Dear Maxim Podbereznyy,

please keep the mailing list on cc:

In message aanlktikzgywfuvnktdd97pleuin0wn5mrzuvoqdjv...@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: w...@denx.de
Plan to throw one away.  You will anyway.
  - Fred Brooks, The Mythical Man Month
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] at91 i2c support

2010-05-25 Thread Maxim Podbereznyy
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
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] at91 i2c support

2010-05-25 Thread Wolfgang Denk
Dear Maxim Podbereznyy,

In message aanlktimjavm120cfn1hexgudcrofaw2hnxfafiuhd...@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: w...@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
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot