Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21860380ybl; Mon, 6 Jan 2020 12:49:02 -0800 (PST) X-Google-Smtp-Source: APXvYqz0iMNirS5ABDcMSZS9ghO9uqBi2xi0BE6MyUa4uF+ur7y9RwyPxC3FMuFECjUHYskXbWPN X-Received: by 2002:a9d:21f5:: with SMTP id s108mr101488168otb.152.1578343741821; Mon, 06 Jan 2020 12:49:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578343741; cv=none; d=google.com; s=arc-20160816; b=bAfiEaAh06gMkHeufSHRoOyIvsWE4zt82cjMOyrjBwQ3fb6fDmcrIR2iABbL9L86wj XDvLe3G/BSfAJkYDJRWKTl3ncDQePM8KpTQ/sSUpPUS4SEVdU0VZlR/sRs+tX7KlS4Cm P+RYhk4BHgYVN4WLSWEIo+EMfS44ocTcyrgaVuTvaA3fGeWqDDrtAlLCOdFOPOXkkelH 8z4tsqBMjWHVAM7Jy2wENMAiWVCdCSaJuf4i/h/7Fj2ro6ZolIeZ6chqDVQlhjN7Rd7Z lqoxajyxFcSXWklrSdO3aaYf4yt8qEv/GifmtU62cMsUozAOWBz6vJaTmc48ygQtH6Qf sv8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=ZsjqTDz/x0LzYDkhWCemDBamfkurZ66lsorQfhswrOU=; b=IQAhiWNA7NXgg8foMbRT3EQd0GJr3znZN559yX2lFDUBD8kWVdeTO+i5wTc0xMzE5h scaQmFjdyBQks3uYDgCJ+7UzrfNg04WHgPOhpa8x3S7T6W6zHcilDussTx6dtWjbZLB+ q0Ka35ozjMU45/tvUEmGN74oglIOhz0s/g1DqSbEDU4akBwXZ2lgdXpisFthJ3zX/o0j hoVKa1SgnaZcWhJn7fzOmbVxmNk2viNnS6hBO2y+3Z4THhXgX9B8IvHMgzSIvIYgytWZ uMuZj1kVHtDy2CBXC/vbmGBGQAPB+bxEDiyBBb06rJC1/NeGraDiRFzvqQNmRLILr/bd zwEg== 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 j143si33325533oib.16.2020.01.06.12.48.50; Mon, 06 Jan 2020 12:49:01 -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 S1727112AbgAFUrv convert rfc822-to-8bit (ORCPT + 99 others); Mon, 6 Jan 2020 15:47:51 -0500 Received: from mail-io1-f68.google.com ([209.85.166.68]:39670 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727035AbgAFUrt (ORCPT ); Mon, 6 Jan 2020 15:47:49 -0500 Received: by mail-io1-f68.google.com with SMTP id c16so20199230ioh.6; Mon, 06 Jan 2020 12:47:48 -0800 (PST) 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=dr6kqP9sFPas/i5LLhbsBNpYIgNstL4ct56nJvUTBqY=; b=LlHjE/t4pNa3eB0hB4+Vvn70h6BPVtzqnMfQ9gMejRxCggIjC9qfCwC2+mwrTbeUUj NYyfLZdKSYv1ygmoaSaJZkzK+9rySV0PhGdya+j8OHtwb2MMPSHJliz2rP/gDhONjwVa 4vR3UCBAghX5rbEdTzsFZy0KXqpcChdmV761PCUohyypBJSoG2eSoTWdpgJmmSODv//P jG1x+7FjFxz/vJqrGevFZ0vEyyyUEmHGZiJgTPXSrcE/gC7IZsziLi9zyQk1tHST8ZSX 285XkjpKB7qKIDmS7wG89yjL2FlMDJSIj97R49QeshEEpNY7i1uDyGXU7m4RDYt/nlWb VlpQ== X-Gm-Message-State: APjAAAWPR4/ZWnMY5PbhlW5qcsGLo0/qQCVVW4jDtUr96wqKt47pyF+Z l2v9daYtZbnKIV8KkeeUYZwzOCaKbb0TeGyJDi6W9eB1gVM= X-Received: by 2002:a6b:730c:: with SMTP id e12mr69128756ioh.4.1578343667897; Mon, 06 Jan 2020 12:47:47 -0800 (PST) MIME-Version: 1.0 References: <20200106130909.7697-1-matwey@sai.msu.ru> In-Reply-To: From: "Matwey V. Kornilov" Date: Mon, 6 Jan 2020 23:47:36 +0300 Message-ID: Subject: Re: [PATCH] arm: dts: am335x-boneblack-common: fix memory size To: Robert Nelson Cc: =?UTF-8?Q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring , Mark Rutland , "open list:OMAP DEVICE TREE SUPPORT" , "open list:OMAP DEVICE TREE SUPPORT" , open list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org пн, 6 янв. 2020 г. в 23:44, Robert Nelson : > > On Mon, Jan 6, 2020 at 7:10 AM Matwey V. Kornilov wrote: > > > > BeagleBone Black series is equipped with 512MB RAM > > whereas only 256MB is included from am335x-bone-common.dtsi > > FYI: While all versions from the factory are 512MB, some 3rd parties > offered 1GB reballing upgrades.. > > and the SanCloud variant which uses this file, was built with 1GB: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/am335x-sancloud-bbe.dts > > > > > This leads to an issue with unusual setups when devicetree > > is loaded by GRUB2 directly. > > It's a miracle, since when did GRUB2 gain this ability? > I am not sure about when. But Grub 2.02 has devicetree command, which can be used as the following: echo "Loading device tree blob ..." devicetree (tftp)/dtb/am335x-boneblack.dtb And you know, you can run Grub itself as EFI application on to of u-boot. > > > > Signed-off-by: Matwey V. Kornilov > > --- > > arch/arm/boot/dts/am335x-boneblack-common.dtsi | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/arch/arm/boot/dts/am335x-boneblack-common.dtsi b/arch/arm/boot/dts/am335x-boneblack-common.dtsi > > index 7ad079861efd..91f93bc89716 100644 > > --- a/arch/arm/boot/dts/am335x-boneblack-common.dtsi > > +++ b/arch/arm/boot/dts/am335x-boneblack-common.dtsi > > @@ -131,6 +131,11 @@ > > }; > > > > / { > > + memory@80000000 { > > + device_type = "memory"; > > + reg = <0x80000000 0x20000000>; /* 512 MB */ > > + }; > > + > > clk_mcasp0_fixed: clk_mcasp0_fixed { > > #clock-cells = <0>; > > compatible = "fixed-clock"; > > -- > > 2.16.4 > > > > > -- > Robert Nelson > https://rcn-ee.com/ -- With best regards, Matwey V. Kornilov. Sternberg Astronomical Institute, Lomonosov Moscow State University, Russia 119234, Moscow, Universitetsky pr-k 13, +7 (495) 9392382