[U-Boot-Users] u-boot and NIOS dk 1s10 board

Stephan Linz linz at mazet.de
Tue Nov 18 16:21:15 CET 2003


Am Dienstag, 18. November 2003 15:13 schrieb Scott McNutt:
> Hi All,
>
> I agree with all of the comments I have seen so far WRT
> Nios configuration issues. My primary motivation is to make
> sure Nios users new to u-boot, can build a __working__ version
> of u-boot by simply:
>
>     $ make DK1C20_config | DK1S10_config | etc.
>     $ make
>
> As long as this holds true, I'm happy :-)

Yes, right.

>
> > Yes, of course. We have to make different configuration
> > files -- one for each board. But, do we really need different
> > board directories with almost the same code in it?
>
> u-boot has a clever mechanism we can use to avoid code
> duplication by using the VENDOR make variable. A good
> example is in board/siemens: the SCM and CCM boards
> both share common code.

Sounds interesting. I will spend some time on it next weekend.

>
> Since this mechanism is supported ... and it is being used by
> other board families, we can do the same. It's a bit more
> work ... but I believe it will satisfy everyone :-)
>
> > Ex.: My current Stratix patch is based on the Cyclone board,
> > because both boards are equal in context of u-boot basics need.
> > Only the second serial i/f  differs (not needed til now). So there
> > will be more identicalness than differences for both boards.
>
> Understood. We can create board/altera_nios (or some other
> meaningful name) and take advantage of the VENDOR variable
> to accommodate common code. Stephen & Patrice, please let
> me know your thoughts.

Hmm, sounds good to me. More comments next week. I have to look up the VENDOR 
make mechanism and play with it. I don't know more about it.


br,
Stephan




More information about the U-Boot mailing list