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 3C529C636D7 for ; Tue, 21 Feb 2023 19:49:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1AA2985A79; Tue, 21 Feb 2023 20:48:52 +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="L5f8BBXx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 49E2D832EA; Tue, 21 Feb 2023 20:48:38 +0100 (CET) Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (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 7D80885ABC for ; Tue, 21 Feb 2023 20:39:40 +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-il1-x12a.google.com with SMTP id e9so2347724ile.8 for ; Tue, 21 Feb 2023 11:39:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=VxZR3kB2ivxBLamWym/oszEzivk+3LFT7wmEu+hC19E=; b=L5f8BBXxLR5u9DT9TFBz0fdTo9b48wJ/TdJuDzfHT6uCpSnWZRlt+MdAE76yhgDH7+ y0z6JCioIkZM6cWtWbtucpc6pkBGWQEHAn+prVoM9dfL2fDojExEmR6wjRPVtPL5wuuf Mim17Jj3uJgFHBjE7MQU8hVuQRwzDsRedYkdo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=VxZR3kB2ivxBLamWym/oszEzivk+3LFT7wmEu+hC19E=; b=c0lkpaCSWULddTM9wrY2Csk8Hnm3BPg0/nCFogjDGvtCKvA4/w9a8cee6AQt1G7OvX 24xrQtBZJ5KVg7pXk8A1GNEhSnpL1bxchTmPF4yK1349zz4JOkVxex41dXGudZ9/EIMI m0lfWxh0h5sFPJbBb9Ld56c+ewwGINDQ/FuOy2UhqdH0pHxeEVA/hJWHeTsYbOmrL0bB sXL+3Z6yAgXMWkDiWQySDxzY6mj/dWqgXnsRoKD6U7vi9I6k7T2Rx8vMAPtIWMhvcL84 DqChnC5BbJcF7pm1Pmf1O5Gb5SP5y5e61QLjKqW2qE3a7DV43ss+WZBbGSD71ay5wETv /CEg== X-Gm-Message-State: AO0yUKUTuQm2ZELgt36QwZdNnL+5vg8MWJXhJR812MFYcSX6433bYPNs 7TZtmg/Exs/Nl4MaLXAjAmvsut0uBl2Rbvi8 X-Google-Smtp-Source: AK7set8sqecU4eKHxHaVx4A+XfGmbhkxnGK00PRaZQZMe/SeLu1ioNszZQ0SFwGi2B7Dhwz/O0vYZw== X-Received: by 2002:a05:6e02:8aa:b0:315:8f6c:50b4 with SMTP id a10-20020a056e0208aa00b003158f6c50b4mr3041385ilt.5.1677008378563; Tue, 21 Feb 2023 11:39:38 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:1881:c364:3f89:6383]) by smtp.gmail.com with ESMTPSA id y9-20020a92c749000000b003141eddd283sm1825748ilp.22.2023.02.21.11.39.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 11:39:38 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: huang lin , Jeffy Chen , Simon Glass , Kever Yang , Philipp Tomsich , Vagrant Cascadian , Tom Rini , Akash Gajjar , Jagan Teki Subject: [PATCH 1/3] rockchip: Drop bootstage stash in TPL and SPL Date: Tue, 21 Feb 2023 12:39:18 -0700 Message-Id: <20230221193920.3546499-1-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-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 accessible 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 --- 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.39.2.637.g21b0678d19-goog