From mboxrd@z Thu Jan 1 00:00:00 1970 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 2F8A4C53210 for ; Sun, 8 Jan 2023 15:49:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9BDBC85602; Sun, 8 Jan 2023 16:49:19 +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="KZKoPN/R"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9466A85603; Sun, 8 Jan 2023 16:49:09 +0100 (CET) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (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 CBA7A853C0 for ; Sun, 8 Jan 2023 16:49:03 +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@google.com Received: by mail-ej1-x62e.google.com with SMTP id lc27so5133870ejc.1 for ; Sun, 08 Jan 2023 07:49:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RXCpAX+4Rre138uRTn1TjKz8NPNSxkyQH9/qLvaNTzU=; b=KZKoPN/Rjd88RbIfm2rLHlOr1ggPFOMRaYzAcppMVFBAFU0bUQQFWiBjMiMMf+R8E2 +FdEvSaHWTI6huFhqVn6Ya3nW+e626jet3nX2Cg9fPECdqT45yWLVeqSww4bzWDq18hU UzV7Cnw4zYzMuoh4f+K20yqoeMlSuLKSGQXho= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RXCpAX+4Rre138uRTn1TjKz8NPNSxkyQH9/qLvaNTzU=; b=IPbpdAkD9W4ELCSHoV99Tl3xLbM8m8F+QHNxAt/SavMJHogMsNML4QB9tbw2bNvEcz iQi8nNr/Sgq2am79Oi96Eb2hIsCXNs/v+ik2xjybe1WmQMgOTsy3EXpS6vYH4n1OBaG4 apzNAz7Fo7CB6UpaRmDsCNcGMy1EWpcrDN3DzF+q4f8TqK6EgTt8c522z9b5AMWvC3eA JYvgu21zgTMcdQfgMC2BaQ1w4yohJYcDTZVufv5dk6en63fDHDjHiTNkUSgGjZ93MIwf MkvV8Za4D1w7WwRrvcIogZIiiKIpbUC0uGYTqV/j9IYI5/s6f/auPVG9ttPXu1av7nFn 2Cjg== X-Gm-Message-State: AFqh2kqHX5vawYgIp2gIQXPuk9QHUBjsqCbeIf9kCicRcjo2EZthnA4Z vl9vVrG0Wzk41+PXHXwRPqEKuP89RCtAYKkt63tRn/50uDznKA== X-Google-Smtp-Source: AMrXdXtiOxaSkcRCVdUGMX4FXy/yIkYjv5SVNUDcrazZ5W6PpkRTzd+StR/MPGY0Fh03H+Is+Hu2IWu6jN52rb0deUs= X-Received: by 2002:a17:906:c291:b0:84d:cc3:fd78 with SMTP id r17-20020a170906c29100b0084d0cc3fd78mr1615845ejz.745.1673192942388; Sun, 08 Jan 2023 07:49:02 -0800 (PST) MIME-Version: 1.0 References: <20230107215731.484317-4-sjg@chromium.org> <20230107215731.484317-14-sjg@chromium.org> In-Reply-To: <20230107215731.484317-14-sjg@chromium.org> From: Simon Glass Date: Sun, 8 Jan 2023 08:48:51 -0700 Message-ID: Subject: Re: [PATCH v2 13/14] rockchip: Enable bootstage on rockpro64 To: U-Boot Mailing List Cc: Jeffy Chen , Kever Yang , Philipp Tomsich , huang lin Content-Type: text/plain; charset="UTF-8" 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 On Sat, 7 Jan 2023 at 14:57, Simon Glass wrote: > > This board is useful for benchmarking overall U-Boot performance. Enable > the bootstage feature so we get a report. > > Since this returns to the boot rom before finishing executing > board_init_r() in SPL, add a few bootstage calls so that we can collect > timing from TPL. > > For the stash region, use a portion of SRAM, 64KB below the stack top. > This allows the TPL image to be up to nearly 120KB (it is typically about > 64KB). SPL normally runs from SDRAM at 0, so can use the same stash > region. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Drop unwanted debugging > > arch/arm/mach-rockchip/tpl.c | 16 +++++++++++++--- > configs/rockpro64-rk3399_defconfig | 8 ++++++++ > 2 files changed, 21 insertions(+), 3 deletions(-) > Applied to u-boot-dm/next