Return-Path: Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by ozlabs.org (Postfix) with ESMTP id 22C2B6805F for ; Tue, 23 Aug 2005 15:13:27 +1000 (EST) Date: Mon, 22 Aug 2005 23:24:22 -0400 (EDT) From: "Robert P. J. Day" To: JohnsonCheng In-Reply-To: <20050823031136.2904C68046@ozlabs.org> Message-ID: References: <20050823031136.2904C68046@ozlabs.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linuxppc-embedded@ozlabs.org Subject: RE: Linux Kernel MTD question List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sat, 23 Jul 2005, JohnsonCheng wrote: > Yes. You are right. It's design by myself. > But I meet a problem. If I have three configuration files, A.conf, B.conf > and C.conf, then I hope save them in one of partitions of MTD, > 0x005C0000-0x10000000. > Two questions: > 1. How to build these configuration files into an image for U-boot with > mkimage? > 2. In kernel, how to get these data? I use "mount /dev/mtd4 /mnt", but it > failed by block device required. for this second issue, you might try mounting the block device, which is probably called /dev/mtdblock4 or something similar. rday