From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from qnap.com.tw (unknown [211.75.85.27]) by ozlabs.org (Postfix) with SMTP id D90A368110 for ; Thu, 25 Aug 2005 13:21:28 +1000 (EST) From: "JohnsonCheng" To: Date: Thu, 25 Aug 2005 11:21:00 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00A5_01C5A967.22B1A400" Message-Id: <20050825032128.D90A368110@ozlabs.org> Subject: How to build an image for whole flash List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------=_NextPart_000_00A5_01C5A967.22B1A400 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Dear All, My flash is 16M that is mapping on 0xFF000000-0xFFFFFFFF. mtd0: 0xFF000000-0xFF1FFFFF Kernel mtd1: 0xFF200000-0xFF9FFFFF RootFS mtd2: 0xFFA00000-0xFFAFFFFF Config mtd3: 0xFFF00000-0xFFFFFFFF U-Boot Now I can build an image for mtd device, for example, dd if=/dev/mtd0 of=kernel.img. But I don't know how to build a image for whole flash ? Thanks, Johnson Cheng ------=_NextPart_000_00A5_01C5A967.22B1A400 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Dear All,

 

My flash is 16M that is mapping on 0xFF000000-0xFFFFFFFF.

mtd0: = 0xFF000000-0xFF1FFFFF      = Kernel

mtd1: = 0xFF200000-0xFF9FFFFF      = RootFS

mtd2: = 0xFFA00000-0xFFAFFFFF       = Config

mtd3: = 0xFFF00000-0xFFFFFFFF      = U-Boot

 

Now I can build an image for mtd device, for = example, dd if=3D/dev/mtd0 of=3Dkernel.img.

But I don’t know how to build a image for = whole flash ?

 

 

Thanks,

Johnson Cheng

------=_NextPart_000_00A5_01C5A967.22B1A400--