[U-Boot-Users] fb support for au1x000

Wolfgang Denk wd at denx.de
Tue Jul 4 13:21:40 CEST 2006


In message <20060704103121.GC7631 at gundam.enneenne.com> you wrote:
> 
> I'm trying to add support for frame buffer to my au1100 based board
> but I'm a bit confused where I can allocate the frame buffer memory.

General rule: it's goot to allocate it at the upper end of memory, as
we can then pass it unchanged to Linux. See how this is done in other
architectures.

> Looking at "lib_mips/board.c" I see:
...
>         /* We can reserve some RAM "on top" here.
>          */

This is the right place.

>         /* round down to next 4 kB limit.
>          */
...
> Is that sane?

Maybe sane, but IMHO not optimal.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
People have one thing in common: they are all different.




More information about the U-Boot mailing list