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 D02CDC7618A for ; Mon, 20 Mar 2023 05:48:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8C68385935; Mon, 20 Mar 2023 06:48:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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=chromium.org header.i=@chromium.org header.b="jRm5Hw6k"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1A5F885935; Mon, 20 Mar 2023 06:48:41 +0100 (CET) Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (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 4DCF583A35 for ; Mon, 20 Mar 2023 06:48:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-pj1-x1033.google.com with SMTP id gp15-20020a17090adf0f00b0023d1bbd9f9eso15281298pjb.0 for ; Sun, 19 Mar 2023 22:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1679291316; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=amI4493m7gR//BqG1cdxIrMYAMMM6H6HRP+yymngTDA=; b=jRm5Hw6ksthrBp2x0tpQQm7n6clhTO27KzE8W47OFFPNgfkpfKe2AcLP91SZujpN82 Oqle4uDvr2bDx2k+jQLqAq8qFnqAQ9ekmU7+wauvOF8RuUm5ZtZMMG5tLt3Tq1Karwv9 h5SmQvgbAshhdZli/2h3Oh7CfYiwBQe9Z53KQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679291316; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=amI4493m7gR//BqG1cdxIrMYAMMM6H6HRP+yymngTDA=; b=TA5z1BFT1qKF+0w8+a4Z0jVlWyyhbfLROIKJVaPrIWfRFL+mn5VP/L2PEq4Z9LDvw8 2qxaOV58T4sjjIXtJ1IK785A4NACD+AMkXM5Cjj6HPICwwnUcYrZ7vIVfUWoKAYb6bBt 7sQDXWtslbutZcpL9Maf+YKFJxIkO9GII/LzKrYqYoaV8X4nIxXxEWjNSn93FptlW5IK yUmzPMZRyr1yzZwN/yGh8Gemc/A+7Mxuz35Vjl1nqhETQ9Q6a5wJacGlet/jLryFsIRu z6wdj4TYPA3w52jB9a0uG1munbTOMQY31LWJzcSKzjEtLgzXipO3MIkaVUDaPw6JpeyB 4Luw== X-Gm-Message-State: AO0yUKXB0MW8X54dw9onLtkPmQ3C/aScziYUxOPVgZawAWUzz83V8vEh sfwwdCU0Dawre/azx3sVkvtPfAzW5EjPtc9+E2c= X-Google-Smtp-Source: AK7set9TPXxeaviTkn8wAatpyr5xHPQAZEgh7nO5S/smoiQnkz3Z/SJmkLexp8oaW3BI+EO8PXFFGg== X-Received: by 2002:a17:902:ced0:b0:1a1:b7fc:eeba with SMTP id d16-20020a170902ced000b001a1b7fceebamr8019778plg.19.1679291316385; Sun, 19 Mar 2023 22:48:36 -0700 (PDT) Received: from localhost.localdomain ([27.110.126.54]) by smtp.gmail.com with ESMTPSA id c27-20020a634e1b000000b0050be57d7ec0sm5172786pgb.67.2023.03.19.22.48.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Mar 2023 22:48:36 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , huang lin , Jeffy Chen , Simon Glass , Kever Yang , Philipp Tomsich , Vagrant Cascadian Subject: [PATCH v3 2/9] rockchip: Drop bootstage stash in TPL and SPL for rockpro64 Date: Mon, 20 Mar 2023 18:47:54 +1300 Message-Id: <20230320054801.1273267-2-sjg@chromium.org> X-Mailer: git-send-email 2.40.0.rc1.284.g88254d51c5-goog In-Reply-To: <20230320054801.1273267-1-sjg@chromium.org> References: <20230320054801.1273267-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Unfortunately the IRAM used to stash the bootstage records in TPL becomes inaccessible after SPL runs. Presumably this is because of ATF taking it over. We could move the stash to another address in SPL, before passing it to U-Boot proper. But it seems easier to wait until we have support for standard passage[1] which should not be too far away. For now, disable it in TPL and SPL. [1] https://patchwork.ozlabs.org/project/uboot/cover/ 20220117150428.1580273-1-sjg@chromium.org/ Signed-off-by: Simon Glass Tested-by: Vagrant Cascadian --- (no changes since v2) Changes in v2: - Fix 'accessible' typo configs/rockpro64-rk3399_defconfig | 5 ----- 1 file changed, 5 deletions(-) diff --git a/configs/rockpro64-rk3399_defconfig b/configs/rockpro64-rk3399_defconfig index dd67f9dff64b..496142368195 100644 --- a/configs/rockpro64-rk3399_defconfig +++ b/configs/rockpro64-rk3399_defconfig @@ -13,7 +13,6 @@ CONFIG_DM_RESET=y CONFIG_ROCKCHIP_RK3399=y CONFIG_TARGET_ROCKPRO64_RK3399=y CONFIG_SPL_STACK=0x400000 -CONFIG_BOOTSTAGE_STASH_ADDR=0xff8e0000 CONFIG_DEBUG_UART_BASE=0xFF1A0000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SPL_SPI_FLASH_SUPPORT=y @@ -21,11 +20,7 @@ CONFIG_SPL_SPI=y CONFIG_SYS_LOAD_ADDR=0x800800 CONFIG_DEBUG_UART=y CONFIG_BOOTSTAGE=y -CONFIG_SPL_BOOTSTAGE=y -CONFIG_TPL_BOOTSTAGE=y CONFIG_BOOTSTAGE_REPORT=y -CONFIG_SPL_BOOTSTAGE_RECORD_COUNT=10 -CONFIG_BOOTSTAGE_STASH=y CONFIG_USE_PREBOOT=y CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-rockpro64.dtb" CONFIG_DISPLAY_BOARDINFO_LATE=y -- 2.40.0.rc1.284.g88254d51c5-goog