| Message ID | 20200715100903.161363-1-jagan@amarulasolutions.com |
|---|---|
| Headers |
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBYFLXP4AKGQEQSHYZSY@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4416F3F1DD for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 15 Jul 2020 12:09:38 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id m7sf2413405pgv.12 for <linux-amarula@patchwork.amarulasolutions.com>; Wed, 15 Jul 2020 03:09:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594807776; cv=pass; d=google.com; s=arc-20160816; b=rTijl88CrUqk5JFp6iA0REgGdSOLprjXBf62VasaXFHBMli27BVlSnCmGtNtlVTZZ2 06umnwWKLDi4XuKuGZLxFXgTcjKWfQc1TGxXONepsfUK3Saq6zOF6DFNNbdWW9Sdy4lF v5qdMqqW/b3jaB0gh5BM3pE2vd2uJlfftt2j5R6EZDDmALOYpbyUvyHxqnB7RxFBkHrI FdZnMdToQNik6dcOLsq4Xl7WeA8Oul3G4v5N/8kvRX8MdnE1fc43ReRZqN2qhPZk/Phs I2gSumBSlrHFCw9SZz5+Xztpy1P8pH9PWhLkaHTOJW5r90AbyXqFlXrOGiIrblXrGdTz 7jiQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=sSQrgaTCubNKdA+Cp0s8xH7hWf+IRt0T7Pz4oJt9Sv0=; b=niXo2eTFI+2H4sJExJhv16l4UPC7NQyLIXpJ8wPtA1srnrZRMwo5Fdj8zSQe5Wnia9 dMtVVfeoTK7diDDQ2z5Qcn+JYMnSROINGXMa0LaFaKmjGIIu42DHTYpf6UFX/rzAqmTV 5nyvMmVIiPnfmuYPyAEHkkC90/Uv4viYXkeAnwdRSF3kuw/d+i7xyMP2u6mW8QsIKudL AXRwohrbW7bHsgTZRFSTFU9SvCptKjD3v1qCod7m809eScqfVCMCN8cAvfF/IM21Ujd5 CaY4fEOO92RbOZ6vD77I5nnspUY9qoH+RFn3RmRPdNJmtv6fHyN+QGSjKU7KcUrq/l+Q oRBg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=buvkbnWu; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=sSQrgaTCubNKdA+Cp0s8xH7hWf+IRt0T7Pz4oJt9Sv0=; b=U5/4MOzlJeiawPR/k7f2lQJEr8mtMO3r1fV09fyJ+DIz31UjNggNnJjRMQMoqsGe7t 4Q3aBClzPux0Nt3HyUi3s3ycjtSJ72QoiOs5Tf5w9EvobXByDlqoYiD2dwv5k6YfSFX3 GqQDqCEcB9kiYfRMlqKlNZ+v6gY+t4db2uX5k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=sSQrgaTCubNKdA+Cp0s8xH7hWf+IRt0T7Pz4oJt9Sv0=; b=qCoxpZEphVqLZatBF8FbKecYzEgqDXyUImconCYjAgnF+hjthxqPQokG+AyC0D4AeK zTTMn+WCfSSBGBsBaCzaquVf00N+2V7t1dLzIZcapbq5bhYVVmj+UR+NX1jMMrNELv1P vtufIiSX8k0yDncl45JM1LHfH5rIMXO5AFfraGBjfvQELjZDk25vfu2GAexRwOXvAuMA RpBTSte3uwvEmdQPQdlluaWlRqVcWFYK59IMJnX1lJ6VoVcMVkSUAySOT4I5Um5hu1Qx X8dxzGGM6CxhnkiCEr2T5iFSRRyvZ3KFvJnIK1ZYmDoBqiMf96PjXwBNoU4XeCo2kOEd g6nA== X-Gm-Message-State: AOAM533JV63Nu2pC5b0aW6/W8MourmRkzhCtL6iGqle1to/YJn+aiJ7z JSpSqwa65DFIXv6+i7eDgXFPb9RD X-Google-Smtp-Source: ABdhPJzvEJM+RM93hPA+XWzz/JHHLzdhvYZNQfinKCIfThUMrxruIM+2JJJqSumoej0PGGmmpaGjkA== X-Received: by 2002:a17:90a:d304:: with SMTP id p4mr9773345pju.153.1594807776260; Wed, 15 Jul 2020 03:09:36 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:ea0e:: with SMTP id w14ls937650pjy.3.canary-gmail; Wed, 15 Jul 2020 03:09:36 -0700 (PDT) X-Received: by 2002:a17:90a:a393:: with SMTP id x19mr8911518pjp.24.1594807775811; Wed, 15 Jul 2020 03:09:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594807775; cv=none; d=google.com; s=arc-20160816; b=arUYnuNafkQ5FZqRTmhFQ2Zryz8F9W0IOoMi1qUJdb5zy33BFRUS1BdJ9rADDoU8IF UpUrLUsVBDp8ogQI6oOWetbi1UGOATQgKI3SUwHQk0svDeLOayd1bINzrQwRCELUU+bJ yIRJkQbkqZU28l6tXLq/aVwY0ctpUXbhOakd9QR1EOF1B1+gzDJOKtBG2mKQ2lBbeCOr fK48YP3YrsxJhhkHqsn8t3XEP+RyxAPzwk5I4xrg2Vtc3Gqndy9YTgJMBChJutzYTd4w iFSD/zXi08nr4gwevncRYbrbFJ1g7xPDzlwqo+2CCC8sbBky1/WWPuexLbSIVe5i4SOk kHOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=8mzJlSZBmyrxYbWQniW7D6LHw/8GtUKDTwlAmLd3law=; b=DT/UB9w3LSIyz/mFwYZn+PLZjFgTglkmY9hltQXdcHP5BhV30+VdH0GrfhMWqSSgOt S0QKjcqGu48zJy/DYgQKXTupM2dBWn815bSSPVSSGS7SviRfJbU5d6qnqgph3CKs5b4c lE565XN2gt8b2RUY0CzJPggu6CjfGwvdIvXsF42r+58IZb7UCMRbPhIad8uWmm7pbHai h+J8SlG1ooVOa+hQ5gmfy2aiSW7hMtP9FUFymFaGZ1HuBxaY/Q8GJ40QTVhsDx32Fpn5 9X2M+fC62dfifYcBWr/gIkEpqgVIg22hsGJfNjQ/+48qKIBFf6lQkvMrWmHW9sjiRY5s rUqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=buvkbnWu; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id f13sor1986256pgj.33.2020.07.15.03.09.35 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Wed, 15 Jul 2020 03:09:35 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:20d:: with SMTP id 13mr7508640pgc.166.1594807774973; Wed, 15 Jul 2020 03:09:34 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id p127sm1658577pfb.17.2020.07.15.03.09.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 03:09:33 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Rick Chen <rick@andestech.com>, Atish Patra <atish.patra@wdc.com>, Palmer Dabbelt <palmerdabbelt@google.com>, Bin Meng <bmeng.cn@gmail.com>, Paul Walmsley <paul.walmsley@sifive.com>, Anup Patel <anup.patel@wdc.com>, Sagar Kadam <sagar.kadam@sifive.com> Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH v5 0/6] riscv: sifive/fu540: SPI boot Date: Wed, 15 Jul 2020 15:38:57 +0530 Message-Id: <20200715100903.161363-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=buvkbnWu; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
| Series |
riscv: sifive/fu540: SPI boot
|
|
Message
Jagan Teki
July 15, 2020, 10:08 a.m. UTC
Updated series with boot device detection directly on spl_boot_device function instead of having separate board driver. Changes for v5: - rebase on master Changes for v4: - fix typo and unneeded configs. Changes for v3: - fixed env definitions build - added boot device detection in board Changes for v2: - fu540 board driver - runtime bootmode detection - rebase on Pragnesh v11 series Any inputs? Jagan. Jagan Teki (6): sifive: fu540: Add runtime boot mode detection sifive: fu540: Add Booting from SPI env: Enable SPI flash env for SiFive FU540 sifive: fu540: Mark the default env as SPI flash sifive: fu540: Add boot flash script offset, size sifive: fu540: Enable SF distro bootcmd arch/riscv/cpu/fu540/Kconfig | 13 ++++++ .../dts/hifive-unleashed-a00-u-boot.dtsi | 12 ++++++ board/sifive/fu540/Kconfig | 1 + board/sifive/fu540/fu540.c | 25 ++++++++--- configs/sifive_fu540_defconfig | 4 ++ doc/board/sifive/fu540.rst | 41 +++++++++++++++++++ include/configs/sifive-fu540.h | 7 +++- 7 files changed, 96 insertions(+), 7 deletions(-)
Comments
Hi Rick, On Wed, Jul 15, 2020 at 3:39 PM Jagan Teki <jagan@amarulasolutions.com> wrote: > > Updated series with boot device detection directly > on spl_boot_device function instead of having separate > board driver. > > Changes for v5: > - rebase on master > Changes for v4: > - fix typo and unneeded configs. > Changes for v3: > - fixed env definitions build > - added boot device detection in board > Changes for v2: > - fu540 board driver > - runtime bootmode detection > - rebase on Pragnesh v11 series > > Any inputs? > Jagan. > > Jagan Teki (6): > sifive: fu540: Add runtime boot mode detection > sifive: fu540: Add Booting from SPI > env: Enable SPI flash env for SiFive FU540 > sifive: fu540: Mark the default env as SPI flash > sifive: fu540: Add boot flash script offset, size > sifive: fu540: Enable SF distro bootcmd > > arch/riscv/cpu/fu540/Kconfig | 13 ++++++ > .../dts/hifive-unleashed-a00-u-boot.dtsi | 12 ++++++ > board/sifive/fu540/Kconfig | 1 + > board/sifive/fu540/fu540.c | 25 ++++++++--- > configs/sifive_fu540_defconfig | 4 ++ > doc/board/sifive/fu540.rst | 41 +++++++++++++++++++ > include/configs/sifive-fu540.h | 7 +++- > 7 files changed, 96 insertions(+), 7 deletions(-) > > -- > 2.25.1 > Any chance to pick this? Jagan.
Hi Jagan > From: Jagan Teki [mailto:jagan@amarulasolutions.com] > Sent: Tuesday, July 21, 2020 2:26 PM > To: Rick Jian-Zhi Chen(陳建志); Atish Patra; Palmer Dabbelt; Bin Meng; Paul Walmsley; Anup Patel; Sagar Kadam > Cc: U-Boot-Denx; linux-amarula > Subject: Re: [PATCH v5 0/6] riscv: sifive/fu540: SPI boot > > Hi Rick, > > On Wed, Jul 15, 2020 at 3:39 PM Jagan Teki <jagan@amarulasolutions.com> wrote: > > > > Updated series with boot device detection directly on spl_boot_device > > function instead of having separate board driver. > > > > Changes for v5: > > - rebase on master > > Changes for v4: > > - fix typo and unneeded configs. > > Changes for v3: > > - fixed env definitions build > > - added boot device detection in board Changes for v2: > > - fu540 board driver > > - runtime bootmode detection > > - rebase on Pragnesh v11 series > > > > Any inputs? > > Jagan. > > > > Jagan Teki (6): > > sifive: fu540: Add runtime boot mode detection > > sifive: fu540: Add Booting from SPI > > env: Enable SPI flash env for SiFive FU540 > > sifive: fu540: Mark the default env as SPI flash > > sifive: fu540: Add boot flash script offset, size > > sifive: fu540: Enable SF distro bootcmd > > > > arch/riscv/cpu/fu540/Kconfig | 13 ++++++ > > .../dts/hifive-unleashed-a00-u-boot.dtsi | 12 ++++++ > > board/sifive/fu540/Kconfig | 1 + > > board/sifive/fu540/fu540.c | 25 ++++++++--- > > configs/sifive_fu540_defconfig | 4 ++ > > doc/board/sifive/fu540.rst | 41 +++++++++++++++++++ > > include/configs/sifive-fu540.h | 7 +++- > > 7 files changed, 96 insertions(+), 7 deletions(-) > > > > -- > > 2.25.1 > > > > Any chance to pick this? Applied to u-boot-riscv/master ! Thanks, Rick > > Jagan.