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 DC40CC77B60 for ; Sun, 23 Apr 2023 23:35:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2343785D77; Mon, 24 Apr 2023 01:35:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (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="XtPr+k+j"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7C72885DB0; Mon, 24 Apr 2023 01:35:31 +0200 (CEST) Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (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 D78A885B08 for ; Mon, 24 Apr 2023 01:35:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-b992ed878ebso10048034276.0 for ; Sun, 23 Apr 2023 16:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1682292927; x=1684884927; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=g6afpTMKxM2RKF2Vo8KJO2HvO6UnFUqgOuFhMX5sTZE=; b=XtPr+k+jXVfxPgd2v3gNeejrN1IcFJptDkaxqUrsRQp0s3YyxF7BugRr+CFWIZvP4O WBTe221Y0dnb7/lGzW9c5rIbDMtbPnNTq10u0PvufQD/mLlzVTdokDbRixnCNNTSfK8g L7pcE+493VYsPGhdYdPtPOicL9Bd+iD/4+TIs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682292927; x=1684884927; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=g6afpTMKxM2RKF2Vo8KJO2HvO6UnFUqgOuFhMX5sTZE=; b=kELF5Os2UWtZxdzhoeSPNq/v637rLurty8G3EKGx0CAoxJhkXRZPErpL9jiE2w/RSt uYFpTPZcNJ1PLYw4vMCS4je3qQ/p5QYov4xkYKaRRpKUFCZsB8k8XLwCAZgazbc3kujH hidwxtKvm46/W/vCiMk3latIp2WW+aJ6JYHhUnuUpxoFuoAwsGAFGXJE+aounkHcNEkv 33EdJrsKowdKkNs3yPSlkY75RETzgZDcGvsfdow/Cbpg0JSPlhFxqf177l/zsyDRfi9t FVsnNcyRYUgm8H/M/okMZIjxAMsZ9SeAPGudCAugI3EK2bqcvLtQSakcb5P8Ol6gz7Bh Zdzg== X-Gm-Message-State: AAQBX9fzIMLSf6MxBN/XqMZlF3SwxAX79mAQhUIuCfdbznDIQUXipmE7 Tty5MSVxwkuPN3u466gCe/I7JA== X-Google-Smtp-Source: AKy350YS3Ncs8LYDzrgSDYJ0As798+G7xs4SQ7FF9CQkTxLb+ZMx2PLZS20JXwn1To5wSjVv8u2kkg== X-Received: by 2002:a81:6c53:0:b0:54f:4fd:7e5e with SMTP id h80-20020a816c53000000b0054f04fd7e5emr7798662ywc.5.1682292927376; Sun, 23 Apr 2023 16:35:27 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-aa42-f895-023e-07ab.res6.spectrum.com. [2603:6081:7b00:6400:aa42:f895:23e:7ab]) by smtp.gmail.com with ESMTPSA id t187-20020a0dd1c4000000b00552a118d059sm2589085ywd.117.2023.04.23.16.35.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Apr 2023 16:35:26 -0700 (PDT) Date: Sun, 23 Apr 2023 19:35:24 -0400 From: Tom Rini To: Jonas Karlman , Simon Glass Cc: Mark Kettenis , huang lin , Jeffy Chen , Kever Yang , Philipp Tomsich , Vagrant Cascadian , U-Boot Mailing List Subject: Re: [PATCH v9 8/9] rockchip: Move to standard boot Message-ID: <20230423233524.GR1134230@bill-the-cat> References: <20230408204457.2689812-1-sjg@chromium.org> <20230409084454.v9.8.I4cf7708a1ba953b9abd81375d93af34665c7b251@changeid> <214bf39a-f60e-dd6d-2853-698e542b322b@kwiboo.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="92Oe8eHihLTcf52N" Content-Disposition: inline In-Reply-To: <214bf39a-f60e-dd6d-2853-698e542b322b@kwiboo.se> X-Clacks-Overhead: GNU Terry Pratchett 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 --92Oe8eHihLTcf52N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 23, 2023 at 10:46:27PM +0000, Jonas Karlman wrote: > Hi Simon, >=20 > On 2023-04-08 22:44, Simon Glass wrote: > > Drop the distro-boot scripts and use standard boot instead. >=20 > With the "Drop patches which enable BOOTSTD_DEFAULT" in v9 we must imply > BOOTSTD_DEFAULTS or we run into the following on anything rk not rk3399. >=20 > ## Error: "distro_bootcmd" not defined >=20 > Something like this was needed to get my devices booting using bootflow: >=20 > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -1956,8 +1956,7 @@ config ARCH_ROCKCHIP > imply ADC > imply CMD_DM > imply DEBUG_UART_BOARD_INIT > - imply DISTRO_DEFAULTS if !ROCKCHIP_RK3399 > - imply BOOTSTD_DEFAULTS if !DISTRO_DEFAULTS > + imply BOOTSTD_DEFAULTS > imply FAT_WRITE > imply SARADC_ROCKCHIP > imply SPL_SYSRESET >=20 > With above fixed, >=20 > Tested-by: Jonas Karlman >=20 > using basic distro boot on following devices: > - RK3288: TinkerBoard R2.0 > - RK3328: Rock64 > - RK3399: Rock Pi 4B+ > - RK3568: Rock 3A > - RK3588: Rock 5B Yup, that indeed is missing. Can you please fold that in somewhere and re-spin Simon? And perhaps a u-boot-initial-env loop on all the rockchip platforms to make sure the environment is right, in the end? Thanks. --=20 Tom --92Oe8eHihLTcf52N Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmRFwLgACgkQFHw5/5Y0 tywtEAv9HHWzfLutuWdu1Tpyxl5irLHN4H/E1zvIvpu3IvbMIiP1a03j0837Agm5 V/roL9p9tdX6Cs9nDHjkY1CjjFreLoBydR6ACZLEMCZ6qBxaxxTOpuWjC0gBQwmy eP/j/64ztCzgoibn4g095T/fqQm9aeaKfh/tYngvRXSJhOF9exeuySQF5N+3b/Zp YP2x/1/QBc26TBVlfhILG5KlrebHBJ3eGZNJnsqLipkuIjJCp5CantlTkqZfJnQd KgVIc54K/w3udOcY1aWN8JeZhzebkfiZ18a1QvvTDWvt7V58OYVYrpkQVOeJia22 1FsbO195s4fM0zzVoIUV04eGP8XEJLNWUlS2kYrFeYbc/23yQAST2OnnFQkI9A9E OSHqcgQrtmOu6GBUxoLeI4SQnD36EFdGGwKAkAjTq1tX2TgihDbJdTKNN147bs35 vnwQ/uypzgO8f3jxV+ssg1+tQ+80hkyE6lVq6p46oJZ1uDB0dJ3w8DX+RmmfCWQR m03J/Qsr =2qYf -----END PGP SIGNATURE----- --92Oe8eHihLTcf52N--