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 97536C433EF for ; Fri, 29 Oct 2021 15:17:27 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 0EB1460F0F for ; Fri, 29 Oct 2021 15:17:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0EB1460F0F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EFA3E835B9; Fri, 29 Oct 2021 17:17:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="QTgb1Hr0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 43D8D835CB; Fri, 29 Oct 2021 17:17:23 +0200 (CEST) Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (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 2B90F81BF4 for ; Fri, 29 Oct 2021 17:17:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf35.google.com with SMTP id t1so6570549qvb.1 for ; Fri, 29 Oct 2021 08:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=UbdgkCinYmpGJGlpQYlxvw+Jpusb8CXDKHVgeqlmJSQ=; b=QTgb1Hr0IroZ7b+KTH0zPKV1bu1vrX42TqLI2+EL5JsyqEeeyhluBFFFOalIL9FzSc 3BvtBCmHoo6fTScCQIQT+T/0pZXgshXX4ojIHZT7vKoLzPi7tnE/bIx5c2HOFrH/x0zA wSaEL2/G258oEqsYTUgOjv6X54R27EcuR7m3g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=UbdgkCinYmpGJGlpQYlxvw+Jpusb8CXDKHVgeqlmJSQ=; b=QqCPg6bQ+AO8RKrUfZK47/TbusRg2HRTTvdw0IqmvRmEGk+qrUkoEqT9AZmqMHoRwV 3xUwWG0sGTdHTt7xAFN6lkWWQ68AWqOqya2O0u8ozh6NeAkLbBgg0ulQOUCGQGOraske +SJTSjN521if9cueVqHCVGjd1n7vCjbiIG8Uj1a0LjIV1PdF2InvLF8KVtS96i3oTiSa fGI6AFv6xLy8vsDFXyNcAffMgLs+eatj0yf7976tNn4dsiA8AJokZbMl3wy8/PPMHgzG sodJYvOSzZ5zJd9DuRucFvuNWGW3dQ3Yrd+5nkkUQvbPkv5SMdPlvy8KWoGTWFl0VKm5 rwKg== X-Gm-Message-State: AOAM531bP8Cm0O8wUQ/7y3NSmhG3ZnvtnaFG3jgLD8Jz1KK1MZgD10Si 19g45X45GGnakcYHiOWBhnUuWQ== X-Google-Smtp-Source: ABdhPJzC7GObuTgcOPOHLnCtkgjKyK0kOrej/4jgaqTcc+2JkGPhFOCmwcwVJG203JmihGZjcOkU/g== X-Received: by 2002:a05:6214:411e:: with SMTP id kc30mr11734545qvb.6.1635520636828; Fri, 29 Oct 2021 08:17:16 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-cd13-3c38-2d32-68e0.res6.spectrum.com. [2603:6081:7b01:cbda:cd13:3c38:2d32:68e0]) by smtp.gmail.com with ESMTPSA id v3sm5500435qtc.25.2021.10.29.08.17.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Oct 2021 08:17:16 -0700 (PDT) Date: Fri, 29 Oct 2021 11:17:14 -0400 From: Tom Rini To: Icenowy Zheng Cc: Andre Przywara , Jagan Teki , u-boot@lists.denx.de, Samuel Holland , Icenowy Zheng Subject: Re: Pull request: u-boot-sunxi/master for 2021.10 - 2nd part Message-ID: <20211029151714.GV8284@bill-the-cat> References: <20211025140658.2381988-1-andre.przywara@arm.com> <20211025182910.GF3577824@bill-the-cat> <20211029115340.4a282a25@slackpad.fritz.box> <20211029144101.GT8284@bill-the-cat> <51ecc82742c300068ce67eb1d82387e06fcb759c.camel@aosc.io> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kyiIRZ01VUpA+bwC" Content-Disposition: inline In-Reply-To: <51ecc82742c300068ce67eb1d82387e06fcb759c.camel@aosc.io> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 --kyiIRZ01VUpA+bwC Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 29, 2021 at 11:14:45PM +0800, Icenowy Zheng wrote: > =E5=9C=A8 2021-10-29=E6=98=9F=E6=9C=9F=E4=BA=94=E7=9A=84 10:41 -0400=EF= =BC=8CTom Rini=E5=86=99=E9=81=93=EF=BC=9A > > On Fri, Oct 29, 2021 at 10:20:32PM +0800, Icenowy Zheng wrote: > > > =E5=9C=A8 2021-10-29=E6=98=9F=E6=9C=9F=E4=BA=94=E7=9A=84 11:53 +0100= =EF=BC=8CAndre Przywara=E5=86=99=E9=81=93=EF=BC=9A > > > > On Mon, 25 Oct 2021 14:29:10 -0400 > > > > Tom Rini wrote: > > > >=20 > > > > Hi Tom, > > > >=20 > > > > > On Mon, Oct 25, 2021 at 03:06:58PM +0100, Andre Przywara wrote: > > > > >=20 > > > > > > Hi Tom, > > > > > >=20 > > > > > > please pull the second sunxi PR for the 2021.10 merge window. > > > > > > I decided to merge most of Samuel's rework and some smaller > > > > > > patches that > > > > > > pave the way for more DM transitions and for accommodating > > > > > > the > > > > > > RISC-V SoC > > > > > > in the future. Merging them now gives us the opportunity to > > > > > > get > > > > > > some wider > > > > > > testing, since those subtle changes tend to break things. > > > > > >=20 > > > > > > Compile-tested for all 159 sunxi boards, boot-tested on > > > > > > Pine64- > > > > > > LTS > > > > > > and OrangePi Zero. > > > > > >=20 > > > > > > Summary: > > > > > > - Add and enable watchdog driver > > > > > > - Prepare for SYSRESET driven AXP poweroff > > > > > > - Prepare for SoCs without MMC2 > > > > > > - Some fixes for extending SPL (SPL-DM for RISC-V) > > > > > > - Some preparations for proper VBUS management > > > > > > - Fix secure monitor move > > > > > >=20 > > > > > > Thanks, > > > > > > Andre > > > > > >=20 > > > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > > > > > > The following changes since commit > > > > > > 355d1e24f6143c4839be3c015c191421c4e9449c: > > > > > >=20 > > > > > > =C2=A0 Merge > > > > > > https://source.denx.de/u-boot/custodians/u-boot-spi=C2=A0(2021-= 10- > > > > > > 23 > > > > > > 10:49:28 -0400) > > > > > >=20 > > > > > > are available in the Git repository at: > > > > > >=20 > > > > > > =C2=A0 > > > > > > https://source.denx.de/u-boot/custodians/u-boot-sunxi.git=C2=A0= mas > > > > > > ter > > > > > >=20 > > > > > > for you to fetch changes up to > > > > > > c846fe43f0561311eb7261b34023a04646cdbd0d: > > > > > >=20 > > > > > > =C2=A0 mmc: sunxi: conditionally include MMC2 initialization co= de > > > > > > (2021-10-25 14:54:57 +0100) > > > > > > =C2=A0=20 > > > > >=20 > > > > > So first, up, this is now applied to u-boot/master. > > > >=20 > > > > Many thanks, and sorry for the late push! > > > >=20 > > > > > Next, I dug out my original Kickstarted Pine A64 board (as it's > > > > > the > > > > > only > > > > > sunxi platform I have), and I see it's detected with 1GB memory > > > > > and > > > > > as > > > > > Pine64+ which seems wrong, with the pine64_plus_defconfig > > > > > (which is > > > > > what > > > > > I thought handled all of the A64 platforms). > > > >=20 > > > > For the naming: There are three SKUs for the original Pine A64 > > > > board: > > > > - Pine A64: 512 MB with 100Mbit Ethernet PHY, lacking display and > > > > camera > > > > =C2=A0 connectors (rare, mostly to meet the original 15 USD price t= ag) > > > > - Pine A64+ 1GB: 1GB DRAM with 1Gbit Ethernet PHY, with all > > > > connectors > > > > - Pine A64+ 2GB: 2GB DRAM with 1Gbit Ethernet PHY, with all > > > > connectors > > >=20 > > > You can check whether your board is non-Plus or Plus 1G by the > > > model of > > > the Ethernet PHY (non-Plus has RTL8201) or not soldered FPC > > > connectors. > > > They do share a PCB design. Plus 2G is a dedicated PCB design as it > > > needs to use 4x 512MB DRAM chips. > >=20 > > OK, mine has an RTL8211E and is 1G for sure now that I look harder at > > it. > >=20 > > On a related note, this board will draw power via the UART, is there > > any > > easy HW change I can do, to fix that?=C2=A0 It's otherwise a lot harder= to > > put this in to my CI lab. >=20 > What UART pins are you using? The ones in Euler bus or the ones in EXP > bus? >=20 > The UART pins in EXP bus should have transistors to prevent power > leakage... It's the EXP header (I've got the UART adapter from the kickstarter) and I swear I saw the power LED staying on at least twice, in my previous experiments. But maybe that was just some bad luck / timing and capacitor draining still or something, rather than continued leakage. I'll assume user error until I can reliably break it. Thanks again! --=20 Tom --kyiIRZ01VUpA+bwC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmF8EHMACgkQFHw5/5Y0 tyyEygwAnBXAKonI/qVZn2wXg6mNXbanrUEBbQa5kYb3Ismcbqdhp+5+DXlCnzhy 0IygRHA4EGAdPvbhZgCTce4RNe6aaJCciq5/bEV7NAVrZFKGFq0bLQOuvZecIUlV ftSnb6NQtNlz5CdNw+nNHdyS6IvDIoHIwJhqHzgqBSqSup/KZ3bCH0xP6zZMA/lm vkyAPNiW9qs9EcKsypQvM3xKT4tR0yOIX9XE9i+6ig+UCX9Z3q+yEIVmiH0zfz4I xbpIi0efmZw9Pw3xSoX3pyz7srxoNYG+kmZ8R5rcAhNWdAZn0WaaktpLrVSaEwh6 QOUd2VwlBFgSL97dSFVeJG2Xe81tPP008sAHawpuovgHRrsG3l7sAhBCg0OyaXp3 Cv7OSFuxiK8WANNyXO5nlcSnw0t5ujkD7I9Cxj4gNME9pua7m2sBAR6d93f9BIf1 /JBQ8bPfvOeY9f0Bd0/WV4c+g4t1vgzGr+OZhjTMb12sfCo/Mdmkki+AnoQoym7q L7arW95s =+gIs -----END PGP SIGNATURE----- --kyiIRZ01VUpA+bwC--