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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F37DCC433F5 for ; Fri, 5 Nov 2021 03:30:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 B0D2F60F9D for ; Fri, 5 Nov 2021 03:30:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B0D2F60F9D Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EPRZ7ggYIGvJrZOPxeZ92QHk53RDA2+Mt0DfrJp3mTU=; b=HytNZXkohJPnoj ugPfKRY1C4kNu+TeajxxjrLX6RWcjO+o4copIKEUsm8lfELSsKZb0MzPtSr7Q2vMoML6FOMzoNO3X GFPqzcKQLvElnFOI7bXkvks5Hg8zKVJLSt0ntiluYwtWgoT1v68VX1Y+2LQ9alDksuhBRzL25WIrT DkOBlHyjuhqhCyQPs5VCynN+KHBeI8RTOceSYgSMH2qtTKLUgn7eIMrPwKkDuiso9yAX7wt3mCVp9 EMjfJz/7Zvh/gpxYL1Pw44r/4V+hLvDqhjUa5gexuMrwtRrQED/PE218wZWFJtLkVN7EElKcOynLN 6fuytYnLwt3rsp2lHS7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mipuc-00AV0M-Nn; Fri, 05 Nov 2021 03:29:06 +0000 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mipuY-00AUzw-Nn for linux-arm-kernel@lists.infradead.org; Fri, 05 Nov 2021 03:29:04 +0000 Received: by mail-lj1-x229.google.com with SMTP id r10so11671022ljj.11 for ; Thu, 04 Nov 2021 20:29:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EFhEGzd3uyu/upM/gXOMVH8uE8syXTQEP3bcTaF1vUM=; b=bFpgSBejwW0dhsvKWz/Gl9WyeQUV8bS0IHfmuMBgavQbazBkcpoUljvn3agruMgs1T MJocHOk2gCyW1AdFDJRJU94NZZlWyYl9EQCs4fWJBesThZelQAKraLpiPXXQKp8Jmd6S YdUxo3nem1UNKZVeplLWCJnicWwKSh7vc7WZ06aNc1bO7j7WXUCGqLHK7t6UfVsWGoR2 pmKSsGFj1fzvzmW4XBb3kLmXMJ5DDpglzWqOG2kRDTTEahKZDQCu1MQGytLrzES4ZULa XK2z7oWBVQqbdk1sYiXtKg5cEkipLSLgcKOn4e1NUvoRztIaC5MXUjj0WWkKuqII8p3L 2HaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EFhEGzd3uyu/upM/gXOMVH8uE8syXTQEP3bcTaF1vUM=; b=sN/TEoWWqpJqUTJhCwnBvNYJky5a3yIl7hRriyCwV16q41tVqdP6XFXhxO67Sg+I0w 0FddykVHpKzNNof82qPgLXRGIYjGiv4PZLhypFEKRgM/2sFMOAcMbDD12HfAxIw34IPV j91rTc0RiwR47b5Cwi3Qv0xTlhhyOEn+4c0SLCv4GjelCswmhwz6Wrgxjtfx2r72NC4r pBIA2Kc8xjeZoyfFn/F0bqZ0NFmWgXMtt4zw4jzuN2Y4bQ8ODj0jn/0ZeSor4Tn1k9R1 5Mnz0IQZfDw/kf8wURhrzf2kuBnWUM0rfRq0Q14C6FGAFx2wlVJQSbUe3SKowAVWBeTT xXQA== X-Gm-Message-State: AOAM532pJNlsN00drjHPFdWvy7a/8NVSc1TfJY2s7eXkmCXSF5PWE/SV qX8qc1Cwfz172OabC3O7DIjixsmFlD2hRPouqY4b33D3dFE= X-Google-Smtp-Source: ABdhPJz8qB4ZfOYpsc8hKtslo4tMCaACoDrduKl98yH+ZHvuxpZdu3mSg4Uekql9oE5ax3BjnenSvSAjQ71zsofqEuo= X-Received: by 2002:a05:651c:1784:: with SMTP id bn4mr59884622ljb.521.1636082939433; Thu, 04 Nov 2021 20:28:59 -0700 (PDT) MIME-Version: 1.0 References: <20211105005955.107419-1-osk@google.com> In-Reply-To: From: Oskar Senft Date: Thu, 4 Nov 2021 23:28:43 -0400 Message-ID: Subject: Re: [PATCH v2] ARM: dts: aspeed: tyan-s7106: Update nct7802 config To: Joel Stanley Cc: Linux ARM , linux-aspeed , Linux Kernel Mailing List , Rob Herring , Andrew Jeffery X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211104_202902_799750_F2018A8B X-CRM114-Status: GOOD ( 17.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Joel > I test the kernels independently of yocto; I recommend doing that with > a cross compiler when submitting patches upstream. My flow looks like > this: > [...] > A few notes: > - I use the cross compiler from my distro. Debian unstable has GCC > 11.2.0, which is the same as openbmc. You can use the compiler from > your openbmc build tree if you aren't able to install a modern > compiler I couldn't figure out how to use the compiler from the OpenBMC tree. The biggest issue is that it has "openbmc" in its name and Linux build was getting confused by it. I gave up on that approach and found how to install the right cross compiler in our environment. That worked well. Thanks for the hints! > - building with -s means warnings stand out Excellent idea, thank you! > - if you're working on device trees and want to ensure your binary is > being built each time, omit the -s and build the 'dtbs' target Ack. I'll send a PATCH v3 now. Oskar. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8ADA7C433F5 for ; Fri, 5 Nov 2021 03:32:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6274D60FC2 for ; Fri, 5 Nov 2021 03:32:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231543AbhKEDbl (ORCPT ); Thu, 4 Nov 2021 23:31:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230251AbhKEDbk (ORCPT ); Thu, 4 Nov 2021 23:31:40 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BBBCC061714 for ; Thu, 4 Nov 2021 20:29:01 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id y8so12881910ljm.4 for ; Thu, 04 Nov 2021 20:29:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EFhEGzd3uyu/upM/gXOMVH8uE8syXTQEP3bcTaF1vUM=; b=bFpgSBejwW0dhsvKWz/Gl9WyeQUV8bS0IHfmuMBgavQbazBkcpoUljvn3agruMgs1T MJocHOk2gCyW1AdFDJRJU94NZZlWyYl9EQCs4fWJBesThZelQAKraLpiPXXQKp8Jmd6S YdUxo3nem1UNKZVeplLWCJnicWwKSh7vc7WZ06aNc1bO7j7WXUCGqLHK7t6UfVsWGoR2 pmKSsGFj1fzvzmW4XBb3kLmXMJ5DDpglzWqOG2kRDTTEahKZDQCu1MQGytLrzES4ZULa XK2z7oWBVQqbdk1sYiXtKg5cEkipLSLgcKOn4e1NUvoRztIaC5MXUjj0WWkKuqII8p3L 2HaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EFhEGzd3uyu/upM/gXOMVH8uE8syXTQEP3bcTaF1vUM=; b=0ev9rcOTM9JUvtzkY+HaPUUDoKSqfSPt/JsJKa/EVsKjlNQJysW+Kfurpa9TddkM2z o7tJMCDV4GqcOoj0Db9Hrp87M5pEIfyB3qbYsTIFXzc0krxE23o/2G9hNw4eolFdEjGx UE/8e+KUuUAHX6XMs6B9YlkdGqPL8pC6H6SoN8aUIeNFAOplnLhECNH8NgfS5Z8lWNxL NN9QRdbhp+3Lj6prghS4yEZDUZuIa+vvpfOWJ9iEt73w5stI/zD/TUxPnoWLOLHh83gO XW5iECJ+7hDsS9FF3fQZfOo/i1A7BwwzB/2dKtC4s9+2DYGbp4Cj6ykpAo2ZbcBDqj1l 4sYg== X-Gm-Message-State: AOAM5327hSOX/N0PKIZ5LZ85+ILtorwLQMbpfSSk7r5OP3ed0mYELZyP i9CWAxPy00zLxACuyuMtY5nCHuuew9g5hw3g+/gr3g== X-Google-Smtp-Source: ABdhPJz8qB4ZfOYpsc8hKtslo4tMCaACoDrduKl98yH+ZHvuxpZdu3mSg4Uekql9oE5ax3BjnenSvSAjQ71zsofqEuo= X-Received: by 2002:a05:651c:1784:: with SMTP id bn4mr59884622ljb.521.1636082939433; Thu, 04 Nov 2021 20:28:59 -0700 (PDT) MIME-Version: 1.0 References: <20211105005955.107419-1-osk@google.com> In-Reply-To: From: Oskar Senft Date: Thu, 4 Nov 2021 23:28:43 -0400 Message-ID: Subject: Re: [PATCH v2] ARM: dts: aspeed: tyan-s7106: Update nct7802 config To: Joel Stanley Cc: Linux ARM , linux-aspeed , Linux Kernel Mailing List , Rob Herring , Andrew Jeffery Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Joel > I test the kernels independently of yocto; I recommend doing that with > a cross compiler when submitting patches upstream. My flow looks like > this: > [...] > A few notes: > - I use the cross compiler from my distro. Debian unstable has GCC > 11.2.0, which is the same as openbmc. You can use the compiler from > your openbmc build tree if you aren't able to install a modern > compiler I couldn't figure out how to use the compiler from the OpenBMC tree. The biggest issue is that it has "openbmc" in its name and Linux build was getting confused by it. I gave up on that approach and found how to install the right cross compiler in our environment. That worked well. Thanks for the hints! > - building with -s means warnings stand out Excellent idea, thank you! > - if you're working on device trees and want to ensure your binary is > being built each time, omit the -s and build the 'dtbs' target Ack. I'll send a PATCH v3 now. Oskar.