[U-Boot] [PATCH 2/3] video: add support for display controller in MB86R0x SoCs

Wolfgang Denk wd at denx.de
Wed Apr 28 08:44:21 CEST 2010


Dear Matthias,

in message <4BD7D5DD.6080701 at arcor.de> you wrote:
>
> >> +	pGD->memSize = VIDEO_MEM_SIZE;
> >> +	pGD->frameAdrs = PHYS_SDRAM + PHYS_SDRAM_SIZE - VIDEO_MEM_SIZE;
> >
> > Please pay attention to the global memory map requirements. PRAM might
> > go first.
> 
> Can you please explain this a bit more in detail? I checked the source 
> and README for CONFIG_PRAM and it seems to be reserving some space at 
> the end of RAM. But I have only found reference to it in ppc and m68k code.

Right. But there is a chance that the ARM implementation might be
reworked soon, and then it will follow the documented approach as
well, so better start correctly from the beginning so you don;t run
into conflicts soon.

> What would be the correct way to reserve some 2MB-4MB at the end of 
> system RAM as a framebuffer for the integrated graphics device?

See the PPC implementation for reference.

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
Shakespeare's Law of Prototyping: (Hamlet III, iv, 156-160)
        O, throw away the worser part of it,
        And live the purer with the other half.


More information about the U-Boot mailing list