From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xyzzy.farnsworth.org (xyzzy.farnsworth.org [65.39.95.219]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id C38A1DE082 for ; Thu, 10 Jan 2008 03:42:27 +1100 (EST) Received: from dale by xyzzy.farnsworth.org with local (Exim 4.68) (envelope-from ) id 1JCdRj-0007tS-Pi for linuxppc-embedded@ozlabs.org; Wed, 09 Jan 2008 09:06:31 -0700 To: linuxppc-embedded@ozlabs.org In-Reply-To: Cc: Message-Id: From: Dale Farnsworth Date: Wed, 09 Jan 2008 09:06:27 -0700 Subject: Re: Use 2G RAM in 8548, vmalloc fail, adjust_total_lowmem List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > I am using a MCP8548 board with 2.6.14.5 kernel. > And I would like to upgrade memory from 512MB to 2048MB. > Finally, I realize this is not so easy as I think. I encounter several > problems. :~~ > > First, I change mem=512M to mem=2048M. > > 1. vmalloc fail problem > So, I change kernel config in "advanced setup" > Change "Set maximum low memory" from 0x30000000 to 0x80000000. > Change "Virtual address of kernel base" from 0xC0000000 to 0x60000000. > Change "Set custom user task size" from 0x80000000 to 0x60000000 Just enable CONFIG_HIGHMEM=y to use your 2GB. It's not worth the effort to try making it all accessible as lowmem. -Dale