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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67825C6FA82 for ; Thu, 22 Sep 2022 06:52:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230004AbiIVGwP (ORCPT ); Thu, 22 Sep 2022 02:52:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229973AbiIVGwO (ORCPT ); Thu, 22 Sep 2022 02:52:14 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 319C3B3B0E for ; Wed, 21 Sep 2022 23:52:13 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id a2so13091782lfb.6 for ; Wed, 21 Sep 2022 23:52:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=R4By1A4vsqkhsX1zQ9Pp9D5cDY7oXVIoxYX95+DT5PE=; b=tTATpAtRVwjlDYTCT7pL1pRJbq5m1acku+1Ba7Zt53sySs6UkSNrUaB0GLEOrrFETm 9G+iZtHyPR6SvFXlXV2hcpvCw5gr9fSriZL7EMWe9I5UyUJ4cHdctXvAQHMWiwYS6uEk Qxel41eu2KSTH4QJp9KIBjN6mZz8rZYGYZxRNlURYri7cxs4SptLwa7H2ncezI86NorG wrAWseYtHfxWGryE/asWzRiw8bohgI3b3IRIAch0x6RE4u4C1c5u3TX2ZAr8s1rreqrG cET7sqTGbNafXUKexSsxYPGdCVE8O1ZtqH79YslvG1W5Jj+aDQcuBnB+eJ3VpzbGAQQ5 w85A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=R4By1A4vsqkhsX1zQ9Pp9D5cDY7oXVIoxYX95+DT5PE=; b=2V6bVxk34xCSegALZsHCzd1caFgXUPOjCApHJ7CJGDQw/Q0o7Q1Sro4kvcZkUFtJmY K+Pywvq94Y8yPak7HyEc5yHo8M7UuxYBO+vgya3YUQEi32fDg/AB3j6w6gG+HG6gs8o3 /6MvJr2sjBXRzwg75n8VJ1bOrPC4eKd8bFHGd6IXI0fbGaH8T1Bx3MugO3Xor6uQdOGz WuZGNp8P/7TiTEERSCA1UcLdDbPb5vaxhP/eTrClFiPwYn4EDM2iOX6lUyKhc2U4jrx3 tbjobl4587jLmoLhLlVC+U+VoM8vpEpcX+dEt5RpeCL+XeKkw4ZMeoKifzAX8/CfN5+c Jshg== X-Gm-Message-State: ACrzQf2FN4j2Pmltr/eWJ3vnCAJHsUDSZvbFwqEYHDrbW5eP/sUx/pzl 0Xr3EWq23jri23s/kjh4zbSQNg== X-Google-Smtp-Source: AMsMyM44wyfp1zLUX8FNiyQhFVz7FEelPJEjwbKiOGbAcJVd0bCqI3GEzVjpnk4pR++aYr0d+UdfqA== X-Received: by 2002:a05:6512:3183:b0:498:fa29:35fe with SMTP id i3-20020a056512318300b00498fa2935femr645077lfe.523.1663829531533; Wed, 21 Sep 2022 23:52:11 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id 1-20020ac25f01000000b0049f5358062dsm786705lfq.98.2022.09.21.23.52.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Sep 2022 23:52:11 -0700 (PDT) Message-ID: <6f727f9b-aa1a-3eba-87ec-3e36eeb15351@linaro.org> Date: Thu, 22 Sep 2022 08:52:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v4 2/2] ARM: dts: aspeed: Add AMD DaytonaX BMC Content-Language: en-US To: Konstantin Aladyshev Cc: Arnd Bergmann , Olof Johansson , SoC Team , Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , Linux ARM , devicetree , Linux Kernel Mailing List , linux-aspeed References: <20220920165404.14099-1-aladyshev22@gmail.com> <20220921210950.10568-1-aladyshev22@gmail.com> <20220921210950.10568-3-aladyshev22@gmail.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 21/09/2022 23:15, Konstantin Aladyshev wrote: > Sorry, I still have some questions, can you please help me? > > I work with kernel in the context of the OpenBMC project, and it is > not possible to run 'make dtbs_check' in the linux kernel devshell > (Yocto). So I've tried to download upstream kernel and have performed > the following commands to make the dtbs_check: > ``` > $ make ARCH=arm aspeed_g5_defconfig && make ARCH=arm dtbs_check > ``` > This gave me a ton of output regarding all the problems in all of the > aspeed boards. 'wc -l' says that the log file is about 7080 lines > long. Is it possible to get the output only for my target DTS? The > article that you've referred to > (https://www.kernel.org/doc/Documentation/devicetree/writing-schema.rst) > only have the information about how to run checks against one schema > (DT_SCHEMA_FILES), but it is not the same thing. You can limit it per target. See slide 11: https://osseu2022.sched.com/event/15z0W This might miss some warnings, so better way is to: make ARCH=arm dtbs_check touch your-dts make ARCH=arm dtbs_check You will get only your errors. > > I've manually tried to split the output regarding my DTS file, but > even so the output is overwhelming - https://pastebin.com/b92rnBt0. I > just don't understand if the mentioned things are about the common > "aspeed-g5.dtsi" file that I should ignore or the things regarding > errors in my submitted DTS file. Can you give me some advice on that? Yes, you can ignore errors from dtsi. Best regards, Krzysztof