From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mo4.mail-out.ovh.net ([178.32.228.4]) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QnvVz-0006EY-Dk for barebox@lists.infradead.org; Mon, 01 Aug 2011 16:38:52 +0000 Received: from mail182.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo4.mail-out.ovh.net (Postfix) with SMTP id F20B0FFA169 for ; Mon, 1 Aug 2011 18:31:19 +0200 (CEST) Date: Mon, 1 Aug 2011 18:12:29 +0200 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20110801161229.GL6255@game.jcrosoft.org> References: <20110801132643.GH6255@game.jcrosoft.org> <20110801155459.GL31404@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20110801155459.GL31404@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: rework MMU support To: Sascha Hauer Cc: barebox@lists.infradead.org On 17:54 Mon 01 Aug , Sascha Hauer wrote: > On Mon, Aug 01, 2011 at 03:26:43PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > > Hi, > > > > This series reworks the barebox MMU support. We now use second > > level page tables which allows us to remap the dma coherent area > > dynamically. We don't have to map our sdram twice anymore which > > helps us on newer systems with big memory. > > > > As a bonus there is no board specific MMU code anymore. All a board > > has to do to enable MMU support via Kconfig is to register its SDRAM banks > > at mem_initcall > > > > The following changes since commit b821d73607cc6387b1ee588af97a44e8eb2b4fe2: > > > > Merge branch 'resource' of git://uboot.jcrosoft.org/barebox into next (2011-08-01 14:10:38 +0200) > > > > are available in the git repository at: > > > > git://uboot.jcrosoft.org/barebox.git mmu > > > > Jean-Christophe PLAGNIOL-VILLARD (2): > > arm: introduce arm_add_mem_device to register dram device > > init: introduce mem, mmu and postmmu initcall > > > > Sascha Hauer (7): > > ARM cache l2x0: depend on MMU > > ARM: move armlinux_add_dram to location which is always compiled > > ARM l2x0: make init function static inline if l2 is not available > > ARM: pass size to dma_free_coherent > > ARM boards: move sdram setup before mmu setup > > ARM: rework MMU support > > ARM boards: remove now unnecessary mmu calls > > merged up to 7/9. The MMU rework needs some changes to v1 which I > haven't posted yet. It does not work correctly on armv7 as these > processors need slightly different second level page table entries. > > Also, I added the appropriate KEEP directives to > include/asm-generic/barebox.lds.h to make this branch work. Would be > good if you could give your patches at least *some* testing. I've no armv7 availlable work fine I test it on at91 and s3c and versatile work fine but no mmu yet and I compiled all ARM Best Regards, J. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox