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=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 BD22CC388F7 for ; Tue, 3 Nov 2020 18:36:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C56E223FD for ; Tue, 3 Nov 2020 18:36:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=atishpatra.org header.i=@atishpatra.org header.b="iG5fZ4XP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729272AbgKCSg5 (ORCPT ); Tue, 3 Nov 2020 13:36:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728767AbgKCSg5 (ORCPT ); Tue, 3 Nov 2020 13:36:57 -0500 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9ECC7C0613D1 for ; Tue, 3 Nov 2020 10:36:55 -0800 (PST) Received: by mail-il1-x142.google.com with SMTP id y17so17062913ilg.4 for ; Tue, 03 Nov 2020 10:36:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atishpatra.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hYbQzlD7g6CgMEWc3wST+ZDYhV+JHgWV0zK7h/WfMj0=; b=iG5fZ4XP9AuvacaY3DzFjo+WannOzars7jtIdP0wgaDlrlYSJvqAaB6jd7l1j4CO8p 9/kZcI/PuZpz3E7mNyYf0nvFqoK5bHBPZQH6nRMdWE5/zcPThauK4IdPzuZBEUeI/TpB OktHTxoGsI4069vUpZ22tgkm1d/C77ndMad64= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hYbQzlD7g6CgMEWc3wST+ZDYhV+JHgWV0zK7h/WfMj0=; b=e9ljwmx5NaOwnLT+3SyG3mvx/Xj8jAb/ve59MxArkQtrIPpM/TyXUT5+VxspNrf5a1 WcsWl/UWRFEuy960721fXqaXnbioXJvwQj9SlqgCbhOPk9Ng8d7QMsxz8wzn8UOh9U+t fsXNhlsWbGTiptiWgd4LRHoWgeQUXMGpzLIevgGiLb286Ev1DJp5jcfStHL4CocjnwZ3 6BQU/WksQWn0DpGj6J7UlgwkR9jshOEDhWIj/DVpYIere+/pjPCm/0VO8yZRoKnO2xl6 ZNJYg0HgMhLUD3o+p8ikGQrtQt+inH3TnFL1gk8qMc40X9XM/SgiMPNW6MwuVSweLDrE E/8g== X-Gm-Message-State: AOAM53128+u2cLedxsvNa+5MwiVwJ9nVutDe+C6aVeZqdPZoQlI/TMcO QXujyNUTqSQhr/wsUTGOV/OJaSD1QrWTFznzxcv/ X-Google-Smtp-Source: ABdhPJx+f5Ogky6p999+76oktJVi6X+vrRgYJsuz5k2oZd0lveLH427nrSylT9VxPXleQYaNaD7hBezO9gV6D/ZVbcc= X-Received: by 2002:a92:3305:: with SMTP id a5mr174396ilf.219.1604428614935; Tue, 03 Nov 2020 10:36:54 -0800 (PST) MIME-Version: 1.0 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> In-Reply-To: From: Atish Patra Date: Tue, 3 Nov 2020 10:36:43 -0800 Message-ID: Subject: Re: [RFC PATCH 2/3] RISC-V: Initial DTS for Microchip ICICLE board To: Ben Dooks Cc: Cyril.Jean@microchip.com, devicetree@vger.kernel.org, Albert Ou , 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-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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. > -- > Ben Dooks http://www.codethink.co.uk/ > Senior Engineer Codethink - Providing Genius > > https://www.codethink.co.uk/privacy.html -- Regards, Atish