[U-Boot-Users] How can I reserve memory for LCD framebuffer on ARM-based board?

Wolfgang Denk wd at denx.de
Sat May 6 14:10:56 CEST 2006


In message <loom.20060506T115123-50 at post.gmane.org> you wrote:
>
> I'm working on support for LCD framebuffer on S3C24[14]0 ARM-based SoCs in  
> u-boot. I faced the problem that existing code in lib_arm/board.c uses memory  
> just behind .bss for framebuffer and don't even tries to ensure that there are  
> enough memory (yes, my hardware uses system memory for framebuffer).  

Why do you think that reserving memory above the  BSS  segmet  was  a
problem?

And "don't even tries to ensure that there are enough memory" - well,
it is obviously the responsibility of the person porting U-Boot to  a
specific board to come up with a valid memory map.

What exactly is your problem?

> What can I do to reserve enough memory? Should I somehow relocate .bss (and 
> code)? or should I reserve memory under u-boot code? (that is what lcd_setmem() 
> expects as far as I can understand) 

Oops? I don't understand. The existing code works fine on a couple of
boards. What's your specific problem? What exactly  makes  you  think
you cannot to the same?

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
If a train station is a place where a train stops,
                                           then what's a workstation?




More information about the U-Boot mailing list