i.MX consolidation patches

Wolfgang Denk wd at denx.de
Wed Jun 1 17:08:55 EDT 2011

Dear Sascha Hauer,

In message <20110601141847.GG23771 at pengutronix.de> you wrote:
> > We probably should disable the uImage target when p2v patching is
> > enabled to prevent people getting nasty surprises.
> > 
> Agreed. Here is a patch. I added Wolfgang Denk to Cc, maybe
> he can prove me wrong.
> 8<----------------------------------------------------------
> ARM: do not allow to build uImages with ARM_PATCH_PHYS_VIRT
> U-Boot uImages expect a load address and a entry point in
> the image header. With CONFIG_ARM_PATCH_PHYS_VIRT these
> become variable and thus can not be compiled into the uImage.

Would it help if we interpret, for example, the values for load
address and entry point not as physical addresses, but instead as
offsets relative to the start of physical RAM?

This would still require that all systems supported by a single image
use the same offsets.  Is this possible?

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 can have my Unix system when you  pry  it  from  my  cold,  dead
fingers."                                                - Cal Keegan

More information about the linux-arm-kernel mailing list