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 DA55167F92 for ; Sun, 21 Aug 2005 18:09:36 +1000 (EST) From: "JohnsonCheng" To: Date: Sun, 21 Aug 2005 16:02:26 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00C4_01C5A669.C931FB00" Message-Id: <20050821080936.DA55167F92@ozlabs.org> Subject: Linux Kernel MTD question 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_00C4_01C5A669.C931FB00 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Dear All, Just as I know, we can have many partitions for our flash if we turn on MTD in Kernel. For example: 0x00000000-0x00040000: u-boot 0x00040000-0x00100000: kernel 0x00100000-0x00200000: inirid1 0x00200000-0x00400000: initrd2 How could I distribute my RootFS into initrd1 and initrd2? In U-Boot command, bootcmd, I set it to "bootm 40000 100000". 40000 is Kernel address, and 100000 is RootFS1 address. But where to set RootRS2 address? Thanks, Johnson Cheng ------=_NextPart_000_00C4_01C5A669.C931FB00 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Dear All,

 

Just as I know, we can have many partitions for = our flash if we turn on MTD in Kernel. For = example:

0x00000000-0x00040000:    &n= bsp; u-boot

0x00040000-0x00100000:    &n= bsp; kernel

0x00100000-0x00200000:    &n= bsp; inirid1

0x00200000-0x00400000:    &n= bsp; initrd2

 

How could I distribute my RootFS into initrd1 = and initrd2?

In U-Boot command, bootcmd, I set it to = “bootm 40000 100000”. 40000 is = Kernel address, and 100000 is RootFS1 address. But where to set RootRS2 = address?

 

Thanks,

Johnson Cheng

 

------=_NextPart_000_00C4_01C5A669.C931FB00--