Thread (40 messages) 40 messages, 8 authors, 2010-05-31

[RFC] Initial attempt to make ARM use LMB

From: Shilimkar, Santosh <hidden>
Date: 2010-05-14 07:24:03
Also in: linux-omap

-----Original Message-----
From: linux-omap-owner at vger.kernel.org [mailto:linux-omap-owner at vger.kernel.org] On Behalf Of Russell
King - ARM Linux
Sent: Friday, May 14, 2010 3:42 AM
To: Tony Lindgren
Cc: linux-arm-kernel at lists.infradead.org; linux-omap at vger.kernel.org; Tomi Valkeinen
Subject: Re: [RFC] Initial attempt to make ARM use LMB

On Thu, May 13, 2010 at 03:01:39PM -0700, Tony Lindgren wrote:
quoted
* Russell King - ARM Linux [off-list ref] [100513 14:53]:
quoted
On Thu, May 13, 2010 at 02:19:51PM -0700, Tony Lindgren wrote:
quoted
* Russell King - ARM Linux [off-list ref] [100513 10:35]:
quoted
And here's a patch which converts the OMAP FB code to use lmb_reserve
instead of poking about with bootmem stuff.  Untested, so I'd like to
hear back whether it works.
Did a quick test with the following patches picked from your lmb
branch on top of omap for-next branch:

ARM: Remove useless linux/bootmem.h includes
ARM: Ensure meminfo is sorted prior to sanity_check_meminfo
ARM: initial LMB trial
ARM: Move platform LMB memory reservations out of generic code

and then this patch.

It does not boot.. It seems to be related to the patch
"ARM: initial LMB trial". If I only apply the first two patches
above the system boots.
Hmm, I'm sure it worked for me when I tested it out.  Could you try
booting with lmb=debug please?
No other output with that it seems.
Hang on, you didn't pick up ARM: Move memory mapping into mmu.c ?
I just gave a try on OMAP3430 and it does boot for me. But fb doesn't
seems to be working. I have tried this on Tony's "omap-testing" 
branch where the LMB support is pulled in

*********************************************************
omapfb omapfb: failed to allocate framebuffer
omapfb omapfb: failed to allocate fbmem
omapfb omapfb: failed to setup omapfb
omapfb: probe of omapfb failed with error -12
twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:
***********************************************************
Regards,
Santosh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help