Received: by 10.223.185.116 with SMTP id b49csp303681wrg; Fri, 2 Mar 2018 19:47:47 -0800 (PST) X-Google-Smtp-Source: AG47ELt0CREY1Ogk8+Y89dvvjvPd1I8K2tKo7z83GV8ehR3kiCvUf4CFFYfeIecijmQxwoJoCvhV X-Received: by 10.98.135.76 with SMTP id i73mr7785974pfe.140.1520048867539; Fri, 02 Mar 2018 19:47:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520048867; cv=none; d=google.com; s=arc-20160816; b=0UY6N0rJMV52sOEJ3ZJkA182kYvFAS4S6MVzZJH4xTJxup83aTgoII5F0u1Pm5q7Wi zSW2b3MQmm8VcyBTTXpVaFLA57Ofc8pnAGg7RMQdszxpquUMhvxfOfZr1gE7von/G9zJ 0NHGCvZEfP9dwSLePED+yxNMDE89qH0q4PyciE44kbflmYqWaPwJ1Icr4tVNK+k7uwoZ GSZBpCBTxmaTJw/5SEXat59hlNQ3cy5YfaV6/VIxy7xZ5yfannqeAVYL6uFA5yNc29TA n7ZLUVp1Y1BlgBICaW0/D1Nw1+M1AxaQccCA6d9ugUp7WAzWkiu+3yJdAnAcmJJ9Uet3 zEZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=dlw8TOyp7ciU9VSC6dyz7kjdH2JC3h5eRj/jCy3bbBk=; b=stxq7C99LHoYk1H3P2pJMHMi18ssv4Tdi2o2mVt8asVnFSFUYVWxTgWXu/g1dR06f2 aSNx1fqLr3ibmp3A44CwEjOpMNrv5k1xOSX/RFA7n4MgHYCUQYio6f5X4udZhvGqo2JS A9rMp8LZGMRevhNtSyE8iQLGOPraozy3+3rvleLD68dP5WuDsX/Ww75MpfEHvfu5HDMg 1YPJhXp/924o8L7XXxtDmXev/9tWUTvS8ycWzwrXi8L7NVR0EFEmJfSaePRk1IswMkdN JDKy887VRABSZ4SeZ9ARGw+9DNa2c8u59hHJXzuLd3v0tchrBlpvmp+Lbbuu9XkYVqkV cvOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9si1321429pfk.308.2018.03.02.19.47.33; Fri, 02 Mar 2018 19:47:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934604AbeCBX1Q (ORCPT + 99 others); Fri, 2 Mar 2018 18:27:16 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:6767 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S934230AbeCBX1P (ORCPT ); Fri, 2 Mar 2018 18:27:15 -0500 X-UUID: d2b64133b6474cf793904b76986f70aa-20180303 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1049965229; Sat, 03 Mar 2018 07:27:10 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Sat, 3 Mar 2018 07:27:08 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Sat, 3 Mar 2018 07:27:09 +0800 Message-ID: <1520033229.8089.198.camel@mtkswgap22> Subject: Re: [PATCH v1 16/19] arm: dts: mt7623: fixup available memory size on bananapi-r2 From: Sean Wang To: Rob Herring CC: , , , , , Date: Sat, 3 Mar 2018 07:27:09 +0800 In-Reply-To: <20180302154215.xr3b2zlmuojw5i6l@rob-hp-laptop> References: <20180302154215.xr3b2zlmuojw5i6l@rob-hp-laptop> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-03-02 at 09:42 -0600, Rob Herring wrote: > On Fri, Feb 23, 2018 at 06:16:36PM +0800, sean.wang@mediatek.com wrote: > > From: Sean Wang > > > > There is 2GB DDR3 available on bananapi-r2 board as [1] specified. > > > > [1] http://www.banana-pi.org/r2.html > > > > Signed-off-by: Sean Wang > > --- > > arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > > index 140ff78..3e8d02c 100644 > > --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > > +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > > @@ -38,6 +38,11 @@ > > default-state = "off"; > > }; > > }; > > + > > + memory { > > Unit address? > If I did it with adding unit address - memory { + memory@80000000 { device_type = "memory"; reg = <0 0x80000000 0 0x80000000>; }; bad dtc blob is being generated and contains two memory nodes, one is memory and the other is memory@80000000 whose blob disassembly detail is as the following. memory { device_type = "memory"; reg = <0x0 0x0 0x0 0x0>; }; memory@80000000 { device_type = "memory"; reg = <0x0 0x80000000 0x0 0x80000000>; }; and bad memory node with size 0 would cause the boot fails. is it a dtc compiler problem ? > > + device_type = "memory"; > > + reg = <0 0x80000000 0 0x80000000>; > > + }; > > }; > > > > &afe { > > -- > > 2.7.4 > >