From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13149C388F9 for ; Tue, 3 Nov 2020 18:39:24 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B22BB2074B for ; Tue, 3 Nov 2020 18:39:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ppByBGWn" Authentication-Results: mail.kernel.org; dmarc=permerror header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RPitGRBW7/veY8TZE9/bocR6JF03AOWauLjR6bDg4nM=; b=ppByBGWn34FGWiXlMDGu2gAEG c5BefeaCVgOxua8GoSic4S6Pw10Pz0oqJw0gFcKHLOdwJ+eYySJdcNBhYnXIYY8GFNCFolkjIyANX CZeRokGz3TjgOq8IykwicpFo8XyCsdwJ7Oi1yUuQ8ghkZLauq8RcW0uJ5CUEiT07q8uWskptJsS46 IRrtxjCTrKQbaJsA8P6ybea+csU0ZXxpyTO4ICW/IPR3buxaRazIYaPdLPE3QxcG9irrcHW354S+A +pOHwt94Bbge9z3CNZJqaRpH6fnFMDXeCUAbJIIctHel3BPKmEJGDpizTJQZicDH+U346aOz5eQBg sVSEt79qw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ka1D8-0007fK-6O; Tue, 03 Nov 2020 18:39:14 +0000 Received: from imap2.colo.codethink.co.uk ([78.40.148.184]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ka1D6-0007es-4d for linux-riscv@lists.infradead.org; Tue, 03 Nov 2020 18:39:13 +0000 Received: from cpc79921-stkp12-2-0-cust288.10-2.cable.virginm.net ([86.16.139.33] helo=[192.168.0.10]) by imap2.colo.codethink.co.uk with esmtpsa (Exim 4.92 #3 (Debian)) id 1ka1D4-0001Og-J3; Tue, 03 Nov 2020 18:39:10 +0000 Subject: Re: [RFC PATCH 2/3] RISC-V: Initial DTS for Microchip ICICLE board To: Atish Patra References: <20201028232759.1928479-1-atish.patra@wdc.com> <20201028232759.1928479-3-atish.patra@wdc.com> <41f1248b-78c6-bac1-410b-9e222368c5f6@codethink.co.uk> <2d7cc829-5df6-6b94-4c8f-9bae6080444e@codethink.co.uk> From: Ben Dooks Organization: Codethink Limited. Message-ID: <22800ecc-a91b-ee3c-4717-4ee8802f31a2@codethink.co.uk> Date: Tue, 3 Nov 2020 18:39:09 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201103_133912_217539_668AC53C X-CRM114-Status: GOOD ( 25.70 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Albert Ou , Cyril.Jean@microchip.com, Daire McNamara , Anup Patel , "linux-kernel@vger.kernel.org List" , Atish Patra , Rob Herring , Alistair Francis , Paul Walmsley , Palmer Dabbelt , linux-riscv , Padmarao Begari Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On 03/11/2020 18:36, Atish Patra wrote: > On Tue, Nov 3, 2020 at 10:28 AM Ben Dooks wrote: >> >> On 03/11/2020 18:10, Cyril.Jean@microchip.com wrote: >>> On 11/3/20 3:07 PM, Atish Patra wrote: >>>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe >>>> >>>> On Fri, Oct 30, 2020 at 2:20 PM Ben Dooks wrote: >> >> ,snip[ >> >>>>>> @Cyril : Can we enable both eMMC & sdcard at the same time ? >>>>> I would put /both/ in but only enable the one in use for the moment. >>>>> Our boards are booting of eMMC as supplied, so this isn't going to work >>>>> as well. The eMMC is 8bit wide, and thus is only delivering 11MB/sec >>>>> instead of 22MB/sec. This performance is still not great, but losing >>>>> half the data-rate is just not good. >>>>> >>>> I am not sure what should be enabled by default. Updating sdcard is much >>>> easier than eMMC card and we use that approach. >>>> >>>> @Cyril: Is there a way that we can enable both ? >>>> >>> Yes, we can enable both but this requires a modification to the FPGA >>> design. One of the guys prototyped this while I was away. We will move >>> this along. This will require reprogramming the FPGA with a new design >>> and HSS version. >>> >>> Regards, >>> >>> Cyril. >> >> I either missed or couldn't find a way of forcing the boot mode to be >> from the SD slot. Have I missed something? At the moment we'd like to >> have more storage available as the ~7G free on the eMMC is not enough. >> > > I use tftpboot to load the kernel & DT from the network. SD card is > enabled in this DT and Linux > kernel uses SD slot instead of eMMC. > > To summarize, eMMC is used for HSS & U-Boot while SD card is used for > Linux which makes > more storage available to Linux. > > IMO, we should enable the sdcard for Linux DT until updated FPGA > design & HSS is available. Interesting as for me the default is for Linux to use the eMMC as well. I can't see any way for forcing the selection lines in the DT to say eMMC vs SD. If there is a way of controlling the selection lines then it might be possible to have both cards enabled with a bus selection MUX in software. -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius https://www.codethink.co.uk/privacy.html _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv