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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 86067C433F5 for ; Mon, 17 Jan 2022 18:52:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 55B88830C2; Mon, 17 Jan 2022 19:52:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=akkea.ca header.i=@akkea.ca header.b="fAgX6EdW"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="bVvlIidu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8787882A71; Mon, 17 Jan 2022 19:52:49 +0100 (CET) Received: from node.akkea.ca (li1434-30.members.linode.com [45.33.107.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 18BCF832DB for ; Mon, 17 Jan 2022 19:52:46 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=angus@akkea.ca Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 545564E2006; Mon, 17 Jan 2022 18:52:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1642445564; bh=z/JwYpmY5A8zKVQzY2b1fqDYBDg4SEzF2iHfLg2vHSc=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=fAgX6EdWHGPDauf21F3QVjPNBWygYXdLYStAqSoaDiMeBcWhKmNXmUHMYyjvZdriO 1O6GoK/yeIOrbJ9nKDh5UgT7jN6G0BakgyKYk4Q3BfSegjITLmfejXLubJfa67E0b7 gdV0x4xXOhHLPK4F4ovtAhFcJI6Rsk+XjyaQlJxQ= Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mHgZX1TfZsoM; Mon, 17 Jan 2022 18:52:42 +0000 (UTC) Received: from www.akkea.ca (li1434-30.members.linode.com [45.33.107.30]) by node.akkea.ca (Postfix) with ESMTPSA id 781A44E2003; Mon, 17 Jan 2022 18:52:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1642445562; bh=z/JwYpmY5A8zKVQzY2b1fqDYBDg4SEzF2iHfLg2vHSc=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=bVvlIiduKyM0UWiP8s93LJ/1q9TIaULtTXz+qghaR+5LzZg92MDJTJ8B2iDsAe6xG WdGyA2nEX/HyUHYTzg5TLEiaSiOVBC9Vg1WHWEvfRELX3AzYmUn4ReZKpp4Fr2dYx+ GuxiCkq6BZA1QlsKO5Sm4vOkIKBm1rnFsaLybfVg= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 17 Jan 2022 10:52:42 -0800 From: Angus Ainslie To: Tom Rini Cc: "NXP i.MX U-Boot Team" , u-boot@lists.denx.de, Stefano Babic , Fabio Estevam , Peng Fan , Marcel Ziswiler , Teresa Remmet , Adam Ford , Tim Harvey , Jagan Teki , Ilko Iliev , kernel@puri.sm Subject: Re: [PATCH 02/13] arm: dts: add the Purism devicetree files In-Reply-To: <20220117182513.GR2631111@bill-the-cat> References: <20220117150735.218886-1-angus@akkea.ca> <20220117150735.218886-3-angus@akkea.ca> <20220117165932.GL2631111@bill-the-cat> <3498b84cf21f803c0466927fdb83d9be@akkea.ca> <20220117182513.GR2631111@bill-the-cat> Message-ID: X-Sender: angus@akkea.ca User-Agent: Roundcube Webmail/1.3.6 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 2022-01-17 10:25, Tom Rini wrote: > On Mon, Jan 17, 2022 at 09:51:24AM -0800, Angus Ainslie wrote: >> >> There's 2 ways to solve the this I think. >> >> 1) just use the latest librem5 dts file which is made up of 3 >> different >> dts(i) files. >> 2) have a defconfig for each of the different PCB versions. >> >> Do you have a preference ? > > Can you tell the revision at run-time? We have examples of boards that > can and will include revA.dtb and revB.dtb and select the correct one > at > run time (and start with something that works on revA and revB). Due to some changes by NXP in the fuse section of the imx8mq we can't reliably detect some of the earlier revisions. Going forward we should be able to using this https://lists.denx.de/pipermail/u-boot/2021-November/468419.html But that will be post r4 boards.