From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tx2outboundpool.messaging.microsoft.com (tx2ehsobe001.messaging.microsoft.com [65.55.88.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D24FEE01664 for ; Tue, 8 Oct 2013 07:00:05 -0700 (PDT) Received: from mail159-tx2-R.bigfish.com (10.9.14.241) by TX2EHSOBE009.bigfish.com (10.9.40.29) with Microsoft SMTP Server id 14.1.225.22; Tue, 8 Oct 2013 14:00:05 +0000 Received: from mail159-tx2 (localhost [127.0.0.1]) by mail159-tx2-R.bigfish.com (Postfix) with ESMTP id 077781000BE; Tue, 8 Oct 2013 14:00:05 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: -2 X-BigFish: VS-2(z21eIcb8kzbb2dI98dI9371I1432Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h1de097h8275bhz2dh2a8h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h1765h18e1h190ch1946h19b4h19c3h1ad9h1b0ah1b2fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1f5fh1fe8h1ff5h209eh1155h) Received: from mail159-tx2 (localhost.localdomain [127.0.0.1]) by mail159-tx2 (MessageSwitch) id 1381240802885596_25912; Tue, 8 Oct 2013 14:00:02 +0000 (UTC) Received: from TX2EHSMHS044.bigfish.com (unknown [10.9.14.244]) by mail159-tx2.bigfish.com (Postfix) with ESMTP id CF5AD2004D; Tue, 8 Oct 2013 14:00:02 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS044.bigfish.com (10.9.99.144) with Microsoft SMTP Server (TLS) id 14.16.227.3; Tue, 8 Oct 2013 14:00:02 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-004.039d.mgd.msft.net (10.84.1.14) with Microsoft SMTP Server (TLS) id 14.3.158.2; Tue, 8 Oct 2013 14:00:01 +0000 Received: from [10.29.244.63] ([10.29.244.63]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id r98E00RC011664; Tue, 8 Oct 2013 07:00:01 -0700 Message-ID: <52540EBD.7080301@freescale.com> Date: Tue, 8 Oct 2013 10:55:09 -0300 From: Daiane Angolini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Otavio Salvador , meta-freescale Mailing List References: <1381235530-1256-1-git-send-email-otavio@ossystems.com.br> In-Reply-To: <1381235530-1256-1-git-send-email-otavio@ossystems.com.br> X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Subject: Re: [meta-fsl-arm PATCH 1/3] linux-imx (3.0.35): mx6sabresd: Register SDHC3 first X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 14:00:09 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 10/08/2013 09:32 AM, Otavio Salvador wrote: > On sabresd boards we boot from SDHC3, so let's register it as mmc0. > > Currently eMMC is mmc0 and mmc1 can be SDHC3 or SDHC2 (if present). > > Registering SDHC3 is safer as we can always find the rootfs. I agree > > Change-Id: I99bb38c1b5939dc095bbddd298db3cf37fb7c2dc > Signed-off-by: Fabio Estevam > Signed-off-by: Otavio Salvador > --- > ...6-board-mx6q_sabresd-Register-SDHC3-first.patch | 38 ++++++++++++++++++++++ > recipes-kernel/linux/linux-imx_3.0.35.bb | 3 +- > 2 files changed, 40 insertions(+), 1 deletion(-) > create mode 100644 recipes-kernel/linux/linux-imx-3.0.35/0007-ARM-mach-mx6-board-mx6q_sabresd-Register-SDHC3-first.patch > > diff --git a/recipes-kernel/linux/linux-imx-3.0.35/0007-ARM-mach-mx6-board-mx6q_sabresd-Register-SDHC3-first.patch b/recipes-kernel/linux/linux-imx-3.0.35/0007-ARM-mach-mx6-board-mx6q_sabresd-Register-SDHC3-first.patch > new file mode 100644 > index 0000000..d02aa40 > --- /dev/null > +++ b/recipes-kernel/linux/linux-imx-3.0.35/0007-ARM-mach-mx6-board-mx6q_sabresd-Register-SDHC3-first.patch > @@ -0,0 +1,38 @@ > +From cd31abbe08372fa870fac78ae845edd4859f8835 Mon Sep 17 00:00:00 2001 > +From: Fabio Estevam > +Date: Sat, 28 Sep 2013 18:46:18 -0300 > +Subject: [PATCH] ARM: mach-mx6: board-mx6q_sabresd: Register SDHC3 first > +Organization: O.S. Systems Software LTDA. > + > +On sabresd boards we boot from SDHC3, so let's register it as mmc0. > + > +Currently eMMC is mmc0 and mmc1 can be SDHC3 or SDHC2 (if present). > + > +Registering SDHC3 is safer as we can always find the rootfs. > + > +Signed-off-by: Fabio Estevam > +--- > + arch/arm/mach-mx6/board-mx6q_sabresd.c | 5 +---- > + 1 file changed, 1 insertion(+), 4 deletions(-) > + > +diff --git a/arch/arm/mach-mx6/board-mx6q_sabresd.c b/arch/arm/mach-mx6/board-mx6q_sabresd.c > +index 3f9a845..4e6b323 100644 > +--- a/arch/arm/mach-mx6/board-mx6q_sabresd.c > ++++ b/arch/arm/mach-mx6/board-mx6q_sabresd.c > +@@ -1847,12 +1847,9 @@ static void __init mx6_sabresd_board_init(void) > + > + imx6q_add_pm_imx(0, &mx6q_sabresd_pm_data); > + > +- /* Move sd4 to first because sd4 connect to emmc. > +- Mfgtools want emmc is mmcblk0 and other sd card is mmcblk1. > +- */ > ++ imx6q_add_sdhci_usdhc_imx(2, &mx6q_sabresd_sd3_data); > + imx6q_add_sdhci_usdhc_imx(3, &mx6q_sabresd_sd4_data); > + imx6q_add_sdhci_usdhc_imx(1, &mx6q_sabresd_sd2_data); > +- imx6q_add_sdhci_usdhc_imx(2, &mx6q_sabresd_sd3_data); > + imx_add_viv_gpu(&imx6_gpu_data, &imx6q_gpu_pdata); > + imx6q_sabresd_init_usb(); > + /* SATA is not supported by MX6DL/Solo */ > +-- > +1.8.4.rc3 > + > diff --git a/recipes-kernel/linux/linux-imx_3.0.35.bb b/recipes-kernel/linux/linux-imx_3.0.35.bb > index dbdbd97..608fb87 100644 > --- a/recipes-kernel/linux/linux-imx_3.0.35.bb > +++ b/recipes-kernel/linux/linux-imx_3.0.35.bb > @@ -18,4 +18,5 @@ SRC_URI += "file://drm-vivante-Add-00-sufix-in-returned-bus-Id.patch \ > file://0003-ARM-7670-1-fix-the-memset-fix.patch \ > file://0004-ENGR00271136-Fix-build-break-when-CONFIG_CLK_DEBUG-i.patch \ > file://0005-ENGR00271359-Add-Multi-touch-support.patch \ > - file://0006-Add-support-for-DVI-monitors.patch" > + file://0006-Add-support-for-DVI-monitors.patch \ > + file://0007-ARM-mach-mx6-board-mx6q_sabresd-Register-SDHC3-first.patch" > \ No newline at end of file Which git option do you use to generate this "\ No newline at end of file"? -- Daiane