[U-Boot] [PATCH v2] arm: auto gen asm-offsets.h for mb86r0x

Wolfgang Denk wd at denx.de
Mon Aug 1 22:37:02 CEST 2011


Dear Matthias Weisser,

In message <4E36ED80.4050701 at arcor.de> you wrote:
> 
> Would you please consider this patch for inclusion. Currently jadecpu is
> broken since [f456445f29d22bb31ad29fdf1d6b2769decd37a2]. It is not clear
> to me why the referenced patch breaks jadecpu (must be some make
> dependency stuff) but it slipped through my testing as I had applied the
> above patch in an earlier version when submitting the patch which breaks it.
> 
> This patch fixes jadecpu and also gets rid of the hand written
> asm-offsets.h.
> 
> I can't test it (no powerpc toolchain at hand) but the above mentioned
> commit may also break mpc512x based boards. If that is the case
> ./arch/powerpc/cpu/mpc512x/asm-offsets.h should also be autogenerated.
> If this is done we will not have any non-autogenerated asm-offsets.h in
> u-boot anymore.

Which sort of errors should I look for?  Buil errors?  Or run-time
errors?

All MPC512x based boards build fine:

+ ./MAKEALL 512x
Configuring for pdm360ng board...
   text    data     bss     dec     hex filename
 285842   32608   29776  348226   55042 /work/wd/tmp-ppc/u-boot
Configuring for aria board...
   text    data     bss     dec     hex filename
 253515   19760   29464  302739   49e93 /work/wd/tmp-ppc/u-boot
Configuring for mecp5123 board...
   text    data     bss     dec     hex filename
 249391   20244  221024  490659   77ca3 /work/wd/tmp-ppc/u-boot
Configuring for mpc5121ads board...
   text    data     bss     dec     hex filename
 322971   22940  270552  616463   9680f /work/wd/tmp-ppc/u-boot
Configuring for mpc5121ads_rev2 - Board: mpc5121ads, Options: MPC5121ADS_REV2
   text    data     bss     dec     hex filename
 309335   22428  270328  602091   92feb /work/wd/tmp-ppc/u-boot

--------------------- SUMMARY ----------------------------
Boards compiled: 5
----------------------------------------------------------


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
COMPONENT EQUIVALENCY NOTICE:  The  Subatomic  Particles  (Electrons,
Protons,  etc.) Comprising This Product Are Exactly the Same in Every
Measurable Respect as Those Used in the Products of Other  Manufactu-
rers,  and  No Claim to the Contrary May Legitimately Be Expressed or
Implied.


More information about the U-Boot mailing list