Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IwgJH-0002dJ-It for qemu-devel@nongnu.org; Mon, 26 Nov 2007 10:55:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IwgJG-0002d7-SN for qemu-devel@nongnu.org; Mon, 26 Nov 2007 10:55:47 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwgJG-0002d4-OW for qemu-devel@nongnu.org; Mon, 26 Nov 2007 10:55:46 -0500 Received: from gateway-1237.mvista.com ([63.81.120.158]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IwgJG-00024p-AB for qemu-devel@nongnu.org; Mon, 26 Nov 2007 10:55:46 -0500 Received: from pahoa.hi.kama-aina.net (unknown [10.235.20.2]) by hermes.mvista.com (Postfix) with ESMTP id 68D5D1F0E3 for ; Mon, 26 Nov 2007 07:55:44 -0800 (PST) Message-ID: <474AEC80.2090906@kama-aina.net> Date: Mon, 26 Nov 2007 05:55:44 -1000 From: Armin MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] pflash usage question Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello all, I have two questions regarding how to use pflash. 1) I have two 64MiB flash devices, so do I use one "-pflash" on the command line that has an image that is the total size of both flashes or use two "-pflash" on the command line. 2) The parameters for the pflash register are a bit confusing. The block size for my device is 64 but that does not work, I currently have tested it with 128. Also, the sector value, I could not find that reference in the datasheet for my flash. How should I use it? I used 128 * 1024 and that worked too. With the values I mentions above, I can mount the flash and us it as a root file system. I do get messages when I erase but I know that is not supported at the moment. If someone can set me straight on #1 and #2 then I will have be submitting flash support for the Mainstone shortly. TIA, Armin