From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Fri, 04 Jan 2013 21:29:34 +0100 Subject: [U-Boot] [RFC]: always relocate u-boot before the framebuffer In-Reply-To: <20130103202832.A80862007A4@gemini.denx.de> References: <20121229203157.0f50ba5e@black> <20121231153353.2d9a5dda@amdc308.digital.local> <20121231145425.DB5CF20051B@gemini.denx.de> <20130102154854.GC14738@bill-the-cat> <20130102201725.DC80A20035D@gemini.denx.de> <50E55D24.8000809@myspectrum.nl> <20130103104134.A2193200781@gemini.denx.de> <50E5C9A2.7090904@myspectrum.nl> <20130103202832.A80862007A4@gemini.denx.de> Message-ID: <50E73BAE.3000105@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, On 01/03/2013 09:28 PM, Wolfgang Denk wrote: >> The frame buffer is then at the same physical address and I regain >> 15MB of memory. So solved as far as I am concerned till proven that >> it really hurts performance. > I can't grok this, though. I could understand if you say you saved > up to 2 MB by lifting the 2 MB alignment requirement - but 15 MB? > Please elucidate where this number is coming from. > I had the frame buffer at 16mb before the end of the ram to allow u-boot, heap etc to relocated itself into the end of the frame buffer / ram. Without the CONFIG_FB_ADDR, the frame buffer it is located at 1mb before the end and u-boot relocates itself before it. So now linux has 15mb more since the framebuffer is at the 1mb before the end of ram and not 16mb as it used to be. Regards, Jeroen