From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <425AAEF2.3040903@netwinder.org> Date: Mon, 11 Apr 2005 13:08:02 -0400 From: Ralph Siemsen MIME-Version: 1.0 To: "Robert P. J. Day" References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: MTD mailing list Subject: Re: how little do i have to do to define flash layout on my system? List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Robert P. J. Day wrote: > i did a bit more reading last night and concluded that the PHYSMAP > stuff would let me define a single flash chip but no more. so if i > want multiple chips, it *appears* that i have to write a maps file. If the chips are of the same type, physmap.c will do what you want - just give it the total size of flash space. Eg. if you have two 32M chips then give the size as 64M. The MTD code is will probe and discover the two chips automatically. Be sure you specify the interleave correctly too. If the chips are of different types, then the more recent mphysmap.c is probably what you need. (I haven't tried this one). -R