
4 Jul
2006
4 Jul
'06
1:21 p.m.
In message 20060704103121.GC7631@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@denx.de
People have one thing in common: they are all different.