[U-Boot] [PATCH] Add bootstrap command

Stefan Roese sr at denx.de
Thu Jul 16 20:25:37 CEST 2009


On Thursday 16 July 2009 17:00:00 Matthias Fuchs wrote:
> > > > Any other good ideas
> > > > about this naming welcome. :)
> > >
> > > We called this command "sbe" on our PMC440 (440EPx) and upcoming
> > > PMC405DE (405EP) board. I must admit that I forget its meaning.
> > > Probably something like 'setup bootstrap eeprom'.
> >
> > If you already forgot what it's supposed to mean, then it definitely is
> > not a good name. Better a bit longer and more descriptive.
>
> I like 'sbe' - it short and I even gave it a meaning :-)

But unfortunately not specific enough for a "common" command.

> > > But it works
> > > a little mit different that the bootstrap command.
> >
> > It would be great if you could merge/consolidate such 4xx custom commands
> > into this common one.
>
> I was a little inspired by the sequoia code that also comes with a
> bootstrap command. So please don't ask me to merge it into common code. But
> your finger on your own nose.

OK. But if your "sbe" command is "better" than the current bootstrap one, then 
let's see if it makes sense to use your command as the common one.

> > Does you command support more features? What's the main
> > difference?
>
> Much simpler. Just call sbe with a descriptive argument like a CPU
> frequency or something like '667-66' on a 440EPx target with 66Mhz PCI
> clock or 'sr-test-only' for something you will remove later :-). This has
> two advantages over just using
> numbers: You can remove configurations without making the following configs
> in the table moving to the front and its a little more secure meaning you
> have to type a couple of valid character to  reconfigure the clocking. Just
> using "bootstrap 5" is error-prone.

Ack.

> Well, I like my syntax and behavior, but I do not want to totally dismiss
> Dirk's idea as long as I can keep my sbe command :-)

Seems that "your" command is not so bad. ;) I'll take a look at it tomorrow. 
Perhaps we can use some of your ideas in such a new common (PPC4xx) 
implementation. :)

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list