All of lore.kernel.org
 help / color / mirror / Atom feed
From: hermann pitton <hermann-pitton@arcor.de>
To: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Ben Hutchings <ben@decadent.org.uk>,
	Devin Heitmueller <dheitmueller@kernellabs.com>,
	Andy Walls <awalls@radix.net>,
	linux-media@vger.kernel.org
Subject: Re: [PATCH 10/75] V4L/DVB: declare MODULE_FIRMWARE for modules using  XC2028 and XC3028L tuners
Date: Mon, 09 Nov 2009 03:02:49 +0100	[thread overview]
Message-ID: <1257732169.3300.38.camel@pc07.localdom.local> (raw)
In-Reply-To: <20091108224313.705ec3cc@pedra.chehab.org>


Am Sonntag, den 08.11.2009, 22:43 -0200 schrieb Mauro Carvalho Chehab:
> Em Mon, 09 Nov 2009 00:32:29 +0100
> hermann pitton <hermann-pitton@arcor.de> escreveu:
> 
> > > I agree. An interesting case happens with devices that uses tda10046 DVB demods.
> > > They have the firmware stored internally on their eeprom. Those firmwares can be
> > > replaced by a different version loaded in ram, but, in general, they work
> > > properly with the eeprom one. So, even having the firmware load code there,
> > > the firmware at /lib/firmware is optional.
> > 
> > Mauro, that could lead to some misunderstanding of the current use
> > conditions, at least on saa7134.
> > 
> > Minor annotations, the tda10046 does not store firmware internally, but
> > there are cards which have an extra eeprom to store such firmware.
> > 
> > If such a firmware eeprom is found and correctly configured, the driver
> > in all cases will load the firmware from that eeprom and all other
> > firmware in /lib/firmware is ignored.
> > 
> > If not, the firmware will be loaded from /lib/firmware.
> > 
> > For all what I know, firmware revisions 26 and 29 are both valid
> > "enough", correspondents to what we can load either from TechnoTrend or
> > LifeView with the getfirmware script, and might be either stored in an
> > extra eeprom or loaded from host/file.
> > 
> > Prior revisions had issues with missing freqs, in what combination ever.
> > 
> > We also can't totally exclude, given the whole mass of such, that in
> > some cases firmware eeproms might exist on some boards, but are not
> > correctly configured and load from host only because of that.
> > 
> > The tendency seen overall is that competitors save the few cents for an
> > extra firmware eeprom these days ...
> 
> Yes, I know. I have myself a Cardbus device with such eeprom (I think it has
> revision 29 stored at the eeprom).
> 
> The point is that it is not mandatory for such devices to have a firmware
> at the filesystem for the device to work. So, a static indication that
> devices with tda10046 need firmware is wrong, since some devices don't need
> it.

There are of course lots of devices needing the firmware mandatory at
the file system. I try to tell that it is not a mistake, in case the
device has no firmware on an extra eeprom, to store latest revision
in /lib/firmware. Or tell me better ...

But also, OEMs a little bit more motivated on new hardware will not
count the costs of an extra firmware eeprom, if being first in having
substantial amounts of chips and get a good deal for such. But that was
the past.

> Cheers,
> Mauro

Else I do totally agree.

I do just point to some ambiguous conditions we should stay aware of.

It is very unlikely that we can "talk" them away.

Do we have all firmware loaded from eeproms possibly existing on cards
is only one minor question.

Maybe we miss some.

Should we not even better avoid such, since still no official update for
firmware eeprom flashing?

To restore the bridge eeprom we seem to be not such bad now, but also
the reasons for a possible corruption are far from clearly identified in
case we should be involved in it.

Despite of legal issues, we should have the latest revision of the
tda10046 firmware at the host. As said, those having it at an extra
eeprom will load it anyway from there.

Cheers,
Hermann
 


  reply	other threads:[~2009-11-09  2:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-07 21:47 [PATCH 10/75] V4L/DVB: declare MODULE_FIRMWARE for modules using XC2028 and XC3028L tuners Ben Hutchings
2009-11-08  1:37 ` Andy Walls
2009-11-08  1:44   ` Devin Heitmueller
2009-11-08  2:02     ` Andy Walls
2009-11-08  2:03     ` Ben Hutchings
2009-11-08  3:20       ` Mauro Carvalho Chehab
2009-11-08 23:32         ` hermann pitton
2009-11-09  0:43           ` Mauro Carvalho Chehab
2009-11-09  2:02             ` hermann pitton [this message]
2009-11-09 11:37               ` Mauro Carvalho Chehab
2009-11-09 23:53                 ` hermann pitton
2009-11-10  0:19                   ` hermann pitton

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=1257732169.3300.38.camel@pc07.localdom.local \
    --to=hermann-pitton@arcor.de \
    --cc=awalls@radix.net \
    --cc=ben@decadent.org.uk \
    --cc=dheitmueller@kernellabs.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    /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.