From: Craig H. <cr...@gu...> - 2007-09-25 21:25:33
|
On Sep 24, 2007, at 7:53 PM, Dave Hylands wrote: > Hi David, > >> How do I use the 256K fast internal SRAM on the PXA270? >> >> Is it as simple as mmap'ing the relevant parts of /dev/mem into >> my app's >> address space? > > I think so. It shows up at address 0x5c000000. u-boot is loaded there > on the verdex, but once the kernel is running, u-boot isn't any more, > so it's available for other purposes. > > Tim suggested that it might be used for the LCD frame buffer, which > makes sense if you have an LCD connected, otherwise you should be able > to use it for your own purposes. I've failed to find anything in the PXA lcd code which does in fact try to use the SRAM. It ought to, but it doesn't seem to be written that way. C |