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 EA668C76195 for ; Fri, 24 Mar 2023 20:59:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 914E185D8B; Fri, 24 Mar 2023 21:58:37 +0100 (CET) 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="g7FxBJav"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5313F85D9D; Fri, 24 Mar 2023 21:58:32 +0100 (CET) Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) (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 4C24A85D4A for ; Fri, 24 Mar 2023 21:58:28 +0100 (CET) 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-xb2e.google.com with SMTP id p203so3778806ybb.13 for ; Fri, 24 Mar 2023 13:58:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1679691506; 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=nG37oRr6vgONHGl+noOjMTMwDZo8+aCTsjQ3k8eWYvw=; b=g7FxBJavaE5ArhJl0rbSYjU+uN2Ba/ztVmzU3iPaMi04HGwtDpYHqB28I41XKZxkus yMKNMivJS3NCYvEyvAQft8D4x2e0bOs0xaecTMR3tSaCR+ofKKdUuHqiSerWJuX9Hx5y /czuXaSSuJNiSX3TrhsEIimZg0f5mPSYNNNPQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679691506; 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=nG37oRr6vgONHGl+noOjMTMwDZo8+aCTsjQ3k8eWYvw=; b=WCDE9geSXpjNQHdOJP2eZU+WX5Ybo2NYCcDakmKsTfEre9amZef872/c8QSjX51mtB 40vW40QW3f4k+bRVkazqIJwA32LH1Xq58Fm/SkPOSpMl5vGVyGLuXARheup+r3SEf5UX ib5cCeNBed0Kbv2aiLq3L9l+7UhDOxxOksvMQT6FO1IPNxZ8G6Nu7YAbSv34tK+mwBKO +5FH5DfTj7Wy0fEFggaWnha7EagHzVfyIfyQqbT4mMQrAxIoMzZRwt5KHLNTxE5GB76q Eh5kZs/0182gJFRgtNsVfmQOZoZBSjYjuKTlLaPNy30s5/xHMhAy4qv6cxhb/NsUi0j0 t/bQ== X-Gm-Message-State: AAQBX9e54INZj2gXdcD/rFnNCDPA8FffO7/pYxyBGL6Siy9VHWfp6VFp CIiDGt1gsgNthVExFtNmI3Rr6cw5S7EDQJtRUF/0kw== X-Google-Smtp-Source: AKy350a3HuyOgUxI7+ktTNxzXq49XTBO3ntMbaae9DWw4AMcZEAN8GYfcYHRw2367pgiCemm2wui/g== X-Received: by 2002:a25:e6d0:0:b0:b67:3bcd:5c31 with SMTP id d199-20020a25e6d0000000b00b673bcd5c31mr3389305ybh.51.1679691506614; Fri, 24 Mar 2023 13:58:26 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-523d-0f3b-e0c2-6594.res6.spectrum.com. [2603:6081:7b00:6400:523d:f3b:e0c2:6594]) by smtp.gmail.com with ESMTPSA id j83-20020a252356000000b00b7767ca7469sm680446ybj.6.2023.03.24.13.58.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 13:58:26 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Simon Glass , Vagrant Cascadian Subject: [v4 1/7] rockchip: Drop bootstage stash in TPL and SPL for rockpro64 Date: Fri, 24 Mar 2023 16:58:10 -0400 Message-Id: <20230324205816.2035181-2-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230324205816.2035181-1-trini@konsulko.com> References: <20230324205816.2035181-1-trini@konsulko.com> 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 From: Simon Glass 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 v4: None. --- 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.34.1