Received: from outbound-mail.lax.untd.com ([64.136.28.164]) by canuck.infradead.org with smtp (Exim 4.43 #1 (Red Hat Linux)) id 1CvjeL-0005Xt-3k for linux-mtd@lists.infradead.org; Mon, 31 Jan 2005 17:04:02 -0500 Received: from outbound29-sr.lax.untd.com (webmail04.lax.untd.com [10.131.27.144]) by smtpout02.lax.untd.com with SMTP id AABA97L4FA2PNVQ2 for (sender ); Mon, 31 Jan 2005 14:03:49 -0800 (PST) Mime-Version: 1.0 From: "Alex" Date: Mon, 31 Jan 2005 22:02:21 GMT To: linux-mtd@lists.infradead.org Content-Type: text/plain Message-Id: <20050131.140249.2957.44910@webmail04.lax.untd.com> Cc: bjorn.wesen@axis.com, dwmw2@infradead.org Subject: Question re initiliazation of MTD NAND flash List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Bjorn and David, I am trying to bring the custom 8xx based board on Linux 2.6.10-rc3 . MPC880 microprocessor 4 Mbytes Normal Flash 8 + 8 Mbytes NAND Flash 32 Mbytes DRAM To what values I should set CONFIG_MTD_PHYSMAP_START= /* I tried 0x05000401 but have problems - see log buffer supplied */ and CONFIG_MTD_PHYSMAP_LEN= /* I tried 0xFFFF8790 but have problems - see log buffer supplied */ in .config file ? The initial boot provides the following Memory map: /*********************************************************************/ /* Chip Select FLASH Normal */ #define BR0_VAL 0x04000801 /* Offset=0x04000000 PS=16 GPCM Valid=1 */ #define OR0_VAL 0xFFC00160 /* OK */ /* Chip Select NAND */ #define BR1_VAL 0x05000401 /* MS=[00] -> GPCM */ #define OR1_VAL 0xFFFF8790 My current Log Buffer shows: ..... <6>HDLC support module revision 1.17. <6>elevator: using anticipatory as default io scheduler. <5>physmap flash device:ffff8790 at 5000401. <4>__iorema p(): phys addr 05000000 is RAM lr c01d93f0. <4>__ioremap(): virt_to_phys(high_memory) addr 02000000. <4>__ioremap(): passed first cond. <4>__ioremap(): passed second cond. <4>allocation failed: out of vmalloc space - use vmalloc= to increase size. <4>__ioremap(): area == 0 return NULL. <4>Failed to ioremap. <7>CLASS: registering class device: ID = 'mice'. <6>mice: PS/2 mouse device common for all mice Thanks, Alex PS Do I need to do anything else - like to load extra modules before that point of booting the kernel ? ___________________________________________________________________ Speed up your surfing with Juno SpeedBand. Now includes pop-up blocker! Only $14.95/month -visit http://www.juno.com/surf to sign up today!