From patchwork Mon Mar 14 14:37:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Chang X-Patchwork-Id: 553 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:43:38 -0000 Delivered-To: patches@linaro.org Received: by 10.224.45.75 with SMTP id d11cs57864qaf; Mon, 14 Mar 2011 07:38:05 -0700 (PDT) Received: by 10.213.35.69 with SMTP id o5mr3063785ebd.36.1300113485151; Mon, 14 Mar 2011 07:38:05 -0700 (PDT) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id z46si17434287eeh.12.2011.03.14.07.38.04 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Mar 2011 07:38:05 -0700 (PDT) Received-SPF: pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.50 as permitted sender) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.50 as permitted sender) smtp.mail=shunyu.chang@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by mail-ww0-f50.google.com with SMTP id 33so5999024wwc.31 for ; Mon, 14 Mar 2011 07:38:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=GW9wZFVDlyulqu2zVWkp/xg5vpCiQzfxXVXmBkv8rQY=; b=HzGVItc7XpqIKCzW7wWuz9T9AJ4xB1VXKlud9Uk+x2gki1t7/fwoiIxqKYMKt8J22z 9Wzv1Kq8I4KkVq6tzTOlQgzBfv3Zz8EfJviFRsRW+qzsHiCuSxpnOfYIGD8GMQf5CcpZ /Ak8eyXB2hKBtpIuB7OmU3rKJHgd6fp/zzbI4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; b=ZtosMz2dMJBgx49bPRmQDsuHTmiNL12VN+vERgm+PoX0Wa/x6dCb7cW/t+7Y3w3QYr kLfPN2t64lGZCXIBzHtdPEmJ5YApF13vnH+r/zbioVEGXXLIOWXbwMs1Lmx85N+/tPrJ +BwbHwZ4ClE61Xro6C67YbeY0pQZqq1KdeiN4= Received: by 10.216.243.136 with SMTP id k8mr3598122wer.114.1300113484114; Mon, 14 Mar 2011 07:38:04 -0700 (PDT) MIME-Version: 1.0 Sender: shunyu.chang@gmail.com Received: by 10.216.155.199 with HTTP; Mon, 14 Mar 2011 07:37:44 -0700 (PDT) From: Jeremy Chang Date: Mon, 14 Mar 2011 22:37:44 +0800 X-Google-Sender-Auth: _kHlwxo09YEmVfDHiyMDOOjEYzM Message-ID: Subject: [PATCH 2/2 android/device/linaro/common] mount mmc partitions instead of mtd partitions To: linaro-dev@lists.linaro.org Cc: patches , Patrik Ryd , Alexander Sack All partitions from mmc is expected. This depends on Jim Huang's patch "init: support mmc device mount" in android/system/core to work. Signed-off-by: Jeremy Chang --- init.rc | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) # once everything is setup, no need to modify / diff --git a/init.rc b/init.rc index b6a92c5..a3f72e1 100644 --- a/init.rc +++ b/init.rc @@ -90,12 +90,12 @@ loglevel 3 write /dev/cpuctl/bg_non_interactive/cpu.shares 52 on fs -# mount mtd partitions - # Mount /system rw first to give the filesystem a chance to save a checkpoint - mount yaffs2 mtd@system /system - mount yaffs2 mtd@system /system ro remount - mount yaffs2 mtd@userdata /data nosuid nodev - mount yaffs2 mtd@cache /cache nosuid nodev +# mount mmc partitions + mount ext4 mmc@blk0p3 /system + mount ext4 mmc@blk0p3 /system ro remount + mount ext4 mmc@blk0p5 /cache + mount ext4 mmc@blk0p6 /data + mount ext4 mmc@blk0p7 /sdcard on post-fs