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 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 6378EC77B61 for ; Thu, 13 Apr 2023 06:05:24 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 16381859B4; Thu, 13 Apr 2023 08:05:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="lqkKH9ih"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6A5E285CBD; Thu, 13 Apr 2023 08:05:20 +0200 (CEST) Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CB5FD80B98 for ; Thu, 13 Apr 2023 08:05:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=clamor95@gmail.com Received: by mail-ej1-x631.google.com with SMTP id j17so24947478ejs.5 for ; Wed, 12 Apr 2023 23:05:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681365916; x=1683957916; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=PhkNaMt1GmFzdB4dr0eZwYIN7pu0jNT+cKIJPYmJUog=; b=lqkKH9ihTw+47rl21MOgYeeQK6brv+U4i2guykPFwBdOz0+GaKG8iWduqye8aOGnlw 0fZTC7eJjBEo+mi+z2rlO1FWRCjg/YIewTMNMeJ92KDaSVJbshjYlpRHdZ12oa2pSwxB cU0yGL0Vo3yFTOAI6AUz6BfXO3jgkmWpSMXdj+pFRhfjfTR0DPZkKL0IfgTe/azXfS2O v6x5Ot5Ejq4nXM2r5wGQHvYFyT2MxLHGDbmEm8Mt/SzB8KhNvXXsfF9YlFJE6lwYdnGE wR7dGsES9yPCU6Gghu8WnRGEY+8Y25B7++6NxPKEQRJJSMyW+c6GldAYsgOeNRI4Fv5J zlcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681365916; x=1683957916; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PhkNaMt1GmFzdB4dr0eZwYIN7pu0jNT+cKIJPYmJUog=; b=OlXbemUzs4j/FANdYVRTiAcI5VRZUInkAzzrMdYJfvH5z5dwrehLsHn/TU5tCuwJCJ JF6Y2tb1G0CGPkh2dIX819IzzxTruCWS1DuUcWB/89ez/IHcEP974zuMglpTFbWstBFU /HwxwkPpwxHGAfjZw76S3p36KpnXYlB//OoCC8Sqt1MHet8sctJ7bFrjFY4JKqo2ok4b yiONQikv/nKLz8hFbSFGZRs5wdJ+HA3hhM3QS7pcTY96AFZVEXFwtKydfhZ5t7JE6JWr LqLrrzQ2npY+rgOZYeuU9mzOnZsblUPgCC570pAuaghAUB608JT8oiZG67kEm5K1i6/S wo5A== X-Gm-Message-State: AAQBX9ePO4dqTYymXyf/7EzisrqEAc/Qs+FX/i4ysd//W5nGVvmoau31 fLo+8ejbEZm+V438jSylAANBQGftDVEu8Tds/oY= X-Google-Smtp-Source: AKy350biP/5SMs0i6e82s4x3Uqkha6of2flEHNTkganF7JahM7MGo01tU/2VPo2T0KxRlsbXvZ6zhSg+4VV5VdmF4Ms= X-Received: by 2002:a17:907:c789:b0:8df:dc64:30d2 with SMTP id tz9-20020a170907c78900b008dfdc6430d2mr2983197ejc.1.1681365916231; Wed, 12 Apr 2023 23:05:16 -0700 (PDT) MIME-Version: 1.0 References: <20230412194947.11578-1-clamor95@gmail.com> In-Reply-To: From: Svyatoslav Ryhel Date: Thu, 13 Apr 2023 09:05:05 +0300 Message-ID: Subject: Re: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) support To: Tom Warren Cc: Marek Vasut , Philippe Reynes , Marcel Ziswiler , Fabio Estevam , Simon Glass , =?UTF-8?Q?Jonas_Schw=C3=B6bel?= , "u-boot@lists.denx.de" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.8 at phobos.denx.de X-Virus-Status: Clean =D1=87=D1=82, 13 =D0=BA=D0=B2=D1=96=D1=82. 2023=E2=80=AF=D1=80. =D0=BE 02:0= 7 Tom Warren =D0=BF=D0=B8=D1=88=D0=B5: > > Svyatoslav, > > This series (patches 3 & 4, in particular) fails when applied to u-boot-t= egra/master TOT. Error snippet is below (from make p2771-0000-500_defconfig= && make): > > CC arch/arm/mach-tegra/fuse.o > arch/arm/mach-tegra/fuse.c:14:10: fatal error: asm/arch/clock.h: No such = file or directory > #include > ^~~~~~~~~~~~~~~~~~ > compilation terminated. > scripts/Makefile.build:256: recipe for target 'arch/arm/mach-tegra/fuse.o= ' failed > make[1]: *** [arch/arm/mach-tegra/fuse.o] Error 1 > Makefile:1845: recipe for target 'arch/arm/mach-tegra' failed > make: *** [arch/arm/mach-tegra] Error 2 Hello Tom. Thanks for your check. Issue was caused by non exposed headers for T186. I have fixed that in v2, I hope buildman will pass. Additionally I have mod= ified grouper defconfig in such a way that it should pass even without device fragment. Best regards, Svyatoslav R. > > buildman/tegra also fails for that board, and 2 others. Removing those t= wo patches (3 & 4 in your Nexus7 patchset) gets make & buildman working aga= in. > Buildman/tegra worked fine on the base u-boot-tegra/master repo (before I= applied your patchset w/git am). > > PTAL, > > Tom > > -----Original Message----- > From: Svyatoslav Ryhel > Sent: Wednesday, April 12, 2023 12:50 PM > To: Tom Warren ; Svyatoslav Ryhel ; Marek Vasut ; Philippe Reynes ; Marcel Ziswiler ; Fabio Estevam ; Simon Glass ; Jonas Schw=C3=B6bel > Cc: u-boot@lists.denx.de > Subject: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) support > > External email: Use caution opening links or attachments > > > This patchset adds support for native use of U-Boot on ASUS/Google Nexus = 7 (2012), aka grouper/tilapia as a replacement of vendor bootloader. Alongs= ide device bringup tegra requires few small patches: > - add gpio keyboard as stdin device > - make networking boot options optional > - add a small tool to generate SoC UID > > Jonas Schw=C3=B6bel (1): > configs: tegra-common-post: make PXE and DHCP boot targets optional > > Svyatoslav Ryhel (3): > configs: tegra-common-post: add GPIO keyboard as STDIN device > ARM: tegra: add SoC UID calculation function > board: asus: grouper: add Google Nexus 7 (2012) support > > arch/arm/dts/Makefile | 3 + > arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegr= a30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-gro= uper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | = 40 ++ > arch/arm/include/asm/arch-tegra/fuse.h | 7 + > arch/arm/mach-tegra/Makefile | 2 +- > arch/arm/mach-tegra/fuse.c | 151 ++++++++ > arch/arm/mach-tegra/tegra30/Kconfig | 5 + > board/asus/grouper/Kconfig | 20 + > board/asus/grouper/MAINTAINERS | 6 + > board/asus/grouper/Makefile | 14 + > board/asus/grouper/grouper-spl-max.c | 46 +++ > board/asus/grouper/grouper-spl-ti.c | 42 ++ > board/asus/grouper/grouper.c | 209 ++++++++++ > board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ > configs/grouper_E1565.config | 2 + > configs/grouper_PM269.config | 2 + > configs/grouper_common_defconfig | 85 ++++ > configs/tilapia.config | 3 + > include/configs/grouper.h | 68 ++++ > include/configs/tegra-common-post.h | 28 +- > 22 files changed, 1319 insertions(+), 6 deletions(-) create mode 100644= arch/arm/dts/tegra30-asus-grouper-common.dtsi > create mode 100644 arch/arm/dts/tegra30-asus-nexus7-grouper-E1565.dts > create mode 100644 arch/arm/dts/tegra30-asus-nexus7-grouper-PM269.dts > create mode 100644 arch/arm/dts/tegra30-asus-nexus7-tilapia-E1565.dts > create mode 100644 arch/arm/mach-tegra/fuse.c create mode 100644 board/= asus/grouper/Kconfig create mode 100644 board/asus/grouper/MAINTAINERS cr= eate mode 100644 board/asus/grouper/Makefile create mode 100644 board/asus= /grouper/grouper-spl-max.c > create mode 100644 board/asus/grouper/grouper-spl-ti.c > create mode 100644 board/asus/grouper/grouper.c create mode 100644 boar= d/asus/grouper/pinmux-config-grouper.h > create mode 100644 configs/grouper_E1565.config create mode 100644 conf= igs/grouper_PM269.config create mode 100644 configs/grouper_common_defconf= ig create mode 100644 configs/tilapia.config create mode 100644 include/c= onfigs/grouper.h > > -- > 2.37.2 >