Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6156230ybf; Thu, 5 Mar 2020 14:23:06 -0800 (PST) X-Google-Smtp-Source: ADFU+vvO2aeLukTMZ9083ATfCsq0MeR5uw53A1nuDbW788k4PQOZ3/KiybKL1VgXT63LNQFbcwwS X-Received: by 2002:aca:d40c:: with SMTP id l12mr484276oig.65.1583446986657; Thu, 05 Mar 2020 14:23:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583446986; cv=none; d=google.com; s=arc-20160816; b=Okxt9eD1cM9/XaX7PHn+gzzmr55uLA+/xeLJAUgRwc9pBPrg6F5CmjgLg2YyMG2Goq S56gX/O5RlVYOPTmvqIo0R0cjqVebmGuEa1BDYguys0gn2H6on2Hn2WlzQjtY1X+IbAN uUIBkcz2yp6e5FmwQVeimyTp5ilhpNY090d3spZ4y/W8EHwuZrbCSI8zV0RQddrsPkkX TspEDzEOyI2c15w7xFfWWpdNey84tOm50K8Zet35hG3BILECHSIYRF0th/JlgPwjHanI JsrZ1CvJvLIwytFWABYuX7OHoZ4taFzCDaj/5BAtH+agN2q36xdQpD2OZPnsZm+jIxJB 0diw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Z7TiigNdjz+orfMlREKYMBZDrTKamsieMAuLprR2Fyw=; b=n6O1hb5LoAJxUPK/1dveFsPFGOkmimBUBcQ8rBmoShb41+ecH+wmFlld55qywDwZva P1vHOmna7lfmfOTM6x0ZpAFOpRwsJ/LmY4tETJyXf0cNKGXOa2vhsvY/0gvm0EqAlIri dXT43mcCF4BYtoTS2dHMo689JvOUQsP8TE4/KQcmRZDTsyBQ78J4XiYFOhse4VxYrBtO npLmvFD8P2px+MeMiZx033vSNwmPGDfQaII2EiuBU10CUEFyx8yYfnlQwVTuahLO9IoM 2tKjG3TfWM8VOgzkVitbJ+T9I1Z2LVykjlY73W9pjl/018ptLJH7EFreg01TruSx2VIo WWqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DjlglfJN; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c83si195526oig.116.2020.03.05.14.22.54; Thu, 05 Mar 2020 14:23:06 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DjlglfJN; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726485AbgCEWV5 (ORCPT + 99 others); Thu, 5 Mar 2020 17:21:57 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43817 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726111AbgCEWV5 (ORCPT ); Thu, 5 Mar 2020 17:21:57 -0500 Received: by mail-wr1-f65.google.com with SMTP id v9so39952wrf.10; Thu, 05 Mar 2020 14:21:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Z7TiigNdjz+orfMlREKYMBZDrTKamsieMAuLprR2Fyw=; b=DjlglfJNJgBMOUmIioZMi+av2xMFnc/T2klMGdKaUEe06g41gCfZe+GdBgLANYqHFX YEy+LhwwPcxS+IzUlpR7Yu0fPJoFIsO/YtQgKWkHJPOux8wQCWy4uMX1phLX2cozPtbA rZ6TESS/7JM35YzciXup4yFqEK6ME98LnEQfT41dSfiIBHJd3vvhqaYwm4Z1jOJ8+YJ1 hO2mdK6OiIT0dZmXXy/Ll4eoQYtZhPg7DTU/hoVFRNrzQ6GTnIe9O838s6bWWtTKQMJm /mx8ecIwB4CdKPG+vxVFkqaknTLQhfHIg6DRiLB+ENIwkvWiqj7rj1GnLe6WvxhvV8AD 3+aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Z7TiigNdjz+orfMlREKYMBZDrTKamsieMAuLprR2Fyw=; b=NhC7ezAQ53FGACFE5l3zMh9frzYcv+rVsfNSRXn7cIY/sM6hneN4hXol6C+hbqKBNb 4sh2gBsMq77k1cKXg9Ab1QYEvu54ePG8dVujxIPWM09R6oRu4Nvdaovu0HQLvG63mwAH rcH0ib5Izpdisba24oBQBVVonPA/8TyMo5oDZrAYvKVu3f5lgtTGKsyzAeYwdGurOPQk uoeWlp1NcMLZ8B9IOvdgFS+oCqadCcO+fNFahiqj8gbZcEeqv0RNq8AJFqgnnSKA5Im3 uAcsffMcqUu527V9ib5CthQayTGmjy0/amrFjoVQfhJImCiLPOJnkyBoPQ3cfjICoJGW JjsQ== X-Gm-Message-State: ANhLgQ2NCGlnx3Af74WKFxoOSEI7jlzYQ0G8Iz8o8L76Tv8NB096F71p 7OSxfLh1ESCLfQPm79Yc9R9CRk15 X-Received: by 2002:a5d:518b:: with SMTP id k11mr132122wrv.114.1583446914878; Thu, 05 Mar 2020 14:21:54 -0800 (PST) Received: from [192.168.2.1] (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id l5sm11017229wml.3.2020.03.05.14.21.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Mar 2020 14:21:54 -0800 (PST) Subject: Re: [PATCH 2/3] ARM: dts: rockchip: add missing @0 to memory nodenames To: Heiko Stuebner , robh+dt@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <20200304074051.8742-1-jbx6244@gmail.com> <20200304074051.8742-2-jbx6244@gmail.com> <1784340.9KJLpVao5L@phil> From: Johan Jonker Message-ID: <2a5ef6fc-2487-91ef-24ce-97dd47b0a137@gmail.com> Date: Thu, 5 Mar 2020 23:21:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <1784340.9KJLpVao5L@phil> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Heiko, Goal was to reduce the error output of existing code a little bit, so that we can use it for the review of new patches. Some questions: As I don't have the hardware, where else is coreboot used? Is this a rk3288-veyron.dtsi problem only? ie. Is it a option to produce a patch serie v2 without veyron? Can someone help testing? Johan On 3/5/20 10:31 PM, Heiko Stuebner wrote: > Hi Johan, > > Am Mittwoch, 4. März 2020, 08:40:50 CET schrieb Johan Jonker: >> A test with the command below gives for example this error: >> >> arch/arm/boot/dts/rk3288-tinker.dt.yaml: /: memory: >> False schema does not allow >> {'device_type': ['memory'], 'reg': [[0, 0, 0, 2147483648]]} >> >> The memory nodes all have a reg property that requires '@' in >> the nodename. Fix this error by adding the missing '@0' to >> the involved memory nodenames. >> >> make ARCH=arm dtbs_check >> DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/ >> schemas/root-node.yaml > > changes to memory nodes you sadly cannot do in such an automated fashion. > If you read the comment in rk3288-veyron.dtsi you'll see that a previous > similar iteration broke all of those machines as their coreboot doesn't > copy with memory@0 and would insert another memory node without @0 > > In the past iteration the consensus then was that memory without @0 > is also ok (as it isn't changeable anyway). > > As I don't really want to repeat that, I'd like actual hardware tests > before touching memory nodes. Any suggestion/feedback rapport welcome. > > Heiko > >