[U-Boot] [PATCH] ppc44x: Unification of virtex5 pp440 boards v3

Wolfgang Denk wd at denx.de
Sat Aug 30 01:10:11 CEST 2008


Dear "Ricardo Ribalda Delgado",

In message <aa76a2be0808291544l54b95bd1k4c3c450dcbe50510 at mail.gmail.com> you wrote:
> 
>     All the boards I am using use the same link script, shall I copy
> it to its specific directory? Do you really want this? It is not
> better to do it like the MODE B (cp common_script to board dir)?

If they use the same linker script you can handle this for example
like it's being handled for many other systems which use a common
linker script in the CPU directory:

	-> find cpu -name '*.lds'
	cpu/arm926ejs/at91/u-boot.lds
	cpu/mpc5xx/u-boot.lds
	cpu/mpc5xxx/u-boot-customlayout.lds
	cpu/mpc5xxx/u-boot.lds
	cpu/mpc8220/u-boot.lds
	cpu/mpc824x/u-boot.lds
	cpu/mpc8260/u-boot.lds
	cpu/mpc83xx/u-boot.lds

>     I want to create two different targets: ml507 and ml507_flash.
> Could you write an example of how to do this without writing the
> TEXT_BASE in the Makefile? I did it in this way because I didn't found
> any other method in the main Makefile

What exactly is the difference between these two targets?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You Don't Have To Be 'Damned' To Work Here, But It Helps!!!
                                             - Terry Pratchett, _Eric_


More information about the U-Boot mailing list