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=-28.2 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=unavailable 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 EFE75C433E0 for ; Mon, 22 Feb 2021 14:32:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A1D2B64E34 for ; Mon, 22 Feb 2021 14:32:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231211AbhBVOcF (ORCPT ); Mon, 22 Feb 2021 09:32:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231950AbhBVOZo (ORCPT ); Mon, 22 Feb 2021 09:25:44 -0500 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFE3DC061786 for ; Mon, 22 Feb 2021 06:25:02 -0800 (PST) Received: by mail-io1-xd35.google.com with SMTP id k17so5540374ioc.5 for ; Mon, 22 Feb 2021 06:25:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=juvEdxvqKlsBbe0kNmOCQgwG0HjLQ/hRQBwpyDMYnmo=; b=fvokkzxsdTHfIYUj61qfUuDxsLNfBMQKlqji7FgUeScjfAdis8TZOyzE7TEXwpKx7S oohO19+xYOg827rtjrhEe+FmUkmkUXg2xJRD32Zh3IyQUuSKDl9rHdGgCj412zT/Cryn UhMvCHEI4Ppfyyj92dn8/yMYVd8jFQ+phi1j3M2k1oRzoUneP2BvnKReu564bvg+Nkph CppDfFxt4RhnWMOgMsvsMq0k7dos70k6wqRunZGGOY7bMNX69oGx8DhSsKbClRHNBmNm Gmy1Y0till1TQQc6pp6QQJbHoYb3RHyF6ncYD8BOIV7Tp7bOM5TOI3mUom3bPQI0cYua LE2A== 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:content-transfer-encoding; bh=juvEdxvqKlsBbe0kNmOCQgwG0HjLQ/hRQBwpyDMYnmo=; b=QFRhBFJCpxG2RAOWk4sDojL30O3Fy4y5nph59QosVAFCW4d0+V7W8qycU7cyL2DBoF quXo9R5pnZ8N5LuRuEADg1O+R98snyq2ThzYVEt31IWJkubOH7p3HyKKAeEyU6IyaXUG 5vPKXRh5whdV77XTEjIpQOOTR+SKuMuHRP3Eb+4faj5IHXtg7nneJaqHbVRtLNz93RzU kpt8xfwmyFUn1K9IsotBP9v+u5tmBNLTXqOrOvEzKDCuCGbHRUvbbV9ppfAIBzf3VhGu PV2dKfXP1OkSVK7hGPmZFcHE50UOjqUdgjIn+Bb+QmUkV3ITHcyu3PgNgeQgcqC6TZ5N s8lQ== X-Gm-Message-State: AOAM531BIYbztEw4zQCidq+IPSYR2kiQLU6/cKU7ZZIxynk4EDzjjEbu SeNcisqFkQIq3OVhaZdDRNqO3kYyLRU2D48wqykFfw== X-Google-Smtp-Source: ABdhPJy3M+h35T2uzDveX/x0hkvGAVdKHe5fATxRFSSA9XpiGViMrALwDqQ4Rf85oWU9lEbPKG0zBz8idgOhmIOL3jg= X-Received: by 2002:a5d:8490:: with SMTP id t16mr15471280iom.91.1614003901803; Mon, 22 Feb 2021 06:25:01 -0800 (PST) MIME-Version: 1.0 References: <20210218122546.3546582-1-gmouse@google.com> In-Reply-To: From: Anton Kachalov Date: Mon, 22 Feb 2021 15:24:49 +0100 Message-ID: Subject: Re: [PATCH] ARM: dts: nuvoton: Fix flash layout To: IS20 Ofer Eilon Cc: Avi Fishman , Tomer Maimon , Benjamin Fair , Tali Perry , Patrick Venture , Nancy Yuen , Rob Herring , OpenBMC Maillist , devicetree , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ofer, The oldest version from igps doesn't work as well as the latest version from u-boot github. The only version that works for me is in software deliverables: https://github.com/Nuvoton-Israel/nuvoton-info/tree/master/npcm7xx-poleg/ev= aluation-board/sw_deliverables/npcm7xx_v2.3 On Mon, 22 Feb 2021 at 15:10, IS20 Ofer Eilon wrot= e: > > Hi Avi, > > It seems an old version of uboot u-boot_2019.01.7.5.bin from igps below= : > > > https://apc01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit= hub.com%2FNuvoton-Israel%2Figps%2Ftree%2Fmaster%2FImageGeneration%2Fversion= s&data=3D04%7C01%7Cofer.eilon%40nuvoton.com%7Ce56881b8491d42e5ee4c08d8d= 71bacd4%7Ca3f24931d4034b4a94f17d83ac638e07%7C0%7C0%7C637495861162860437%7CU= nknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLC= JXVCI6Mn0%3D%7C1000&sdata=3D0%2BNzEv%2FSX9QTg0XumchRrU61uGbZ3CZXrtspXu2= 560I%3D&reserved=3D0 > > Please use latest from uboot.bin github. > > Regards, > Ofer > > > -----Original Message----- > From: Avi Fishman > Sent: Monday, February 22, 2021 12:21 PM > To: Anton Kachalov > Cc: Tomer Maimon ; Benjamin Fair ; Tali Perry ; Patrick Venture ; Nancy Yuen ; Rob Herring ; Ope= nBMC Maillist ; devicetree ; Linux Kernel Mailing List ; IS20 Ofer= Eilon > Subject: Re: [PATCH] ARM: dts: nuvoton: Fix flash layout > > Ofer, > > Can you check why u-boot doesn't work with SD cards? > > On Mon, Feb 22, 2021 at 11:27 AM Anton Kachalov wrote= : > > > > Hi, Tom. > > > > Yes, I'm using it for testing on real hardware. > > > > BTW. Recent u-boot doesn't work with SD cards. The card doesn't > > detect. The last working version was this one: > > > > https://apc01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit= h > > ub.com%2FNuvoton-Israel%2Fnuvoton-info%2Ftree%2Fmaster%2Fnpcm7xx-poleg > > %2Fevaluation-board%2Fsw_deliverables%2Fnpcm7xx_v2.3&data=3D04%7C01= % > > 7Cofer.eilon%40nuvoton.com%7Ce56881b8491d42e5ee4c08d8d71bacd4%7Ca3f249 > > 31d4034b4a94f17d83ac638e07%7C0%7C0%7C637495861162860437%7CUnknown%7CTW > > FpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6 > > Mn0%3D%7C1000&sdata=3Df4t41g3CQaFTQNfwwNVBrIwQScndIGcfRTms0yrTn5o%3= D > > &reserved=3D0 > > > > However, u-boot from igps repo: > > > > https://apc01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit= h > > ub.com%2FNuvoton-Israel%2Figps%2Ftree%2Fmaster%2FImageGeneration%2Fver > > sions&data=3D04%7C01%7Cofer.eilon%40nuvoton.com%7Ce56881b8491d42e5e= e > > 4c08d8d71bacd4%7Ca3f24931d4034b4a94f17d83ac638e07%7C0%7C0%7C6374958611 > > 62860437%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiL > > CJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3D0%2BNzEv%2FSX9QTg0Xumc= h > > RrU61uGbZ3CZXrtspXu2560I%3D&reserved=3D0 > > > > Has issues too. It doesn't allow me to read more than 4k bytes once at > > a time. Thus, to flash the stuff I have manually read chunks from the > > SD-card: fat load doesn't work at all and I write that data in raw > > partition. > > > > On Sun, 21 Feb 2021 at 17:40, Tomer Maimon wrote: > > > > > > Hi Benjamin and Anton, > > > > > > Sorry for the late reply, > > > > > > The EVB FIU0-CS0 partitioning is used for testing the EVB and this is= why it is different than the OpenBMC flash layout. > > > > > > > > > > > > Are you using the NPCM7XX EVB for OpenBMC? if yes we can consider to = modify the flash partition to OpenBMC use. > > > > > > > > > On Thu, 18 Feb 2021 at 19:11, Benjamin Fair = wrote: > > >> > > >> On Thu, 18 Feb 2021 at 04:42, wrote: > > >> > > > >> > From: "Anton D. Kachalov" > > >> > > > >> > This change satisfy OpenBMC requirements for flash layout. > > >> > > > >> > Signed-off-by: Anton D. Kachalov > > >> > --- > > >> > arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 28 > > >> > +++++++---------------- > > >> > 1 file changed, 8 insertions(+), 20 deletions(-) > > >> > > > >> > diff --git a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts > > >> > b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts > > >> > index bd1eb6ee380f..741c1fee8552 100644 > > >> > --- a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts > > >> > +++ b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts > > >> > @@ -182,8 +182,8 @@ bbuboot2@80000 { > > >> > reg =3D <0x0080000 0x80000>; > > >> > read-only; > > >> > }; > > >> > - envparam@100000 { > > >> > - label =3D "env-param"; > > >> > + ubootenv@100000 { > > >> > + label =3D "u-boot-env"; > > >> > reg =3D <0x0100000 0x40000>; > > >> > read-only; > > >> > }; @@ -195,25 +195,13 @@ > > >> > kernel@200000 { > > >> > label =3D "kernel"; > > >> > reg =3D <0x0200000 0x400000>; > > >> > }; > > >> > - rootfs@600000 { > > >> > - label =3D "rootfs"; > > >> > - reg =3D <0x0600000 0x700000>; > > >> > + rofs@780000 { > > >> > + label =3D "rofs"; > > >> > + reg =3D <0x0780000 0x1680000>; > > >> > }; > > >> > - spare1@D00000 { > > >> > - label =3D "spare1"; > > >> > - reg =3D <0x0D00000 0x200000>; > > >> > - }; > > >> > - spare2@0F00000 { > > >> > - label =3D "spare2"; > > >> > - reg =3D <0x0F00000 0x200000>; > > >> > - }; > > >> > - spare3@1100000 { > > >> > - label =3D "spare3"; > > >> > - reg =3D <0x1100000 0x200000>; > > >> > - }; > > >> > - spare4@1300000 { > > >> > - label =3D "spare4"; > > >> > - reg =3D <0x1300000 0x0>; > > >> > + rwfs@1e00000 { > > >> > + label =3D "rwfs"; > > >> > + reg =3D <0x1e00000 0x200000>; > > >> > }; > > >> > > >> I recommend just including the openbmc-flash-layout.dtsi file here > > >> instead since that contains the common flash layout for most > > >> OpenBMC systems. > > >> > > > Good solution, > > > Do you mean nuvoton-openbmc-flash-layout? > > >> > > >> > }; > > >> > }; > > >> > -- > > >> > 2.30.0.478.g8a0d178c01-goog > > >> > > > > > > > > > > Thanks, > > > > > > Tomer > > > > -- > Regards, > Avi > ________________________________ > ________________________________ > The privileged confidential information contained in this email is inten= ded for use only by the addressees as indicated by the original sender of t= his email. If you are not the addressee indicated in this email or are not = responsible for delivery of the email to such a person, please kindly reply= to the sender indicating this fact and delete all copies of it from your c= omputer and network server immediately. Your cooperation is highly apprecia= ted. It is advised that any unauthorized use of confidential information of= Nuvoton is strictly prohibited; and any information in this email irreleva= nt to the official business of Nuvoton shall be deemed as neither given nor= endorsed by Nuvoton. 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=-18.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 F2FEEC433E0 for ; Mon, 22 Feb 2021 14:25:36 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 4178864DF0 for ; Mon, 22 Feb 2021 14:25:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4178864DF0 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4DkkxB0rngz3cLv for ; Tue, 23 Feb 2021 01:25:34 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20161025 header.b=fvokkzxs; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=google.com (client-ip=2607:f8b0:4864:20::d32; helo=mail-io1-xd32.google.com; envelope-from=gmouse@google.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20161025 header.b=fvokkzxs; dkim-atps=neutral Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Dkkwk4h3wz30Gs for ; Tue, 23 Feb 2021 01:25:07 +1100 (AEDT) Received: by mail-io1-xd32.google.com with SMTP id f20so13351287ioo.10 for ; Mon, 22 Feb 2021 06:25:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=juvEdxvqKlsBbe0kNmOCQgwG0HjLQ/hRQBwpyDMYnmo=; b=fvokkzxsdTHfIYUj61qfUuDxsLNfBMQKlqji7FgUeScjfAdis8TZOyzE7TEXwpKx7S oohO19+xYOg827rtjrhEe+FmUkmkUXg2xJRD32Zh3IyQUuSKDl9rHdGgCj412zT/Cryn UhMvCHEI4Ppfyyj92dn8/yMYVd8jFQ+phi1j3M2k1oRzoUneP2BvnKReu564bvg+Nkph CppDfFxt4RhnWMOgMsvsMq0k7dos70k6wqRunZGGOY7bMNX69oGx8DhSsKbClRHNBmNm Gmy1Y0till1TQQc6pp6QQJbHoYb3RHyF6ncYD8BOIV7Tp7bOM5TOI3mUom3bPQI0cYua LE2A== 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:content-transfer-encoding; bh=juvEdxvqKlsBbe0kNmOCQgwG0HjLQ/hRQBwpyDMYnmo=; b=RGnwz5r1tynGqRFIQDhC7RHpcc401a++Wk3C2jOua61zIlhwW9oc3Pf1/ZIrjgcWRK iHHv7wejm5tjpCW1uznR7KjC6S5erFA+PqCUAtGj4QTce/AeRq6Y9njYcEMWuY7C7Ohq au7+9LBhFOvfzSKjOW0hElaXtUXHj8kBAlzLJWoc0Z8N61p83ga69tpCrVmwz8Tot2ne oEksVZV4h61XCdE3CVrhfCW9FWhMJbryI+CiCOS2x6PxUCa0KHQ4M3Je34W49a99tN/Q 5qq6IC4JOi4KHxx+L0RytfXjXTWhfcIXz1l6H/PGi+/uPLPq4CUQByODt3kEPWcssyzM NKFg== X-Gm-Message-State: AOAM530j4+4IHee5NiYVCS6rhJWcvoW+y6jeLKkC5PjBrHQDWqwyM2Oo FVtcFEPecXfYnLNtmVNBp9uxCJF17d/P5GtpLubG7A== X-Google-Smtp-Source: ABdhPJy3M+h35T2uzDveX/x0hkvGAVdKHe5fATxRFSSA9XpiGViMrALwDqQ4Rf85oWU9lEbPKG0zBz8idgOhmIOL3jg= X-Received: by 2002:a5d:8490:: with SMTP id t16mr15471280iom.91.1614003901803; Mon, 22 Feb 2021 06:25:01 -0800 (PST) MIME-Version: 1.0 References: <20210218122546.3546582-1-gmouse@google.com> In-Reply-To: From: Anton Kachalov Date: Mon, 22 Feb 2021 15:24:49 +0100 Message-ID: Subject: Re: [PATCH] ARM: dts: nuvoton: Fix flash layout To: IS20 Ofer Eilon Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree , Tomer Maimon , Avi Fishman , Patrick Venture , OpenBMC Maillist , Linux Kernel Mailing List , Tali Perry , Rob Herring , Benjamin Fair Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" Ofer, The oldest version from igps doesn't work as well as the latest version from u-boot github. The only version that works for me is in software deliverables: https://github.com/Nuvoton-Israel/nuvoton-info/tree/master/npcm7xx-poleg/ev= aluation-board/sw_deliverables/npcm7xx_v2.3 On Mon, 22 Feb 2021 at 15:10, IS20 Ofer Eilon wrot= e: > > Hi Avi, > > It seems an old version of uboot u-boot_2019.01.7.5.bin from igps below= : > > > https://apc01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit= hub.com%2FNuvoton-Israel%2Figps%2Ftree%2Fmaster%2FImageGeneration%2Fversion= s&data=3D04%7C01%7Cofer.eilon%40nuvoton.com%7Ce56881b8491d42e5ee4c08d8d= 71bacd4%7Ca3f24931d4034b4a94f17d83ac638e07%7C0%7C0%7C637495861162860437%7CU= nknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLC= JXVCI6Mn0%3D%7C1000&sdata=3D0%2BNzEv%2FSX9QTg0XumchRrU61uGbZ3CZXrtspXu2= 560I%3D&reserved=3D0 > > Please use latest from uboot.bin github. > > Regards, > Ofer > > > -----Original Message----- > From: Avi Fishman > Sent: Monday, February 22, 2021 12:21 PM > To: Anton Kachalov > Cc: Tomer Maimon ; Benjamin Fair ; Tali Perry ; Patrick Venture ; Nancy Yuen ; Rob Herring ; Ope= nBMC Maillist ; devicetree ; Linux Kernel Mailing List ; IS20 Ofer= Eilon > Subject: Re: [PATCH] ARM: dts: nuvoton: Fix flash layout > > Ofer, > > Can you check why u-boot doesn't work with SD cards? > > On Mon, Feb 22, 2021 at 11:27 AM Anton Kachalov wrote= : > > > > Hi, Tom. > > > > Yes, I'm using it for testing on real hardware. > > > > BTW. Recent u-boot doesn't work with SD cards. The card doesn't > > detect. The last working version was this one: > > > > https://apc01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit= h > > ub.com%2FNuvoton-Israel%2Fnuvoton-info%2Ftree%2Fmaster%2Fnpcm7xx-poleg > > %2Fevaluation-board%2Fsw_deliverables%2Fnpcm7xx_v2.3&data=3D04%7C01= % > > 7Cofer.eilon%40nuvoton.com%7Ce56881b8491d42e5ee4c08d8d71bacd4%7Ca3f249 > > 31d4034b4a94f17d83ac638e07%7C0%7C0%7C637495861162860437%7CUnknown%7CTW > > FpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6 > > Mn0%3D%7C1000&sdata=3Df4t41g3CQaFTQNfwwNVBrIwQScndIGcfRTms0yrTn5o%3= D > > &reserved=3D0 > > > > However, u-boot from igps repo: > > > > https://apc01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgit= h > > ub.com%2FNuvoton-Israel%2Figps%2Ftree%2Fmaster%2FImageGeneration%2Fver > > sions&data=3D04%7C01%7Cofer.eilon%40nuvoton.com%7Ce56881b8491d42e5e= e > > 4c08d8d71bacd4%7Ca3f24931d4034b4a94f17d83ac638e07%7C0%7C0%7C6374958611 > > 62860437%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiL > > CJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3D0%2BNzEv%2FSX9QTg0Xumc= h > > RrU61uGbZ3CZXrtspXu2560I%3D&reserved=3D0 > > > > Has issues too. It doesn't allow me to read more than 4k bytes once at > > a time. Thus, to flash the stuff I have manually read chunks from the > > SD-card: fat load doesn't work at all and I write that data in raw > > partition. > > > > On Sun, 21 Feb 2021 at 17:40, Tomer Maimon wrote: > > > > > > Hi Benjamin and Anton, > > > > > > Sorry for the late reply, > > > > > > The EVB FIU0-CS0 partitioning is used for testing the EVB and this is= why it is different than the OpenBMC flash layout. > > > > > > > > > > > > Are you using the NPCM7XX EVB for OpenBMC? if yes we can consider to = modify the flash partition to OpenBMC use. > > > > > > > > > On Thu, 18 Feb 2021 at 19:11, Benjamin Fair = wrote: > > >> > > >> On Thu, 18 Feb 2021 at 04:42, wrote: > > >> > > > >> > From: "Anton D. Kachalov" > > >> > > > >> > This change satisfy OpenBMC requirements for flash layout. > > >> > > > >> > Signed-off-by: Anton D. Kachalov > > >> > --- > > >> > arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 28 > > >> > +++++++---------------- > > >> > 1 file changed, 8 insertions(+), 20 deletions(-) > > >> > > > >> > diff --git a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts > > >> > b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts > > >> > index bd1eb6ee380f..741c1fee8552 100644 > > >> > --- a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts > > >> > +++ b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts > > >> > @@ -182,8 +182,8 @@ bbuboot2@80000 { > > >> > reg =3D <0x0080000 0x80000>; > > >> > read-only; > > >> > }; > > >> > - envparam@100000 { > > >> > - label =3D "env-param"; > > >> > + ubootenv@100000 { > > >> > + label =3D "u-boot-env"; > > >> > reg =3D <0x0100000 0x40000>; > > >> > read-only; > > >> > }; @@ -195,25 +195,13 @@ > > >> > kernel@200000 { > > >> > label =3D "kernel"; > > >> > reg =3D <0x0200000 0x400000>; > > >> > }; > > >> > - rootfs@600000 { > > >> > - label =3D "rootfs"; > > >> > - reg =3D <0x0600000 0x700000>; > > >> > + rofs@780000 { > > >> > + label =3D "rofs"; > > >> > + reg =3D <0x0780000 0x1680000>; > > >> > }; > > >> > - spare1@D00000 { > > >> > - label =3D "spare1"; > > >> > - reg =3D <0x0D00000 0x200000>; > > >> > - }; > > >> > - spare2@0F00000 { > > >> > - label =3D "spare2"; > > >> > - reg =3D <0x0F00000 0x200000>; > > >> > - }; > > >> > - spare3@1100000 { > > >> > - label =3D "spare3"; > > >> > - reg =3D <0x1100000 0x200000>; > > >> > - }; > > >> > - spare4@1300000 { > > >> > - label =3D "spare4"; > > >> > - reg =3D <0x1300000 0x0>; > > >> > + rwfs@1e00000 { > > >> > + label =3D "rwfs"; > > >> > + reg =3D <0x1e00000 0x200000>; > > >> > }; > > >> > > >> I recommend just including the openbmc-flash-layout.dtsi file here > > >> instead since that contains the common flash layout for most > > >> OpenBMC systems. > > >> > > > Good solution, > > > Do you mean nuvoton-openbmc-flash-layout? > > >> > > >> > }; > > >> > }; > > >> > -- > > >> > 2.30.0.478.g8a0d178c01-goog > > >> > > > > > > > > > > Thanks, > > > > > > Tomer > > > > -- > Regards, > Avi > ________________________________ > ________________________________ > The privileged confidential information contained in this email is inten= ded for use only by the addressees as indicated by the original sender of t= his email. If you are not the addressee indicated in this email or are not = responsible for delivery of the email to such a person, please kindly reply= to the sender indicating this fact and delete all copies of it from your c= omputer and network server immediately. Your cooperation is highly apprecia= ted. It is advised that any unauthorized use of confidential information of= Nuvoton is strictly prohibited; and any information in this email irreleva= nt to the official business of Nuvoton shall be deemed as neither given nor= endorsed by Nuvoton.