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 90EDBC678D4 for ; Thu, 2 Mar 2023 03:39:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9C9ED85B7E; Thu, 2 Mar 2023 04:39:54 +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="YZ+hrIeJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8BAC985C13; Thu, 2 Mar 2023 04:39:52 +0100 (CET) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (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 BA3D385B58 for ; Thu, 2 Mar 2023 04:39:49 +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-io1-xd31.google.com with SMTP id b5so6288454iow.0 for ; Wed, 01 Mar 2023 19:39:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1677728388; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Z7R0jECoZHNbVEyvwtzZNTHBITw3xFZK6rwSoKeurdM=; b=YZ+hrIeJVKyeikK2RSJgzo6SdTPv0vFKY72CZwfDtcI3bFSF4ykO1llI8kfw5f7PMt u5ZeV/65UFyEwy1FYkU58wSj0V2QS2EECdcelCz8WCqD2bbtMHOxVAoDu3Or4eqAYGfa x5C89oTDzK7Dc6qgizZaYma1M0Ikq2jTsRkcE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677728388; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Z7R0jECoZHNbVEyvwtzZNTHBITw3xFZK6rwSoKeurdM=; b=zuGt6Ame2REGM41jvsb64P+ikHwinzP8sZxMOICxxu9ekv5xh8ZY2L/8wxFAO6Ji/B WxDRba3dFCkN869neKY/51MuTQHOG2rZ/tUJyByGxf504XckJzu7HfLc6IDUXrxIsTrG I1GF+JJNEOcVe3M811OUXlq1aiyvstZ2SyEXwi1uvieC5VOYGHZ3KYSpMuYzZM8dJrxe 6YRj4jH20MW8FlqxzpgtYUZGyMsH90hOXNHb/D19bwaEMdLDr/7WoayuvrMR+myXNy6O STMOQfP+shKNAuwLZnXmfvzOQWwb2xfy+Pd1enxLgR+vK+tLwC2ewKB6S0rqR41PZA+A tQqQ== X-Gm-Message-State: AO0yUKXaUyMlHXmcNcu6p4I7dALHFGDT9PsXOZoeWiyR5f4RDXHxlWyb 0ZlehtTZVk9y8Xvdeqz4cFhNynf/LU2eT0TG X-Google-Smtp-Source: AK7set9wNM8mEw01/OjqiNXW3OezX8HnzeuDPjdR4C9kmjHuNvglmiqPNrISlZ1gnocEgW244/MREQ== X-Received: by 2002:a6b:6e0a:0:b0:74c:aa8f:a83e with SMTP id d10-20020a6b6e0a000000b0074caa8fa83emr5830740ioh.6.1677728388172; Wed, 01 Mar 2023 19:39:48 -0800 (PST) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id f4-20020a5ec704000000b0073fd8ca79c6sm4358169iop.9.2023.03.01.19.39.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Mar 2023 19:39:47 -0800 (PST) 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 v2 1/8] rockchip: Drop bootstage stash in TPL and SPL for rockpro64 Date: Wed, 1 Mar 2023 20:39:22 -0700 Message-Id: <20230302033930.2546548-1-sjg@chromium.org> X-Mailer: git-send-email 2.40.0.rc0.216.gc4246ad0f0-goog 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.6 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 --- 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 dd67f9dff64..49614236819 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.rc0.216.gc4246ad0f0-goog