From: Peter Asemann <peter.asemann@web.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] i2c compiling and/or linking problem - solved (for the archive)
Date: Fri, 11 Feb 2005 15:51:02 +0100 [thread overview]
Message-ID: <420CC656.7000309@web.de> (raw)
In-Reply-To: <20050210192313.8CB45C108D@atlas.denx.de>
> This is a bad strategy. NEVER do something which you don't under-
> stand. At least TRY to understand things before blindly following
> others.
I should not start an argument here, but: Sometimes understanding
follows seeing the solution.
>>I thought that CFG_HARD_I2C would do everything on its own - and there's
>
> Remember, this is software. Never will "everything" happen "on its
> own". You will always have to program each and every action yourself.
But ... another assumption of mine ... normally hardware support makes
things easier than if there is no hardware support, for noone implements
hardware support for something that can be done in software quite
simple... or not?
>>less to configure in the /include/configs/board.h file.
>>Why is the HARD I2c so much more difficult?
>
> Just look at the code.
Okay, the HARD code is twice as long and looks more complicated, but
this could - theoretically - also be the fault of the coder, not the
hardware.
> No, that's an 8xx, and should work. However, I still recommend to use
> soft-i2c instead.
Got it compiling with HARD support. Misspelled CONFIG_HARD_I2C (wrote
CFG_HARD_I2C) and didn't see it until grep'ing all other HARD-using
board sources.
>>>needed. Again, I recommend to use soft-i2c instead. There is zero
>>>advantages with hard-i2c, just a lot of trouble.
I'll also prepare SOFT support - the prototype of the board still is
being faciliated, so I can't test anything in real life anyway.
>>You're the expert, I'm convinced ;-)
>
> Again, this is not a good strategy. Of course I feel flattered if you
> call me an expert, but I'd prefer if you make your decisions based on
> understanding, not on hearsay.
At least believing in and following experts is a good excuse in case you
fail (Noone ever got fired for buying IBM - or trusting experts).
It also saves time - if it works - which it does most time.
Best regards,
Peter Asemann
next prev parent reply other threads:[~2005-02-11 14:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-10 16:42 [U-Boot-Users] i2c compiling and/or linking problem Peter Asemann
2005-02-10 17:05 ` Wolfgang Denk
2005-02-10 17:21 ` Peter Asemann
2005-02-10 19:23 ` Wolfgang Denk
2005-02-11 14:51 ` Peter Asemann [this message]
2005-02-11 15:10 ` [U-Boot-Users] i2c compiling and/or linking problem - solved (for the archive) Jerry Van Baren
2005-02-11 17:33 ` Wolfgang Denk
2005-02-13 8:22 ` Gleb Natapov
2005-02-11 17:28 ` 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=420CC656.7000309@web.de \
--to=peter.asemann@web.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.