Re: thoughts and questions on 8xx patches

2 messages, 2 authors, 2004-09-21 · open the first message on its own page

Re: thoughts and questions on 8xx patches

From: Wolfgang Denk <hidden>
Date: 2004-09-21 11:49:59

In message [off-list ref] you wrote:
quoted
In message [off-list ref] you wrote:
quoted
   rather than get into more detailed discussion on microcode patches,
here's a (partial) patch that represents what i'd really, really,
     ^^^^^^^^^^^^^^^^^^^^^^^^
...
what i was showing was just an example, it didn't need to represent 
*exactly* the set of choices that would be in the final menu.  if the 
Ummm. To me "partial patch" means that this is an excerpt of  exactly
the  patch you want to see applied. Please write "example" if this is
what you mean.
above is the case, that's fine.  but there's still then, at the very 
least, the list of possible patches that are in *your* 2.4 kernel 
source tree.  i wasn't submitting a final list of patches, just a 
Please forget our tree for this discussionhere, it is  not  relevant.
Also,  I  wrote  you before that the uCode stuff was only tested in a
small number of specific configurations, and that it is KNOWN  TO  BE
BROKEN for many configurations, including most newer 8xx processors.
suggested *format* for selection, that's all.  don't get ahead of me 
here.
It looked like a ready-to-sumbit patch, and you announced it as such.
quoted
quoted
   it adds a simple choice entry to the MPC8xx menu, from which you can
select the appropriate patch -- it's as easy as that.
No, it is not that easy.
yes, it is.
OK. I give up here. I've explained  the  complexity  (like  processor
variants,  like  incompatible  changes of the relocation base address
pointer between versions, etc.) several times  before.  You  seem  to
know better...
quoted
Indeed. And AFAICT there is no way to get the processor version  from
any  other CONFIG option that the board name, so this would become an
awfully long list.
in what way?  the denx 2.4 kernel source tree defines all of 5 
patches.  i don't see that as an overly long list, and given that the 
default selection would be "None", people who don't even know what a 
patch is would never have to make that decision.
It was _you_ who asked for a "simple" configuration  where  you  just
enable  a uCode patch, and where the kernel config tool does not even
offer selections that don;t apply to a specific board. It  was  _you_
who  posted  a  "(partial) patch" which did not mention that you will
violate your own requirements.
at the moment, your denx tree supports a number of patches that 
require users to edit source files and manually define constants. in 
what way is this a better idea than picking from a drop down choice 
list?
It is not better. Nobody ever claimed that. See above.
(and i never suggested that the config process automatically detect 
the 850 or non-850-ness of the processor.  that would be a manual 
Yes, you did. Quote Robert P. J. Day (22 Jul 2004 08:00:01 -0400):

	...
	   perhaps overly ambitious, but it would be *really* cool if the
	patches presented to the developer were tied to the underlying
	processor.  that is, once you've selected, say, RPXlite, the only
	patches displayed in the menu should be those relevant to the rpxlite.
	...
me: "um ... ok, what about a patch like this?"
reply: "no."
Just look at this discussion today: you post a "(partial) patch", and
when I point out problems with it you say, "umm, that's not the  real
patch,  it's  just  an example, but it needs to be fixed and extended
and actually you goot make it working first." I claim that it's  more
complex  than  this,  you deny this, and then add that of course more
manual selections need to be added.

I have to admit that I don't understand what _exactly_ you suggest.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
It is easier to write an incorrect program than understand a  correct
one.

Re: thoughts and questions on 8xx patches

From: Robert P. J. Day <hidden>
Date: 2004-09-21 12:29:30

On Tue, 21 Sep 2004, Wolfgang Denk wrote:
In message [off-list ref] you wrote:
quoted
quoted
In message [off-list ref] you wrote:
quoted
   rather than get into more detailed discussion on microcode patches,
here's a (partial) patch that represents what i'd really, really,
    ^^^^^^^^^^^^^^^^^^^^^^^^
...
quoted
what i was showing was just an example, it didn't need to represent
*exactly* the set of choices that would be in the final menu.  if the
Ummm. To me "partial patch" means that this is an excerpt of  exactly
the  patch you want to see applied. Please write "example" if this is
what you mean.
ok, sorry, what i meant was that it was a patch that would simply demonstrate what the config menu would look like.  anyone who was interested could apply it, see how the config menu changed, then just un-apply the patch after they got the idea.  it wasn't submitted as an official patch, so i apologize for the confusion.

so, regarding terminology, i should have called that an "example patch"?  gotcha.  profuse apologies here.
It looked like a ready-to-sumbit patch, and you announced it as such.
yup, my mistake.  i'll be more careful about my choice of words in the future.
I have to admit that I don't understand what _exactly_ you suggest.
from list discussions some time back, i already gave up on the idea of the configuration being able to detect the exact processor and taking that into account.  we've already established that, and i'm happy with that.

all i'm suggesting now is a drop down choice menu of known patches relevant to that architecture, that's all.  in some cases, there would be two choices, as in:

	[ ] I2C/SPI for 850
 	[ ] I2C/SPI for 8xx (non-850)

with underlying help menus to clarify the situation.  AFAICT, this would just mirror the available choices in the denx 2.4 kernel tree. i can't imagine that this list would get overly long.  from what i can see, the denx tree supports the following list of patches:

	USB SOF
	I2C/SPI for 850
	I2C/SPI for 8xx (non-850)
	I2C/SPI/SMC1 for 850
	I2C/SPI/SMC1 for 8xx (non-850)

and, unless i'm reading this badly, that's the entire list.  all of five available patches.  i don't think that's overly long, and it would be fairly simple to implement.

so ... why is this such an objectionable thing?

rday
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help